Confirming your payment

Skip to content

Sign up now and get .

Opening your dashboard

Class 12 Physics Chapter 33 Digital Electronics - Logic Gates: Competency-Based Questions (CBQ)

40 questions on Chapter 33, each worked through on its own page with the AI tutor. Class 12 Physics, ICSE 2026-27.

40 questions

1–4 marks · Mixed difficulty

  1. 1

    Question 1

    Competency: Analysis & Evaluation

    Vaccines must be stored between +2∘C+2^\circ\text{C} and +8∘C+8^\circ\text{C}. A clinic's vaccine refrigerator has a temperature sensor whose output voltage rises and falls smoothly with the temperature. Two comparator circuits turn this voltage into logic signals: H=1H = 1 whenever the temperature is above 8∘C8^\circ\text{C} (otherwise H=0H = 0), and L=1L = 1 whenever it is below 2∘C2^\circ\text{C} (otherwise L=0L = 0). During one hour the power failed for a while, and later the thermostat over-cooled the cabinet. The temperature changed steadily between the readings in the table, as the graph shows. (Hypothetical data.)

    tt (min)01030364460
    Temperature (°C)5511515

    Class 12 Physics Digital Electronics - Logic Gates

    (a) State whether the sensor's output voltage and the signal HH are analog or digital, giving a reason for each.

    (b) Find the times between which H=1H = 1, and the times between which L=1L = 1.

    (c) A warning buzzer is driven by W=H+LW = H + L and a green "in range" lamp by G=H+L‾G = \overline{H + L}. Name the gate that gives each signal, and find for how many minutes of the hour the green lamp is lit.

    Medium
    4 marks
  2. 2

    Question 2

    Competency: Application

    A phone's voice-recorder app records a talk. The microphone gives a voltage that rises and falls smoothly with the sound. An analog-to-digital converter (ADC) in the phone measures this voltage 48 00048\,000 times every second and writes each measurement as a 16-bit binary number. The talk lasts 5.0 minutes and is recorded in mono (one channel), without compression. (Hypothetical data.)

    (a) Which of the two signals, the microphone's voltage or the stream of numbers, is analog, and which is digital? Give a reason.

    (b) How many different values can one 16-bit measurement take?

    (c) How many bits does the ADC write each second, and how much memory, in megabytes, does the whole talk take? (1 byte = 8 bits and 1 MB = 10610^{6} bytes.)

    Medium
    4 marks
  3. 3

    Question 3

    Competency: Analysis & Evaluation

    A music teacher copies a digital audio file to a new memory card, then copies that copy, and so on, 20 times; the last copy sounds exactly like the first. Years ago, a cassette tape copied 20 times in the same way became very hissy.

    Assertion (A): A digital recording can be copied again and again without the noise building up, but an analog recording cannot.

    Reason (R): Each bit of a digital signal only has to be recognised as 0 or 1, so a little noise added during copying does not change it; noise added to an analog signal changes the value the signal carries and stays in every later copy.

    MCQMedium
    1 mark
  4. 4

    Question 4

    Competency: Analysis & Evaluation

    A science club's data logger records the voltage of a light sensor, which can be anywhere from 0 V to 5 V, using an 8-bit analog-to-digital converter.

    Assertion (A): The data logger stores the exact value of every voltage it measures.

    Reason (R): Between any two voltages that the sensor gives, however close they are, there are other voltages that it can also give.

    MCQMedium
    1 mark
  5. 5

    Question 5

    Competency: Application

    Inside a computer, numbers are held in registers as binary digits. An 8-bit register holds 0001011000010110. The processor shifts every bit one place to the left: the leftmost bit (a 0) drops out and a 0 enters at the right-hand end. What number, in decimal, does the register hold now?

    MCQMedium
    1 mark
  6. 6

    Question 6

    Competency: Application

    A digital room thermometer uses a temperature sensor whose output voltage is 0 V at 0∘C0^\circ\text{C} and rises by 10 mV for every 1∘C1^\circ\text{C}. An 8-bit analog-to-digital converter splits its input range, 0 V to 1.28 V, into 256 equal steps, and the display shows the step number changed into degrees Celsius. (Hypothetical data.)

    What is the smallest change in temperature that the thermometer can show?

    MCQMedium
    1 mark
  7. 7

    Question 7

    Competency: Application

    A server room is protected by a fire panel with a smoke detector (S=1S = 1 when it senses smoke) and a heat detector (H=1H = 1 when it senses too much heat). A warning bell must ring (W=1W = 1) as soon as either detector responds. A fire-suppression gas is released (G=1G = 1) only when both detectors respond, so that dust or one faulty detector cannot empty the gas cylinders, and never while a staff member holds down the "hold" switch (K=1K = 1), which gives people time to leave. (Hypothetical data.)

    (a) Write Boolean expressions for WW and GG, and name the gates needed.

    (b) Find WW and GG in each of these situations:

    (i) Dust from building work reaches only the smoke detector.

    (ii) A fire sets off both detectors, and nobody is in the room.

    (iii) A fire sets off both detectors while a technician holds the hold switch on the way out.

    (iv) A fault makes the heat detector respond on its own.

    (c) Explain why the designer used an OR gate for the bell but an AND gate for the gas.

    Medium
    4 marks
  8. 8

    Question 8

    Competency: Analysis & Evaluation

    A power press in a workshop is worked by two push-buttons placed far apart, one for each hand; each gives logic 1 while it is pressed. The two signals go to an AND gate, so that the press works only while both buttons are held and neither hand can be under the press. A careless operator tapes the left-hand button down so that it stays pressed. Which statement about the press is now correct?

    MCQMedium
    1 mark
  9. 9

    Question 9

    Competency: Analysis & Evaluation

    In a house, the smoke alarms in three bedrooms are interconnected by wires. Each alarm puts logic 1 on its own line when it senses smoke, and the three lines are combined into one signal that drives the sounders of all three alarms.

    Assertion (A): When smoke reaches only one bedroom, the sounders in all three bedrooms go off.

    Reason (R): The combined signal behaves like an AND gate fed by the three alarm lines.

    MCQMedium
    1 mark
  10. 10

    Question 10

    Competency: Analysis & Evaluation

    An escalator has three emergency-stop buttons: at the top, in the middle and at the bottom. The motor may run (R=1R = 1) only when no stop button is pressed. Two designs are compared. (Hypothetical data.)

    Design 1: each button gives a signal (S1S_1, S2S_2, S3S_3) that is 1 while the button is pressed. One gate combines them into a signal XX that is 1 when any button is pressed, and a NOT gate then gives R=X‾R = \overline{X}.

    Design 2: each button has a contact that is closed (signal 1) while the button is not pressed and opens (signal 0) when it is pressed. These signals, N1N_1, N2N_2 and N3N_3, go to a single gate whose output is RR.

    (a) Name the gate that gives XX in design 1, and write RR in terms of S1S_1, S2S_2 and S3S_3.

    (b) Name the gate needed in design 2, and write RR in terms of N1N_1, N2N_2 and N3N_3.

    (c) In each design, the wire from the middle button breaks, so that the gate reads that input as 0 all the time. Describe what happens in each design, and explain which design is safer.

    Hard
    4 marks
  11. 11

    Question 11

    Competency: Analysis & Evaluation

    Inside a computer, some circuits act when the clock signal rises from 0 to 1, and others when it falls from 1 to 0. To give the second group a clock that rises when the main clock falls, the designer feeds the main clock signal through a NOT gate.

    Assertion (A): The signal from the NOT gate has the same frequency as the main clock.

    Reason (R): A NOT gate changes each 1 into 0 and each 0 into 1 at the same moment, so every rise of its input becomes a fall of its output and every fall becomes a rise.

    MCQMedium
    1 mark
  12. 12

    Question 12

    Competency: Application

    A car's seat-belt reminder lamp is controlled by the circuit in the figure. Its inputs are: I=1I = 1 when the ignition is on; D=1D = 1 when the driver's belt is fastened; P=1P = 1 when a weight sensor finds someone sitting in the front passenger seat; and Q=1Q = 1 when the front passenger's belt is fastened. The lamp lights when Y=1Y = 1. (Hypothetical data.)

    Class 12 Physics Digital Electronics - Logic Gates

    (a) Write Boolean expressions for XX, ZZ and YY.

    (b) With the ignition on, find YY when: (i) the driver is belted and the passenger seat is empty, with its belt unfastened; (ii) the driver is belted and a passenger sits there without a belt; (iii) the driver is not belted and the passenger is belted.

    (c) Explain why the circuit needs the seat sensor PP for the passenger, but no such sensor for the driver.

    Medium
    4 marks
  13. 13

    Question 13

    Competency: Analysis & Evaluation

    A traffic-light controller holds a two-bit binary number ABAB, where AA is the twos digit and BB the ones digit. Every few seconds the number goes up by one: 0000, 0101, 1010, 1111, and then back to 0000. In one sequence used in many countries the lamps show, in turn: red; red and amber together; green; amber; and then red again. The controller shows the first of these when AB=00AB = 00, the second when AB=01AB = 01, the third when AB=10AB = 10 and the fourth when AB=11AB = 11. The red, amber and green lamps light when the signals LRL_R, LAL_A and LGL_G are 1. (Hypothetical data.)

    (a) Make a truth table showing LRL_R, LAL_A and LGL_G for each value of ABAB.

    (b) Show that LR=A‾L_R = \overline{A}, LA=BL_A = B and LG=A⋅B‾L_G = A \cdot \overline{B}, and draw a circuit that gives all three lamp signals.

    (c) Use Boolean algebra to show that the red and green lamps can never be lit together.

    Medium
    4 marks
  14. 14

    Question 14

    Competency: Application

    In a microwave oven, D=1D = 1 when the door is closed, and T=1T = 1 while a cooking time has been set and has not yet run out. For safety, the magnetron, which makes the microwaves, may run (M=1M = 1) only when the door is closed and a cooking time is set. The lamp inside the oven (L=1L = 1) must be on whenever the door is open, and also whenever the magnetron is running. (Hypothetical data.)

    (a) Write MM in terms of DD and TT, and write LL in terms of DD and MM.

    (b) Make a truth table showing MM and LL for all four combinations of DD and TT.

    (c) Show that L=D‾+TL = \overline{D} + T, and draw a circuit for MM and LL that uses one AND gate, one NOT gate and one OR gate.

    Medium
    4 marks
  15. 15

    Question 15

    Competency: Analysis & Evaluation

    The automatic sliding door of a shop opens (Y=1Y = 1) when its motion sensor detects a person (M=1M = 1) or when the exit button inside is pressed (E=1E = 1). At night the owner turns on a lock switch (L=1L = 1). The motion sensor must then be ignored, but the exit button must still open the door so that nobody can be trapped inside. Which expression gives YY?

    MCQMedium
    1 mark
  16. 16

    Question 16

    Competency: Application

    In many airliners, a warning horn sounds when the landing gear is not down and locked and either the throttle is pulled back to idle or the flaps are set for landing. The pilot can silence the throttle warning with a cut-out button, but cannot silence the flap warning, because with the flaps set for landing the aircraft is about to land. The circuit in the figure models this: T=1T = 1 when the throttle is at idle, S=1S = 1 while the cut-out button has been pressed, F=1F = 1 when the flaps are set for landing, G=1G = 1 when the gear is down and locked, and the horn sounds when W=1W = 1.

    Class 12 Physics Digital Electronics - Logic Gates

    The gear is still not lowered. In which situation is the horn silent?

    MCQMedium
    1 mark
  17. 17

    Question 17

    Competency: Application

    In a computer's processor, the result of each calculation appears in a 4-bit register as the binary digits D C B AD\,C\,B\,A, where DD is the eights digit and AA the ones digit. A "zero flag" ZZ must be 1 when the result is zero (00000000) and 0 for every other result. To check whether two numbers are equal, the processor subtracts one from the other and looks at ZZ. (Hypothetical data.)

    (a) Name the single four-input gate that gives ZZ directly from AA, BB, CC and DD, and write ZZ as a Boolean expression.

    (b) The processor works out 11−1111 - 11 and 11−711 - 7. Write each result as a 4-bit binary number, give ZZ for each, and say what ZZ tells the processor.

    (c) A faulty connection makes the gate read its input from digit DD as 0 all the time. Find the non-zero result for which ZZ would then wrongly be 1, in binary and in decimal.

    Medium
    4 marks
  18. 18

    Question 18

    Competency: Analysis & Evaluation

    A student builds a test circuit on a breadboard with a TTL NAND gate IC, but forgets to connect the two inputs of one gate to anything.

    Assertion (A): A TTL NAND gate whose two inputs are left unconnected gives an output of 0.

    Reason (R): An unconnected input of a TTL gate behaves as if it were at logic 1.

    MCQMedium
    1 mark
  19. 19

    Question 19

    Competency: Analysis & Evaluation

    At an automatic level crossing, two track sensors give P=1P = 1 when a train is approaching from the left and Q=1Q = 1 when a train is approaching from the right. The road barrier may be raised only when no train is approaching from either side.

    Assertion (A): The signal that allows the barrier to be raised can come from a single two-input NOR gate fed by PP and QQ.

    Reason (R): NAND and NOR gates are called universal gates, because every other gate can be built from either of them alone.

    MCQMedium
    1 mark
  20. 20

    Question 20

    Competency: Analysis & Evaluation

    The markings on a small logic IC have worn off. A technician knows that its gates are either all two-input NAND gates or all two-input NOR gates. The technician may put one pair of input levels on the two inputs, XX and ZZ, of one gate and read its output once. Which single test tells the technician which kind of gate it is?

    MCQMedium
    1 mark
  21. 21

    Question 21

    Competency: Analysis & Evaluation

    A house has an underground sump tank and an overhead tank. A float switch in the sump gives S=1S = 1 while the sump holds water, and a float switch in the overhead tank gives F=1F = 1 when that tank is full. The pump must run (P=1P = 1) only when the sump has water and the overhead tank is not full, so that it never runs dry and never overfills the tank. The circuit is to be built from one kind of gate only. (Real controllers add a second float so that the pump does not keep starting and stopping; this question uses the simple version.) (Hypothetical data.)

    (a) Write PP as a Boolean expression and make its truth table.

    (b) Draw a circuit for PP that uses only two-input NAND gates, and check it with a truth table.

    (c) Show that two two-input NOR gates are enough to make PP. Which kind of gate needs fewer gates here?

    Medium
    4 marks
  22. 22

    Question 22

    Competency: Analysis & Evaluation

    A computer often has to pass one of two data signals, AA or BB, on to the same output line. The data selector in the figure does this using only two-input NAND gates, G1G_1 to G4G_4; the select signal SS decides which input gets through.

    Class 12 Physics Digital Electronics - Logic Gates

    (a) Write Boolean expressions for the outputs of G1G_1, G2G_2 and G3G_3, and show that Y=A⋅S‾+B⋅SY = A \cdot \overline{S} + B \cdot S.

    (b) Which input reaches the output when S=0S = 0, and which when S=1S = 1? Check your answer for all eight combinations of AA, BB and SS.

    (c) With AA held at 1 and BB held at 0, how does YY depend on SS? Which single gate does the circuit then act as?

    Hard
    4 marks
  23. 23

    Question 23

    Competency: Analysis & Evaluation

    Error-checking circuits in computers use many XOR (exclusive-OR) gates, which give 1 when their two inputs are different and 0 when they are the same. A student asks whether XOR gates alone, together with the fixed levels 0 and 1, could build any logic circuit.

    Assertion (A): An XOR gate is a universal gate, like NAND and NOR.

    Reason (R): An XOR gate with one input held at logic 1 acts as a NOT gate for its other input.

    MCQMedium
    1 mark
  24. 24

    Question 24

    Competency: Analysis & Evaluation

    A chip designer says that every logic circuit in a processor could, in principle, be built from two-input NAND gates alone.

    Assertion (A): Any logic circuit can be built using only NAND gates.

    Reason (R): The NAND gate is the only gate from which NOT, AND and OR gates can all be made.

    MCQMedium
    1 mark
  25. 25

    Question 25

    Competency: Application

    A technician traces part of a control board that is built only from two-input NOR gates, as in the figure.

    Class 12 Physics Digital Electronics - Logic Gates

    For which input pair is the output Y=1Y = 1?

    MCQMedium
    1 mark
  26. 26

    Question 26

    The circuit in the figure uses four two-input NAND gates.

    Class 12 Physics Digital Electronics - Logic Gates

    (a) Write the Boolean expressions for PP, QQ and RR in terms of AA and BB.

    (b) Make a truth table for PP, QQ, RR and YY, and name the gate that the circuit is equivalent to.

    (c) A fault holds the output PP of G1G_1 permanently at 1. Find QQ, RR and YY in terms of AA and BB, and name the gate that the faulty circuit behaves like.

    Hard
    4 marks
  27. 27

    Question 27

    The door of a bank strongroom opens (Y=1Y = 1) when both managers turn their keys (A=1A = 1 and B=1B = 1), or when both senior guards turn their keys (C=1C = 1 and D=1D = 1).

    (a) Write YY as a Boolean expression.

    (b) Using De Morgan's theorem, X+Z‾=X‾⋅Z‾\overline{X + Z} = \overline{X} \cdot \overline{Z}, show that Y=A⋅B‾⋅C⋅D‾‾Y = \overline{\overline{A \cdot B} \cdot \overline{C \cdot D}}, and draw the circuit using three two-input NAND gates.

    (c) For how many of the 16 possible combinations of the four keys does the door open?

    Hard
    4 marks
  28. 28

    Question 28

    Find the Boolean expression for the digital circuit shown.

    Class 12 Physics Digital Electronics - Logic Gates

    Medium
    3 marks
  29. 29

    Question 29

    How will you make an OR gate using NAND gates only? Give the truth table.

    Medium
    3 marks
  30. 30

    Question 30

    Using logic gates, how will you construct an alarm such that it will sound if it is dark and a door is opened or an emergency button is pressed?

    Medium
    3 marks
  31. 31

    Question 31

    Why is NAND gate called a universal gate? Show how an AND gate can be obtained using one or more NAND gates.

    Medium
    3 marks
  32. 32

    Question 32

    Competency: Analysis & Evaluation

    The overhead water tank of a housing society is 1.0 m1.0\ \text{m} deep. To show the water level in the caretaker's room, four float switches are fixed inside the tank at heights of 20 cm20\ \text{cm}, 40 cm40\ \text{cm}, 60 cm60\ \text{cm} and 80 cm80\ \text{cm} above its floor. A float switch gives logic 1 when the water has reached it and lifted its float, and logic 0 otherwise. The panel shows the four bits in a row, starting with the lowest switch on the left. (Hypothetical data.)

    Which panel reading can only mean that a float switch, or its wire, is faulty?

    MCQMedium
    1 mark
  33. 33

    Question 33

    Competency: Analysis & Evaluation

    Many scooters sold in India have a self-starter that works only while the rider holds a brake lever, and some models also refuse to start while the side stand is down. In one such scooter, B=1B = 1 while a brake lever is held, and S=1S = 1 when the side stand is up. The starter motor turns when the starter signal YY is 1, and the maker's rule is that the scooter must start only when a brake lever is held and the side stand is up. (Hypothetical data.)

    Assertion (A): A rider who holds a brake lever while the side stand is still down cannot start this scooter.

    Reason (R): The starter signal YY comes from an OR gate fed by BB and SS.

    MCQMedium
    1 mark
  34. 34

    Question 34

    Competency: Analysis & Evaluation

    At an inter-school quiz, each of two contestants has a buzzer button that gives logic 1 while it is pressed. The quizmaster wants a "ready" lamp that lights only when both buttons have been released, so that the next question can be read out. Ishaan has one IC of two-input NAND gates and one IC of NOT gates. He feeds the two button signals into a NAND gate and passes its output through a NOT gate to the lamp.

    Assertion (A): Ishaan's circuit lights the lamp only when both buttons have been released.

    Reason (R): A NOT gate placed after a NAND gate undoes the inversion of the NAND gate, so the pair acts as an AND gate.

    MCQMedium
    1 mark
  35. 35

    Question 35

    Competency: Analysis & Evaluation

    At the exit of a college library, an alarm must sound (Y=1Y = 1) when the gate detects a book's tag (T=1T = 1) on a book that has not been issued, or whenever the emergency door is opened (E=1E = 1). The signal II is 1 when the detected book has been issued. A student builds the alarm on a breadboard from one NOT gate, one two-input AND gate and one two-input OR gate, intending Y=T⋅I‾+EY = T \cdot \overline{I} + E. He tests it with switches for TT, II and EE and records this table. (Hypothetical data.)

    TT00001111
    II00110011
    EE01010101
    YY01110101

    Which single wiring mistake explains every column of the table?

    MCQMedium
    1 mark
  36. 36

    Question 36

    Competency: Application

    A digital frequency meter in a college laboratory uses a two-input AND gate as a "gate" for pulses. The square wave to be measured goes to input AA. A timing circuit holds the other input, GG, at 1 for exactly 0.20 s0.20\ \text{s} and keeps it at 0 at all other times. A counter counts the pulses that appear at the output YY. In one measurement the counter shows 10461046. (Hypothetical data. Ignore the possible error of one pulse at the start or the end of the gate time.)

    (a) Use the rule of the AND gate to explain why the counter counts only the pulses that arrive while G=1G = 1.

    (b) Find the frequency of the square wave. For how long should GG be held at 1 so that the counter reading equals the frequency in hertz?

    Medium
    2 marks
  37. 37

    Question 37

    Competency: Application

    In a hotel room, the power for the ceiling fan passes through a key-card slot, so the fan can run only while the room's key card is in the slot (K=1K = 1). With the card in, the fan runs (Y=1Y = 1) if the guest has switched it on (S=1S = 1) or if a sensor finds the room warmer than 30∘C30^\circ\text{C} (T=1T = 1). (Hypothetical data.)

    (a) Write YY as a Boolean expression, and name the two gates needed to make it.

    (b) A housekeeper enters the room and finds the fan running, although the fan switch is off. What can she conclude about KK and TT? Explain, using your expression.

    Medium
    2 marks
  38. 38

    Question 38

    Competency: Application

    In one car's wiring, the door switch gives D=0D = 0 while the driver's door is open and D=1D = 1 when it is shut. The key switch gives K=0K = 0 while the key is in the ignition lock and K=1K = 1 when it has been taken out. A chime must sound (C=1C = 1) when the driver's door is open while the key is still in the lock, so that the driver does not lock the key inside. (Hypothetical data.)

    (a) Write CC as a Boolean expression in DD and KK.

    (b) Show with a truth table that a single two-input gate gives CC directly, and name the gate.

    (c) In a later model, the key switch is changed so that K=1K = 1 while the key is in the lock and K=0K = 0 when it is out; the door switch is unchanged. Write the new expression for CC, and show that the gate named in (b) can still be used if one of its inputs first passes through a NOT gate. Which input?

    Medium
    3 marks
  39. 39

    Question 39

    Competency: Creativity

    At a school talent show, each of three judges, AA, BB and CC, has a button that gives logic 1 while the judge presses it to say "pass". A green lamp must light (Y=1Y = 1) when at least two of the three judges press their buttons.

    (a) Make the truth table for YY.

    (b) Show that Y=A⋅(B+C)+B⋅CY = A \cdot (B + C) + B \cdot C, and design a circuit for YY that uses only four two-input gates (AND and OR gates). Draw the circuit.

    (c) Judge AA's button sticks, so that it gives 1 all the time. Write YY in terms of BB and CC alone, and say whether the result is still fair to the contestants.

    Hard
    3 marks
  40. 40

    Question 40

    Competency: Analysis & Evaluation

    A goods lift in a warehouse is run by a small logic controller. Its sensors give D=1D = 1 when the lift door is fully closed, W=1W = 1 when the load is above the safe limit, and R=1R = 1 when a floor button has been pressed. The motor may run (M=1M = 1) only when the door is closed, the lift is not overloaded and a floor has been requested. A buzzer sounds (Z=1Z = 1) whenever the lift is overloaded, and also whenever a floor is requested while the door is still open. The controller's log below shows the sensor signals at six moments. (Hypothetical data.)

    Momentt1t_1t2t_2t3t_3t4t_4t5t_5t6t_6
    DD101010
    WW001100
    RR111000

    (a) Write Boolean expressions for MM and ZZ.

    (b) Find MM and ZZ at each of the six logged moments.

    (c) To save a gate, a technician suggests using Z′=W+D‾Z' = W + \overline{D} for the buzzer instead. At which logged moment would Z′Z' differ from ZZ? Evaluate whether the change is acceptable.

    Hard
    4 marks