πŸ“Š Design and Analysis of Algorithms
Q. Consider the expression T & F ∧ T. What is the number of ways in which the expression can be parenthesized so that the output is T (true)?
  • (A) 0
  • (B) 1
  • (C) 2
  • (D) 3
πŸ’¬ Discuss
βœ… Correct Answer: (C) 2

Explanation: the expression can be parenthesized as (t & f) ∧ t or t & (f ∧ t), so that the output is t.


Explanation by: Mr. Dubey
the expression can be parenthesized as (t & f) ∧ t or t & (f ∧ t), so that the output is t.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
892
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate