Operating System Quiz : Do You Know The Details?

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Acooper
A
Acooper
Community Contributor
Quizzes Created: 6 | Total Attempts: 4,365
| Attempts: 396 | Questions: 50
Please wait...
Question 1 / 50
0 %
0/100
Score 0/100
1. User-visible ____________________ are typically accessible to system programs but are not typically available to application programs.

Explanation

Registers are small, high-speed memory locations within a CPU that store data that is frequently accessed by the processor. They are used by system programs, such as the operating system, to manage and control the hardware resources of the computer. Application programs, on the other hand, do not typically have direct access to registers as they are managed by the system. Therefore, registers are accessible to system programs but not to application programs.

Submit
Please wait...
About This Quiz
Operating System Quiz : Do You Know The Details? - Quiz

An operating system (OS) is system software that manages computer hardware, software resources, and provides common services for computer programs.
Time-sharing operating systems schedule tasks for efficient use of the system and may also include accounting software for cost allocation of processor time, mass storage, printing, and other resources.
Know... see moremore about operating systems in this quiz
see less

Tell us your name to personalize your report, certificate & get on the leaderboard!
2. _____________________ memory exploits the principle of locality by providing a small, fast memory between the processor and main memory.

Explanation

Cache memory is a type of memory that is located between the processor and main memory. It is designed to exploit the principle of locality, which states that recently accessed data is likely to be accessed again in the near future. By storing frequently used data in cache memory, the processor can quickly retrieve it without having to access the slower main memory. This helps to improve the overall performance and efficiency of the system. Therefore, cache memory is the correct answer to the given question.

Submit
3. In cache memory design,  ____________ size refers to the unit of data exchanged between cache and main memory

Explanation

In cache memory design, the term "block" refers to the unit of data that is exchanged between the cache and the main memory. This means that when data is requested from the cache, it is retrieved in blocks rather than individual pieces. The block size determines how much data is transferred at once, and a larger block size can help improve cache performance by reducing the number of memory accesses required.

Submit
4. General purpose computers run most of their programs from rewritable memory, called main memory or RAM which means_____________________

Explanation

General purpose computers run most of their programs from rewritable memory, called main memory or RAM. This type of memory allows for random access, meaning that any piece of data stored in RAM can be accessed directly, without having to read through all the preceding data. RAM is volatile memory, meaning that its contents are lost when the computer is powered off. It is used to store data and instructions that are currently being processed by the CPU, allowing for fast and efficient execution of programs.

Submit
5.
  1. The concept of multiple programs taking turns in execution is known as _______________.

Explanation

Multiprogramming is the concept where multiple programs are loaded into the memory at the same time and the CPU switches between them, executing each program for a short period of time. This allows for efficient utilization of the CPU and better overall system performance.

Submit
6. Main memory is a ______________________ storage device that losses its content when power is turned off or otherwise lost.

Explanation

Main memory is a volatile storage device that loses its content when power is turned off or otherwise lost. Volatile refers to the temporary nature of main memory, as it is designed to hold data only while the power is on. Once the power is lost, the data stored in main memory is also lost. This is in contrast to non-volatile storage devices, such as hard drives or solid-state drives, which retain their data even when the power is turned off.

Submit
7. A special type of address register, required by a system that implements user-visible stack addressing, is called a __________________.

Explanation

A stack pointer is a special type of address register that is necessary for a system that implements user-visible stack addressing. It is used to keep track of the top of the stack, which is the memory location where the next item will be pushed or popped from the stack. The stack pointer is crucial for managing the stack and ensuring that the correct order of operations is maintained.

Submit
8. Where is a fetched instruction normally loaded into?  

Explanation

When a fetched instruction is loaded, it is typically stored in the Instruction Register (IR). The IR is a temporary storage location within a computer's central processing unit (CPU) that holds the current instruction being executed. This register allows the CPU to access and decode the instruction, determining the appropriate actions to be taken. By loading the fetched instruction into the IR, the CPU can efficiently process the instruction and carry out the necessary operations.

Submit
9. An operating system exploits the hardware resources of one or more processors to provide a set of services to ________________.

Explanation

An operating system utilizes the hardware resources of one or more processors to offer a range of services to system users. These services can include managing and coordinating the execution of programs, providing an interface for users to interact with the system, handling input and output operations, and ensuring the security and stability of the system. By efficiently utilizing the hardware resources, the operating system enables system users to effectively utilize and interact with the computer system.

Submit
10. An arithmetic overflow condition resulting from some instructional execution will generate a(n) _________________ interrupt.

Explanation

