CAOMIDTERMEXAM Flashcards
Which logic gate outputs true only when both inputs are false?
OR gate
NAND gate
AND gate
NOR gate
NOR gate
In floating-point representation, what does the exponent field determine?
The total number of bits
The range of values that can be represented
The precision of the representation
The sign of the number
The range of values that can be represented
What does the high-order bit indicate in signed integer representation?
The value of the number
The byte size
The sign of the number
The magnitude of the number
The sign of the number
In a truth table, how many output combinations are there for a function with three inputs?
4
16
6
8
8
Which of the following Boolean operators has the highest precedence?
AND
NOT
XOR
OR
NOT
What happens to the output of a NOR gate when both inputs are high (1)?
Depends on external conditions
Undefined
0
1
0
In a half adder, which gate is used to calculate the sum?
XOR gate
AND gate
NOT gate
OR gate
XOR gate
In a full adder circuit, which operation is used to calculate the carry output?
OR operation
AND operation
XOR operation
NOT operation
AND operation
Which logic gate outputs true only when exactly one input is true?
NAND
AND
XOR
OR
XOR
What does a carry bit indicate in binary addition?
The sum is negative.
An overflow has occurred.
The sum is even.
No carry has occurred.
An overflow has occurred.
How many bits does the IEEE-754 single precision floating point standard use for the exponent?
8 bits
52 bits
23 bits
11 bits
8 bits
What is a characteristic of floating-point numbers in computers?
They are always stored in hexadecimal format.
They can only represent whole numbers.
They can represent a wide range of real numbers.
They use a fixed-size field for all components.
They can represent a wide range of real numbers.
What is the output of a 2-input NAND gate when both inputs are 1?
0
1
Depends on the circuit
Undefined
0
In Boolean algebra, what does the term “canonical form” refer to?
The simplest possible form of an expression.
Any arbitrary arrangement of variables and operators.
An expression that contains no variables.
A standard representation using sum-of-products or product-of-sums.
A standard representation using sum-of-products or product-of-sums.
Which circuit configuration allows for carry propagation through multiple stages?
Parallel adder
Full adder
Half adder
Ripple-carry adder
Ripple-carry adder