set-2
51. Which of the following is a characteristic of non-volatile memory?
It requires power to retain its data
It is faster than volatile memory
It is used for temporary storage
It retains data even when the power is turned off
52. What is the difference between random access memory (RAM) and read-only memory (ROM)?
RAM is non-volatile, while ROM is volatile
ROM is used for temporary storage, while RAM is used for permanent storage
RAM is faster than ROM
ROM retains its data even when the power is turned off, while RAM does not
53. Which of the following is an example of volatile memory?
Hard disk
USB flash drive
CD-ROM
RAM
54. What is the purpose of a memory address?
To identify the type of data being stored
To identify the location of the data being stored
To prevent unauthorized access to the data
To provide additional storage for the data
55. Which of the following is an example of primary memory?
Hard disk
Cache memory
CD-ROM
RAM
56. What is the purpose of a memory bus?
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
57. Which of the following is true about memory bandwidth?
It is a measure of the amount of data that can be transferred between the CPU and memory in a given time
It is a measure of the amount of storage capacity available in a given memory device
It is a measure of the access time for a given memory device
It is a measure of the number of memory devices that can be connected to a single bus
58. Which of the following is an example of a secondary storage device?
Hard disk
RAM
Cache memory
Registers
59. Which of the following is true about solid-state drives (SSDs)?
They are faster than traditional hard disk drives (HDDs)
They are less expensive than traditional HDDs
They have a larger storage capacity than traditional HDDs
They use spinning disks to store data
60. Which type of external memory is typically used for long-term storage and backup?
Magnetic tape
SSD
USB flash drive
CD-ROM
61. Which of the following is an important principle of cache design?
Data should always be stored in the cache
Only frequently used data should be stored in the cache
Data should be stored in the cache in the order it is accessed
Data should be stored in the cache based on its age
62. What is the purpose of a cache line?
To identify the location of data in the cache
To identify the location of data in main memory
To group multiple blocks of data into a single cache entry
To manage the transfer of data between the CPU and cache
63. What is cache hit rate?
The percentage of cache accesses that result in a cache hit
The percentage of cache accesses that result in a cache miss
The time it takes to access data in the cache
The time it takes to transfer data between main memory and the cache
64. Which of the following is an example of a direct-mapped cache?
Set-associative cache
Fully-associative cache
Virtually-addressed cache
Physically-addressed cache
65. What is the purpose of a cache replacement policy?
To determine the size of the cache
To determine the location of data in the cache
To determine which cache entry to replace when the cache is full
To determine which block of data to load into the cache
66. Which of the following is a disadvantage of a fully-associative cache?
It has a higher hit rate than other types of caches
It is more expensive to implement
It is more difficult to manage than other types of caches
It has a larger cache size than other types of caches
67. Which of the following is a disadvantage of a direct-mapped cache?
It has a higher hit rate than other types of caches
It is more expensive to implement than other types of caches
It is more difficult to manage than other types of caches
It can suffer from cache conflicts
68. Which of the following is an example of a write-back cache?
Write-through cache
Victim cache
No-write allocate cache
Write-allocate cache
69. What is the purpose of a victim cache?
To store data that has been evicted from the cache
To store data that is not frequently accessed
To store data that has not yet been written to main memory
To store data that has been modified in the cache
70. Which of the following is an advantage of a set-associative cache?
It has a higher hit rate than other types of caches
It is less expensive to implement than other types of caches
It is easier to manage than other types of caches
It has a smaller cache size than other types of caches
71. Which of the following is a type of primary memory?
Hard Disk Drive
Random Access Memory (RAM)
Compact Disc (CD)
Floppy Disk
72. What is the main difference between primary and secondary memory?
Primary memory is faster, but less storage capacity
Secondary memory has a longer lifespan, but slower access time
Primary memory is volatile, while secondary memory is non-volatile
Secondary memory is more expensive, but more reliable
73. Which of the following is a type of secondary memory?
Cache
Read-Only Memory (ROM)
Magnetic Tape
Graphics Processing Unit (GPU)
74. What is the primary use of secondary memory?
To store programs and data that are currently in use
To provide long-term storage for data and programs
To speed up the processing of data
To display graphics on a computer screen
75. What is the maximum storage capacity of a typical secondary memory device?
A few gigabytes
A few terabytes
A few petabytes
A few exabytes
76. What is the main purpose of peripheral devices in a computer system?
To provide a large amount of non-volatile storage for data and programs
To speed up the processing of data
To provide a way for users to interact with the computer
To display graphics on a computer screen
77. Which of the following is an example of an I/O module?
Keyboard
Processor
Hard Disk Drive
Graphics Processing Unit (GPU)
78. What is the purpose of an input-output interface in a computer system?
To manage data transfer between the CPU and the memory
To manage input and output operations
To manage the power supply to the memory
To manage the storage and retrieval of data on a hard disk
79. What is the purpose of Direct Memory Access (DMA)?
To allow peripheral devices to directly access and transfer data to and from memory without involving the CPU
To speed up the processing of data by temporarily storing frequently accessed data
To provide a way for users to interact with the computer
To manage the storage and retrieval of data on a hard disk
80. What is a characteristic of a multiprocessor system?
It has a single processor
It has multiple processors that work independently of each other
It has a single processor that is shared by multiple peripherals
It has multiple processors that are tightly coupled and work together as a single entity
81. What is the main purpose of inter-processor communication in a multiprocessor system?
To coordinate the actions of multiple processors to ensure that they work together effectively
To manage the power supply to the processors
To manage the storage and retrieval of data on a hard disk
To display graphics on a computer screen
82. What is the main purpose of interconnection structure in a multiprocessor system?
To provide a way for the processors to communicate with each other
To manage the power supply to the processors
To manage the storage and retrieval of data on a hard disk
To display graphics on a computer screen
83. What is the main purpose of synchronization in a multiprocessor system?
To coordinate the actions of multiple processors to ensure that they work together effectively
To manage the power supply to the processors
To manage the storage and retrieval of data on a hard disk
To display graphics on a computer screen
84. What is the main difference between programmed I/O and Interrupt-driven I/O?
Programmed I/O requires the CPU to actively monitor the status of the I/O operation, while Interrupt-driven I/O relies on the peripheral device to generate an interrupt to signal the completion of the I/O operation
Interrupt-driven I/O requires the CPU to actively monitor the status of the I/O operation, while Programmed I/O relies on the peripheral device to generate an interrupt to signal the completion of the I/O operation
Programmed I/O and Interrupt-driven I/O are the same thing
Programmed I/O is faster, but less reliable, while Interrupt-driven I/O is slower, but more reliable
85. What is the main purpose of VHDL?
To provide a way to design and simulate digital circuits
To provide a way to program microcontrollers
To provide a way to create and edit text documents
To provide a way to create and edit images
86. How is overflow handled in VHDL?
By default, VHDL does not handle overflow
Overflow is handled automatically by VHDL
Overflow is handled using specific VHDL constructs, such as overflow flags or saturation arithmetic
Overflow is handled using error handling techniques, such as exceptions
87. How is data representation performed in VHDL?
By using binary or hexadecimal representation
By using ASCII or Unicode representation
By using standard data types, such as integers or floating-point numbers
By using custom data types, such as arrays or records
88. How can combinational logic be designed using VHDL?
By using gates, such as AND, OR, and NOT gates
By using the case or if-then-else statements
By using state machines or finite state machines (FSMs)
By using lookup tables or memory elements
89. How can pipelining be performed using VHDL?
By using pipelines, such as pipeline stages or pipeline registers
By using parallel processing techniques, such as parallel execution or parallel threads
By using state machines or finite state machines (FSMs)
By using lookup tables or memory elements
90. What is the main function of an operating system?
To provide a user interface for interaction with the computer
To provide a platform for running applications and managing computer hardware
To provide a way to create and edit text documents
To provide a way to play video games
91. What is the difference between a task, process, and thread?
A task is a single instance of a program, a process is a collection of tasks, and a thread is a single path of execution within a process
A task is a collection of processes, a process is a single instance of a program, and a thread is a single path of execution within a process
A task is a collection of threads, a process is a single path of execution within a task, and a thread is a single instance of a program
A task is a single path of execution within a process, a process is a collection of tasks, and a thread is a single instance of a program
92. What is the main difference between multiprocessing and multitasking?
Multiprocessing refers to the use of multiple processors to run multiple tasks, while multitasking refers to the ability of an operating system to run multiple tasks simultaneously
Multitasking refers to the use of multiple processors to run multiple tasks, while multiprocessing refers to the ability of an operating system to run multiple tasks simultaneously
Multiprocessing and multitasking are the same thing
Multiprocessing refers to the ability of an operating system to run multiple tasks simultaneously, while multitasking refers to the use of multiple processors to run multiple tasks
93. What is the main purpose of task scheduling in an operating system?
To determine which tasks should be run next and allocate resources accordingly
To manage the storage and retrieval of data on a hard disk
To manage the power supply to the computer
To display graphics on a computer screen
94. What is the main purpose of task synchronization in an operating system?
To coordinate the actions of multiple tasks to ensure that they work together effectively
To manage the storage and retrieval of data on a hard disk
To manage the power supply to the computer
To display graphics on a computer screen
95. What is the main function of a device driver in an operating system?
To provide a standard and consistent interface between the operating system and hardware devices
To provide a secure interface between the operating system and hardware devices
To provide a fast interface between the operating system and hardware devices
To provide a user-friendly interface between the operating system and hardware devices
96. What is the main difference between an open-loop and closed-loop control system?
An open-loop control system does not use feedback to control the output, while a closed-loop control system uses feedback to control the output
A closed-loop control system does not use feedback to control the output, while an open-loop control system uses feedback to control the output
An open-loop control system is faster, but less accurate, while a closed-loop control system is slower, but more accurate
An open-loop control system is slower, but more accurate, while a closed-loop control system is faster, but less accurate
97. What is the main purpose of control in an operating system?
To regulate the behavior of tasks and processes, and to manage the allocation of resources
To manage the storage and retrieval of data on a hard disk
To manage the power supply to the computer
To display graphics on a computer screen
98. What is virtual memory in an operating system?
A feature that enables an operating system to run more applications than the available physical memory by temporarily transferring data to a hard disk
A feature that enables an operating system to run more applications than the available physical memory by temporarily transferring data to a cloud storage
A feature that enables an operating system to run more applications than the available physical memory by temporarily transferring data to a network storage
99. What is the main goal of cache memory in a computer system?
To reduce the access time for frequently accessed data
To increase the access time for frequently accessed data
To provide a low-cost memory for storing large amounts of data
To provide a high-capacity memory for storing large amounts of data
100. What is the main function of a control unit in a computer system?
To control the flow of data and instructions in the computer system
To store and retrieve data from memory
To perform arithmetic and logical operations
To display output on a screen
Last updated