Skip to content
📚 Free notes, MCQ tests & past papers — FBISE & BISE Rawalpindi
📢 Latest Updates

ECAT Computer Science (ICS) Chapter 8: Digital Logic and Boolean Algebra MCQs Online Test 2027

Reviewed by Sadia Shahid, Senior Science teacher (Maths, Physics, Chemistry, Biology, Computer Science)

For ICS students taking UET ECAT with Computer Science in place of Chemistry: this free test covers Digital Logic and Boolean Algebra with 23 MCQs, written by our teachers to the FSc (ICS) Computer Science syllabus, with answers and explanations.

Choose Practice mode to see each answer and explanation straight away, or Exam mode for a timed attempt (one minute per question). Questions and options are shuffled on every attempt, and after submitting you can review only the questions you got wrong.

Last reviewed: 24 November 2026 · Syllabus: FSc Part I and II (Punjab Textbook Board), the base for UET ECAT and the NUST NET engineering stream.

Computer Science in ECAT

UET offers combinations such as Mathematics, Physics and Computer Science, and Mathematics, Statistics and Computer Science. Computer Science then carries the same share as Chemistry: 30 of the 100 MCQs. NUST NET (Engineering and Computing) does not have a separate Computer Science section.

Digital Logic and Boolean Algebra: 23 MCQs

0/23 answered

Practice mode shows the answer as soon as you choose. Exam mode gives one minute per question and shows results at the end.

1. The number of rows in the truth table of a 3-input gate is:

✔ 2³.
Report a mistake

2. The output of an AND gate is 1 when:

✔ Logical multiplication.
Report a mistake

3. The output of a NOR gate is 1 only when:

✔ NOT of OR.
Report a mistake

4. The XOR gate gives output 1 when:

✔ Exclusive OR.
Report a mistake

5. Gates that can be used to build any other logic gate are called:

✔ Any circuit can be made from NAND alone.
Report a mistake

6. In Boolean algebra, A + A equals:

✔ Idempotent law.
Report a mistake

7. If A = 1, then (A′)′ equals:

✔ Double complement gives A back.
Report a mistake

8. The output of a NAND gate is 0 only when:

✔ NOT of AND.
Report a mistake

9. The Boolean expression for an XOR gate is:

✔ Output 1 when inputs differ.
Report a mistake

10. A·(B + C) equals:

✔ Distributive law.
Report a mistake

11. The output of an OR gate is 0 when:

✔ Logical addition.
Report a mistake

12. A + A·B simplifies to:

✔ Absorption law.
Report a mistake

13. If A = 1 and B = 0, then A · B is:

✔ AND needs both 1.
Report a mistake

14. A NOT gate:

✔ Inverter.
Report a mistake

15. A flip-flop is a circuit that can store:

✔ It is the basic memory element.
Report a mistake

16. In a half adder, the carry output is produced by a(n):

✔ Carry is 1 only when both bits are 1.
Report a mistake

17. A Karnaugh map (K-map) is used to:

✔ Groups of 1s give simpler terms.
Report a mistake

18. Logic gates are built using:

✔ Integrated circuits contain many transistors.
Report a mistake

19. De Morgan’s theorem states that (A + B)′ equals:

✔ The complement of OR is AND of complements.
Report a mistake

20. In Boolean algebra, A · A′ equals:

✔ Complement law.
Report a mistake

21. A half adder adds:

✔ Sum = A XOR B, Carry = A AND B.
Report a mistake

22. A full adder adds:

✔ It is used in multi-bit adders.
Report a mistake

23. In Boolean algebra, A + 1 equals:

✔ Anything OR 1 is 1.
Report a mistake

More practice: all Computer Science tests · all ECAT and NUST NET tests

Please confirm all dates and figures on the official websites: ecat.uet.edu.pk and ugadmissions.nust.edu.pk

Preparing for ECAT or NUST NET 2027? Join our live online classes for FSc Mathematics, Physics and Chemistry. Book a free demo class.

📌 Struggling with this chapter? Join our live online tuition — one-to-one or small group classes with experienced teachers. Book a free demo class →

Ask a question about this topic

Your email address will not be published. Required fields are marked *