CAOMIDTERMEXAM Flashcards

1
Q

Which logic gate outputs true only when both inputs are false?

OR gate

NAND gate

AND gate

NOR gate

A

NOR gate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A

The range of values that can be represented

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

A

The sign of the number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

In a truth table, how many output combinations are there for a function with three inputs?
4
16
6
8

A

8

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following Boolean operators has the highest precedence?

AND

NOT

XOR

OR

A

NOT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What happens to the output of a NOR gate when both inputs are high (1)?

Depends on external conditions

Undefined

0

1

A

0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In a half adder, which gate is used to calculate the sum?

XOR gate

AND gate

NOT gate

OR gate

A

XOR gate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In a full adder circuit, which operation is used to calculate the carry output?

OR operation

AND operation

XOR operation

NOT operation

A

AND operation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which logic gate outputs true only when exactly one input is true?

NAND

AND

XOR

OR

A

XOR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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.

A

An overflow has occurred.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How many bits does the IEEE-754 single precision floating point standard use for the exponent?

8 bits

52 bits

23 bits

11 bits

A

8 bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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.

A

They can represent a wide range of real numbers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the output of a 2-input NAND gate when both inputs are 1?

0

1

Depends on the circuit

Undefined

A

0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

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

A standard representation using sum-of-products or product-of-sums.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which circuit configuration allows for carry propagation through multiple stages?

Parallel adder

Full adder

Half adder

Ripple-carry adder

A

Ripple-carry adder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which logic gate is represented by the expression ?

OR gate

NOT gate

XOR gate

AND gate

A

AND gate

17
Q

Which representation allows for two different representations for zero?

Floating-point representation

Two’s complement

One’s complement

Signed magnitude

A

Signed magnitude

18
Q

In Boolean algebra, which identity states that A+AB=A?

Idempotent Law

Distributive Law

Absorption Law

Complement Law

A

Absorption Law

19
Q

What is the primary function of a full adder?

To store data

To perform multiplication

To add two bits and manage carry input

To compare two binary numbers

A

To add two bits and manage carry input

20
Q

In IEEE-754 single precision format, how many bits are allocated for the significand?

8 bits

64 bits

23 bits

52 bits

A

23 bits

21
Q
A