An arithmetic overflow condition resulting from some instructional execution will generate a program interrupt.

Submit
11. True or False

The Program Status Word contains status information in the form of condition codes, which are bits typically set by the programmer as a result of program operation.

Explanation

False it is set by the processor hardware

Submit
12. Interrupt-driven I/O, although more efficient than simple Programmed I/O, still requires the use of the ________________ to transfer data between memory and an I/O module.

Explanation

Interrupt-driven I/O is a method where the processor is interrupted by the I/O device when it is ready to transfer data. This allows the processor to continue executing other tasks while the data transfer is taking place. However, the processor is still required to facilitate the transfer of data between memory and the I/O module. This involves managing the interrupt requests, handling the interrupt service routine, and coordinating the data transfer process. Therefore, the correct answer is "processor".

Submit
13. To accommodate interrupts, a(n) ___________________ is added to the basic instruction cycle.

Explanation

To accommodate interrupts, an interrupt cycle is added to the basic instruction cycle. This interrupt cycle allows the processor to temporarily pause its current execution and handle an interrupt request from an external device. By adding this interrupt cycle, the processor can efficiently handle real-time events or urgent tasks without disrupting the normal flow of the instruction cycle. This ensures that important events or tasks can be quickly addressed by the processor, enhancing the overall responsiveness and efficiency of the system.

Submit
14. The processing required for a single instruction on a typical computer system is called the __________________ .

Explanation

also called the Instruction Cycle

Submit
15. ______________________ acts as the interface between the computer hardware and the human user.

Explanation

The operating system serves as the intermediary between the computer hardware and the human user. It manages the hardware resources, such as memory and CPU, and provides a user-friendly interface for the user to interact with the computer system. The operating system handles tasks such as managing files and folders, running applications, and controlling input and output devices. It acts as a bridge that allows the user to communicate with the hardware and perform various tasks efficiently and effectively.

Submit
16. ____________________________  allows the processor to make use of idle time caused by long-wait interrupt handling.

Explanation

Multiprogramming allows the processor to make use of idle time caused by long-wait interrupt handling. In multiprogramming, multiple programs or processes are loaded into the memory simultaneously. When one program is waiting for an I/O operation or any other long-wait interrupt, the processor switches to another program that is ready to execute. This way, the processor can utilize the idle time efficiently by executing other programs, increasing overall system throughput and reducing idle time.

Submit
17. The ____________________ chooses, within the constraints of the mapping function, which block to replace when a new block is to be loaded and all cache slots are already filled.

Explanation

The replacement algorithm is responsible for selecting which block to replace in the cache when a new block needs to be loaded and all cache slots are already occupied. It determines the most suitable block to be replaced based on certain constraints set by the mapping function. The chosen block will be evicted from the cache to make room for the new block.

Submit
18. Registers that are used by system programs to minimize main memory references by optimizing register use are called _________________.

Explanation

User-visible registers are registers that are used by system programs to minimize main memory references by optimizing register use. These registers are directly accessible by the user and can be used to store frequently accessed data or variables, reducing the need to access main memory. By utilizing these registers effectively, system programs can improve performance and efficiency.

Submit
19. The processing required for a single instruction is called a(n) _______________ cycle.

Explanation

The processing required for a single instruction is referred to as the "instruction cycle." The instruction cycle encompasses all the steps involved in executing an instruction, including fetching the instruction from memory, decoding it, executing the operation, and storing the result. It is a fundamental concept in computer architecture and is essential for understanding how instructions are executed by a computer's central processing unit (CPU).

Submit
20. The ___________________________ is part of the information that must be saved prior to the processor transferring control to the interrupt handler routine, and it tells the processor where to return control to the previously interrupted program

Explanation

The address of the next instruction is part of the information that must be saved prior to the processor transferring control to the interrupt handler routine. This address is important because it tells the processor where to return control to the previously interrupted program.

Submit
21.
  1. A fetched instruction is normally loaded into the __________________.

Explanation

When a computer fetches an instruction, it is typically loaded into the instruction register (IR). The instruction register is a special register that holds the current instruction being executed by the computer's processor. It allows the processor to decode and execute the instruction by providing the necessary information and control signals. By loading the fetched instruction into the instruction register, the processor can access and process the instruction's opcode and operands, enabling the execution of the desired operation.

Submit
22. Each location in Main Memory contains a _______________ that can be interpreted as either an instruction or data.

Explanation

