PS Exam

  • Full Screen
  • Wide Screen
  • Narrow Screen
  • Increase font size
  • Default font size
  • Decrease font size

Evaluation of Question 10

E-mail Print PDF
Evaluate !(1 && !(0 || 1)). = !(1 && !1) [ 0 || 1 = 1. Since any operand is true the result is true.] = !(1 && 0) [!1 = 0. since ! operator reverses the bits] = !0 [1 && 0 = 0. Since both operator must be 1 for the result to be 1 otherwise 0] =1 [!0 = 1. Since ! operator reverses the bit] Thus, True. [1 stands for true and 0 stands for false]
 

Subscribe

Wish to get contents in your Email?

Enter your email address:

Who's Online

We have 58 guests online

Sharing Enriches!

You are here: Home