OS_Threads_PYQ

OS_Threads_PYQ

University

14 Qs

quiz-placeholder

Similar activities

Web-II-Loop and Function

Web-II-Loop and Function

University

10 Qs

VITAP Quiz-1

VITAP Quiz-1

University

10 Qs

Firewall and Network Security

Firewall and Network Security

University

15 Qs

2.4 - 2.6

2.4 - 2.6

University

15 Qs

Week 4

Week 4

University

15 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

Software Engineering :TEST 2

Software Engineering :TEST 2

University

10 Qs

ADVACOMT-Quiz No.1 (final term)

ADVACOMT-Quiz No.1 (final term)

University

15 Qs

OS_Threads_PYQ

OS_Threads_PYQ

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Pushpendra Pateriya

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The maximum number of processes that can be in Ready state for a computer system with n CPUs is

n2

n

2n

Independent of n

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is TRUE regarding the time taken to switch between user and kernel modes of execution?

t1 > t2

nothing can be said about the relation between t1 and t2

t1 = t2

t1 < t2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is/are shared by all the threads in a process?

Registers

Address space

Stack

Program Counter

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A process executes the code fork(); fork(); fork(); The total number of child processes created is

3

8

4

7

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A scheduling algorithm assigns priority proportional to the waiting time of a process. Which one of the following is TRUE?

This algorithm is equivalent to the first-come-first-serve algorithm

This algorithm is equivalent to the shortest-remaining-time-first algorithm

This algorithm is equivalent to the round-robin algorithm

This algorithm is equivalent to the shortest-job-first algorithm

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the following statements about process state transitions for a system using preemptive scheduling. Which of the above statements are TRUE?

II and III only

I, II and III only

I, II, III and IV

I, II and IV only

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following standard C library functions will always invoke a system call when executed from a single-threaded process in a UNIX/Linux operating system?

malloc

exit

strlen

sleep

Create a free account and access millions of resources

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?