OPERATING_SYSYTEMS2

OPERATING_SYSYTEMS2

Professional Development

10 Qs

quiz-placeholder

Similar activities

Computer Science

Computer Science

Professional Development

10 Qs

DECI - Week 2 - round

DECI - Week 2 - round

Professional Development

10 Qs

Systems Architecture GCSE

Systems Architecture GCSE

Professional Development

15 Qs

Thread priorities and Synchronization

Thread priorities and Synchronization

Professional Development

7 Qs

BASIC OF COMPUTER

BASIC OF COMPUTER

Professional Development

10 Qs

Introduction to AI and Cyber security

Introduction to AI and Cyber security

University - Professional Development

10 Qs

Understanding of RAM

Understanding of RAM

Professional Development

12 Qs

Reentrant lock

Reentrant lock

Professional Development

15 Qs

OPERATING_SYSYTEMS2

OPERATING_SYSYTEMS2

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Nithya shree

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The two types of semaphores are-


Counting and decimal semaphore

Counting and binary semaphore

Counting and mutex

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The main purpose of thread synchronization is to:

Ensure that only one thread can access the resource at any given time

Make sure that threads run at the same speed

Prevent threads from executing

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the Dining Philosophers Problem, deadlock can be avoided by:

Allowing only four philosophers to sit at the table at any time

Requiring philosophers to pick up both forks at the same time

Philosophers must request the waiter's permission to pick up forks

All of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


The Banker's algorithm is used for:

Detecting deadlocks

Preventing deadlocks

Memory allocation

Process scheduling

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A critical section is:

A section of code that can be executed by multiple threads simultaneously

A section of code that requires mutual exclusion in access

A section of memory allocated to the OS

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


In POSIX threads (pthreads), which function is used to initialize a mutex?

pthread_mutex_init

pthread_create

pthread_mutex_lock

pthread_join

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a Memory Management Unit (MMU) in a computer system?

To enhance the CPU speed

To manage disk storage

To translate virtual addresses to physical addresses

To monitor system performance

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?