Module #1 Study Deck Flashcards

1
Q

A ____(1)______ Architecture’s instructions are decoded to micro-programs which are executed by the CPU, whereas a _____(2)_____ Architecture’s instructions are directly executed by the CPU.

A
  1. Complex Instruction Set Computer (CISC)
  2. Reduced Instruction Set Computers (RISC)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
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
3
Q

What type of tool can convert ARM Assembly to x86 Assembly?

A

Cross Assembler

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

Compared to higher-level languages, which of the following are benefits of Assembly Language programming? (Check all that apply)

  • Ease of Use
  • Direct Manipulation of Memory
  • Hands-on Code Optimization
  • Intuitive Programs
  • Integrated Tools
A
  • Direct Manipulation of Memory
  • Hands-on Code Optimization
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What mechanism is used to turn Assembly Language code to Machine Code?

A

Assembler

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

A signed integer stores the sign in the most significant bit (MSB)
True / False

A

True

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

If an integer’s sign bit is 1, the integer is positive.
True / False

A

False

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

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

A

False

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

How many bits long is a DWORD (doubleword) on x86 systems?

A

32

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

Convert the following ASCII hex representation to a character string: 43 61 63 68 65

A

C - A - C - H - E

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

Convert the following string into its ASCII hex representation: Wooden

A

57 6F 6F 64 65 6E

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

How many binary digits are represented by a series of 3 hexadecimal characters?

A

12

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

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

A

11011111

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):
2C18 + 571B

A

8333

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

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

A

101100100

17
Q

Complete the following unsigned Binary Subtraction:
11010010 - 01011100

A

01110110

18
Q

Complete the following unsigned Hexadecimal Subtraction:
5568 - 1ADC

A

3A8C

19
Q

Convert the following signed SWORD to a decimal value.

1111 0101 0001 0100

A

-2,796

20
Q

Convert the following unsigned WORD to a decimal value.

1010 0101 0110 0100

A

42,340

21
Q

What component is responsible for communication among the various internal CPU components?

A

Internal Bus

22
Q

During which phase of the instruction execution cycle is the instruction pointer incremented?

A

fetch

23
Q

When transferring instructions and data between the Main Memory Unit and the CPU, the memory location where the data is stored must be placed on the ______________.

A

Address Bus

24
Q

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

A

ALU

25
Q

The status flags are implemented as individual bits within the Status Register.
True/False

A

True

26
Q

Adding 5 to 0FBh in an 8-bit register sets the Zero flag.
True/False

A

True

27
Q

Adding 7Fh and 05h in an 8-bit register sets the Overflow flag.
True/False

A

True

28
Q

In the IA-32 architecture, which of the following are valid 8-bit register references?
DH
EL
SH
AL
EAX
AX

A

DH, AL

29
Q

The Carry flag

A

Set when the result of a signed arithmetic operation generates a carry out of the most significant bit of the result.

30
Q

The Overflow flag

A

Set when the result of a signed arithmetic operation is too large or too small for its destination

31
Q

The Sign flag

A

Set when the result of an arithmetic or logical operation generates a negative result

32
Q

The Zero flag

A

Set when the result of an arithmetic or logical operation generates a result of 0

33
Q

The Parity flag

A

Set if the last signficant byte in the result contains an even number of 1 bits