wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

[4.0] Processor Technology

Total questions: 77

Worksheet time: 44mins

Name
Class
Date
1.

This primary component of the CPU moves data and instructions between main memory and registers

(a)  

2.

This primary component of the CPU performs all computation and comparison operations

(a)  

3.

This primary component of the CPU is the storage that holds inputs and outputs for the ALU.

(a)  

4.

How does the CPU execute the programs?

a)

The ALU reads instructions directly from primary storage, executes them, and stores the results in secondary storage.

b)

The control unit reads the first instruction from primary storage, stores it in a register, reads input (if needed), signals the ALU to perform operations, and executes instructions sequentially until completion.

c)

The CPU's registers fetch instructions, process data directly from I/O devices, and store final results only in secondary storage.

d)

The CPU executes instructions by fetching them from secondary storage, performing operations directly in the ALU, and sending data to I/O devices without intermediate steps.

5.

In this CPU action, data inputs are prepared for transformation into data output.

a)

Execute Cycle

b)

Fetch Cycle

6.

In this CPU action, transformation to data output takes place and data is stored.

a)

Execute Cycle

b)

Fetch Cycle

7.

Which of the following correctly describes the fetch cycle in a CPU?

a)

The fetch cycle involves fetching instructions from secondary storage, combining data inputs, and executing instructions immediately without separating components.

b)

During the fetch cycle, the CPU reads multiple instructions simultaneously, stores them in a single register, and processes all data inputs at once.

c)

The CPU fetches an instruction from primary storage, increments a pointer to the next instruction, separates the instruction into components (instruction code and data input), and stores each component in separate registers.

8.

Which of the following describes the execution cycle in a CPU?

a)

During the execution cycle, the CPU combines instruction code and data inputs directly from memory without using registers and sends the result to the ALU for storage.

b)

The CPU retrieves the instruction code and data inputs from registers, processes the inputs through internal circuits for transformations (e.g., addition, subtraction), and stores the result in a register.

c)

The execution cycle involves retrieving instructions from secondary storage, processing them through the control unit, and storing results directly in memory.

d)

The CPU retrieves instruction code from primary storage, reads data inputs from I/O devices, performs transformations, and stores results directly in secondary storage.

9.

An (a)   is a command to the CPU to perform primitive processing functions on specific data inputs, represented as a bit string logically divided into a number of components. It is the LOWEST-LEVEL COMMAND that software can direct a processor to perform.

10.

An instruction has two components. What are they?

a)

Opcode and Operand

b)

Instruction Code and Data Storage Address

c)

Command Type and Memory Pointer

11.

This is a unique binary number of instruction

a)

OpCode

b)

Operand

12.

This is the group of bits that provides the data or the reference to the data that the CPU will use to execute the operation. It can be a data item or location of the data item.

a)

OpCode

b)

Operand

13.

How are the opcode and operand related to the control unit of the CPU?

a)

The opcode determines the type of operation, while the operand specifies the data or its location; the control unit decodes the opcode and fetches the operand for execution.

b)

The operand signals the control unit which hardware to activate, while the opcode provides memory addresses for data retrieval.

c)

The control unit ignores the operand and directly interprets the opcode to perform operations.

d)

The control unit executes the operand as a command and uses the opcode to fetch data from registers.

14.

An (a)   collection of instructions that a CPU can process

15.

CPU instruction sets vary in the following ways. Select the correct variations.

a)

number of instructions

b)

Supported data types

c)

Size of instruction, opcodes , and operands

d)

Supported instruction formats and addressing modes

e)

Number and complexity of processing operations performed by each instruction

16.

Instruction sets of different CPUs reflect differences in design philosophy, processor fabrication technology, class of computer system, and type of application software.

TRUE OR FALSE: CPU cost and performance depend on these characteristics.

a)

False, because CPU instruction sets do not have any influence on the cost or performance of the processor.

b)

False, because CPU cost and performance are determined solely by the number of cores and clock speed, and are not influenced by the instruction set.

