wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CSC 110 - Quiz 1

Total questions: 20

Worksheet time: 6mins

Name
Class
Date
1.

A process may create several new processes via

a)

parent process

b)

children process

c)

create-process system call

d)

system call

2.

In a time-sharing system, the CPU is switched among processes so frequently that:

a)

The CPU utilization is minimized

b)

Users can interact with running programs in real time

c)

The CPU remains idle between context switches

d)

Only one process is executed at a time

3.

When a process creates a new process, two possible execution scenarios exist:

a)

The child replaces the parent, or they execute concurrently

b)

The parent waits for the child, or they execute concurrently

c)

The child immediately terminates, or the parent continues

d)

The child runs in a different CPU, or the parent takes control of the child

4.

Which of the following statements about cooperating processes is true?

a)

Cooperating processes must run on different CPUs

b)

Cooperating processes cannot communicate with each other

c)

Cooperating processes are only used in distributed systems

d)

Cooperating processes share data and influence each other’s execution

5.

Which of the following scheduling queues contains processes that are ready to execute and reside in main memory?

a)

Ready queue

b)

Job queue

c)

I/O queue

d)

Termination queue

6.

What is a key difference between a process and a thread?

a)

A thread is independent of its parent process

b)

A process can have multiple threads, while a thread runs independently

c)

A thread cannot share memory with other threads in the same process

d)

A process runs only one thread at a time

7.

The One-to-One Model provides more concurrency than the Many-to-One model because:

a)

It maps multiple user threads to a single kernel thread

b)

It allows multiple threads to run in parallel on multiprocessors

c)

It prevents context switching

d)

It avoids creating kernel threads entirely

8.

What is hyperthreading in modern processors?

a)

A technique that enables multiple processes to share a single core

b)

A method to execute two threads simultaneously using the same CPU core

c)

A mechanism to prioritize kernel threads over user threads

d)

A way to allocate memory more efficiently across multiple processes

9.

Which statement about the fork() and exec() system calls is true?

a)

fork() and exec() always run in kernel mode

b)

exec() creates a new process, while fork() terminates the current process

c)

A method to execute two threads simultaneously using the same CPU core

d)

fork() duplicates current process, exec() replaces it with a new program

10.

Which of the following is an advantage of multithreading?

a)

Threads share the memory and resources of the process they belong to

b)

Threads execute sequentially, reducing resource conflicts

c)

Each thread must request permission before accessing shared resources

d)

Each thread requires separate memory allocation

11.

What is a daemon in an operating system?

a)

A security process that prevents unauthorized access

b)

A process that executes kernel-level commands

c)

A background service that runs without user interaction

d)

A virtual memory management technique

12.

What is the main advantage of caching in an operating system?

a)

It prevents memory leaks

b)

It stores frequently used data in faster storage for quick access

c)

It reduces data redundancy in disk storage

d)

It optimizes CPU scheduling by prioritizing active processes

13.

Which component is responsible for memory management in an OS?

a)

Kernel

b)

File system manager

c)

Process scheduler

d)

Memory allocator

14.

In the storage hierarchy, which memory type is the fastest but also the most volatile?

a)

Registers

b)

RAM (Random Access Memory)

c)

Cache memory

d)

Secondary storage

15.

Which of the following is not a function of an operating system?

a)

Compiling source code

b)

Security control

c)

Memory management

d)

Process scheduling

16.

What is the key difference between user mode and kernel mode?

a)

User mode allows direct access to hardware, while kernel mode does not

b)

There is no distinction between the two in modern operating systems

c)

Kernel mode restricts user programs from accessing privileged instructions

17.

Which system component provides an interface between the hardware and the operating system?

a)

Process scheduler

b)

Device drivers

c)

Interrupt handler

d)

System call handler

18.

What is the main role of the bootstrap program in an operating system?

a)

To load and execute user programs from storage

b)

To initialize the system hardware and load the OS into memory

c)

To configure user authentication settings

d)

To manage process scheduling at startup

19.

How does the operating system prevent a process from hogging the CPU indefinitely?

a)

By reducing the process's memory allocation

b)

By terminating long-running processes automatically

c)

By enforcing strict user privileges

d)

By using a timer to preempt execution

20.

In Operating System, what does PCB stands for?

a)

Printed Circuit Board

b)

Process Command Block

c)

Process Control Block

d)

Process Computational Block