Reference no: EM13910126
Question 1
Which ofthe following represents 1001 0001? (Assume the MSB is on the left.)
- Unsigned number 17
- Sign-magnitude number-17
- Hexadecimal number 11
- Two's complement signed number 145
Question 2
Which ofthe following is the 8-bit two's complement representation for -28? (For the numbers given below, assume the MSB is on the left.)
- 1100 0010
- 1110 0100
- 0001 1100
- 1110 0011
Question 3
This question is based on the course simulated processor. Figure 1 shows a program segment and the memory contents before the program segment is executed. Assume all registers are set to zero before the first instruction.
MOVE.L ;41001. AO
MOVE.B 4-$12, DO
ADD.B (A0)-1-. DO
MOVE.L S1000., D1
SUB.B 41, D1
MOVE.L Di, $1000
STOP AS2700
Address |
Memory contents |
001000
|
11
|
001001
|
22
|
001002
|
33
|
001003
|
44
|
All numeric values are in Hexadecimal
Figure 1
What is the content of Register DO when the program stops?
- 1122 3344 (hex)
- 1122 3334 (hex)
- 0000 0012 (hex)
- 0000 0034 (hex)
Question 4
Which of the following characteristic(s) distinguish memory mapped I/O from isolated I/O?
- Memory mapped I/O requires less internal logic and is thus cheaper, faster and easier to build.
- Memory mapped I/O has a large set of different instructions for referencing memory.
- Memory mapped I/O requires a bigger address decoder_
- All of the above
Question 5
The system bus is made up of
- data bus and address bus
- data bus and control bus
- address bus and control bus
- data bus, control bus and address bus
Question 6
Which of the following is the product of 1011 and 1100? (Assume the MSB is on the left.)
- 0000 0100
- 0000 1000
- 1000 0100
- 1000 1000
Question 7
Which of the following is the decimal value for hexadecimal DC?
- 92
- 92
- 220
- 1312
Question 8
During which CPU cycle is an instruction moved from primary storage to the control unit?
- Access
- Refresh
- Fetch
- Execute
Question 9
Clock speed is measured in _____
- bits per second
- baud
- bytes
- Hertz
Question 10
This question is based on the course simulated processor. Figure 1 shows a program segment and the memory contents before the program segment is executed. Assume all registers are set to-zero before the first instruction.
MOVEL $ 1 0 1, AO
MOVE $12, DO
ADD_B (AO)+, DO
MOVEL $1000, D1
SURB #$1, D1
MOVEL D1, $1000
STOP #$2700
Address |
Memory contents |
001000
|
11
|
001001
|
22
|
001002
|
33
|
001003
|
44
|
All numeric values are in Hexadecimal
Figure 1
What is the content of memory location at address 001003 (hexadecimal) when the program stops?
- 10 (hex)
- 11 (hex)
- 43 (hex)
- 44 (hex)
Question 11
Status register is also known as
- Accumulator
- Stack
- Program Counter
- Flags
Question 12
The Arithmetic Logic Unit (ALU) of the CPU is used to
- control the internal operation of the CPU
- determine whether a program is able to be executed
- carry out basic addition, subtraction and BOOLEAN operations
- transfer data in the CPU's registers to the memory
Question 13
Where does the control unit look in order to find the address of the next instruction to be fetched?
- Accumulator (AC)
- Instruction Register (IR)
- Memory Buffer Register (MBR)
- Program Counter (PC)
Question 14
Part of the operating system is usually stored in Read-Only Memory (ROM) so that it can be used to boot up the computer. ROM is used rather than Random Access Memory (RAM) because
- ROM chips are faster than RAM
- ROM chips are not volatile
- ROM chips are cheaper than RAM chips
- None of the above
Question 15
This question is based on the course simulated processor. Figure 1 shows a program segment and the memory contents before the program segment is executed. Assume all registers are set to zero before the first instruction.
MOVE_L 44S1001, AO
MOVE_13 1412, DO
ADD.B (AO)+, DO
MOVE.L $1000, DI
SUB.B #$1, DI
MOVE_L D1, $1000
STOP #$2700
Address |
Memory contents |
001000
|
11
|
001001
|
22
|
001002
|
33
|
001003
|
44
|
What is the content of Register D1 when the program stops?
- 1122 3344 (hex)
- 1122 3343 (hex)
- 0000 0010 (hex)
- 0000 0011 (hex)
Question 16
A memory chip has 8 data lines and 9 address lines. How many bytes of data can be stored on the chip?
- 256
- 500
- 511
- 512
Question 17
Which of the following is NOT a characteristic of the high performance bus architecture?
- Has different buses to cater to different speed I/O devices
- Changes in processor architecture do not affect bus architecture
- Allow high speed I/O devices to be processor
- Allow memory expansion
Question 18
An interrupt instruction _____.
- causes a conditional transfer of control
- causes an unconditional transfer of control
- modifies the status register
- is an I/O instruction
Question 19
This question is based on the course simulated processor. Figure 1 shows a program segment and the memory contents before the program segment is executed. Assume all registers are set to zero before the first instruction.
MOVE #$1001, AO
MOVES #$12, DO
ADD.B (AO)+, DO
MONTI $1000, D1
SUB.B #$1, D1
MOVE_L Dl. $1000
STOP 0$2700
Address |
Memory contents |
001000
|
11
|
001001
|
22
|
001002
|
33
|
001003
|
44
|
All numeric values are in Hexadecimal
- What is the content of Register AO when the program stops?
- 001000 (hex)
- 001001 (hex)
- 001002 (hex)
- 001003 (hex)
Question 20:
Which of the following is the fixed point binary equivalent for 14.625? (For the numbers given below, assume the MSB is on the left.)
- 1110.1010
- 1110.1100
- 0111.1010
- None of the above