Session 8a

Session 8a

University

6 Qs

quiz-placeholder

Similar activities

React-Native Mastermind Challenge

React-Native Mastermind Challenge

University

10 Qs

2nd Module - 2D Sketch to 3D Modelling

2nd Module - 2D Sketch to 3D Modelling

University

10 Qs

Java Quiz

Java Quiz

University

10 Qs

Network and Communication  - Prelim Exam

Network and Communication - Prelim Exam

University

10 Qs

CSDC104 Quiz 1 Reviewer

CSDC104 Quiz 1 Reviewer

University

11 Qs

Recap - Programming Languages

Recap - Programming Languages

University

10 Qs

ITT440 - Chapter 1 Introduction to Process Model

ITT440 - Chapter 1 Introduction to Process Model

University

10 Qs

RAM

RAM

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