🇮🇳 GATE CS & IT Engineering · flashcards
GATE CS & IT Engineering Digital Logic Flashcards
51 question-and-answer cards covering Digital Logic as it is examined in GATE CS & IT Engineering. 24 of them are printed below, taken from across the deck — no signup, no paywall on the preview.
24 sample cards from the Digital Logic deck
Sampled from the end of the deck, so these are different cards from the ones shown on the syllabus page.
What is the characteristic equation of a D flip-flop, and what is its main use?
$Q_{next} = D$. The output simply follows the input at the clock edge. It is used for data storage, registers, and to remove the indeterminate state of the SR flip-flop.
Write the characteristic equation of a JK flip-flop and describe its behavior when $J=K=1$.
$Q_{next} = J\cdot\overline{Q} + \overline{K}\cdot Q$. When $J=K=1$ the output toggles: $Q_{next} = \overline{Q}$. The JK flip-flop removes the forbidden state of the SR type.
What is the characteristic equation of a T flip-flop, and how is it derived from a JK flip-flop?
$Q_{next} = T\oplus Q = T\overline{Q} + \overline{T}Q$. It is formed by tying $J=K=T$ in a JK flip-flop, so $T=1$ toggles and $T=0$ holds the state.
What is the difference between synchronous and asynchronous (preset/clear) inputs on a flip-flop?
Synchronous inputs (e.g., D, J, K) take effect only at the clock edge. Asynchronous inputs (preset/clear) override the clock and set or reset the output immediately, independent of the clock.
State the excitation table of a JK flip-flop (required $J$, $K$ for each $Q \to Q_{next}$ transition).
$0\to0$: $J=0, K=X$. $0\to1$: $J=1, K=X$. $1\to0$: $J=X, K=1$. $1\to1$: $J=X, K=0$. ($X$ denotes don't-care.)
What are setup time and hold time for a flip-flop?
Setup time ($t_{su}$) is the minimum interval the data input must be stable before the clock edge. Hold time ($t_{h}$) is the minimum interval the data must remain stable after the clock edge. Violating either causes metastability.
What is the difference between a synchronous and an asynchronous (ripple) counter?
In a synchronous counter all flip-flops share the same clock and toggle simultaneously, giving low delay. In an asynchronous (ripple) counter the clock of each stage is driven by the previous stage's output, so delays accumulate ($O(n)$) and glitches can occur.
How many flip-flops are needed for a MOD-$N$ counter, and what is the relationship to $N$?
The number of flip-flops is the smallest integer $n$ such that $2^{n} \geq N$, i.e., $n = \lceil \log_{2} N \rceil$. A MOD-$N$ counter has $N$ distinct states ($0$ to $N-1$).
What is the maximum modulus of an $n$-bit ripple counter, and what is its worst-case propagation delay?
Maximum modulus is $2^{n}$. Worst-case delay is the sum of all stage delays, approximately $n\cdot t_{pd}$, because the toggle ripples sequentially through every flip-flop.
What distinguishes a ring counter from a Johnson (twisted-ring) counter, including their number of states for $n$ flip-flops?
A ring counter circulates a single $1$ and has $n$ valid states. A Johnson counter feeds back the complemented output of the last stage, producing $2n$ valid states. Both avoid decoding gates for individual states.
How is a MOD-$10$ (decade) ripple counter created from a $4$-bit binary counter?
Use $4$ flip-flops (max MOD-$16$) and add a feedback gate (e.g., NAND of outputs $Q_{3}$ and $Q_{1}$) that asynchronously clears all flip-flops when the count reaches $1010_{2}=10$, resetting the sequence to $0000$.
What is the purpose of a Karnaugh map (K-map), and how are its cells arranged?
A K-map is a graphical tool for minimizing Boolean functions. Cells are arranged so that physically adjacent cells differ in exactly one variable (Gray-code ordering), allowing visual grouping of $1$s to eliminate variables.
What are the rules for forming groups in a K-map to minimize a function?
Groups must contain $2^{k}$ adjacent $1$s (i.e., $1,2,4,8,\ldots$), be rectangular, be as large as possible, may wrap around edges, and may overlap. Each group eliminates $k$ variables; cover all $1$s with the fewest, largest groups.
Define implicant, prime implicant, and essential prime implicant in K-map minimization.
An implicant is any valid grouping (product term) covering only $1$s. A prime implicant is an implicant not contained in any larger group. An essential prime implicant is a prime implicant that uniquely covers at least one minterm not covered by any other prime implicant.
How are don't-care conditions used in K-map minimization?
Don't-care cells (denoted $X$ or $d$) may be treated as either $0$ or $1$, whichever yields larger groups and a simpler expression. They are included in a group only when doing so helps minimization, never required to be covered.
For a $4$-variable K-map, how many variables are eliminated by groups (octet, quad, pair, single)?
An octet ($8$ cells) leaves $1$ variable (eliminates $3$); a quad ($4$ cells) leaves $2$ variables (eliminates $2$); a pair ($2$ cells) leaves $3$ variables (eliminates $1$); a single cell ($1$) leaves all $4$ variables.
What is the Quine-McCluskey method, and what advantage does it have over the K-map?
It is a tabular, systematic minimization algorithm that groups minterms by the number of $1$s and repeatedly combines terms differing in one bit to find prime implicants. Unlike the K-map, it scales to any number of variables and is fully algorithmic (computer-implementable).
Describe the two main stages of the Quine-McCluskey method.
Stage 1: determine all prime implicants by listing minterms (and don't-cares) grouped by their count of $1$s and iteratively combining pairs differing in a single bit (marking combined terms with a dash). Stage 2: build a prime implicant chart and select essential prime implicants to cover all minterms minimally.
In Quine-McCluskey, when can two terms be combined, and how is the combined term written?
Two minterms can be combined only if they differ in exactly one bit position. The differing bit is replaced by a dash ($-$), representing the eliminated variable. Example: $0100$ and $0110$ combine to $01{-}0$.
How is a fixed-point number represented, and what determines its range and resolution?
A fixed-point number allocates a fixed number of integer bits and fractional bits around an implied binary point. For $i$ integer and $f$ fraction bits the resolution (step) is $2^{-f}$, and the range is fixed; precision is uniform across the whole range.
How do you convert the fractional decimal $0.625$ to binary fixed-point form?
Multiply by $2$ repeatedly, recording integer parts: $0.625\times2=1.25\to1$; $0.25\times2=0.5\to0$; $0.5\times2=1.0\to1$. Reading top-down gives $0.101_{2}$, i.e., $0.625 = 2^{-1}+2^{-3}$.
In the IEEE-754 single-precision (32-bit) floating-point format, how are the bits allocated and what is the value formula for a normalized number?
$1$ sign bit, $8$ exponent bits (bias $127$), and $23$ fraction (mantissa) bits. Value $= (-1)^{S}\times 1.M \times 2^{(E-127)}$, where the leading $1$ of the mantissa is implicit (hidden bit).
In IEEE-754, how are zero, infinity, and NaN encoded using the exponent and mantissa fields?
Zero: exponent all $0$s and mantissa all $0$s (signed $\pm0$). Infinity: exponent all $1$s and mantissa $0$. NaN: exponent all $1$s and mantissa $\neq 0$. Denormalized numbers: exponent all $0$s with nonzero mantissa (no implicit leading $1$).
Compare fixed-point and floating-point representations in terms of range, precision, and hardware.
Fixed-point has limited range but uniform (absolute) precision and simpler, faster, cheaper hardware. Floating-point offers a much wider dynamic range with relative precision (precision varies with magnitude) but needs more complex hardware and has rounding/normalization overhead.
What this deck covers
The Digital Logic deck follows the GATE CS & IT Engineering Digital Logic syllabus — 5 chapters and 10 topics — so questions land on material that is genuinely examinable rather than trivia around it. That works out to roughly 10.2 cards per chapter.
Answers are written to be recallable, not just readable — averaging about 217 characters, which is long enough to carry the reasoning and short enough to say out loud.
A deck like this earns its keep on the second and third pass. Read the syllabus first so you know the shape of the subject, then use the cards to find the specific facts that have not stuck.
Digital Logic flashcards FAQ
How many Digital Logic flashcards are in this GATE CS & IT Engineering deck?
51 cards. This page previews 24 of them, sampled evenly across the deck so you can judge the difficulty before installing anything.
Are these GATE CS & IT Engineering flashcards free?
Yes. The preview here is free to read with no signup, and the full 51-card deck is free inside the Examius app.
What do the Digital Logic cards cover?
They follow the GATE CS & IT Engineering Digital Logic syllabus — 5 chapters and 10 topics — so the questions track what is actually examinable.
How should I use these flashcards?
Read the syllabus first so you know the shape of the subject, then drill the deck. Examius schedules each card with spaced repetition, so cards you keep missing come back sooner and ones you know drift further apart.