Operating System 2nd module

Operating System 2nd module

University

30 Qs

quiz-placeholder

Similar activities

untitled

untitled

9th Grade - University

30 Qs

Lesson 5 - CPU Scheduling

Lesson 5 - CPU Scheduling

University

25 Qs

MIDTERM QUIZ IN OS 101

MIDTERM QUIZ IN OS 101

University

25 Qs

OS Sessional Test 2024 Batch (CS,DS,AI)

OS Sessional Test 2024 Batch (CS,DS,AI)

University

25 Qs

Quiz-1

Quiz-1

University

25 Qs

POP QUIZ OS

POP QUIZ OS

University

26 Qs

OS with Linux Quiz

OS with Linux Quiz

University

33 Qs

ACA 1

ACA 1

University

30 Qs

Operating System 2nd module

Operating System 2nd module

Assessment

Quiz

Computers

University

Medium

Created by

Thomas Chacko

Used 1+ times

FREE Resource

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.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?