c)

True, because the design choices in the instruction set influence the underlying hardware architecture, impacting both performance and cost.

17.

An Instruction Set involves data movement. What does the MOVE instruction do?

a)

It copies data bits from one location to another without changing the source location.

b)
  • It moves the data from one location to another, erasing the original data.

c)

It transfers data between memory and input/output devices.

d)

It changes the bit values in the source location and places them in the destination.

18.

What is the purpose of a load operation?

a)
  • To transfer data from a register into main memory.

b)
  • To copy data from one register to another.

c)

To transfer data from main memory into a register.

d)

To move data from one storage device to another.

19.

What is the purpose of a store operation?

a)
  • To transfer data from a register into main memory.

b)
  • To copy data from one register to another.

c)

To transfer data from main memory into a register.

d)

To move data from one storage device to another.

20.

What happens to the former bit values in the destination during a MOVE instruction?

a)

They are preserved.

b)

They are incremented.

c)

They remain unchanged unless specified by the instruction.

d)

They are erased and replaced by the new values.

21.

Instruction Sets also involve data transformation. Most primitive data transformation instructions are based on ________

a)

Arithmetic operations

b)

Boolean logic

c)

String manipulation

d)

Memory addressing

22.

There are 6 data transformation instructions. What are these six?

a)

NOT, AND, OR, XOR, ADD, SHIFT

b)

ADD, SUBTRACT, MULTIPLY, DIVIDE, MOVE, COMPARE

c)

OR, AND, COMPARE, ADD, MOVE, POP

d)

NOT, AND, OR, XOR, NAND, XNOR

23.

How are negative numbers represented in most modern computer systems?

a)

Sign-magnitude

b)

Two's complement

c)

One's complement

d)

ASCII encoding

24.

Why doesn't binary addition work for complex data types, such as floating-point and double-precision numbers?

a)

These data types require decimal-based arithmetic for accuracy.

b)

Binary addition only applies to integer values and cannot handle fractional parts.

c)

Complex data types involve multiple components (e.g., exponent, mantissa) that require specialized operations.

d)

Floating-point numbers cannot be represented in binary.

25.

What does the SHIFT operation in data transformation do?

a)

It changes the values of the bits without modifying their positions.

b)

It shifts the bit string to the left or right by a specified number of positions.

c)

It converts the bit string from binary to decimal format.

d)
  • It combines multiple bit strings into one larger bit string.

26.

How does the SHIFT operation affect the bit string?

a)

It always rotates the bits, wrapping them around to the other end.

b)

It moves the bit string left or right, potentially losing bits off the ends depending on the direction of the shift.

c)
  • It changes each bit to its inverse (1 becomes 0, and 0 becomes 1).

d)

It reverses the order of the bits but does not move them.

27.

What happens to vacant bit positions after performing a bit shift operation?

a)

The vacant bit positions are filled with zeroes.

b)

The vacant bit positions are filled with the sign bit (for signed numbers).

c)
  • The vacant bit positions are left unchanged.

d)

The system randomly assigns values to the vacant bit positions.

28.

What does an arithmetic SHIFT instruction perform in terms of arithmetic operations?

a)

It performs addition and subtraction of the operands.

b)

It performs multiplication or division on the value based on the direction of the shift.

c)

It only performs multiplication.

d)

It only performs division.

29.

What does an arithmetic SHIFT operation do when shifting a bit string to the left by 1 bit?

a)

It multiplies the value by four.

b)

It divides the value by two.

c)

It divides the value by four.

d)

It multiplies the value by two.

30.

What happens when an arithmetic SHIFT operation shifts a bit string to the right by 2 bits?

a)

It multiplies the value by four.

b)

It divides the value by two.

c)

It divides the value by four.

d)

It multiplies the value by two.

31.

Why are arithmetic SHIFT instructions more complex when applied to two's complement values?

a)

The leftmost bit is a sign bit and must be preserved.

