IAE Academy

ISRO CS 2023 Q.47: solution and answer

ISRO 2023 · CSQ.47 · 1 mark · MCQ

A truth table will need how many rows if there are n variables.

  1. (A)

    2 * n

  2. (B)

    n

  3. (C)

    2^n

  4. (D)

    None of the above

See the question in the paper

Answer and solution

ANSWER

A truth table on variables needs rows, option (c).

Official answer: C or DSource: ISRO's revised and final answer key of 16 February 2024

  1. Each of the propositional variables can independently take one of two truth values, true or false.

  2. A truth table lists every distinct assignment of values to the variables, one row per assignment.

  3. By the multiplication rule, the number of assignments is ( factors) .

  4. Check: gives 2 rows, gives 4 rows, gives 8 rows. The formula would give 2, 4, 6, so it fails at . The formula gives 1, 2, 3, so it fails already at .

  5. So option (c), , is correct. Option (d) cannot be right because a correct option is listed.

KEY IDEA

Every variable doubles the number of possible assignments, so variables give rows.

WATCH OUT FOR

Writing or by extrapolating from the one-variable case, where 2 rows happen to equal . Test : there are 8 rows, not 6 or 3.

From the ISRO CS 2023 paper. Every question of this paper · The full paper (PDF, ISRO) · All 1 ISRO Mathematical logic question, with notes