SO Lab 07 Recap

SO Lab 07 Recap

University

8 Qs

quiz-placeholder

Similar activities

Pint of Science Carballo Día 3

Pint of Science Carballo Día 3

University

10 Qs

Quiz 1: The background and history of IoT

Quiz 1: The background and history of IoT

University

10 Qs

Justicia Social en un mundo digitalizado

Justicia Social en un mundo digitalizado

University

10 Qs

Que son los mainframes?

Que son los mainframes?

University

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

Cuestionario Steve Jobs

Cuestionario Steve Jobs

12th Grade - University

10 Qs

Website Usability and UX

Website Usability and UX

University

10 Qs

Python Week 1 & 2

Python Week 1 & 2

University

10 Qs

SO Lab 07 Recap

SO Lab 07 Recap

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Anonymous Anonymous

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

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

Access all questions and much more by creating a free account

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?