• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

KB6NU's Ham Radio Blog

KB6NU's Ham Radio Blog
  • HOME
  • Study Guides
  • Teach a One-Day Tech Class
  • W8SRC Repeater Guide
  • Advertise
  • Hire Me

2020 Extra Class study guide: E7A – Digital circuits: digital circuit principles and logic circuits; classes of logic elements; positive and negative logic; frequency dividers; truth tables

February 17, 2020 By Dan KB6NU 4 Comments

Digital circuits are used for a variety of functions in modern amateur radio equipment. Unlike analog circuits, the output voltage of an ideal digital circuit can only be one of two values. One of these voltages—normally a positive voltage—represents a digital 1. The other value—normally near 0 V—represents a digital 0. This type of logic is called positive logic. On the other hand, some digital logic systems use a low voltage to represent a digital 1 and a high voltage to represent a digital 0. This type of logic is called negative logic.

QUESTION: What type of logic defines “1” as a high voltage? (E7A11)
ANSWER: Positive Logic

The microcomputers that control today’s transceivers are very complex digital circuits. These complex digital circuits are made by combining many smaller building blocks called logic gates. These gates perform basic digital logic functions.

NAND Truth Table
Table E7-1. This two-input NAND truth table show the output (Q) for each combination of inputs (A,B).

One of the most basic digital circuits is the NAND gate. The output of a NAND gate is a logic 0 when all of its inputs are a logic 1. Truth tables describe how logic gates work. That is to say that they show what the logic gate output is for each combination of inputs. Table E7-1 shows a truth table that describes the operation of a two-input NAND gate. A and B are the two inputs; Q is the output.

QUESTION: What logical operation does a NAND gate perform? (E7A07)
ANSWER: It produces logic 0 at its output only when all inputs are logic 1

QUESTION: What is a truth table? (E7A10)
ANSWER: A list of inputs and corresponding outputs for a digital device

Table E7-2. Two-input OR gate.

Other types of gates perform different logical functions. OR gates, for example, output a logic 1 if any or all of its inputs are a logic 1. Table E7-2 shows a truth table that describes the logical operation of a two-input OR gate.

QUESTION: What logical operation does an OR gate perform? (E7A08)
ANSWER: It produces logic 1 at its output if any or all inputs are logic 1

Table E7-3. Two input XNOR.

A NOR gate produces exactly the opposite output of an OR gate. That is to say that the output is a logic 0 if any or all of the inputs are a logic 1. An exclusive NOR (XNOR) gate is similar to the NOR gate, except that its output is a logic 0 when its inputs are not all the same value. If all the inputs are a logic 1 or a logic 0, the XNOR gate will output a logic 1 as shown in Table E7-3, which is a truth table for a two-input XNOR gate.

QUESTION: What logical operation is performed by an exclusive NOR gate? (E7A09)
ANSWER: It produces logic 0 at its output if only one input is logic 1

Flip-flops are circuits that are made from combinations of logic gates. By “latching” the state of an input at a particular time, a flip-flop can be said to have memory. A D flip-flop, and its truth table is shown in the figure below.

As shown, the output changes only on the rising edge of the clock (CLK) signal. That is to say, when the signal goes from 0 to 1. If D = 1, Q = 1. If D = 0, then Q = 0. The other output, denoted by a bar over the Q, is the inverse of Q.

When a D flip-flop is connected as shown in the figure—with the inverted output connected to the D input—a flip-flop can divide the frequency of a pulse train by 2. You can connect the Q output to a second flip-flop to divide the frequency even further. Consequently, 2 flip-flops are required to divide a signal frequency by 4. By connecting a number of flip-flops together, and resetting the circuit once ten pulses have been input, you can build a decade counter.

QUESTION: Which of the following can divide the frequency of a pulse train by 2? (E7A03)
ANSWER: A flip-flop

QUESTION: How many flip-flops are required to divide a signal frequency by 4? (E7A04)
ANSWER: 2

QUESTION: What is the function of a decade counter? (E7A02)
ANSWER: It produces one output pulse for every 10 input pulses

A flip-flop is a bistable circuit. That means its output is stable in either state—1 or 0. Some circuits—called monostable circuits—are stable in only one state, but not the other. They will switch from one state to the other, but then return to the original state. One such monostable circuit is the monostable multivibrator. A trigger pulse causes the monostable vibrator to switch from a 1 to a 0 (or vice versa), but after a set time, the output of the monostable vibrator will return to its original state. An astable multivibrator is not stable in either state. Its output continuously alternates between two states without an external clock. In other words, it is an oscillator.

