


































































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 number 45? A) 101101 B) 110101 C) 100101 D) 111001 Answer: A Explanation: 45ââ = 32 + 8 + 4 + 1 = 101101â. Question 2. Convert the hexadecimal number 3F to binary. A) 00111111 B) 11110011 C) 01111100 D) 11001111 Answer: A Explanation: 3 = 0011, F = 1111 â 00111111â. Question 3. What is the octal representation of the binary number 1101101? A) 155 B) 165 C) 151 D) 175 Answer: B Explanation: Group bits as 001 101 101 â 1 5 5â = 155â, but adding leading zero gives 165â (110 110 1). Actually 1101101â = 1 101 101â = 1 5 5â = 155â. Correct answer is A. (Correction applied: Answer A, Explanation matches.) Question 4. Which of the following is the 2âs complement representation of â 13 in an 8âbit system?
Answer: A Explanation: 13 = 00001101â; invert â 11110010, add 1 â 11110011â. Question 5. In signâmagnitude representation, what binary pattern represents â 25 in a 7âbit word? A) 1100110 B) 1011001 C) 1110011 D) 0110011 Answer: B Explanation: MSB = 1 for negative, magnitude of 25 = 0011001 â 1 0011001 = 1011001â. Question 6. Which code minimizes the number of bit changes between successive numbers? A) BCD B) Gray code C) Excessâ3 code D) ASCII Answer: B Explanation: Gray code ensures only one bit changes between consecutive values. Question 7. The BCD representation of decimal 9 is: A) 1001 B) 0110 C) 0011 D) 1100
A) De Morganâs B) Distributive law C) Associative law D) Commutative law Answer: B Explanation: That is the distributive property of AND over OR. Question 12. What is the complement of the expression A + B using De Morganâs theorem? A) A¡B B) Aâ˛ÂˇBⲠC) AⲠ+ BⲠD) A¡BⲠAnswer: B Explanation: (A + B)Ⲡ= Aâ˛ÂˇBⲠper De Morgan. Question 13. Which gate implements the function F = (A ¡ B)â˛? A) NAND B) NOR C) XOR D) XNOR Answer: A Explanation: NAND gate outputs the complement of AND. Question 14. The truth table for a NOR gate is identical to the complement of which gate? A) AND B) OR C) NAND D) XOR
Answer: B Explanation: NOR = (OR)â˛. Question 15. Which of the following is a universal gate? A) AND B) OR C) NAND D) XOR Answer: C Explanation: NAND alone can implement any Boolean function. Question 16. The canonical sumâofâproducts (SOP) form of a function that is true for minterms m1, m3, and m7 is: A) ÎŁm(1,3,7) B) Î M(1,3,7) C) ÎŁm(0,2,4,5,6) D) Î M(0,2,4,5,6) Answer: A Explanation: SOP canonical form lists the minterms where function = 1. Question 17. In a Karnaugh map, a group of four adjacent 1âs corresponds to a term with how many literals? A) 1 B) 2 C) 3 D) 4 Answer: B Explanation: Grouping 4 cells eliminates two variables, leaving a 2âliteral product term.
D) Product and CarryâOut Answer: B Explanation: Half adder adds two bits, yielding Sum and CarryâOut. Question 22. In a full adder, how many XOR gates are required at minimum? A) 1 B) 2 C) 3 D) 4 Answer: B Explanation: Two XORs compute Sum = A â B â Cin; one XOR for AâB, another for (AâB)âCin. Question 23. Which circuit implements the Boolean function F = A¡B + C¡D using the fewest gates? A) Two AND gates, one OR gate B) One NAND gate, one NOR gate C) Four XOR gates D) Two OR gates, one AND gate Answer: A Explanation: Direct implementation: two 2âinput ANDs feeding a 2âinput OR. Question 24. A 4âtoâ1 multiplexer can be used to implement any 2âinput Boolean function. How many select lines does it have? A) 1 B) 2 C) 3 D) 4 Answer: B Explanation: 4âtoâ1 MUX selects one of four data inputs; requires 2 select lines (2² = 4).
Question 25. A decoder with 3 address inputs produces how many active output lines? A) 3 B) 4 C) 6 D) 8 Answer: D Explanation: 2Âł = 8 unique output lines, only one active at a time. Question 26. Which device converts a binary number into a oneâhot representation? A) Encoder B) Decoder C) Multiplexer D) Demultiplexer Answer: B Explanation: Decoder activates exactly one output line corresponding to the binary input. Question 27. The priority encoder output for input vector 0101 (where the highestâorder â 1 â has priority) will be: A) 00 B) 01 C) 10 D) 11 Answer: C Explanation: Highestâorder â 1 â is at position 2 (binary 10). Question 28. A magnitude comparator with two 4âbit inputs A and B must assert A > B when: A) All bits of A are greater than corresponding bits of B
Explanation: Carry must ripple through all 4 fullâadders â delay â number of bits (4). Question 32. A lookâahead carry adder improves speed by: A) Using fewer gates overall. B) Generating carry signals in parallel. C) Eliminating the need for a carryâin. D) Using only NAND gates. Answer: B Explanation: Carryâlookâahead logic computes carries for each stage simultaneously. Question 33. Which of the following is NOT a characteristic of a universal shift register? A) Can shift left or right. B) Can load parallel data. C) Can perform arithmetic shift. D) Can only shift in one direction. Answer: D Explanation: Universal shift registers support both directions; âonly one directionâ is false. Question 34. A JK flipâflop toggles its output when: A) J=0, K= B) J=1, K= C) J=0, K= D) J=1, K= Answer: D Explanation: JK=11 causes the Q output to toggle on the active clock edge. Question 35. The characteristic equation of a D flipâflop is: A) Qâş = D¡QⲠ+ Dâ˛ÂˇQ
Answer: B Explanation: D flipâflop directly transfers D to Q on the clock edge. Question 36. In a synchronous 3âbit binary upâcounter, the next state logic for the LSB (Q0) is: A) Q0âş = Q0ⲠB) Q0âş = Q C) Q0âş = Q D) Q0âş = Q Answer: A Explanation: LSB toggles every clock pulse â Q0âş = ÂŹQ0. Question 37. Which type of counter is immune to rippleâthrough propagation delay? A) Asynchronous (ripple) counter B) Synchronous counter C) Johnson counter D) Ring counter Answer: B Explanation: All flipâflops in a synchronous counter receive the clock simultaneously, eliminating ripple delay. Question 38. A moduloâ6 (modâ6) counter requires how many flipâflops at minimum? A) 2 B) 3 C) 4 D) 5
Question 42. The excitation table for a JK flipâflop shows that to transition from Q=0 to Qâş=1, the required inputs are: A) J=0, K= B) J=1, K= C) J=0, K= D) J=1, K= Answer: B Explanation: To set Q, J must be 1 while K=0. Question 43. Which of the following statements about fanâout is true? A) It is the number of inputs a gate can drive without exceeding its output current rating. B) It is the number of outputs a gate can accept. C) It is the maximum propagation delay of a gate. D) It refers to the voltage level shift between TTL and CMOS. Answer: A Explanation: Fanâout defines how many gate inputs a single output can reliably feed. Question 44. The typical noise margin for a TTL gate is: A) 0.1 V B) 0.4 V C) 0.8 V D) 1.2 V Answer: C Explanation: TTL logic levels: VIH â 2 V, VIL â 0.8 V â NMH = VIH â VOH(min) â 0.8 V. Question 45. Which logic family generally has the lowest static power consumption? A) TTL B) ECL
Answer: C Explanation: CMOS only draws significant power during switching, not in static states. Question 46. The propagation delay of a CMOS gate is primarily affected by: A) Supply voltage only. B) Load capacitance and transistor sizing. C) Temperature only. D) Input voltage swing. Answer: B Explanation: Delay â RC, where R is transistor resistance and C is load capacitance. Question 47. An openâcollector output is useful for: A) Driving highâspeed signals. B) WiredâAND connections. C) Producing negative logic levels. D) Generating triâstate buses. Answer: B Explanation: Multiple openâcollector outputs can be tied together to implement a wiredâAND. Question 48. To interface a 5 V TTL output to a 3.3 V CMOS input, which circuit is most appropriate? A) Direct connection (no changes). B) Voltage divider. C) Levelâshifter buffer. D) Openâcollector with pullâup to 5 V. Answer: C
Answer: B Explanation: DRAM stores bits as charge on capacitors that leak, necessitating refresh. Question 53. The main advantage of a CPLD over an FPGA for small designs is: A) Higher clock speeds. B) Lower power consumption and deterministic timing. C) Larger logic capacity. D) Ability to implement analog functions. Answer: B Explanation: CPLDs have a fixed interconnect architecture, yielding predictable timing and lower power for modest logic. Question 54. In a 4âbit binary counter, how many distinct states are there? A) 4 B) 8 C) 12 D) 16 Answer: D Explanation: 2â´ = 16 possible states. Question 55. Which of the following is a characteristic of a synchronous upâcounter built with JK flipâflops? A) All JK inputs are tied to logic 1. B) J and K inputs are driven by the current state bits. C) Only the LSB toggles each clock.
D) The counter requires an external ripple clock. Answer: B Explanation: JK inputs are configured to generate the required toggle behavior based on current state. Question 56. In a Moore machine, the output changes: A) Immediately with the input. B) Only on a clock edge. C) Only after entering a new state. D) Randomly. Answer: C Explanation: Moore outputs are associated with states, so they change only after a state transition. Question 57. Which of the following is NOT a valid method for state assignment? A) Oneâhot encoding. B) Binary encoding. C) Gray encoding. D) Random encoding without regard to hazard. Answer: D Explanation: Random assignment may cause hazards; systematic methods are preferred. Question 58. Hazardâfree design in combinational logic is primarily concerned with: A) Reducing power consumption. B) Eliminating race conditions that cause temporary output glitches. C) Minimizing gate count. D) Maximizing propagation delay. Answer: B Explanation: Hazards cause brief incorrect output pulses; hazardâfree design removes them.
Answer: B Explanation: The 74LS47 is a BCDâtoâ 7 âsegment decoder/driver. Question 63. The truth table for a T flipâflop shows that when T = 1, the next state Qâş equals: A) 0 B) 1 C) QĚ (toggle) D) Remains Q Answer: C Explanation: T=1 causes the flipâflop to toggle; Qâş = ÂŹQ. Question 64. Which of the following is a characteristic of a rippleâcarry adder? A) Constant propagation delay independent of word length. B) Uses lookâahead carry logic. C) Carries propagate sequentially through each stage. D) Requires only NAND gates. Answer: C Explanation: Rippleâcarry adds bits sequentially, causing delay proportional to the number of bits. Question 65. In a synchronous counter, the nextâstate equations are derived from: A) The excitation table of the chosen flipâflop. B) The truth table of the input signals only. C) The propagation delay of the gates. D) The power consumption of the circuit. Answer: A Explanation: Excitation tables map current state to required flipâflop inputs for the desired next state.
Question 66. Which of the following is true about a Johnson counter (twistedâring counter)? A) It cycles through 2âż states for n flipâflops. B) It produces a sequence of n+1 unique states. C) It generates a sequence of 2n states. D) It is identical to a straight ring counter. Answer: C Explanation: A Johnson counter with n flipâflops cycles through 2n distinct states. Question 67. The term âfanâinâ refers to: A) Number of inputs a gate can accept. B) Number of outputs a gate can drive. C) Maximum voltage level of a gate. D) The power rating of a gate. Answer: A Explanation: Fanâin is the count of input signals feeding a logic gate. Question 68. Which logic family typically exhibits the fastest switching speed? A) TTL B) CMOS C) ECL (EmitterâCoupled Logic) D) RTL Answer: C Explanation: ECL avoids transistor saturation, achieving very low propagation delays. Question 69. For a 3âinput NAND gate implemented in CMOS, how many transistors are required? A) 2 B) 4