OS 2021 A1 Batch Quiz 2

OS 2021 A1 Batch Quiz 2

University

10 Qs

quiz-placeholder

Similar activities

Git hub Pull Request

Git hub Pull Request

University

10 Qs

Intro to GitHub

Intro to GitHub

University

7 Qs

Operating System

Operating System

University

8 Qs

PreTest DFC20113 - Programming Fundamentals

PreTest DFC20113 - Programming Fundamentals

University

15 Qs

OS(UNIT-I) QUIZ

OS(UNIT-I) QUIZ

University

10 Qs

CT-4 (Deadlocks)

CT-4 (Deadlocks)

University

15 Qs

Thread 2

Thread 2

University

7 Qs

UAS Sistem Operasi Open Source

UAS Sistem Operasi Open Source

University

10 Qs

OS 2021 A1 Batch Quiz 2

OS 2021 A1 Batch Quiz 2

Assessment

Quiz

Computers

University

Medium

Created by

Sneha M

Used 5+ times

FREE Resource

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

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?