Search Header Logo

Operating System 2nd module

Authored by Thomas Chacko

Computers

University

Used 1+ times

Operating System 2nd module
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements best defines a process in the context of an operating system?

A single-threaded block of code stored on disk, not yet in execution.

A passive entity that only contains the set of instructions to be executed.

An active entity consisting of a program in execution, along with associated resources and status.

A command that schedules tasks on the CPU without any state information.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an operating system, what is the key difference between a program and a process?

A program must be permanently stored in main memory, whereas a process resides in secondary storage.

A program is a passive entity containing instructions, while a process is a program in execution with its own state and resources.

A program can only contain a single instruction, whereas a process can contain multiple instructions.

There is no difference; the terms 'program' and 'process' are used interchangeably.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following correctly represents the typical states of a process in a uniprocessor system?

New, Ready, Waiting, Suspend, Terminated

New, Running, Blocked, Terminated (no Ready state exists)

New, Ready, Running, Waiting, Terminated

New, Active, Passive, Blocked, Terminated

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following transitions best describes a process moving from Waiting to Ready?

The process has finished its time quantum and is placed back on the ready queue.

An interrupt occurs while the process is executing.

The I/O event the process was waiting for has completed, making it eligible for CPU scheduling again.

The process has just been created and is awaiting admission to the ready queue.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which option best describes the role of the Process Control Block (PCB) in an operating system?

It is used only during system boot to load processes into memory.

It stores the global variables used by all processes in the system.

It serves as a repository of information associated with each process, including CPU registers, scheduling info, and memory management details.

It is a temporary structure used only while a process is in the running state.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT typically stored in a Process Control Block?

Process State (Ready, Running, etc.)

CPU Scheduling Information (priority, scheduling queue pointers)

I/O device addresses allocated to other processes

Program Counter (PC) and CPU register contents

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes the relationship between the ready queue and waiting (device) queues?

Processes in the ready queue have higher priority than those in waiting queues.

The ready queue holds processes waiting for CPU time, while waiting (device) queues hold processes awaiting particular I/O events.

Once a process moves to a waiting queue, it cannot return to the ready queue.

There is only one scheduling queue where both CPU-bound and I/O-bound processes wait.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers