Search Header Logo

OS 2021 A1 Batch Quiz 2

Authored by Sneha M

Computers

University

Used 5+ times

OS 2021 A1 Batch Quiz 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A system call that never returns on success is _________

Fork()
Execl()
Getpid()
Vfork()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A process executes the code. How many processes are newly created main(){ fork (); fork (); fork ();}

7
4
8
3

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

A thread is usually defined as a ‘light weight process’ because an operating system (OS) maintains smaller data structures for a thread than for a process. In relation to this, which of the followings is TRUE?

The OS does not maintain a separate stack for each thread
On per thread basis, the OS maintains only scheduling and accounting information.
On per-thread basis, the OS maintains CPU register state and stack
On per-thread basis, the OS does not maintain virtual memory state

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which header file is required to invoke wait system call

<sys/types.h>

<unistd.h>

<stdlib.h>

<sys/wait.h>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kernel mode is also known as

Privileged mode
System mode
Supervisor mode
All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Microkernels use _____ for communication.

message passing
shared memory
system calls
virtualization

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following is FASLE

Vfork uses copy-on-write to save resources
Dual Mode Operation is to ensure protection and security of the System
Real-time systems use priority based scheduling
A hard real-time system meets response requirements under all conditions

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?