wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Computer Systems and Operating 3

Total questions: 56

Worksheet time: 28mins

Name
Class
Date
1.

What is an Operating System?

a)

A hardware component

b)

A program that acts as an intermediary between a user and the computer hardware

c)

A type of application

d)

None of the above

2.

Which of the following is not a component of a computer system?

a)

Hardware

b)

Users

c)

I/O Devices

d)

Software Programs

3.

Which storage is directly accessible by the CPU?

a)

Main Memory

b)

Hard Disk

c)

SSD

d)

Cache

4.

What is the main function of a bootstrap program?

a)

To store data

b)

To manage processes

c)

To initialize the system and load the operating system kernel

d)

To control I/O devices

5.

What is an interrupt in an operating system?

a)

A hardware failure

b)

A software process

c)

A signal that temporarily halts the current process

d)

A device controller function

6.

Which of the following is an example of secondary storage?

a)

CPU

b)

RAM

c)

Hard Disk

d)

Cache

7.

What is multiprogramming?

a)

A system that allows one program to run at a time

b)

A system where multiple programs are kept in memory and executed by the CPU

c)

A type of operating system

d)

None of the above

8.

What is a kernel?

a)

A program running all the time on the computer

b)

A user program

c)

A type of hardware

d)

None of the above

9.

What does a device controller do?

a)

Manages CPU cycles

b)

Manages I/O devices

c)

Controls memory allocation

d)

None of the above

10.

What is the main purpose of caching in computer systems?

a)

To increase storage capacity

b)

To improve data retrieval speed

c)

To reduce memory usage

d)

None of the above

11.

The main function of an operating system is to manage hardware and software resources.

a)

True

b)

False

12.

A byte is the smallest unit of computer storage.

a)

True

b)

False

13.

Solid-state drives (SSDs) are generally slower than hard disks.

a)

True

b)

False

14.

An interrupt-driven operating system responds to both hardware and software interrupts.

a)

True

b)

False

15.

Virtual memory allows processes to execute even if they are not completely loaded into RAM.

a)

True

b)

False

16.

Multiprogramming requires the system to keep only one job in memory at a time.

a)

True

b)

False

17.

The CPU can directly access secondary storage devices like hard disks.

a)

True

b)

False

18.

Symmetric multiprocessing means each processor performs specific assigned tasks.

a)

True

b)

False

19.

An operating system kernel is the only program running at all times on the computer.

a)

True

b)

False

20.

What is the main function of an operating system?

a)

To compile programs

b)

To manage hardware and software resources

c)

To write programs

d)

To design interfaces

21.

Which of the following is not a user interface provided by an operating system?

a)

Command-Line Interface (CLI)

b)

Graphic User Interface (GUI)

c)

Database Management Interface (DBI)

d)

Batch Interface

22.

What is a system call?

a)

A command to the hardware

b)

A program that compiles code

c)

A request to the OS for service by a program

d)

A debugging tool

23.

Operating systems can use either CLI, GUI, or both interfaces for user interaction.

a)

True

b)

False

24.

System calls are used by user programs to request services from the operating system.

a)

True

b)

False

25.

Batch interfaces allow direct user interaction with the system in real-time.

a)

True

b)

False

26.

What is a process?

a)

A program stored on the hard drive

b)

A program in execution

c)

A static file

d)

A user interface

27.

Which of the following is not a process state?

a)

Running

b)

Waiting

c)

Terminated

d)

Deleted

28.

Which part of the process contains the current activity such as the program counter?

a)

Stack

b)

Data section

c)

Text section

d)

Heap

29.

What is the main advantage of using system calls via APIs instead of directly accessing them?

a)

It is faster

b)

It hides complex OS details from the programmer

c)

It allows debugging

d)

It provides more control over hardware

30.

What type of system call is used for managing processes, like creating or terminating them?

a)

Device management

b)

Process control

c)

File management

d)

Communication

31.

A user interface is necessary for all types of operating systems.

a)

True

b)

False

32.

System calls are always written in assembly language.

a)

True

b)

False

33.

The operating system must detect and handle errors during program execution

a)

True

b)

False

34.

CLI is more user-friendly than GUI.

a)

True

b)

False

35.

System programs do not interact with the operating system kernel.

a)

True

b)

False

36.

The layered approach of an operating system means each layer depends on the next higher layer.

a)

True

b)

False

37.

Which type of system call is used to create or delete a file?

a)

Process control

b)

File management

c)

Device management

d)

Information maintenance

38.

What is the main purpose of a system boot?

a)

To shut down the computer

b)

To load the operating system into memory

c)

To execute a program

d)

To run diagnostic tests

39.

Which of the following is a communication method between processes?

a)

File reading

b)

Message passing

c)

Command-line interface

d)

Error detection

40.

Which operating system component is responsible for error detection?

a)

CPU

b)

Memory

c)

Operating system

d)

Application programs

41.

What kind of interface allows users to type commands directly to the operating system?

a)

Batch interface

b)

Command-Line Interface (CLI)

c)

Graphic User Interface (GUI)

d)

Touchscreen Interface

42.

What is the role of the Process Control Block (PCB)?

a)

To store the program file

b)

To store the state of the process

c)

To handle input/output operations

d)

To manage memory

43.

Which of the following is true about a context switch?

a)

It deletes the process

b)

It swaps the process state between the CPU and memory

c)

It ends a process

d)

It saves and loads the process state

44.

What is a job queue in process scheduling?

a)

A set of jobs waiting for input

b)

A set of jobs waiting for the user to assign

c)

A set of all processes in the system

d)

A set of processes that are ready for execution

45.

What is the short-term scheduler responsible for?

a)

Selecting processes for the ready queue

b)

Managing I/O requests

c)

Allocating memory

d)

Executing processes in the CPU

46.

What is a zombie process?

a)

A process that has not yet started

b)

A process that is waiting to be assigned to a CPU

c)

A process that has finished execution but has not been removed from the process table

d)

A process in the ready state

47.

Which of the following IPC mechanisms uses memory shared between processes?

a)

Message passing

b)

Signals

c)

Shared memory

d)

Sockets

48.

A process is considered a passive entity.

a)

True

b)

False

49.

The program counter is part of the process control block.

a)

True

b)

False

50.

A terminated process can be restarted without reloading it into memory.

a)

True

b)

False

51.

Context switching is considered an overhead because it does no useful work.

a)

True

b)

False

52.

A process can exist in the waiting state when it needs I/O to proceed.

a)

True

b)

False

53.

The long-term scheduler selects processes that are ready to execute immediately.

a)

True

b)

False

54.

Shared memory communication is controlled by the operating system.

a)

True

b)

False

55.

Blocking communication requires the sender to wait until the message is received.

a)

True

b)

False

56.

Message passing does not require shared memory between processes.

a)

True

b)

False