b)

The rightmost bit needs to be shifted.

c)

The middle bits of the number need to be adjusted.

d)

The bit length of the number is not fixed.

32.

How do most CPUs handle arithmetic SHIFT instructions when applied to two's complement values?

a)

They automatically remove the sign bit.

b)

They perform a logical shift instead.

c)

They provide a separate arithmetic SHIFT instruction that preserves the sign bit.

d)
  • They don't support SHIFT operations for two's complement values.

33.

What is the primary purpose of sequence control instructions in an instruction set?

a)

To store and retrieve data from memory

b)

To optimize the memory usage

c)

To increase the number of instructions in the program

d)

To alter the flow of instruction execution in a program

34.

This is a sequence control instruction wherein the instruction flow departs from the normal execution

sequence, regardless of any condition.

a)

Unconditional branch

b)

Conditional branch

c)

Halt

35.

This is a sequence control instruction wherein the instruction flow changes only if a specific condition is met

a)

Unconditional branch

b)

Conditional branch

c)

Halt

36.

This is a sequence control instruction that suspends the normal flow of instruction execution and causes the CPU to halt operation.

a)

Unconditional branch

b)

Conditional branch

c)

Halt

37.

What is the purpose of a BRANCH instruction in sequence control?

a)

To execute the next instruction in the normal sequence

b)

To cause the processor to depart from the sequential instruction order

c)

To execute multiple instructions at once

d)

To transfer data between registers

38.

How does the control unit determine where the next instruction is located when a BRANCH instruction is executed?

a)

It consults a register to determine the memory address of the next instruction

b)

It automatically fetches the next instruction from the end of memory

c)

It checks the operand of the current instruction

d)

It uses an external device to fetch the next instruction

39.

What type of instruction is BRANCH implemented as in most CPUs?

a)

LOAD instruction

b)
  • JUMP instruction

c)

ADD instruction

d)
  • MOVE instruction

40.

What does the operand in a BRANCH instruction contain?

a)

The data that needs to be processed

b)
  • The memory address of the next instruction

c)

The opcode for the next instruction

d)

The result of the current instruction

41.

After a BRANCH instruction is executed, where is the operand loaded?

a)

Into the ALU for processing

b)

Into the control unit register used for fetching the next instruction

c)

Into the primary storage for long-term storage

d)

Into the output register for displaying the result

42.

When the HALT instruction is executed, some CPUs cease all operations. What happens in other CPUs?

a)

The HALT instruction is ignored by the CPU

b)

The CPU stores the program’s result to memory

c)

The CPU continues to execute instructions in sequence

d)

The processor jumps to a predetermined memory address, where a portion of the operating system (OS) is stored

43.

What happens when the HALT instruction causes the processor to jump to a predetermined memory address?

a)

The program continues executing as normal

b)

A portion of the operating system is transferred control, terminating the current program

c)

A portion of the operating system is transferred control, restarting the program from the beginning

44.

TRUE OR FALSE:

Complex processing operations can be performed by combining simpler instructions.

a)

True, since CPUs have a limited instruction set, complex tasks are broken down into simpler steps

b)

False, every operation must have a dedicated instruction in the CPU’s instruction set.

45.

Additional instructions are required when new data types are added.

How do modern processes exhibit this?

a)

They use a single ADD instruction that automatically detects and adjusts for different data types.

b)

They rely on the operating system to handle different data types instead of the instruction set.

c)

They require the programmer to manually define how each data type should be added using low-level assembly code.

d)

They provide different ADD instructions in an instructions set to support integer and real numbers.

46.

CPUs of this instruction set computing can handle complex tasks efficiently using fewer instructions, making programming easier but sometimes sacrificing speed.

Ex. Intel x86 processors

a)

Complex Instruction Set Computing

b)

Reduced Instruction Set Computing

47.

CPUs of this instruction set computing can break down tasks into small, efficient steps, making them faster and more power-efficient for many applications

