ITPEC IP April 2024 Question 2

Source exam: ITPEC IP April 2024Topic: Basic Theory

ITPEC IP April 2024 — Question 2 of 100

The truth table represents the AND operation because its output is 1 only when both inputs are 1. For inputs (0,0), (0,1), and (1,0), at least one input is 0, so AND produces 0. Only (1,1) satisfies both conditions and produces 1.

This can be written as A AND B or A ∧ B. The four results in row order are therefore 0, 0, 0, 1, exactly as shown.

Answer (a)

Why not others:
- (b) NOT is a unary operation and reverses one input rather than combining two inputs

- (c) OR outputs 1 when either or both inputs are 1, giving 0, 1, 1, 1

- (d) XOR outputs 1 when the inputs differ, giving 0, 1, 1, 0

Key rule: AND is true only when every operand is true; OR needs at least one true operand, while XOR needs the operands to differ.

AI-generated — may contain errors

The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.

This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official IP past-paper collection or Report an issue.