Each location in Main Memory contains a binary number value that can be interpreted as either an instruction or data. This means that the contents of each location in Main Memory can be represented using a series of 0s and 1s, which is the binary number system. These binary values can be interpreted by the computer's processor as either instructions that tell it what operations to perform or as data that needs to be processed or stored.

Submit
23. _____________ exploits the principle of locality by providing a small, fast memory between the processor and main memory.

Explanation

Memory caching is a technique that takes advantage of the principle of locality by utilizing a small, high-speed memory between the processor and main memory. This cache memory stores frequently accessed data and instructions, allowing the processor to access them more quickly than if it had to retrieve them from the slower main memory. By keeping a copy of frequently used data close to the processor, memory caching helps to reduce the average memory access time and improve overall system performance.

Submit
24.  True or False: The primary problem with programmed I/O is that the processor must wait for the I/O module to become ready and must repeatedly interrogate the status of the I/O module while waiting.

Explanation

The primary problem with programmed I/O is that the processor has to wait for the I/O module to become ready and constantly check the status of the module while waiting. This can lead to inefficient use of the processor's time and resources, as it is unable to perform other tasks during this waiting period.

Submit
25. The ____________________ contains the most recently fetched instruction.

Explanation

The Instruction Register (IR) is the component that holds the most recently fetched instruction. It is responsible for storing the instruction so that it can be decoded and executed by the processor. The IR acts as a temporary storage location for the instruction while it is being processed, allowing the processor to access and manipulate the necessary data to carry out the instruction.

Submit
26. Small, fast memory located between the processor and main memory is called:  

Explanation

Cache memory is a small, fast memory located between the processor and main memory. It is used to temporarily store frequently accessed data and instructions, allowing the processor to quickly access them without having to retrieve them from the slower main memory. This helps to improve the overall performance and efficiency of the computer system. WORM memory and CD-RW memory are not relevant to the given question and are not correct answers.

Submit
27. An _______________ is a mechanism used by system modules to signal the processor that normal processing should be temporarily suspended.  

Explanation

An interrupt is a mechanism used by system modules to signal the processor that normal processing should be temporarily suspended. When an interrupt occurs, the processor stops executing its current task and transfers control to a specific interrupt handler routine. This allows the system to prioritize and handle important events or tasks in a timely manner, ensuring efficient and effective operation.

Submit
28. A drawback to the disable interrupt strategy of dealing with multiple interrupts is that it doesn’t account for __________________.

Explanation

The drawback to the disable interrupt strategy is that it does not consider the prioritization of interrupts or the time-critical nature of certain tasks. This means that when an interrupt occurs, the system may not be able to respond to it immediately if it is currently handling another interrupt or performing a time-critical task. This can lead to delays in processing important interrupts or meeting time-sensitive requirements.

Submit
29. One of the _____________________   main functions is to exchange data with memory.

Explanation

The processor's main function is to exchange data with memory. This means that the processor is responsible for retrieving and storing data in the computer's memory, which is essential for the execution of programs and overall system performance. Without this exchange of data, the processor would not be able to access the necessary information to carry out its tasks effectively.

Submit
30. A fetched instruction is normally loaded into the:

Explanation

When a fetched instruction is received, it is typically loaded into the Instruction Register (IR). The IR is a component of the CPU that temporarily holds the current instruction being executed. It allows the CPU to decode and execute the instruction. The Accumulator (AC) is a register that stores intermediate results during calculations, the Program Counter (PC) keeps track of the memory address of the next instruction to be fetched, and "None of the above" is not the correct answer as the fetched instruction needs to be stored somewhere, which is the purpose of the IR.

Submit
31. The two basic steps used by the processor in instruction processing are:

Explanation

The processor follows a two-step process in instruction processing: fetching the instruction from memory and then executing it. This is known as the fetch and execute cycle. The processor fetches the instruction from memory, which involves retrieving the instruction from the memory location specified by the program counter. Once the instruction is fetched, the processor then executes it, which involves carrying out the operations specified by the instruction. This cycle is repeated for each instruction in the program.

Submit
32. In a two-level memory hierarchy, the Hit Ratio is defined as the fraction of all memory accesses found in the slower memory. 

Explanation

False - found in the faster memory.

Submit
33.   __________________ are general purpose in nature, but may be restricted to specific tasks such as performing floating-point operations.

Explanation

Data registers are general purpose in nature, meaning they can be used for various tasks. However, they can also be restricted to specific tasks, such as performing floating-point operations. This means that data registers can be used for a wide range of purposes, but they can also be specialized for specific tasks when needed.

Submit
34. To accommodate interrupts, what kind of  cycle is added to the instruction cycle.

Explanation

