0% found this document useful (0 votes)
8 views

Comp 252 Mid Sem

Exams purposes

Uploaded by

Lilkwobby150
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Comp 252 Mid Sem

Exams purposes

Uploaded by

Lilkwobby150
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

COMPUTER ORGANIZATION AND ARCHITECTURE(COMP 252)

ONLINE MID SEM

1. In a computer, what does the program counter (PC) do?


- A) Stores data
- B) Points to the next instruction to be executed
- C) Stores the result of arithmetic operations
- D) Manages input/output devices

2. Which of the following is not a basic component of a computer?


- A) Input Unit
- B) Control Unit
- C) Arithmetic and Logic Unit
- D) Compiler

3. Which of the following is a non-volatile memory?


- A) RAM
- B) ROM
- C) Cache
- D) Register

4. A CPU's clock speed is typically measured in:


- A) Bytes
- B) Hertz
- C) Watts
- D) Seconds

5. An instruction cycle consists of:


- A) Fetch and decode
- B) Fetch, decode, and execute
- C) Execute and store
- D) Fetch, decode, execute, and store

6. Which of the following instructions does not belong to the data transfer
group?
- A) MOV
- B) ADD
- C) LDA
- D) STA
7. Which addressing mode is used in the instruction `MOV AX, [1234H]`?
- A) Immediate addressing
- B) Direct addressing
- C) Register addressing
- D) Indirect addressing

8. Cache memory acts between:


- A) CPU and RAM
- B) RAM and ROM
- C) CPU and Hard Disk
- D) RAM and Hard Disk

9. The time taken to access a memory location and retrieve its contents is
known as:
- A) Latency
- B) Cycle time
- C) Access time
- D) Seek time

10. What is the purpose of memory hierarchy in a computer system?


- A) To increase the speed of operations
- B) To decrease the complexity of programming
- C) To organize data in an efficient manner
- D) To manage power consumption

11. The control unit of a processor:


- A) Generates control signals
- B) Performs logical operations
- C) Stores data
- D) Generates arithmetic results

12. Pipelining in a CPU is used to:


- A) Reduce memory size
- B) Increase instruction throughput
- C) Decrease clock speed
- D) Increase instruction execution time

13. Which of the following registers holds the address of the next instruction to
be executed?
- A) Data Register
- B) Instruction Register
- C) Program Counter
- D) Stack Pointer

14. In which type of microprocessor does the same set of instructions operate
on multiple data elements simultaneously?
- A) SISD
- B) SIMD
- C) MISD
- D) MIMD

15. What is the main advantage of RISC over CISC?


- A) Fewer instructions
- B) More complex instructions
- C) Faster execution due to simpler instructions
- D) Easier to implement

16. Direct Memory Access (DMA) is primarily used for:


- A) Reducing CPU's involvement in data transfer
- B) Increasing memory size
- C) Enhancing clock speed
- D) Managing power consumption

17. The term "handshaking" in I/O refers to:


- A) A protocol for data exchange
- B) A technique for synchronizing data transfer
- C) A method of error detection
- D) A type of interrupt

18. Two’s complement of the binary number 1010 is:


- A) 0101
- B) 0110
- C) 1110
- D) 1011

19. Which of the following is a function of the control unit?


- A) Data processing
- B) Program execution
- C) Directing the operations of the processor
- D) Data storage

20. Which of the following architectures best supports multiprocessing?


- A) SISD
- B) SIMD
- C) MISD
- D) MIMD

You might also like