Module #4 Study Deck Flashcards

1
Q

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

A

=

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

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

A

False

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

Which of the following statements correctly makes a constant integer defining a maximum integer value of 365?
EQU MAXVAL = 365
MAXVAL = 365
MAXVAL DWORD 365
MAXVAL EQU <MOV EAX, 365>

A

MAXVAL = 365

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
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
5
Q

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

A

big endian

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

System endianness will impact the ordering (indexing) of elements in an array.
True / False

A

False

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

The byte-ordering scheme which stores integers in memory with the least significant byte at the lowest (first) address is called:
* little endian
* big endian
* byte minor
* byte major

A

little endian

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

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

A

True

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

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

A

True

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

The number 17.3 can be represented exactly in IA-32 Floating Point Unit 32-bit IEEE 754 format.
True / False

A

False

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