Scheduling and Threads

Scheduling and Threads

University

8 Qs

quiz-placeholder

Similar activities

Topic 4 System Software

Topic 4 System Software

University

10 Qs

B. Sc III year

B. Sc III year

University

10 Qs

Computer and Programming Fundamentals Test 1

Computer and Programming Fundamentals Test 1

University

10 Qs

Operating System

Operating System

University

10 Qs

OS structure & architecture

OS structure & architecture

University

10 Qs

Direct Execution

Direct Execution

University

9 Qs

Operating Systems - Processes

Operating Systems - Processes

University

8 Qs

OS Week0

OS Week0

University

10 Qs

Scheduling and Threads

Scheduling and Threads

Assessment

Quiz

Computers

University

Medium

Created by

Trevor Bakker

Used 222+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

the switching of the CPU from one process or thread to another is called

task switch

context switch

preemption

process inheritance

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

I will remember to calculate CPU utilization I use 1 - p^n where n is the number of processes and p is the percentage of time the processes wait

yes

no

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Cooperative multitasking

the process yields the CPU voluntariuly

the process yields the CPU involuntarily

the OS makes the process to yeild

the OS requests the process yield

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Preemptive multitaking

The process yields the CPU coluntarily

The OS forces the process to yield

The OS requests the process yeild

The process preempts the OS

5.

MULTIPLE SELECT QUESTION

3 mins • 1 pt

Scheduling algorithm goals

Fairness

Process enforcement

Balance

Performance

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An area of code or variables shared by threads is called

Critical region

Shared memory

Shared fabric

Scope

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

I will know how to do FCFS, SJN, SJN with preemption, Priority and Priority with preemption

True

False

8.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Given 8GB of RAM, the OS taking 2GB of RAM and each user program taking 2GB we can run 3 user programs at once. With an 80% average I/O wait the CPU utilization is:

48.8%

72%

20%

25%