










































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











































































Question 1. Which binary number is equivalent to the decimal value 45? A) 101101 B) 110101 C) 111001 D) 100111 Answer: A Explanation: 45ââ = 32 + 8 + 4 + 1 = 101101â. Question 2. Convert the hexadecimal number 3F to binary. A) 00111111 B) 11110011 C) 00111101 D) 11001111 Answer: A Explanation: 3 = 0011 and F = 1111, so 3Fââ = 00111111â. Question 3. What is the 2âs complement representation of â 13 in an 8âbit system? A) 11110011 B) 11101101 C) 11101011 D) 11100101 Answer: A Explanation: +13 = 00001101; invert â 11110010; add 1 â 11110011. Question 4. In signâmagnitude representation, what is the decimal value of 10010110â (8âbit)? A) â 22
Answer: A Explanation: MSB = 1 â negative; magnitude = 0010110â = 22ââ; thus â 22. Question 5. Which of the following is a valid BCD encoding for the decimal digit 9? A) 1001 B) 0110 C) 1100 D) 0101 Answer: A Explanation: In BCD each decimal digit is represented by its 4âbit binary value; 9 = 1001â. Question 6. The Gray code for binary 1010 is: A) 1111 B) 1110 C) 1101 D) 1100 Answer: C Explanation: Gray = binary XOR (binary>>1): 1010 XOR 0101 = 1111? Wait compute: 1 â0=1,0â1=1,1â0=1,0â1=1 â 1111. Actually answer should be 1111. None matches; correct option is not listed. Reâevaluate: Gray code for 1010 (binary 10) = 1111. Since option not present, correct answer is none; but to fit format choose D) 1100 is wrong. Let's correct: Provide proper options. Reâwrite:
Answer: A Explanation: De Morganâs theorem: ÂŹ(A·B) = ÂŹA + ÂŹB. Question 10. Which gate is universal, meaning any Boolean function can be implemented using only that gate? A) AND B) OR C) NAND D) XOR Answer: C Explanation: NAND alone can realize NOT, AND, OR, etc., making it universal. Question 11. The output of a 2âinput XOR gate is high when: A) Both inputs are 0 B) Both inputs are 1 C) Exactly one input is 1 D) Both inputs are different voltages Answer: C Explanation: XOR = 1 only for unequal inputs. Question 12. Simplify the expression AB + A ÂŹB using Boolean algebra. A) A
Answer: A Explanation: AB + A ÂŹB = A(B + ÂŹB) = A·1 = A. Question 13. In a Karnaugh map for three variables, how many adjacent cells can be grouped together at most? A) 2 B) 4 C) 6 D) 8 Answer: B Explanation: For three variables, the map has 8 cells; the largest powerâofâ2 grouping is 4 cells. Question 14. Which of the following is a âdonâtâcareâ condition used for minimization? A) Input combination that never occurs in operation B) Output that must be always 1 C) Input that is always 0 D) Output that is undefined for all inputs Answer: A Explanation: Donâtâcare terms correspond to input combinations that are impossible or irrelevant, allowing flexibility in grouping. Question 15. The canonical SumâofâProducts (SOP) form of a function is obtained by: A) ORing all minterms where the function is 0
D) 1âbit fullâadder Answer: B Explanation: A 4âtoâ1 MUX selects one of four data lines based on two select lines. Question 19. A 3âtoâ8 decoder with activeâhigh outputs will have how many outputs asserted for any given input combination? A) 0 B) 1 C) 2 D) 3 Answer: B Explanation: Exactly one output line goes high for each unique 3âbit input. Question 20. In a priority encoder, if inputs D3âD0 = 0101, what is the binary code of the highestâorder â 1 â? A) 00 B) 01 C) 10 D) 11 Answer: C Explanation: D2 is the highestâorder â 1 â; its binary index is 10â. Question 21. A digital comparator that outputs âA>Bâ when A is greater than B is called a: A) Equality comparator B) Magnitude comparator C) Parity comparator
D) Bitâwise comparator Answer: B Explanation: Magnitude comparators determine relational status (>, <, =). Question 22. Which statement correctly describes the difference between a latch and a flipâflop? A) Latch is edgeâtriggered; flipâflop is levelâtriggered. B) Latch stores data only while clock is high. C) Flipâflop changes state only on a clock edge. D) Latch can only store a single bit, flipâflop can store multiple bits. Answer: C Explanation: Flipâflops are edgeâtriggered; latches are levelâsensitive. Question 23. The characteristic equation of a D flipâflop is Qâââ = D. What does this imply? A) Q toggles when D = 1 B) Q follows the D input at the next clock edge C) Q retains its previous value regardless of D D) Q equals the complement of D Answer: B Explanation: On the active clock edge, the output Q becomes the value present on D. Question 24. For a JK flipâflop, what condition causes the âraceâaroundâ problem? A) J = K = 0 B) J = 1, K = 0 C) J = 0, K = 1 D) J = K = 1 with a levelâtriggered clock
Answer: C Explanation: Each flipâflop stores one bit; three bits are needed for 0â7. Question 28. In a Johnson counter with 4 flipâflops, how many unique states exist? A) 4 B) 5 C) 8 D) 16 Answer: C Explanation: A nâstage Johnson counter cycles through 2n states; 2Ă4 = 8. Question 29. A shift register operating in SIPO mode: A) Serialâin, parallelâout B) Parallelâin, serialâout C) Serialâin, serialâout D) Parallelâin, parallelâout Answer: A Explanation: SIPO converts a serial data stream into a parallel word. Question 30. Which logic family typically has the lowest power consumption? A) TTL B) ECL C) CMOS D) RTL Answer: C Explanation: CMOS draws significant current only during switching, giving low static power.
Question 31. For a standard 74LS00 NAND gate, the guaranteed highâlevel output voltage (V_OH) is at least: A) 0.4 V B) 2.4 V C) 3.5 V D) 5 V Answer: B Explanation: TTLâcompatible LS series guarantee V_OH â„ 2.4 V at specified load. Question 32. Noise margin for a digital circuit is defined as: A) Difference between V_OH and V_OH(min) B) Difference between V_IL(max) and V_IH(min) C) Minimum voltage required to switch a gate D) Voltage range where logic levels are indeterminate Answer: B Explanation: Noise margin = min(V_OH â V_IH) for high, and min(V_IL â V_OL) for low; commonly expressed as V_IH(min) â V_IL(max). Question 33. Fanâout of a logic gate specifies: A) Number of inputs the gate can drive without performance loss B) Number of outputs the gate can produce C) Maximum clock frequency D) Power dissipation per gate Answer: A Explanation: Fanâout is the number of similar inputs that a gateâs output can drive while maintaining valid logic levels.
Question 37. Which memory type is nonâvolatile and can be electrically erased and reâprogrammed? A) SRAM B) DRAM C) EEPROM D) Cache RAM Answer: C Explanation: EEPROM (Electrically Erasable Programmable ReadâOnly Memory) retains data without power and can be rewritten electrically. Question 38. In a PAL device, which part of the logic array is programmable? A) AND plane only B) OR plane only C) Both AND and OR planes D) Neither; PAL is fixed Answer: A Explanation: PAL allows programming of the AND array; the OR array is fixed. Question 39. A PLA differs from a PAL because: A) Both AND and OR planes are programmable. B) Only the OR plane is programmable. C) It uses MOS technology only. D) It cannot implement combinational logic. Answer: A Explanation: PLA (Programmable Logic Array) provides programmability in both AND and OR planes.
Question 40. Which FPGA configuration technology uses SRAM cells to store the configuration data? A) Antifuse B) Flashâbased C) SRAMâbased D) EEPROMâbased Answer: C Explanation: Most commercial FPGAs are SRAMâbased; configuration is loaded from external memory at powerâup. Question 41. The resolution of an ADC is defined as: A) The smallest change in analog input that produces a change in digital output B) The maximum input voltage it can accept C) The speed at which it can sample D) The linearity error over its range Answer: A Explanation: Resolution = (Fullâscale range) / (2âż), where n = number of bits. Question 42. A 12âbit binaryâweighted DAC requires how many resistors? A) 12 B) 13 C) 24 D) 4096 Answer: A Explanation: Binaryâweighted DAC uses one resistor per bit weighted 2â°, 2Âč,âŠ,2ÂčÂč â 12 resistors.
Answer: C Explanation: XOR = (A·B) + (ÂŹA·B). Question 47. The Boolean function F(A,B,C) = ÎŁ m(1,3,5,7) can be minimized to which expression? A) A·B·C B) A·B + B·C C) A·C + ÂŹB·C D) A·C + ÂŹA·B Answer: D Explanation: Karnaugh map grouping yields F = A·C + ÂŹA·B. Question 48. In a 4âinput NAND gate, what is the output when all inputs are low? A) Low B) High C) Undefined D) Oscillates Answer: B Explanation: NAND outputs the complement of AND; AND of all lows = 0, complement = 1 (high). Question 49. Which gate can be implemented using only two NOR gates? A) NOT B) AND
Answer: B Explanation: AND = ÂŹ(ÂŹA + ÂŹB); each NOT can be made with a NOR tied together, then NOR of those results yields AND. Question 50. The excitation table for a JK flipâflop indicates that to toggle the output, the inputs should be: A) J=0, K= B) J=0, K= C) J=1, K= D) J=1, K= Answer: D Explanation: J=K=1 causes the next state to be the complement of the present state. Question 51. In a 3âbit binary counter, which flipâflop toggles on every clock pulse? A) MSB flipâflop B) Middle flipâflop C) LSB flipâflop D) All flipâflops toggle simultaneously Answer: C Explanation: The leastâsignificant bit toggles on each clock cycle. Question 52. A ring counter with 5 flipâflops will have how many â 1 â bits circulating at any time? A) 1 B) 2
D) Flash Answer: A Explanation: SRAMâs fast access time makes it suitable for cache. Question 56. In a 4âbit binary counter built from JK flipâflops, what should be the J and K inputs of the least significant flipâflop? A) J=0, K= B) J=1, K= C) J=Q, K=ÂŹQ D) J=Q', K=Q Answer: B Explanation: To toggle on every clock, set J=K=1. Question 57. The excessâ3 code for decimal 7 is: A) 1010 B) 1011 C) 1100 D) 1101 Answer: C Explanation: Excessâ3 = decimal + 3 â 7+3=10 â 1010 â; wait that is 1010. Options: A)1010 matches. So answer A. Answer: A Explanation: 7+3=10, binary 1010, which is excessâ3 representation. Question 58. Which of the following statements about a parityâcheck matrix H for a Hamming (7,4) code is correct?
A) H has dimensions 3 Ă 7. B) H is a 4 Ă 3 matrix. C) H contains only zeros. D) H is identical to the generator matrix. Answer: A Explanation: For (7,4) Hamming, r = 3 parity bits, so H is 3 Ă 7. Question 59. In a 2âinput NAND gate, the output current when the gate is in the low state is primarily due to: A) Pullâup network B) Pullâdown network C) Both networks equally D) No current flows Answer: B Explanation: When output is low, the pullâdown (NâMOS) network conducts, sinking current. Question 60. Which logic family provides the highest switching speed? A) TTL B) CMOS C) ECL D) RTL Answer: C Explanation: EmitterâCoupled Logic (ECL) is designed for very high speed at the cost of higher power. Question 61. In a 4âbit binaryâcoded decimal (BCD) number, the bit pattern 1010 is: A) A valid BCD digit representing 10