Ex. ARM processors (used in most smartphones)

a)

Complex Instruction Set Computing

b)

Reduced Instruction Set Computing

48.

This is the digital circuit that generates timing pulses and transmits pulses to other devices in the computer. This synchronizes all CPU actions.

(a)  

49.

From the perspective of program execution speed, this is the measure of a computer’s processor speed, indicating how many million of instructions the CPU can execute in one second. It is often used to compare the performance of processors.

a)

Millions of Instructions Per Second (MIPS)

b)

FLOPS (Floating Point Operations Per Second)

c)

CPI (Cycles Per Instruction)

d)

Cache Hit Rate

50.

From the perspective of program execution speed, this is the measure of a computer’s processor speed, focusing only on floating-point operations.

a)

Millions of Instructions Per Second (MIPS)

b)

FLOPS (Floating Point Operations Per Second)

c)

CPI (Cycles Per Instruction)

d)

Cache Hit Rate

51.

Why are MIPS/FLOPS considered poor measurement for comparing computer system performance?

a)

Processor instruction set varies widely

b)

CPU performance depends on memory access speed

c)

MIPS and FLOPS account for differences in software optimization.

d)

MIPS and FLOPS directly measure overall system speed

52.

Given the deficiencies of MIPS/FLOPS, what is a better measure of comparative performance between CPUs?

a)

The amount of cache memory

b)

How quickly a specific program is executed

c)

The number of cores in a processor

d)

The theoretical peak performance of a CPU

53.

This provides a temporary storage area for data/information about a currently executing program

(a)  

54.

There are two types of registers.

This register typically holds intermediate results or frequently used data values.

a)

General Purpose Registers

b)

Special Purpose Registers

c)

Instruction Registers

d)

Memory Address Registers

55.

There are two types of registers.

These are dedicated registers within the CPU that serve specific functions related to instruction execution.

a)

General Purpose Registers

b)

Special Purpose Registers

c)

Instruction Registers

d)

Memory Address Registers

56.

There are three special purpose registers.

This holds the currently executing instruction fetched from memory

a)

Instruction Register

b)

Instruction Pointer

c)

Program Status Word

57.

There are three special purpose registers.

This is also called the program counter. It points to the address of the next instruction in primary memory. If a jump or branch occurs, it updates to point to the new instruction location.

a)

Instruction Register

b)

Instruction Pointer

c)

Program Status Word

58.

There are three special purpose registers.

This contains the data describing the CPU status and the currently executing program. It tores status flags and control bits related to CPU operation (i.e., indicate actual/potential error conditions, control conditional branch execution, store comparison results).

a)

Instruction Register

b)

Instruction Pointer

c)

Program Status Word

59.

The Program Status Word is a special purpose register that stores status flags. How are these flags stored?

a)

All flags are stored as a single numerical value

b)

Each bit is a separate boolean variable

c)

Flags are stored in general-purpose registers

d)

Each flag occupies a full byte in memory

60.

If the AX register stores arithmetic/logical results, what does the BX register do?

a)

Stores the result of multiplication and division operations only

b)

Controls the flow of program execution

c)

Used for counting loops

d)

Holds addresses in the memory

e)

Stores overflowing bits from the previous register

61.

If the DX register stores extra data for multiplication and division, what does the CX register do?

a)

Stores the result of multiplication and division operations only

b)

Controls the flow of program execution

c)

Used for counting loops

d)

Holds addresses in the memory

e)

Stores overflowing bits from the previous register

62.

What is the relationship between EAX, AX, AH, and AL?

a)

AX is the lower 16 bits of EAX, while AH and AL are the higher and lower 8 bits of AX, respectively.

b)

AX is a 32-bit register, while EAX, AH, and AL are smaller segments of it.

c)

EAX and AX hold only integer values, while AH and AL store floating-point numbers.

d)

AH and AL are separate 16-bit registers independent of AX and EAX.

63.

