Module 4 Quiz Questions Flashcards

1
Q

The EQU directive permits a constant to be redefined at any point in a program.

A

False

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

The equals sign directive (=) may be used for both integer constants and string constants.

A

False

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

What is the minimum size of a data type, in bytes, to be impacted by system endianness. (Whole numbers only)

A

2

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

If you are using an integer constant in one of your CS271 programs, which constant method must you use?

A

=

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

The byte-ordering scheme which stores integers in memory with the least significant byte at the lowest (first) address is called:

A

little endian

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

System endianness affects:

A

byte-wise ordering

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

Strings (BYTE arrays) are stored in the same order regardless of system endianness.

A

True

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

The byte-ordering scheme which stores integers in memory with the most significant byte at the lowest address (first) is called:

A

big endian

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

An SDWORD storing the integer value -540,000 (FFF7C2A0h) is stored in memory on a little-endian system starting at memory address α. What Hex value is stored at each of the following memory addresses?

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

The four-byte hexadecimal sequence 20 05 43 03 stored in consecutive memory cells in a little-endian architecture represents ___________ (decimal) when interpreted as a 32-bit signed integer.

A

54,723,872

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

The four-byte hexadecimal sequence 2D AC 52 CB stored in consecutive memory cells in a little-endian architecture represents ___________ (decimal) when interpreted as a 32-bit unsigned integer.

A

-883,774,419

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

Identify the sizes of the sign, biased exponent, and normalized mantissa for a Double Precision x86 floating point value.

A

Sign: 1 bits

Biased Exponent: 11 bits

Normalized Mantissa: 52 bits

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

An IEEE 754 Floating Point value contains three components: a sign, a normalized mantissa, and an biased exponent.

A

True

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

The number -12.65 can be represented exactly in IA-32 Floating Point Unit 32-bit IEEE 754 format.

A

False

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