Examveda

Which of the following statements is/are correct?

A. NOT(true OR true) = false

B. NOT(false OR false)= true

C. NOT (true OR false)= false

D. All of the mentioned

Answer: Option D

Solution (By Examveda Team)

This question tests your understanding of logical operators in MySQL, specifically NOT, OR, and how they work together.
Let's break down each option:
Option A: NOT(true OR true) = false
- OR means at least one of the expressions must be true. - true OR true is true because at least one is true. - NOT(true) is false. - So, Option A is correct.
Option B: NOT(false OR false) = true
- false OR false is false because neither expression is true. - NOT(false) is true. - So, Option B is correct.
Option C: NOT(true OR false) = false
- true OR false is true because at least one is true. - NOT(true) is false. - So, Option C is correct.
Option D: All of the mentioned
Since Options A, B, and C are all correct, Option D is also correct.
Therefore, the answer is Option D: All of the mentioned.

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous