Propositional Logic – WFF, truth tables, logic gates, adder circuits Quiz - ICSE Class 11 Computer Science
Free practice quiz: Propositional Logic – WFF, truth tables, logic gates, adder circuits (ICSE Class 11 Computer Science). 62 multiple-choice questions with answers and explanations. Play online, no sign-up needed.
This ICSE Class 11 Computer Science practice quiz has 62 multiple-choice questions on Propositional Logic – WFF, truth tables, logic gates, adder circuits, and 62 of them come with an explanation. Try the 5 sample questions below (tap an option to check yourself), then play the full quiz online. No sign-up needed.
Start quiz: 62 questions, freeSample questions
Which of the following is NOT a well-formed formula (WFF) in propositional logic?
Show answer
Answer: D. P ∧ ¬ ∨ Q
A WFF must have balanced parentheses and operators applied to propositional variables or other WFFs. 'P ∧ ¬ ∨ Q' has an operator '¬' applied to nothing, and an operator '∨' with missing operands, making it ill-formed.
Consider the propositional formula (P ∨ ¬Q) ∧ R. If P is True, Q is True, and R is False, what is the truth value of the formula?
Show answer
Answer: B. False
First, evaluate ¬Q. Since Q is True, ¬Q is False. Then, evaluate (P ∨ ¬Q): True ∨ False is True. Finally, evaluate True ∧ R. Since R is False, True ∧ False is False.
What is the result of XORing two identical bits (e.g., 0 XOR 0 or 1 XOR 1)?
Show answer
Answer: A. 0
The XOR (exclusive OR) operation outputs 1 only when the inputs are different. When the inputs are the same (0 XOR 0 or 1 XOR 1), the output is 0.
Consider a 2-bit adder circuit. What are the maximum number of bits required to represent the sum of two 2-bit numbers?
Show answer
Answer: B. 3 bits
The largest 2-bit number is 3 (binary 11). The sum of two such numbers is 3 + 3 = 6. In binary, 6 is represented as 110, which requires 3 bits. The maximum sum of two n-bit numbers is 2 * (2^n - 1). For n=2, this is 2 * (2^2 - 1) = 2 * 3 = 6. 6 in binary is 110, requiring 3 bits. The carry-out from the most significant bit might need an extra bit.
What is the primary purpose of using truth tables in propositional logic?
Show answer
Answer: B. To determine the validity of logical arguments and the truth value of complex formulas.
Truth tables systematically list all possible truth value combinations for the variables in a formula and show the resulting truth value of the formula, thus helping to analyze its properties.
More questions in this quiz
Answers and explanations are in the full quiz.
- Consider the propositional formula (P ∨ Q) → R. If P is True, Q is False, and R is True, what is the truth value of the formula?
- A half-adder circuit can add two binary bits. What are the outputs of a half-adder for the inputs A=1 and B=0?
- Which logic gate implements the operation of logical disjunction (OR)?
- Consider the propositional formula (P ∧ Q) → (R ∨ S). If P is False, Q is True, R is False, and S is True, what is the truth value of the formula?
- What is the Boolean expression for the output of a full-adder's 'Sum' bit when the inputs are A, B, and Cin (Carry-in)?
- Which of the following is a tautology?
- What does the NAND gate produce when both of its inputs are 1?
- Consider the propositional formula P ↔ Q. Which of the following pairs of truth values for P and Q would make this formula False?
- What is the primary function of a NOR gate?
- Which logical operator is represented by the symbol '→'?
- A full-adder circuit is used to add three binary bits. If the inputs are A=1, B=1, and Cin=1, what are the outputs for Sum and Cout (Carry-out)?
- Which of the following is NOT equivalent to P?
- A XOR gate produces an output of 1 when:
- Which of the following is a well-formed formula (WFF) and a contradiction?
- Consider the propositional formula (P ∨ Q) ∧ (¬P ∨ R). If P is True, Q is False, and R is True, what is the truth value of the formula?
- What is the output of a NOT gate with input 1?
- In propositional logic, the statement 'P implies Q' can be expressed equivalently as:
- Which of the following is a well-formed formula (WFF) in propositional logic?
- What is the Boolean expression for the Carry-out bit of a full-adder circuit with inputs A, B, and Cin?
- Consider the propositional formula (P ↔ Q). What are the truth values of P and Q for which this formula is True?
- The symbol '∨' in propositional logic represents which logical operation?
- Which of the following is NOT a primitive logical connective in standard propositional logic?
- Consider the propositional formula (P ∧ Q) ∨ (¬P ∧ R). If P is False, Q is True, and R is True, what is the truth value of the formula?
- In a half-adder, if the inputs are A=1 and B=1, what are the outputs for Sum and Carry?
- Which of the following propositional formulas is equivalent to (P ∨ Q) ∧ R?
- The 'carry out' signal from a full adder is generated when:
- Which logic gate has the truth table where the output is 1 if and only if the inputs are different?
- Consider the propositional formula (P ∨ Q) → ¬R. If P is False, Q is True, and R is False, what is the truth value of the formula?
- What logical operation is performed by a circuit with the following truth table? | A | B | Output | |---|---|--------| | 0 | 0 | 1 | | 0 | 1 | 1 | | 1 | 0 | 1 | | 1 | 1 | 0 |
- Consider the propositional formula (P → Q) ∧ (Q → R). If P is True, Q is False, and R is True, what is the truth value of the formula?
- Which of the following is a valid well-formed formula (WFF)?
- What is the primary function of an AND gate?
- If a propositional formula is a tautology, its truth value is:
- Which of the following logical equivalences is correct?
- Which logical connective is symbolized by '↔'?
- What is the output of a NOR gate if its inputs are 0 and 1?
- Consider the propositional formula (P ∧ Q) ↔ (R ∨ S). If P=True, Q=False, R=True, and S=False, what is the truth value of the formula?
- Which of the following is a contradiction?
- In a full adder, the 'Sum' output can be expressed as the XOR of the three inputs. If A=1, B=0, and Cin=1, what is the Sum?
- What does the logical connective '∧' represent?
- Consider the propositional formula (P ∨ ¬Q) ∧ (R → S). If P is True, Q is True, R is False, and S is True, what is the truth value of the formula?
- Which logic gate is equivalent to a NAND gate followed by a NOT gate?
- What is the definition of a well-formed formula (WFF) in propositional logic?
- Consider the propositional formula (P ∧ ¬Q) → R. If P is True, Q is False, and R is False, what is the truth value of the formula?
- Which logical gate produces an output of 0 if and only if both inputs are 1?
- If a propositional formula is a contingency, it means that:
- Consider a 4-bit ripple-carry adder. What is the maximum number of full-adder modules required for its construction?
- Which of the following is logically equivalent to ¬(P ∧ Q)?
- A half-subtractor circuit is used to subtract two bits. What are the outputs for Difference and Borrow for inputs A=0 and B=1?
- The proposition 'P XOR Q' is true if:
- Which of the following is a correct way to represent the negation of P?
- Consider the truth table for the implication P → Q. When is the statement P → Q False?
- What is the circuit symbol for a NOT gate?
- Consider the propositional formula (P ∨ Q) ∧ ¬(P ∧ Q). This formula is equivalent to:
- Which of the following is NOT a primitive logical connective in Boolean algebra?
- In a full adder, the Carry-out signal is generated by which logical operation on the inputs A, B, and Cin?
- Consider the propositional formula (P ∨ Q) ↔ (P ∧ Q). When is this formula False?
More quizzes
- Software – System vs application software, OS overview▶ Play
- Computer Hardware – System architecture, processor, memory types▶ Play
- Elementary Data Structures – stacks, queues, dequeue▶ Play
- Numbers – Number systems, base conversion, arithmetic in bases▶ Play
- Packages – user-defined packages, imports, interaction▶ Play
Browse all Computer Science quizzes