Threads and Processes Quiz

Threads and Processes Quiz

University

25 Qs

quiz-placeholder

Similar activities

PROGRAMMING 1

PROGRAMMING 1

University

20 Qs

pop 113 - 143

pop 113 - 143

University

30 Qs

Quiz for BBA

Quiz for BBA

University

25 Qs

Lec3_ Part3 (Interprocess Communication Quiz)

Lec3_ Part3 (Interprocess Communication Quiz)

University

22 Qs

Advanced Java UNIT-2(J2EE)-Quiz-4

Advanced Java UNIT-2(J2EE)-Quiz-4

University

20 Qs

Smart Home Devices Quiz

Smart Home Devices Quiz

8th Grade - University

20 Qs

Exploring Data for Insights

Exploring Data for Insights

9th Grade - University

20 Qs

OSS (QUIZ 4) CPU Scheduling Quiz

OSS (QUIZ 4) CPU Scheduling Quiz

University

30 Qs

Threads and Processes Quiz

Threads and Processes Quiz

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

Sarvar Usmanov

Used 2+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the key difference between a process and a thread?

A process is a lightweight unit of execution, whereas a thread is a separate program.

A process has its own memory space, while threads within a process share memory space.

Threads are isolated, while processes share resources.

Threads consume more system resources than processes.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why are threads faster than processes?

Threads run on a higher priority than processes.

Threads do not require context switching.

Threads share resources, reducing overhead.

Threads use separate memory spaces, making execution quicker.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a multithreaded application?

A basic text editor that processes one file at a time.

A web browser handling multiple open tabs independently.

A calculator performing a single computation.

A static website with no dynamic content.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do threads improve CPU and memory utilization?

By allowing multiple applications to run simultaneously.

By reducing the number of running processes.

By sharing resources within a process and enabling parallel execution.

By limiting the number of processes that can run at a time.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an example of a multithreaded program in Windows 11?

Microsoft Notepad

Microsoft Edge handling multiple downloads

A single-task script running in PowerShell

A command-line program that executes one operation at a time

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main difference between user threads and kernel threads?

User threads are managed by the operating system, while kernel threads are managed by applications.

User threads run independently of processes, while kernel threads rely on processes.

User threads are managed by user-level libraries, while kernel threads are managed by the OS.

Kernel threads are created by the user, while user threads are created by the OS.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a kernel thread?

A Python script using the threading module.

A background process running in a web browser.

A Windows 11 system thread handling file operations.

A script using JavaScript’s event loop.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?