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?
|
Boolean Constants and Variables
|
|
Timing diagrams
|
|
Decimal numbering
|
|
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.