Which of the Boolean expressions below is incorrect?
a. (true) && (3 => 4)
b. !(x > 0) && (x > 0)
c. (x > 0) || (x < 0)
d. (x != 0) || (x = 0)
e. (-10 < x < 0)
ade a: (3 => 4) should be (3 >= 4), d: (x = 0) should be (x == 0), and e: should be (-10 < x) && (x < 0)
Computer Science & Information Technology
You might also like to view...
A text file in which one or more tabs are used between the fields is known as a(n) ________ file
Fill in the blank(s) with correct word
Computer Science & Information Technology
You can ________ a database in order to protect your data against loss or damage
Fill in the blank(s) with correct word
Computer Science & Information Technology
________ charts can show trends over time
Fill in the blank(s) with correct word
Computer Science & Information Technology
________ refers to unencrypted text
a. Key b. Plain text c. Algorithm d. Cipher text
Computer Science & Information Technology