Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CPU Data Processing Quiz

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

For data registers (in the CPU), which of the following statements is correct:

a)

Contains temporary data or intermediate results

b)

Contains addresses of memory locations that carry data

c)

Contains both data and the addresses of operands in calculation instructions

d)

Contains data related to command control information

2.

For a machine code instruction consisting of 2 operands, which of the following statements is correct:

a)

Two source operands

b)

One operand is both the source operand and the destination operand, the other operand is the source operand

c)

Two destination operands

d)

One source operand, one destination operand

3.

Considering the process of writing (storing) data of the CPU, the order of execution is:

a)

Address -> Memory compartment -> Register set

b)

Address -> Register set -> Memory compartment

c)

Register set -> Memory compartment -> Address

d)

Register set -> Address -> Memory compartment

4.

For registers (in the CPU), which of the following statements is correct:

a)

Contains the status of peripheral devices

b)

All registers are programmable

c)

The command register contains the command code that has just been processed

d)

There are types of registers that cannot be programmed

5.

Which of the following is not a part of the microprocessor?

a)

System Bus (System Bus)

b)

Controller (CU)

c)

Arithmetic and logic unit (ALU)

d)

Registers (RF)

6.

Considering the data processing stage of the CPU, the order of execution is:

a)

Perform math operations -> Data registers -> Arithmetic and logic unit (ALU)

b)

Perform math operations -> Arithmetic and logic unit (ALU) -> Data register

c)

Arithmetic and logic unit (ALU) -> Data register -> Perform mathematical operations

d)

Arithmetic and logic unit (ALU) -> Perform mathematical operations -> Data register

7.

For DP - Data Pointer data pointer registers (in CPU), which of the following statements is correct:

a)

Holds the address of the next instruction to be executed

b)

Contains data of the command being executed

c)

Contains the address of the data memory location that the CPU wants to access

d)

Contains the code being executed

8.

For machine code instructions, which of the following statements is correct:

a)

The operand indicates the operation to perform

b)

There can be many instruction codes in a machine instruction

c)

The instruction code in the machine instruction is unique

d)

Operands in machine instructions are unique

9.

Considering the instruction decoding step of the CPU, the order of execution is:

a)

Control block -> Command register -> Decoding -> Control signals

b)

Command register -> Control block -> Control signal -> Decoding

c)

Command register -> Control block -> Decode -> Control signal

d)

Command register -> Decode -> Control block -> Control signal

10.

For ALU (in CPU), which of the following statements is false:

a)

Perform bit shift

b)

Performs comparison of two operands

c)

Perform addition and subtraction

d)

Perform square root operation

11.

For address registers (in the CPU), which of the following statements is correct:

a)

There are more than 4 types

b)

There are at least 3 types (Program Counter - PC; Data Pointer - DP; Stack Pointer - SP)

c)

There are 2 types (Program counter - PC; Data pointer - DP)

d)

Only one type (Program counter - PC)

12.

Considering the control signals inside the CPU, which of the following statements is false:

a)

Controls data transfer from register to ALU

b)

Controls data transfer from CPU to register

c)

Controls data transfer from ALU to register

d)

Controls the ALU to execute the command

13.

Regarding the Overflow - OF flag in the status register (in the CPU), which of the following statements is false:

a)

This is the overflow flag for signed numbers

b)

Set to 1 when adding two integers of the same sign and the result has the same sign

c)

Set to 1 when adding two integers with the same sign and the result has the opposite sign

d)

Do not set to 1 when adding two integers with the same sign and the result is negative

14.

Which of the following is not a characteristic of RISC computers:

a)

Many firmware are used

b)

Commands have a fixed length

c)

CPU has a large register set

d)

Most instructions access operands in registers

15.

Regarding the Carry - CF flag in the status register (in the CPU), which of the following statements is false:

a)

This is the overflow flag for signed numbers

b)

Not set when the operation has no carry beyond the highest bit

c)

This is the overflow flag for unsigned numbers

d)

Set to 1 if the operation carries beyond the highest bit