Module 1 Quiz Questions Flashcards

1
Q

The linker combines object files into an executable file.

A

True

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

Which utility program reads an assembly language source file and produces an object file?

A

assembler

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

A program is considered portable if it . . .

A

can be executed on multiple platforms

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

Which of the following best describes the relationship from assembly language instructions to machine language instructions?

A

nearly one to one

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

What is the range of decimal values for a signed BYTE?

A

-128 to 127

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

What is the range of decimal values for an unsigned DWORD?

A

0 to 4,294,967,295

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

How many bytes long is a QUADWORD on x86 systems?

A

8

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

The two’s complement of a binary value is formed by which process?

A

reversing (inverting) the bits and adding 1

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

The ASCII code values for alphabetic letters (e.g. ‘a’) are smaller than for decimal digits (e.g. ‘1’).

A

False

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

Convert the following ASCII hex representation to a character string: 41 77 65 73 6F 6D 65

Do not add any spaces. For example, the hex 31 2B 7A represents the string: 1+z

A

Awesome

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

Convert the following string into its ASCII hex representation: Magical
Don’t use 0x or h to represent the hex values. For example, the ASCII hex representation for “1+z” is 31 2B 7A

A

4D 61 67 69 63 61 6C

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

Convert the following value from signed decimal to 8-bit binary: -33

NOTE: Canvas may add a decimal point and thousands place commas, for example 11001100 may appear as 11,001,100.0 … Please ignore these.

A

11011111

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

Which of the following binary values is equivalent to hexadecimal 7CBE?

A

0111 1100 1011 1110

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

Complete the following Unsigned Binary Addition (answers should also be in Binary):

NOTE: Canvas may add thousands place commas (for example 11001100 may appear as 11,001,100) … Please ignore these.

10110011   \+ 10100001   ----------
A

101,010,100

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

Complete the following Unsigned Hexadecimal Addition (answers should also be in Hexadecimal):

NOTE: Canvas may add thousands place commas (for example 9C4B may appear as 9,C4B) … Please ignore these.

2C17   \+ 575B   ------
A

8372

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

Complete the following unsigned Binary Subtraction:

01110111   - 01100110   ---------- NOTE: Represent answer as an 8-bit value, with no spaces or characters other than 0s and 1s.
17
Q

Complete the following unsigned Hexadecimal Subtraction:

6A6F   - 1F89   ------ NOTE: Represent answer as a 16-bit hex (four character) value, with no spaces or characters other than 0-9, A-F.
18
Q

Convert the following signed SWORD to a decimal value.

1111 0101 0001 0100

19
Q

Convert the following unsigned WORD to a decimal value.

1100 1101 0011 1100

20
Q

A register is a container for data which resides on the CPU chip.

21
Q

A primary limitation on the speed of internal communication on a machine is the width of the internal bus.

22
Q

What component’s primary duty is synchronizing processes inside a computer?

A

System Clock

23
Q

What unit on a CPU chip is responsible for computing basic addition and subtraction operations?

24
Q

If you wanted to find out whether an 8-bit integer contained an even number of 1 bits, which status flag would be useful?

25
In the IA-32 architecture, which of the following are valid 16-bit register references? CX ESI AH SS BL SP
CX, SS, SP
26
In the IA-32 architecture, which of the following are valid 8-bit register references? AX EL SH EAX DH AL
DH AL
27
Changes made to the AL register will not modify the contents of the EAX register
false
28
Match the datatype to its use/description. BYTE WORD SWORD DWORD SDWORD REAL4 REAL8
BYTE : 8-BIT UNSIGNED INTEGER WORD: 16-BIT UNSIGNED INTEGER SWORD: 16-BIT SIGNED INTEGER DWORD: 32-BIT UNSIGNED INTEGER SDWORD: 32-BIT SIGNED INTEGER REAL4: 32-BIT (4-BYTE) IEEE SHORT REAL REAL8: 64-BIT (8-BYTE) IEEE LONG REAL