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
- 14 marks
Question 1
Competency: Analysis & Evaluation
Vaccines must be stored between and . 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: whenever the temperature is above (otherwise ), and whenever it is below (otherwise ). 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.)
(min) 0 10 30 36 44 60 Temperature (°C) 5 5 11 5 1 5 
(a) State whether the sensor's output voltage and the signal are analog or digital, giving a reason for each.
(b) Find the times between which , and the times between which .
(c) A warning buzzer is driven by and a green "in range" lamp by . Name the gate that gives each signal, and find for how many minutes of the hour the green lamp is lit.
- 24 marks
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 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 = bytes.)
- 31 mark
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.
- 41 mark
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.
- 51 mark
Question 5
Competency: Application
Inside a computer, numbers are held in registers as binary digits. An 8-bit register holds . 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?
- 61 mark
Question 6
Competency: Application
A digital room thermometer uses a temperature sensor whose output voltage is 0 V at and rises by 10 mV for every . 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?
- 74 marks
Question 7
Competency: Application
A server room is protected by a fire panel with a smoke detector ( when it senses smoke) and a heat detector ( when it senses too much heat). A warning bell must ring () as soon as either detector responds. A fire-suppression gas is released () 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 (), which gives people time to leave. (Hypothetical data.)
(a) Write Boolean expressions for and , and name the gates needed.
(b) Find and 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.
- 81 mark
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?
- 91 mark
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.
- 104 marks
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 () only when no stop button is pressed. Two designs are compared. (Hypothetical data.)
Design 1: each button gives a signal (, , ) that is 1 while the button is pressed. One gate combines them into a signal that is 1 when any button is pressed, and a NOT gate then gives .
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, , and , go to a single gate whose output is .
(a) Name the gate that gives in design 1, and write in terms of , and .
(b) Name the gate needed in design 2, and write in terms of , and .
(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.
- 111 mark
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.
- 124 marks
Question 12
Competency: Application
A car's seat-belt reminder lamp is controlled by the circuit in the figure. Its inputs are: when the ignition is on; when the driver's belt is fastened; when a weight sensor finds someone sitting in the front passenger seat; and when the front passenger's belt is fastened. The lamp lights when . (Hypothetical data.)

(a) Write Boolean expressions for , and .
(b) With the ignition on, find 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 for the passenger, but no such sensor for the driver.
- 134 marks
Question 13
Competency: Analysis & Evaluation
A traffic-light controller holds a two-bit binary number , where is the twos digit and the ones digit. Every few seconds the number goes up by one: , , , , and then back to . 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 , the second when , the third when and the fourth when . The red, amber and green lamps light when the signals , and are 1. (Hypothetical data.)
(a) Make a truth table showing , and for each value of .
(b) Show that , and , 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.
- 144 marks
Question 14
Competency: Application
In a microwave oven, when the door is closed, and while a cooking time has been set and has not yet run out. For safety, the magnetron, which makes the microwaves, may run () only when the door is closed and a cooking time is set. The lamp inside the oven () must be on whenever the door is open, and also whenever the magnetron is running. (Hypothetical data.)
(a) Write in terms of and , and write in terms of and .
(b) Make a truth table showing and for all four combinations of and .
(c) Show that , and draw a circuit for and that uses one AND gate, one NOT gate and one OR gate.
- 151 mark
Question 15
Competency: Analysis & Evaluation
The automatic sliding door of a shop opens () when its motion sensor detects a person () or when the exit button inside is pressed (). At night the owner turns on a lock switch (). 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 ?
- 161 mark
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: when the throttle is at idle, while the cut-out button has been pressed, when the flaps are set for landing, when the gear is down and locked, and the horn sounds when .

The gear is still not lowered. In which situation is the horn silent?
- 174 marks
Question 17
Competency: Application
In a computer's processor, the result of each calculation appears in a 4-bit register as the binary digits , where is the eights digit and the ones digit. A "zero flag" must be 1 when the result is zero () and 0 for every other result. To check whether two numbers are equal, the processor subtracts one from the other and looks at . (Hypothetical data.)
(a) Name the single four-input gate that gives directly from , , and , and write as a Boolean expression.
(b) The processor works out and . Write each result as a 4-bit binary number, give for each, and say what tells the processor.
(c) A faulty connection makes the gate read its input from digit as 0 all the time. Find the non-zero result for which would then wrongly be 1, in binary and in decimal.
- 181 mark
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.
- 191 mark
Question 19
Competency: Analysis & Evaluation
At an automatic level crossing, two track sensors give when a train is approaching from the left and 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 and .
Reason (R): NAND and NOR gates are called universal gates, because every other gate can be built from either of them alone.
- 201 mark
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, and , of one gate and read its output once. Which single test tells the technician which kind of gate it is?
- 214 marks
Question 21
Competency: Analysis & Evaluation
A house has an underground sump tank and an overhead tank. A float switch in the sump gives while the sump holds water, and a float switch in the overhead tank gives when that tank is full. The pump must run () 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 as a Boolean expression and make its truth table.
(b) Draw a circuit for 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 . Which kind of gate needs fewer gates here?
- 224 marks
Question 22
Competency: Analysis & Evaluation
A computer often has to pass one of two data signals, or , on to the same output line. The data selector in the figure does this using only two-input NAND gates, to ; the select signal decides which input gets through.

(a) Write Boolean expressions for the outputs of , and , and show that .
(b) Which input reaches the output when , and which when ? Check your answer for all eight combinations of , and .
(c) With held at 1 and held at 0, how does depend on ? Which single gate does the circuit then act as?
- 231 mark
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.
- 241 mark
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.
- 251 mark
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.

For which input pair is the output ?
- 264 marks
Question 26
The circuit in the figure uses four two-input NAND gates.

(a) Write the Boolean expressions for , and in terms of and .
(b) Make a truth table for , , and , and name the gate that the circuit is equivalent to.
(c) A fault holds the output of permanently at 1. Find , and in terms of and , and name the gate that the faulty circuit behaves like.
- 274 marks
Question 27
The door of a bank strongroom opens () when both managers turn their keys ( and ), or when both senior guards turn their keys ( and ).
(a) Write as a Boolean expression.
(b) Using De Morgan's theorem, , show that , 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?
- 283 marks
Question 28
Find the Boolean expression for the digital circuit shown.

- 293 marks
Question 29
How will you make an OR gate using NAND gates only? Give the truth table.
- 303 marks
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?
- 313 marks
Question 31
Why is NAND gate called a universal gate? Show how an AND gate can be obtained using one or more NAND gates.
- 321 mark
Question 32
Competency: Analysis & Evaluation
The overhead water tank of a housing society is deep. To show the water level in the caretaker's room, four float switches are fixed inside the tank at heights of , , and 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?
- 331 mark
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, while a brake lever is held, and when the side stand is up. The starter motor turns when the starter signal 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 comes from an OR gate fed by and .
- 341 mark
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.
- 351 mark
Question 35
Competency: Analysis & Evaluation
At the exit of a college library, an alarm must sound () when the gate detects a book's tag () on a book that has not been issued, or whenever the emergency door is opened (). The signal 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 . He tests it with switches for , and and records this table. (Hypothetical data.)
0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 Which single wiring mistake explains every column of the table?
- 362 marks
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 . A timing circuit holds the other input, , at 1 for exactly and keeps it at 0 at all other times. A counter counts the pulses that appear at the output . In one measurement the counter shows . (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 .
(b) Find the frequency of the square wave. For how long should be held at 1 so that the counter reading equals the frequency in hertz?
- 372 marks
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 (). With the card in, the fan runs () if the guest has switched it on () or if a sensor finds the room warmer than (). (Hypothetical data.)
(a) Write 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 and ? Explain, using your expression.
- 383 marks
Question 38
Competency: Application
In one car's wiring, the door switch gives while the driver's door is open and when it is shut. The key switch gives while the key is in the ignition lock and when it has been taken out. A chime must sound () 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 as a Boolean expression in and .
(b) Show with a truth table that a single two-input gate gives directly, and name the gate.
(c) In a later model, the key switch is changed so that while the key is in the lock and when it is out; the door switch is unchanged. Write the new expression for , 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?
- 393 marks
Question 39
Competency: Creativity
At a school talent show, each of three judges, , and , has a button that gives logic 1 while the judge presses it to say "pass". A green lamp must light () when at least two of the three judges press their buttons.
(a) Make the truth table for .
(b) Show that , and design a circuit for that uses only four two-input gates (AND and OR gates). Draw the circuit.
(c) Judge 's button sticks, so that it gives 1 all the time. Write in terms of and alone, and say whether the result is still fair to the contestants.
- 404 marks
Question 40
Competency: Analysis & Evaluation
A goods lift in a warehouse is run by a small logic controller. Its sensors give when the lift door is fully closed, when the load is above the safe limit, and when a floor button has been pressed. The motor may run () only when the door is closed, the lift is not overloaded and a floor has been requested. A buzzer sounds () 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.)
Moment 1 0 1 0 1 0 0 0 1 1 0 0 1 1 1 0 0 0 (a) Write Boolean expressions for and .
(b) Find and at each of the six logged moments.
(c) To save a gate, a technician suggests using for the buzzer instead. At which logged moment would differ from ? Evaluate whether the change is acceptable.
