MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DIGITAL LOGIC

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is a quantity that may, at different times, be equal to either 0 or 1?
A
Boolean Constants and Variables
B
Timing diagrams
C
Decimal numbering
D
None of the above
Explanation: 

Detailed explanation-1: -1 = 0 The Inverse (Complement) of a 1 is always equal to 0. 0 = 1 The Inverse (Complement) of a 0 is always equal to 1.

Detailed explanation-2: -A binary bit represents one of the two possible states, which are generally referred to as logic “1” and logic “0”.

Detailed explanation-3: -A Boolean variable has only two possible values: true or false. It is common to use Booleans with control statements to determine the flow of a program. In this example, when the boolean value “x” is true, vertical black lines are drawn and when the boolean value “x” is false, horizontal gray lines are drawn.

There is 1 question to complete.