WorksheetsCPU Data Processing Quiz
Total questions: 15
Worksheet time: 8mins
For data registers (in the CPU), which of the following statements is correct:
Contains temporary data or intermediate results
Contains addresses of memory locations that carry data
Contains both data and the addresses of operands in calculation instructions
Contains data related to command control information
For a machine code instruction consisting of 2 operands, which of the following statements is correct:
Two source operands
One operand is both the source operand and the destination operand, the other operand is the source operand
Two destination operands
One source operand, one destination operand
Considering the process of writing (storing) data of the CPU, the order of execution is:
Address -> Memory compartment -> Register set
Address -> Register set -> Memory compartment
Register set -> Memory compartment -> Address
Register set -> Address -> Memory compartment
For registers (in the CPU), which of the following statements is correct:
Contains the status of peripheral devices
All registers are programmable
The command register contains the command code that has just been processed
There are types of registers that cannot be programmed
Which of the following is not a part of the microprocessor?
System Bus (System Bus)
Controller (CU)
Arithmetic and logic unit (ALU)
Registers (RF)
Considering the data processing stage of the CPU, the order of execution is:
Perform math operations -> Data registers -> Arithmetic and logic unit (ALU)
Perform math operations -> Arithmetic and logic unit (ALU) -> Data register
Arithmetic and logic unit (ALU) -> Data register -> Perform mathematical operations
Arithmetic and logic unit (ALU) -> Perform mathematical operations -> Data register
For DP - Data Pointer data pointer registers (in CPU), which of the following statements is correct:
Holds the address of the next instruction to be executed
Contains data of the command being executed
Contains the address of the data memory location that the CPU wants to access
Contains the code being executed
For machine code instructions, which of the following statements is correct:
The operand indicates the operation to perform
There can be many instruction codes in a machine instruction
The instruction code in the machine instruction is unique
Operands in machine instructions are unique
Considering the instruction decoding step of the CPU, the order of execution is:
Control block -> Command register -> Decoding -> Control signals
Command register -> Control block -> Control signal -> Decoding
Command register -> Control block -> Decode -> Control signal
Command register -> Decode -> Control block -> Control signal
For ALU (in CPU), which of the following statements is false:
Perform bit shift
Performs comparison of two operands
Perform addition and subtraction
Perform square root operation
For address registers (in the CPU), which of the following statements is correct:
There are more than 4 types
There are at least 3 types (Program Counter - PC; Data Pointer - DP; Stack Pointer - SP)
There are 2 types (Program counter - PC; Data pointer - DP)
Only one type (Program counter - PC)
Considering the control signals inside the CPU, which of the following statements is false:
Controls data transfer from register to ALU
Controls data transfer from CPU to register
Controls data transfer from ALU to register
Controls the ALU to execute the command
Regarding the Overflow - OF flag in the status register (in the CPU), which of the following statements is false:
This is the overflow flag for signed numbers
Set to 1 when adding two integers of the same sign and the result has the same sign
Set to 1 when adding two integers with the same sign and the result has the opposite sign
Do not set to 1 when adding two integers with the same sign and the result is negative
Which of the following is not a characteristic of RISC computers:
Many firmware are used
Commands have a fixed length
CPU has a large register set
Most instructions access operands in registers
Regarding the Carry - CF flag in the status register (in the CPU), which of the following statements is false:
This is the overflow flag for signed numbers
Not set when the operation has no carry beyond the highest bit
This is the overflow flag for unsigned numbers
Set to 1 if the operation carries beyond the highest bit