QUESTION: Which circuit is bistable? (E7A01)
ANSWER: A flip-flop

QUESTION: What is a characteristic of a monostable multivibrator? (E7A06)
ANSWER: It switches momentarily to the opposite binary state and then returns to its original state after a set time

QUESTION: Which of the following is a circuit that continuously alternates between two states without an external clock? (E7A05)
ANSWER: Astable multivibrator

Related posts:

  1. Extra Class question of the day: digital circuits, flip-flops
  2. Extra Class question of the day: Digital integrated circuits
  3. 2020 Extra Class study guide: E6C – Digital ICs: Families of digital ICs; gates; Programmable Logic Devices (PLDs)
  4. 2016 Extra Class study guide: E7A – digital circuits

Filed Under: 2020 Extra Class Study Guide Tagged With: digital logic

Reader Interactions

Comments

  1. Paul Butzi says

    February 17, 2020 at 4:17 pm

    “A NOR gate produces exactly the opposite output of a NOR gate. ”

    I’m pretty sure there’s a typo in there somewhere.

    Reply
    • Dan KB6NU says

      February 18, 2020 at 8:48 am

      Thanks for catching that. Fixed now.

      Reply
  2. Jaque says

    February 18, 2020 at 10:20 pm

    Extra Class Subelement E7

    Who writes these questions for the test ? Its clear that in this case, the developer of the question has no experience working with this logic family, or low voltage dc systems.

    Since when is a TTL LOGIC 1 a
    ‘high voltage?”

    Or a TTL LOGIC 0 a “high voltage?”

    QUESTION: What type of logic defines “1” as a high voltage? (E7A11)
    ANSWER: Positive Logic

    QUESTION: What type of logic defines “0” as a high voltage? (E7A12)
    ANSWER: Negative logic

    Reply
    • Dan KB6NU says

      February 19, 2020 at 3:59 pm

      I hear you. Unfortunately, I had no input into this year’s question pool.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

No Nonsense Technician Class License Study Guide (for tests given between July 2026 and June 2030)

New No Nonsense Technican Class Study Guide now available!

The 2026 version of my Tech Class study guide is now available, and as always, the PDF version is FREE!. The ePub version costs $9.97, and a Kindle version and paperback version will be available on Amazon shortly.

Click here to get all of my "No Nonsense" study guides.

Also available: The CW Geek's Guide to Having Fun with Morse Code

W5SWL.Com
Retevis Ailunce H1 DMR Radio
DXpander: Cobweb antennas, Laser Cutting

You’ve got mail!

Enter your email address below and get an email every time I publish a new post.

Email


I frequently teach classes to help newcomers get their licenses. The next class will take place on Saturday, February 7, 2026 on the University of Michigan campus. Click here for more information.

If you can't make the class, subscribe to the mailing list to be notified of when the next class will be held.

You can always download my free study guide, and if you have any questions about the classes, or amateur radio in general, please feel free to email me directly.

Support KB6NU.Com

Donate $7.30 and get two of these cool stickers. Measuring 4.25-in. W by 2.75-in. H, it's perfect for your car, your shack, or wherever!

Contact me

If you have a question or comment about one of my blog posts, or a question about any of the material in my study guides, or just a question about ham radio in general, you can email me at [email protected].

Blogs You Should Also Read

  • AE5X: A CW-centric blog from Kingswood, Texas
  • K0LWC Blog
  • LA3ZA Ham Radio Blog
  • Little Radios, Big Fun – WB3GCK
  • Mr. Vacuum Tube's Blog
  • Radio Artisan – K3NG
  • The K0NR Weblog
  • VE3WDM's QRP Ham Radio Blog
  • W2LJ’s Blog

Ham Radio Websites

  • Dashtoons – The Hammin' Comedy by Jeff K1NSS

Podcasts

  • ICQ Podcast
  • Linux in the Ham Schack
  • No Nonsense Amateur Radio Podcast
  • Resonant Frequency Amateur Radio Podcast

Recent Comments

  • Richard A. Golden on Guest Post: ARRL needs new blood
  • Skip K4EAK on Button, button. Who’s got the button?
  • Ed K8MEJ on Is anyone running for the board this year in the Great Lakes Division?
  • Skip Behnke on 2020 Extra Class study guide: E9F – Transmission lines: characteristics of open and shorted feed lines; coax versus open-wire; velocity factor; electrical length; coaxial cable dielectrics
  • Mike on Map your contest QSOs

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Footer

Copyright © 2026 Daniel M. Romanchik, KB6NU · Log in