Session 8a

Session 8a

University

6 Qs

quiz-placeholder

Similar activities

Chapter 3: Storage devices and media

Chapter 3: Storage devices and media

University

8 Qs

SISTEM OPERASI - KUIS 1

SISTEM OPERASI - KUIS 1

University

10 Qs

Q13 - Sys Fund

Q13 - Sys Fund

University

10 Qs

Threads, Processes, and Programs

Threads, Processes, and Programs

University

6 Qs

Memory Management

Memory Management

University

10 Qs

Tutorium 8

Tutorium 8

University

7 Qs

OS - Assessment 06

OS - Assessment 06

University

10 Qs

Recap - Computer Memory

Recap - Computer Memory

University

10 Qs

Session 8a

Session 8a

Assessment

Quiz

Computers

University

Medium

Created by

Rafael Wampfler

Used 11+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If a memory location is not thread-local and not synchronized, it needs to be...

Mutable (can change content)

Immutable (can't change content)

There's no problem, we can do whatever we want

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Thread-local memory needs synchronization.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The compiler will never reorder memory accesses.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which instructions will and won't be reordered depends on the hardware.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

One of the main functions of the Java Memory Model is to...

improve the speed of memory accesses

increase the storage capacity of a computer

restrict allowable outcomes of programs

expand allowable outcomes of programs

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

If there is a cycle in our state space diagram...

We are using a while loop

There is a livelock

Our program always terminates

Our code suffers from starvation