What is true about the number of bits EAX register and its "sub-registers"?

a)

EAX - 32 bits
AX - 16 bits

AL - 8 bits (1 to 128)

AH - 8 bits (256 to 32768)

b)

EAX - 64 bits
AX - 32 bits
AL - 16 bits (0 to 65535)
AH - 16 bits (65536 to 131072)

c)

EAX - 32 bits
AX - 16 bits
AL - 8 bits (0 to 255)
AH - 8 bits (256 to 65535)

d)

EAX - 16 bits
AX - 8 bits
AL - 8 bits (1 to 512)
AH - 8 bits (1024 to 65536)

64.

What is a "word" in computer architecture?

a)

A unit of data containing a fixed number of bytes or bits

b)

A variable-length unit of data that changes based on CPU load

c)

A single bit that represents a binary value

d)

A special register in the CPU

65.

How does a CPU with a larger word size impact performance?

a)

It performs a given amount of work slower

b)

It reduces memory size requirements

c)

It can process more data at once, improving speed

d)

It makes the CPU consume less power

66.

How does word size influence system bus design?

a)

The bus width should be larger than the CPU word size

b)

The bus width should be smaller than the CPU word size

c)

The bus width should be equal to or larger than the CPU word size

d)

The bus width has no relation to CPU word size

67.

There are four methods to enhance CPU performance.

This method reduces the time the CPU spends waiting for data, allowing it to execute instructions more efficiently.

a)

Memory Cache

b)

Pipelining

c)

Branch Prediction

d)

Multiprocessing

68.

There are four methods to enhance CPU performance.

This is a method of organizing CPU circuity so that multiple instruction can be in different stages of execution at the same time.

a)

Memory Cache

b)

Pipelining

c)

Branch Prediction

d)

Multiprocessing

69.

There are four methods to enhance CPU performance.

This is used by modern CPUs to improve performance by guessing the outcome of a conditional branch (e.g., if statements, loops) before it is actually determined.

a)

Memory Cache

b)

Pipelining

c)

Branch Prediction

d)

Multiprocessing

70.

There are four methods to enhance CPU performance.

This is possible when a computer has two or more CPUs (processors) working together to do tasks faster.

a)

Memory Cache

b)

Pipelining

c)

Branch Prediction

d)

Multiprocessing

71.

[MULTIPLE ANSWERS]

Which of the following are possible implementation of multiprocessing?

a)

Duplicate circuitry for some of all processing stages in a CPU

b)

Duplicate CPUs implemented as separate microprocessors sharing main memory and a single system bus

c)

Duplicate CPUs within a single microprocessor that also contains main memory caches and a special bus to interconnect CPUs

d)

A single CPU with multiple cores that share memory or communication channels for multiprocessing to work

72.

In terms of future computing trends, what is a key characteristic of Optical Processing in CPUs?

a)

It uses superconductors to enhance electrical conductivity

b)

It relies on photon pathways inside the CPU

c)

It replaces transistors with molecular circuits

d)

It utilizes biological components for processing

73.

In terms of future trends, how does Electro-Optical Processing function in computing?

a)

It eliminates electrical components in favor of fully optical systems

b)

It acts as a bridge between electrical and optical computer components

c)

It relies on liquid-based circuits for faster computation

d)

It utilizes artificial intelligence to optimize CPU performance

74.

In terms of future computing trends, what is the fundamental principle behind Quantum Processing?

a)

It uses traditional binary bits but at much higher speeds

b)

It processes data using ultra-fast electrical signals

c)

It relies on quantum states to encode multiple values per bit (qubit)

d)

It reduces heat output in classical CPUs

75.

How many bits in 1 byte?

(a)  

76.

How many bytes in 1 WORD?

a)
4 bytes
b)
16 bytes
c)
8 bytes
d)
2 bytes
77.

How many bytes are there in a DOUBLE WORD?

a)
4 bytes
b)
16 bytes
c)
8 bytes
d)
2 bytes