[F1-FORMATIVE] Formative Assessment for Module 2

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/31

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:22 AM on 4/12/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

32 Terms

1
New cards

It is possible for two tasks to execute concurrently using a single-core processor.

Group of answer choices

True

False

True

2
New cards

In most operating systems, the user determines when each of the threads and processes gets scheduled to execute.

Group of answer choices

True

False

False

3
New cards

If Thread A calls the lock() method on a Lock that is already possessed by Thread B, Thread A will block and wait until Thread B calls the unlock() method.

Group of answer choices

True

False

True

4
New cards

A process contains one or more other processes.

Group of answer choices

True

False

False

5
New cards

In most operating systems, the _____ determines when each of the threads and processes gets scheduled to execute.

Group of answer choices

application software

user

operating system

processor hardware

operating system

6
New cards

A thread that calls the join method on another thread will enter the blocked state until the other thread finishes executing.

Group of answer choices

True

False

True

7
New cards

A process contains one or more threads.

Group of answer choices

True

False

True

8
New cards

Which of these applications would benefit the most from parallel execution?

Group of answer choices

math library for processing large matrices

graphical user interface (GUI) for an accounting application

system logging application that frequently writes to a database

tool for downloading multiple files from the Internet at the same time

math library for processing large matrices

9
New cards

In most operating systems, the processor hardware determines when each of the threads and processes gets scheduled to execute.

Group of answer choices

True

False

False

10
New cards

Graphical user interface (GUI) for an accounting application would benefit much from parallel execution.

Group of answer choices

True

False

False

11
New cards

The operating system assigns each process a unique process ID number.

Group of answer choices

True

False

True

12
New cards

It is possible for two tasks to execute concurrently or in parallel using a single-core processor.

Group of answer choices

True

False

True

13
New cards

The operating system assigns each process a unique number of threads.

Group of answer choices

True

False

False

14
New cards

A process can be terminated due to normal exit and fatal error.

Group of answer choices

True

False

True

15
New cards

System logging application that frequently writes to a database would benefit much from parallel execution.

Group of answer choices

True

False

False

16
New cards

Processes are faster to switch between than threads.

Group of answer choices

True

False

False

17
New cards

It is possible for two tasks to execute _____ using a single-core processor.

Group of answer choices

concurrently

None of the mentioned

concurrently or in parallel

in parallel

concurrently

18
New cards

Math library for processing large matrices would benefit much from parallel execution.

Group of answer choices

True

False

True

19
New cards

If Thread A calls the lock() method on a Lock that is already possessed by Thread B, Thread A will immediately take possession of the Lock from Thread B.

Group of answer choices

True

False

False

20
New cards

A process can be both single threaded and multithreaded.

Group of answer choices

True

False

False

21
New cards

The operating system assigns each process a unique CPU core.

Group of answer choices

True

False

True

22
New cards

The time required to create a new thread in an existing process is greater than the time required to create a new process.

Group of answer choices

True

False

False

23
New cards

Why would ThreadA call the ThreadB.join() method?

Group of answer choices

ThreadA needs to terminate ThreadB immediately.

ThreadB is blocked so ThreadA needs to tell it to continue executing.

ThreadB needs to wait until after ThreadA has terminated to continue.

ThreadA needs to wait until after ThreadB has terminated to continue.

ThreadA needs to wait until after ThreadB has terminated to continue.

24
New cards

The operating system assigns each process a unique process name.

Group of answer choices

True

False

False

25
New cards

Processes are considered more "lightweight" than threads.

Group of answer choices

True

False

False

26
New cards

A _____ contains one or more _____.

Group of answer choices

process; threads

thread; other threads

thread; processes

process; other processes

process; threads

27
New cards

A thread contains one or more processes.

Group of answer choices

True

False

False

28
New cards

Processes are simpler to communicate between than threads.

Group of answer choices

True

False

False

29
New cards

If you run multiple Java applications at the same time, they will execute in lower.

Group of answer choices

True

False

True

30
New cards

Every thread is independent and has its own separate address space in memory.

Group of answer choices

True

False

False

31
New cards

A thread that calls the join method on another thread will enter the new state until the other thread finishes executing.

Group of answer choices

True

False

False

32
New cards

Tool for downloading multiple files from the Internet at the same time would benefit much from parallel execution.

Group of answer choices

True

False

True