wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Operating System and Computer Architecture Quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is the purpose of memory management in an operating system?

a)

To control the temperature of the CPU

b)

To manage the keyboard and mouse input

c)

To organize the files on the hard drive

d)

To allocate and deallocate memory resources for different processes

2.

Explain the concept of paging and segmentation in memory management.

a)

Paging is a memory management scheme that requires contiguous allocation of physical memory, while segmentation allows the user's view of memory to be contiguous.

b)

Paging is a memory management scheme that is only used in virtual memory systems, while segmentation is used in physical memory systems.

c)

Paging is a memory management scheme that eliminates the need for contiguous allocation of physical memory, while segmentation allows the user's view of memory to be non-contiguous.

d)

Paging is a memory management scheme that is not used in modern operating systems, while segmentation is the primary method of memory management.

3.

What is process scheduling and why is it important in an operating system?

a)

Process scheduling is the method used by the operating system to manage and prioritize the execution of a single process. It is important in an operating system to ensure that only one process runs at a time.

b)

Process scheduling is the method used by the operating system to manage and prioritize the execution of multiple processes. It is important in an operating system to ensure that processes never get interrupted.

c)

Process scheduling is the method used by the operating system to manage and prioritize the execution of multiple processes. It is important in an operating system to ensure that processes always run in the same order.

d)

Process scheduling is the method used by the operating system to manage and prioritize the execution of multiple processes. It is important in an operating system to ensure efficient utilization of CPU and other resources, as well as to provide fair access to the CPU for all processes.

4.

Compare and contrast preemptive and non-preemptive process scheduling algorithms.

a)

Preemptive scheduling is used for single-core processors, while non-preemptive scheduling is used for multi-core processors.

b)

Preemptive scheduling does not allow the operating system to interrupt a process, while non-preemptive scheduling allows frequent interruptions.

c)

Preemptive scheduling allows the operating system to only interrupt a process after its completion, while non-preemptive scheduling interrupts a process in the middle of its execution.

d)

Preemptive scheduling allows the operating system to interrupt a process in the middle of its execution, while non-preemptive scheduling does not.

5.

Describe the components of computer organization and their functions.

a)

Motherboard, power supply, and network interface card

b)

Keyboard, monitor, printer, and scanner

c)

Operating system, application software, and utilities

d)

CPU, memory, input/output devices, and storage

6.

Explain the role of the control unit in computer organization.

a)

It controls the temperature of the computer hardware to prevent overheating

b)

It is responsible for creating backups of all the data in the computer

c)

It coordinates the activities of the other hardware components and ensures that data is processed and moved correctly through the system.

d)

It is in charge of managing the computer's internet connection

7.

What is virtual memory and how does it work in an operating system?

a)

Virtual memory allows the operating system to use a section of the hard drive as if it were RAM, which helps to run more applications simultaneously and allows each application to use more memory than it would otherwise have access to.

b)

Virtual memory is a type of memory that only exists in the virtual world, not in the physical world.

c)

Virtual memory is a feature that allows the operating system to use the internet to access additional memory for running applications.

d)

Virtual memory is a technology that allows the operating system to create virtual machines for running different applications.

8.

Discuss the benefits and drawbacks of using virtual memory.

a)

Virtual memory can only run small programs efficiently

b)

Virtual memory can provide more efficient memory management and allow for larger programs to run, but it can also lead to slower performance due to the need for constant swapping between physical and virtual memory.

c)

Virtual memory has no impact on system performance

d)

Virtual memory always leads to faster performance

9.

What are the main functions of an operating system?

a)

Cooking meals, washing dishes, doing laundry

b)

Managing resources, providing a user interface, facilitating communication, controlling and coordinating operations

c)

Building furniture, gardening, painting

d)

Playing music, watching movies, browsing the internet

10.

Explain the difference between a monolithic and a microkernel operating system architecture.

a)

The monolithic kernel has all operating system services in the kernel space, while the microkernel has only essential services in the kernel space and other services are in user space.

b)

Both monolithic and microkernel have the same architecture and do not differ in terms of kernel space and user space.

c)

The microkernel has all operating system services in the kernel space, while the monolithic kernel has only essential services in the kernel space.

d)

The monolithic kernel has only essential services in the kernel space and other services are in user space.