PYP Quiz

PYP Quiz

University

15 Qs

quiz-placeholder

Similar activities

OCR A Level Computer Science (H446) - Component 1.1.2 - Types of Processor

OCR A Level Computer Science (H446) - Component 1.1.2 - Types of Processor

11th Grade - University

19 Qs

 variable in python

variable in python

University

20 Qs

Principles of Information Technology

Principles of Information Technology

9th Grade - University

16 Qs

Python Basics

Python Basics

University

15 Qs

Quiz 5

Quiz 5

University

11 Qs

Python3

Python3

4th Grade - University

10 Qs

Java Programming RBVRRIT

Java Programming RBVRRIT

University - Professional Development

10 Qs

Python Programming

Python Programming

5th Grade - University

15 Qs

PYP Quiz

PYP Quiz

Assessment

Quiz

Computers

University

Medium

Created by

Kingsley Kuan

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Relaxed consistency models at the programming language level address the concern that software complexity is increased by the need for unnecessary synchronization.

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The modern C++ memory model exhibits a different behavior when it is running on a weak-consistent architecture (such as ARM).

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Programs using C++ atomics might suffer of deadlocks. Assume that the program does not use any other synchronization mechanism (such as mutex or semaphores).

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A concurrent program with livelocks will eventually complete when running on a single core processor (assume no SMT: the core does not support multiple hardware threads). Assume that the program creates, runs, and synchronizes multiple threads.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In (safe) Rust, data races are not possible. This means that your Rust code will not have race conditions.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Rust, a future can only be created using async functions or async blocks.

True

False

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

The code will always print 1

True

False

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?