To accommodate interrupts, an interrupt cycle is added to the instruction cycle. This allows the processor to handle interrupts from external devices or internal events. When an interrupt occurs, the processor suspends its current execution and transfers control to the interrupt handler. This cycle ensures that the interrupt is properly acknowledged and handled, allowing the processor to respond to time-sensitive events or prioritize certain tasks over others. Therefore, the correct answer is "interrupt".

Submit
35. The four main structural elements of a computer system are:

Explanation

The four main structural elements of a computer system are the processor, main memory, I/O modules, and system bus. The processor is responsible for executing instructions and performing calculations. The main memory stores data and instructions that the processor needs to access. The I/O modules allow the computer system to communicate with external devices such as keyboards, printers, and disks. The system bus is a communication pathway that connects the processor, main memory, and I/O modules, allowing them to exchange data and instructions. This answer includes all of these components, making it the correct choice.

Submit
36. When an external device becomes ready to be serviced by the processor, the device sends this type of signal to the processor:

Explanation

When an external device becomes ready to be serviced by the processor, it sends an interrupt signal to the processor. This signal interrupts the normal execution of the processor and directs it to handle the request from the external device. The interrupt signal allows the processor to efficiently handle multiple tasks simultaneously by prioritizing the requests from different devices.

Submit
37. The memory design dilemma (regarding cost vs. capacity vs. access time) is solved by employing a(n) __________________.

Explanation

The memory design dilemma, which involves balancing cost, capacity, and access time, is resolved by implementing a memory hierarchy. A memory hierarchy refers to the organization of different levels of memory, each with varying characteristics and capabilities. This allows for efficient and effective memory management, as data can be stored in different levels based on its importance and frequency of access. The memory hierarchy typically consists of multiple levels, including cache memory, main memory, and secondary storage, with each level offering different trade-offs between cost, capacity, and access time. This hierarchy ensures that the system can optimize performance while still being cost-effective.

Submit
38. Direct Memory Access (DMA) operations require the following information from the processor:

Explanation

DMA operations require the address of the I/O device, the number of words to be read or written, and the starting memory location to read from or write to. This information is necessary for the processor to efficiently transfer data between the I/O device and the memory without involving the CPU in the process. Therefore, all of the given options are correct.

Submit
39. As one proceeds down the memory hierarchy (i.e., from inboard memory to offline storage), the following condition(s) apply:

Explanation

As one moves down the memory hierarchy, the access time tends to increase. This means that it takes longer to retrieve data from storage as we move from inboard memory to offline storage. This is because the higher levels of the memory hierarchy, such as cache memory, are closer to the processor and can provide faster access to data. On the other hand, lower levels of the memory hierarchy, such as secondary storage, have slower access times. Therefore, the correct answer is that increasing access time is a condition that applies as we proceed down the memory hierarchy.

Submit
40. A common class of interrupts is:

Explanation

The correct answer is "All of the above". This means that all the options listed - Program, Timer, I/O, and MMR - are common classes of interrupts. Interrupts are signals sent to the processor by external devices or internal events to request attention or indicate a change in status. Program interrupts occur when a program requests a service from the operating system. Timer interrupts occur at regular intervals to perform time-related tasks. I/O interrupts occur when input or output devices need attention. MMR interrupts are interrupts generated by memory management units. Therefore, all of these options are valid classes of interrupts.

Submit
41.
  1. Address registers may contain:

Explanation

Address registers can contain memory addresses of instructions, memory addresses of data, and partial memory addresses. This means that they can hold any type of memory address, whether it is for instructions or data, and whether it is a complete address or a partial one. Therefore, the correct answer is "All of the above."

Submit
42. The two basic types of processor registers are:

Explanation

The correct answer is "User-visible and Control/Status registers". Processor registers are small storage units within a processor that hold data and instructions temporarily during processing. User-visible registers are accessible to the programmer and are used to store data and perform operations. Control/Status registers, on the other hand, are used by the processor to control its operations and store status information. Therefore, the two basic types of processor registers are user-visible registers and control/status registers.

Submit
43. A Control/Status register that contains the address of the next instruction to be fetched is called the:

Explanation

The Program Counter (PC) is a control/status register that contains the address of the next instruction to be fetched. It keeps track of the memory address of the current instruction being executed and is automatically incremented to point to the next instruction after each fetch. The PC plays a crucial role in the execution of instructions by ensuring that the correct sequence of instructions is followed. Therefore, the correct answer is Program Counter (PC).

Submit
44. True or False

 One approach to dealing with multiple interrupts is to disable all interrupts while an interrupt is being processed.

