WorksheetsComputer Architechture
Total questions: 33
Worksheet time: 17mins
What is the primary role of the Instruction Register in a computer system?
Store arithmetic data
Store the current instruction being executed
Hold program status
Manage memory access
Which of the following are main functional components of a computer system
Monitor and Keyboard
Control Unit and ALU
Hard Disk and RAM
Printer and Scanner
What does an instruction format typically include?
Only opcodes
Only operands
Opcode and operand(s)
Clock frequency
In a microprocessor, Hardwired Control Unit means
Control signals are generated using software
Microinstructions are used for control
Control logic is implemented with combinational logic circuits
It uses ROM for instruction execution
Which instruction is used to terminate a subroutine execution in most microprocessors?
JMP
CALL
RET
PUSH
What best describes a microprogram?
A small operating system
Program that translates high-level language
Sequence of microinstructions to control CPU
Hardware simulator
What is task-level parallelism in computing?
Running multiple lines of the same code
Simultaneously executing different tasks or processes
Executing different instructions on the same data
Using only one processor
The main purpose of cache memory is to:
Increase hard drive speed
Connect RAM to ROM
Store input/output data
Provide high-speed data access to the CPU
What is the function of the MN/MX' pin in the 8086 microprocessor?
Select internal or external clock
Switch between minimum and maximum mode
Set memory size
Enable interrupt
Which of the following are the ports in the 8255 Programmable Peripheral Interface?
Port X, Y, Z
Port A, B, C
Port 1, 2, 3
Port D, E, F
Which component fetches and stores instructions in a microprocessor?
ALU
Accumulator
Instruction Register
Stack Pointer
The Control Unit and ALU together form the:
Input Unit
Output Unit
Central Processing Unit
Secondary Memory
In an instruction format, the opcode refers to:
Data to be processed
The operation to be performed
Memory location of instruction
Result of instruction
Hardwired control is known for being:
Slower but more flexible
Faster but less flexible
Software dependent
Based on ROM
Parallel execution of independent tasks is referred to as:
Thread parallelism
Serial execution
Instruction pipelining
Task-level parallelism
In maximum mode of 8086, which pin is used for selecting the mode?
RESET
MN/MX'
INTR
ALE
How many 8-bit ports are available in the 8255 peripheral device?
1
2
3
4
What is the primary role of the Program Counter (PC) in a microprocessor?
Execute the current instruction
Store data temporarily
Control ALU operations
Hold the address of the next instruction
What does the register transfer notation P: R1 ← R2 represent?
Load value from memory into R1
Transfer data from R2 to R1 if condition P is true
Store data from R1 to R2
Shift R2 into R1
In microprogrammed control organization, the control signals are generated by:
Software compiler
Arithmetic logic
Predefined microinstructions stored in memory
Combinational logic circuits only
Which instruction is used to invoke a subroutine in most microprocessors?
RET
CALL
MOV
JMP
A microinstruction is best defined as:
A command for the OS
An interrupt request
A data transfer command
A low-level instruction for controlling internal CPU operations
Data-level parallelism allows:
Same operation on multiple data simultaneously
Sequential execution of instructions
Multiple tasks using the same data
Program jumps
Which memory type is classified as secondary memory?
Cache
RAM
Hard Disk
Register
In minimum mode of 8086, the ALE signal is used to:
Reset the CPU
Trigger interrupts
Enable DMA
Latch the address from the multiplexed address/data bus
How many counters are present in the 8254 programmable timer?
1
2
3
4
What does the Program Counter (PC) do after fetching an instruction?
Resets to zero
Increments to point to the next instruction
Stores the result
Transfers control to memory
What makes microprogrammed control more flexible than hardwired control?
Fewer transistors used
Faster execution
Use of external ROMs
Ability to change control logic by modifying microcode
What is the result of executing a CALL instruction?
CPU halts
Program ends
Control is transferred to a subroutine
Program skips instructions
A set of microinstructions that define how a CPU instruction is executed is called:
Instruction set
Assembly code
ALU configuration
Microprogram
The function of the ALE (Address Latch Enable) signal is to:
Demultiplex the lower order address bus
Enable arithmetic operations
Initiate memory fetch
Execute interrupts
The counters in the 8254 timer are labeled as:
Counter A, B, C
Counter X, Y, Z
Counter 0, 1, 2
Counter 1, 2, 3
Which of the following is a mode of operation in 8255 Programmable Peripheral Interface?
Bit Set/Reset (BSR) mode
Interrupt mode
DMA mode
Serial mode
