SO Lab 07 Recap

SO Lab 07 Recap

University

8 Qs

quiz-placeholder

Similar activities

Computer Hard drives

Computer Hard drives

KG - University

12 Qs

Software Group 1

Software Group 1

University

9 Qs

Array

Array

University

11 Qs

Week 11

Week 11

University

12 Qs

Buses

Buses

University

12 Qs

INB23503 Quiz Chapter 10

INB23503 Quiz Chapter 10

University

10 Qs

CS6801- Multi­core Architectures and Programming

CS6801- Multi­core Architectures and Programming

University

10 Qs

Computer Specification

Computer Specification

University

11 Qs

SO Lab 07 Recap

SO Lab 07 Recap

Assessment

Quiz

Computers

University

Medium

Created by

Anonymous Anonymous

Used 1+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who said the following words: "Totul in viata se plateste"

Nicolae Tapus

Florin Salam

Razvan Rughinis

Donald Trump

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is better? To be born good, or to ...

overcome your evil nature through great effort?

be born bad?

not be born at all?

become good as you live?

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A piece of code that must be executed only by one thread at a time, to ensure correctness, is called

a critical section

a serial code

a critical code

a serial section

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following are synchronisation methods?

mutexes

semaphores

timers

barriers

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

When does copy-on-write happen?

On context switch

When a child process performs a write

On fork()

On exec()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ten threads perform "a++", with a=0, without synchronization. What is the value of a after the operations?

10

3

7

hard to say

7.

OPEN ENDED QUESTION

3 mins • 5 pts

How can we ensure that, for the last question's situation, the result is correct? (describe what and how you use, not just "by synchronising the threads")

Evaluate responses using AI:

OFF

8.

DRAW QUESTION

3 mins • 5 pts

Describe the copy-on-write process

Media Image