Explanation

Disabling all interrupts while an interrupt is being processed is not a recommended approach to dealing with multiple interrupts. This is because it can lead to the system missing important interrupts and causing delays in processing other tasks. Instead, a more effective approach is to prioritize interrupts and handle them accordingly, allowing critical interrupts to be processed while non-critical interrupts are temporarily postponed. This ensures that the system remains responsive and efficient in handling multiple interrupts simultaneously.

Submit
45. One accepted method of dealing with multiple interrupts is to:

Explanation

By defining priorities for the interrupts, the system can determine the order in which the interrupts should be serviced. This allows the system to handle the interrupts in a structured and organized manner, ensuring that the most important interrupts are serviced first. By assigning priorities, the system can effectively manage multiple interrupts and prevent any potential conflicts or issues that may arise.

Submit
46. Information that must be saved prior to the processor transferring control to the interrupt handler routine includes:

Explanation

The correct answer is Processor Status Word (PSW) & Location of next instruction. When an interrupt occurs, the processor needs to save the current state of the program so that it can resume execution after handling the interrupt. This includes saving the Processor Status Word (PSW), which contains important flags and control information, as well as the location of the next instruction to be executed. This information is necessary to ensure that the program can be properly resumed once the interrupt has been handled.

Submit
47. In a uniprocessor system, multiprogramming increases processor efficiency by:

Explanation

In a uniprocessor system, multiprogramming increases processor efficiency by taking advantage of time wasted by long wait interrupt handling. This means that when one process is waiting for an I/O operation or for data to be fetched from memory, the processor can switch to another ready process and continue executing instructions. This way, the processor is kept busy and not idle during these waiting periods, resulting in improved efficiency.

Submit
48. The general role of an operating system is to:

Explanation

The general role of an operating system is to provide a set of services to system users. This includes managing resources such as memory, processing power, and input/output devices, as well as providing a user interface for users to interact with the system. Additionally, the operating system manages files for application programs, ensuring that they are stored, accessed, and manipulated efficiently. Acting as an interface between various computers is not a primary role of an operating system, although it may facilitate communication between different systems. Therefore, the correct answer is "Provide a set of services to system users."

Submit
49. When a new block of data is written into cache memory, the following determines which cache location the block will occupy:

Explanation

mapping function

Submit
50. The minimum information that must be saved before the processor transfers control to the interrupt handler routine is the ____________________

Explanation

Before the processor transfers control to the interrupt handler routine, the minimum information that must be saved is the program status word (PSW). The PSW contains important information about the current state of the processor, such as the condition codes, interrupt enable/disable flag, and privilege level. Saving the PSW ensures that the interrupt handler routine can resume execution from the correct state once the interrupt is handled. Therefore, the correct answer is PSW.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 21, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Dec 13, 2009
    Quiz Created by
    Acooper
Cancel
  • All
    All (50)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
User-visible ____________________ are typically ...
_____________________ memory exploits the principle of ...
In cache memory design,  ____________ size ...
General purpose computers run most of their programs from rewritable...
The concept of multiple programs taking turns in ...
Main memory is a ______________________ storage device that losses its...
A ...
Where is a fetched instruction normally loaded into?  
An operating system exploits the hardware ...
An arithmetic overflow condition resulting from ...
True or FalseThe Program Status Word contains status ...
Interrupt-driven ...
To accommodate interrupts, a(n) ...
The processing required for a single instruction ...
______________________ acts as the interface ...
____________________________  allows the processor ...
The ...
Registers ...
The ...
The ...
A fetched instruction is normally loaded into ...
Each ...
_____________ ...
 True or False: The primary problem with programmed I/O ...
The ...
Small, fast memory located between the processor ...
An _______________ is a mechanism used by ...
A ...
One of the _____________________   main functions is to...
A fetched instruction is normally loaded into the:
The ...
In a two-level memory hierarchy, the Hit Ratio ...
  __________________ are general purpose in ...
To accommodate interrupts, what kind of  cycle is added to the...
The four main structural elements of a computer system are:
When ...
The ...
Direct Memory Access (DMA) operations require the ...
As one proceeds down the memory hierarchy (i.e., ...
A common class of interrupts is:
Address registers may contain:
The two basic types of processor registers are:
A ...
True or False One approach to dealing with multiple ...
One accepted method of dealing with multiple interrupts is to:
Information ...
In a uniprocessor system, multiprogramming ...
The general role of an operating system is to:
When a new block of data is written into cache ...
The minimum information that must be saved before the ...
Alert!

Advertisement