set-1
1. What is the purpose of an instruction register (IR) in a computer system?
To hold the address of the next instruction to be executed
To hold the current instruction being executed
To hold the data being processed by the ALU
To hold the results of ALU operations
2. What is a control unit in a computer system responsible for?
Performing arithmetic and logical operations
Storing and retrieving data
Coordinating the activities of other computer components
Processing data into useful information
3. What type of computer organization uses a Harvard architecture?
Von Neumann
Harvard
Princeton
RISC
4. What is the purpose of a cache in a computer system?
To store frequently used data for quick access
To store data that is no longer needed
To store the results of arithmetic operations
To store the instructions being executed
5. What is an embedded system?
A computer system designed for use in automobiles
A computer system designed for use in space missions
A computer system integrated into a device to perform specific tasks
A computer system designed for use in scientific experiments
6. What is the purpose of a microcontroller in an embedded system?
To control the flow of data in the system
To perform arithmetic and logical operations
To coordinate the activities of other embedded system components
To process data into useful information
7. What is the difference between an embedded system and a general-purpose computer?
An embedded system is designed for a specific task, while a general-purpose computer is not
A general-purpose computer has a larger memory than an embedded system
An embedded system has a faster processing speed than a general-purpose computer
A general-purpose computer has more input/output devices than an embedded system
8. What is the purpose of an interrupt in a computer system?
To stop the current instruction from being executed
To start the execution of a new instruction
To store the results of arithmetic operations
To store the instructions being executed
9. What is the difference between a hard real-time system and a soft real-time system?
A hard real-time system has more stringent timing requirements than a soft real-time system
A soft real-time system has more stringent timing requirements than a hard real-time system
A hard real-time system is used in embedded systems, while a soft real-time system is not
A soft real-time system is used in embedded systems, while a hard real-time system is not
10. What is the purpose of a timer in an embedded system?
To measure the amount of time that has elapsed
To coordinate the activities of other embedded system components
To perform arithmetic and logical operations
To process data into useful information
11. What is the difference between a microprocessor and a microcontroller?
A microprocessor is used in general-purpose computers, while a microcontroller is used in embedded systems
A microcontroller is used in general-purpose computers, while a microprocessor is used in embedded systems
A microprocessor has more processing power than a microcontroller
A microcontroller has more processing power than a microprocessor
12. What is the purpose of a watchdog timer in an embedded system?
To monitor the performance of the system and reset it if necessary
To measure the amount of time that has elapsed
To coordinate the activities of other embedded system components
To process data into useful information
13. What is the purpose of an ADC (analog-to-digital converter) in an embedded system?
To convert analog signals into digital signals for processing by the system
To convert digital signals into analog signals for output by the system
To store the results of arithmetic operations
To store the instructions being executed
14. What is the purpose of a DMA (direct memory access) controller in a computer system?
To allow direct transfer of data between memory and I/O devices
To monitor the performance of the system and reset it if necessary
To convert analog signals into digital signals for processing by the system
To store the results of arithmetic operations
15. What is the purpose of a bus in a computer system?
To provide a communication path between the different components of the system
To store the results of arithmetic operations
To store the instructions being executed
To monitor the performance of the system and reset it if necessary
16. What is the difference between a serial bus and a parallel bus?
A serial bus transfers data one bit at a time, while a parallel bus transfers multiple bits at once
A parallel bus transfers data one bit at a time, while a serial bus transfers multiple bits at once
A serial bus is faster than a parallel bus
A parallel bus is faster than a serial bus
17. What is the purpose of a multiplexer (MUX) in a computer system?
To select one of multiple input signals for output
To monitor the performance of the system and reset it if necessary
To store the results of arithmetic operations
To store the instructions being executed
18. What is the purpose of a demultiplexer (DEMUX) in a computer system?
To distribute a single input signal to multiple outputs
To monitor the performance of the system and reset it if necessary
To store the results of arithmetic operations
To store the instructions being executed
19. What is the purpose of a decoder in a computer system?
To translate binary code into a form that can be executed by the system
To monitor the performance of the system and reset it if necessary
To store the results of arithmetic operations
To store the instructions being executed
20. What is the purpose of a ROM (read-only memory) in a computer system?
To store data that cannot be changed
To store data that can be changed
To store the results of arithmetic operations
To store the instructions being executed
21. What is the function of an Arithmetic and Logic Unit (ALU)?
To perform arithmetic and logical operations on data
To store data
To process data into useful information
To coordinate the activities of other computer components
22. What is an instruction format in a computer system?
The format in which instructions are stored in memory
The format in which data is stored in memory
The format in which results of arithmetic operations are stored in memory
The format in which addresses are stored in memory
23. What is an addressing mode in a computer system?
The way in which memory addresses are generated to access data
The way in which data is stored in memory
The way in which results of arithmetic operations are stored in memory
The way in which instructions are stored in memory
24. What is the purpose of a data transfer instruction in a computer system?
To transfer data from one location to another
To perform arithmetic and logical operations on data
To process data into useful information
To coordinate the activities of other computer components
25. What is the purpose of a data manipulation instruction in a computer system?
To manipulate data in memory
To transfer data from one location to another
To perform arithmetic and logical operations on data
To process data into useful information
26. What is the difference between a load instruction and a store instruction in a computer system?
A load instruction transfers data from memory to a register, while a store instruction transfers data from a register to memory
A store instruction transfers data from memory to a register, while a load instruction transfers data from a register to memory
A load instruction performs arithmetic operations on data, while a store instruction does not
A store instruction performs arithmetic operations on data, while a load instruction does not
27. What is an immediate addressing mode?
The mode in which an immediate value is used as an operand
The mode in which a memory address is used as an operand
The mode in which a register is used as an operand
The mode in which a constant value is used as an operand
28. What is a register indirect addressing mode?
The mode in which an immediate value is used as an operand
The mode in which a memory address is used as an operand
The mode in which a register is used to hold the memory address of the operand
The mode in which a constant value is used as an operand
29. What is a base relative addressing mode?
The mode in which a register is used as a base address and an offset is added to access the operand
The mode in which a memory address is used as a base address and an immediate value is added to access the operand
The mode in which a register is used as a base address and another register is used as an offset to access the operand
The mode in which an immediate value is used as a base address and another register is used as an offset to access the operand
30. What is an indexed addressing mode?
The mode in which a register is used as an index to access the operand in memory
The mode in which a memory address is used as an index to access the operand in memory
The mode in which an immediate value is used as an index to access the operand in memory
The mode in which a constant value is used as an index to access the operand in memory
31. What is a stack addressing mode?
The mode in which data is stored and retrieved from a stack in memory
The mode in which data is stored and retrieved from a queue in memory
The mode in which data is stored and retrieved from a linked list in memory
The mode in which data is stored and retrieved from a tree in memory
32. What is the purpose of a rotate instruction in a computer system?
To rotate the bits of a data value to the left or right
To perform arithmetic and logical operations on data
To transfer data from one location to another
To process data into useful information
33. What is the purpose of a shift instruction in a computer system?
To shift the bits of a data value to the left or right
To perform arithmetic and logical operations on data
To transfer data from one location to another
To process data into useful information
34. What is the purpose of a compare instruction in a computer system?
To compare two values and set flags accordingly
To perform arithmetic and logical operations on data
To transfer data from one location to another
To process data into useful information
35. What is the purpose of a branch instruction in a computer system?
To change the flow of execution to a different instruction
To perform arithmetic and logical operations on data
To transfer data from one location to another
To process data into useful information
36. What is the purpose of a jump instruction in a computer system?
To change the flow of execution to a different instruction
To perform arithmetic and logical operations on data
To transfer data from one location to another
To process data into useful information
37. What is the purpose of a call instruction in a computer system?
To call a subroutine and save the return address
To perform arithmetic and logical operations on data
To transfer data from one location to another
To process data into useful information
38. What is the purpose of a return instruction in a computer system?
To return from a subroutine to the instruction after the call
To perform arithmetic and logical operations on data
To transfer data from one location to another
To process data into useful information
39. What is the purpose of a load effective address (LEA) instruction in a computer system?
To compute the effective address of an operand and store it in a register
To perform arithmetic and logical operations on data
To transfer data from one location to another
To process data into useful information
40. What is the purpose of a clear instruction in a computer system?
To clear the contents of a register or memory location
To perform arithmetic and logical operations on data
To transfer data from one location to another
To process data into useful information
41. What is the purpose of a memory hierarchy?
To ensure that data is stored in a single location for easy retrieval
To provide a range of storage options to balance speed and cost
To limit the amount of data that can be stored at any one time
To prevent unauthorized access to data
42. Which of the following is an example of internal memory?
Hard disk
CD-ROM
RAM
USB flash drive
43. Which of the following is an example of external memory?
Cache memory
Magnetic tape
Registers
Virtual memory
44. What is the purpose of cache memory?
To provide additional storage for the operating system
To store frequently accessed data for faster access
To protect data from unauthorized access
To provide backup storage in case of a system failure
45. Which of the following is true about cache memory?
It is larger in size than RAM
It is slower than main memory
It is located closer to the CPU than main memory
It has a longer access time than main memory
46. Which type of cache memory is integrated into the CPU?
Level 1 (L1) cache
Level 2 (L2) cache
Level 3 (L3) cache
Virtual cache
47. Which type of cache memory is the largest in size?
Level 1 (L1) cache
Level 2 (L2) cache
Level 3 (L3) cache
Virtual cache
48. Which type of memory is used to provide a bridge between main memory and secondary storage devices?
Virtual memory
Cache memory
Flash memory
Magnetic memory
49. Which of the following is an advantage of using virtual memory?
It reduces the amount of main memory required
It improves the access time of data
It allows multiple programs to run simultaneously
It provides faster data transfer rates
50. What is the role of a memory controller?
To store data in the CPU cache
To manage the transfer of data between main memory and the CPU
To provide a backup of data in case of a system failure
To prevent unauthorized access to data
Last updated