0% found this document useful (0 votes)
182 views27 pages

Thread MCQ (Free PDF) - Objective Question Answer For Thread Quiz - Download Now!

Uploaded by

resmimr
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
182 views27 pages

Thread MCQ (Free PDF) - Objective Question Answer For Thread Quiz - Download Now!

Uploaded by

resmimr
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

English Get Started

Thread MCQ Quiz - Objective Question with Answer for Thread - Download Free PDF

Last updated on Mar 1, 2024

Thread MCQs consist of multiple choice questions on the concept of threads in computer programming, specifically in
multithreaded programming environments. Topics may include the concept of multithreading, thread synchronization,
thread states and their transitions, inter-thread communication, and the impact of multithreading on program
performance. A solid understanding of these topics is crucial for aspirants pursuing careers in software development,
particularly in system-level programming, and for those preparing for competitive examinations in computer science.
Boost your preparation by solving Thread MCQs with detailed answers right away.

Latest Thread MCQ Objective Questions


Thread Question 1:

In Linux Operating System, when _________ is invoked, it is passed a set of flags that
determine how much sharing is to take place between the parent and child tasks.

1. fork()

2. clone()

3. pthread()

4. thread()

Answer (Detailed Solution Below)

Option 2 : clone()

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 1/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

English Get Started

India's Super Teachers for all


govt. exams Under One Roof
FREE Demo Classes Available*

Enroll For Free Now

Thread Question 1 Detailed Solution

The correct answer is clone()

Key Points
clone(): This system call creates a new process, similar to fork(), but it also allows the child
process to share parts of its execution context with the calling process.
The execution context includes resources like memory space, file descriptor tables, etc.
The degree of sharing is controlled by a set of flags passed when invoked, which defines a
spectrum between traditional processes and threads.

Additional Information
fork(): This is a system call used in Unix and Linux-based systems that creates a new process. The
new process, called the child process, is an exact copy of the calling process, which is the parent
process. It gets a new process ID (PID) and inherits most of the properties of the parent process,
but they do not share the same memory space.
pthread_create(): This function is used to create a new thread in the context of the current
process in POSIX-compliant operating systems (like Unix or Linux). Threads created by
pthread_create share the same memory space but get their own stack memory.
There is no thread() system call in Linux.

EE
FR
Trusted by 5.7 Crore+ Students
India’s #1 Learning Platform

Start Complete Exam Preparation

Daily Live Practice Question Mock Tests &


MasterClasses Bank Quizzes

Get Started for Free

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 2/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

Thread Question 2:
English Get Started

In Kernel I/O Subsystem, A _____________ is a buffer that holds jobs for a device until it is
ready to take them.

1. Buffering

2. Caching

3. Spooling

4. Scheduling

5. None of the above

Answer (Detailed Solution Below)

Option 3 : Spooling

Thread Question 2 Detailed Solution

The correct answer is option 3.

Concept:

Many I/O services are provided by the kernel. Caching, scheduling, spooling, device reservation, and
error handling are all tasks provided by the kernel that rely on the hardware and device driver
infrastructure.

A spooling is a type of buffer that holds the jobs for a system until the system is ready to accept
the jobs.
Spooling considers discs to be a huge buffer capable of holding as many jobs as the device
Home requires until
Operating the output
Systems devices
Process are readyThread
and Thread to accept them. Download Thread MCQs Free PDF
Spooling allows a user to view and, if desired, delete specific data streams.

Hence the correct answer is Spooling.

Additional Information
Caching:

Caching involves storing a replica of data in a location that is easier to reach than the original.

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 3/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

Buffering:
English Get Started
The buffer is a section of main memory used to temporarily store or keep data sent between two
devices or between a device and an application.

EE
FR
Trusted by 5.7 Crore+ Students
India’s #1 Learning Platform

Start Complete Exam Preparation

Daily Live Practice Question Mock Tests &


MasterClasses Bank Quizzes

Get Started for Free

Thread Question 3:

Data structure maintained by the operating system to maintain information for each thread
within a process is known as ______.

1. Thread control block

2. Symbol table

3. Scheduling queue

Sign Up Now &


4.LiveProcess
Daily Classes control block
250+ Test series Study Material & PDF Get Free Access Now
Quizzes With Detailed Analytics + More Benefits

Answer (Detailed Solution Below)

Option 1 : Thread control block

Thread Question 3 Detailed Solution

The correct option is Thread Control Block.

Key Points
-
https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 4/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

The data structure maintained by the operating system to maintain information for each thread
within a process is known as a Thread Control Block (TCB). TCB contains
English information about the
Get Started
current state of the thread, such as its register values, stack pointer, program counter, and
scheduling information. It also contains a pointer to the process control block (PCB) of the
process to which the thread belongs.

Additional Information

A Symbol Table is a data structure used by compilers and other language processing tools to
store information about the names used in a program, such as variables, functions, classes, and
other identifiers. It is essentially a hash table that maps the name of each identifier to information
about its type, scope, and location in memory. This information is used by the compiler to
generate machine code, perform type checking, and detect errors in the program. The symbol
table is also used by debuggers to map machine code back to source code, and by language
interpreters to implement dynamic typing and other language features.

A scheduling queue is a data structure used by the operating system to keep track of the
different processes or threads waiting to be executed by the CPU. The scheduling queue can be
implemented as a simple queue or a more complex data structure such as a priority queue or a
circular queue. The scheduling algorithm of the operating system uses the information in the
scheduling queue to decide which process or thread to execute next. The scheduling queue also
provides information such as the priority level, state, and other attributes of each process or
thread in the queue.

Process Control Block (PCB) is a data structure used by the operating system to store
information about a process or a task being executed. It is also known as a Task Control Block
(TCB) or a Process Descriptor. The PCB contains important information about the process, such as
its process ID, state, priority, CPU registers, memory allocation, and other related details.

Therefore, the correct answer is Thread Control block.

EE
FR
Trusted by 5.7 Crore+ Students
India’s #1 Learning Platform

Start Complete Exam Preparation

Daily Live Practice Question Mock Tests &


MasterClasses Bank Quizzes

Get Started for Free

Thread Question 4:

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 5/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

If an operating system does not allow a child process to exist when the parent process has
English Get Started
been terminated, this phenomenon is called as-

1. Threading

2. Cascading termination

3. Zombie termination

4. Process killing

Answer (Detailed Solution Below)

Option 2 : Cascading termination

Thread Question 4 Detailed Solution

Threading - It is a lightweight process that the operating system can schedule and run concurrently
with other threads. The operating system creates and manages threads, and they share the same
memory and resources as the program that created them. This enables multiple threads to collaborate
and work efficiently within a single program.

Cascading Termination - It occurs in some systems, including VMS, which do not allow a child to exist
if its parent has terminated. In such systems, if a process terminates either normally or abnormally, then
all its children have to be terminated.

Zombie Termination - It is a process that has completed execution but still has an entry in the process
table. This occurs for the child processes, where the entry is still needed to allow the parent process to
read its child's exit status.

Process Killing - Terminating a process forcefully is called process killing.

EE
FR
India’s #1 Learning Platform Trusted by 5.7 Crore+ Students

Start Complete Exam Preparation

Daily Live Practice Question Mock Tests &


MasterClasses Bank Quizzes

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 6/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

Get Started for Free


English Get Started

Thread Question 5:

In Kernel I/O Subsystem, A _____________ is a buffer that holds jobs for a device until it is
ready to take them.

1. Buffering

2. Caching

3. Spooling

4. Scheduling

Answer (Detailed Solution Below)

Option 3 : Spooling

Thread Question 5 Detailed Solution

The correct answer is option 3.

Concept:

Many I/O services are provided by the kernel. Caching, scheduling, spooling, device reservation, and
error handling are all tasks provided by the kernel that rely on the hardware and device driver
infrastructure.

A spooling is a type of buffer that holds the jobs for a system until the system is ready to accept
the jobs.
Spooling considers discs to be a huge buffer capable of holding as many jobs as the device
requires until the output devices are ready to accept them.
Spooling allows a user to view and, if desired, delete specific data streams.

Hence the correct answer is Spooling.

Additional Information
Caching:

Caching involves storing a replica of data in a location that is easier to reach than the original.

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 7/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

Buffering:
English Get Started
The buffer is a section of main memory used to temporarily store or keep data sent between two
devices or between a device and an application.

EE
FR
India’s #1 Learning Platform Trusted by 5.7 Crore+ Students

Start Complete Exam Preparation

Daily Live Practice Question Mock Tests &


MasterClasses Bank Quizzes

Get Started for Free

Top Thread MCQ Objective Questions

Thread Question 6 Download Solution PDF

A thread is also called:

1. A virtual process

2. A lightweight process

3. A heavyweight process

4. A scheduler`

Answer (Detailed Solution Below)

Option 2 : A lightweight process

Thread Question 6 Detailed Solution Download Solution PDF

Concept

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 8/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

Threads are sometimes called lightweight processes because they have their own stack but can access
shared data. Because threads share the same address space as the process and other threads
English Get within
Startedthe
process, the operational cost of communication between the threads is low, which is an advantage.

Important Points:

Multiple threads of the same process share other resources of process except register, stack and stack
pointer. In particular, a process is generally considered to consist of a set of threads sharing an address
space, heap, static data, code segments and file descriptors.

Thread of the same process doesn't share program counter (register), stack, registers

Download Solution PDF Share on Whatsapp

EE
FR
Trusted by 5.7 Crore+ Students
India’s #1 Learning Platform

Start Complete Exam Preparation

Daily Live Practice Question Mock Tests &


MasterClasses Bank Quizzes

Get Started for Free

Thread Question 7 Download Solution PDF

The Kernel is _______ user-level threads.

1. a part of

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 9/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

2. the creator of English Get Started

3. unaware of

4. aware of

Answer (Detailed Solution Below)

Option 3 : unaware of

Thread Question 7 Detailed Solution Download Solution PDF

The correct option is (3)

unaware of

Concept:-

The kernel is unaware of the user-level threads because they are implemented at the user level.

Key Points
User-level threads can be created and managed more quickly. It takes longer to create and
manage threads at the kernel level. At the user level, implementation is handled by a thread
library.
Operating systems of this type that do not allow kernel-level threads can nonetheless use user-
level threads. It is more effective and quicker.
The kernel is the core component of an operating system for a computer (OS). All other
components of the OS rely on the core to supply them with essential services.
Like processes and interrupt handlers, kernel threads are kernel entities that the system scheduler
manages.
Although it executes within a process, a kernel thread is accessible to all other threads running on
the system.
Examples: Java threads, POSIX threads, etc. The user threads can be more easily implemented than
the kernel thread.

Download Solution PDF Share on Whatsapp

EE
FR
Trusted by 5.7 Crore+ Students
India’s #1 Learning Platform

Start Complete Exam Preparation

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 10/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!
Daily Live Practice Question Mock Tests &
MasterClasses Bank Quizzes
English Get Started

Get Started for Free

Thread Question 8 Download Solution PDF

The hardware allows privileged instructions to be executed only in _____ mode.

1. Kernel

2. User

3. Virtual

4. I/O mode

Answer (Detailed Solution Below)

Option 1 : Kernel

Thread Question 8 Detailed Solution Download Solution PDF

The hardware allows privileged instructions to be executed only in kernel mode.

Explanation:

Operating system provides dual mode of operation: user mode and kernel mode.

A bit called mode bit is added to the hardware of the computer to indicate the current mode: kernel (0)
and user (1).

If an attempt is made to execute a privilege instruction in user mode, hardware does not execute the
instruction itself but rather treats it as illegal and traps it to the operating system.

Instruction to switch to user mode is an example of privileged instruction. Some other examples include
I/O control, timer management and interrupt management.

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 11/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

Download Solution PDF Share on Whatsapp


English Get Started

EE
FR
Trusted by 5.7 Crore+ Students
India’s #1 Learning Platform

Start Complete Exam Preparation

Daily Live Practice Question Mock Tests &


MasterClasses Bank Quizzes

Get Started for Free

Thread Question 9 Download Solution PDF

Which of the following is/are shared by all the threads in a process?

I. Program counter

II. Stack

III. Address space

IV. Registers

1. I and II only

2. III only

3. IV only

4. III and IV only

Answer (Detailed Solution Below)

Option 2 : III only

Thread Question 9 Detailed Solution Download Solution PDF

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 12/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

Multiple threads of the same process share other resources of process except register, stack and stack
pointer. In particular, a process is generally considered to consist of a set of threads sharing
English anStarted
Get address
space, heap, static data, code segments and file descriptors.

Download Solution PDF Share on Whatsapp

EE
FR
Trusted by 5.7 Crore+ Students
India’s #1 Learning Platform

Start Complete Exam Preparation

Daily Live Practice Question Mock Tests &


MasterClasses Bank Quizzes

Get Started for Free

Thread Question 10 Download Solution PDF

Threads of a process share.

1. Global variables but not heap.

2. Heap but not global variables.

3. Neither Global variables nor heap.

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 13/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

4. Both heap and global variables. English Get Started

Answer (Detailed Solution Below)

Option 4 : Both heap and global variables.

Thread Question 10 Detailed Solution Download Solution PDF

Concepts:

Multiple threads of the same process share other resources of process except register, stack and stack
pointer.

A process is generally considered to consist of a set of threads sharing an address space, heap, static
data, code segments and file descriptors.

Diagram:

Download Solution PDF Share on Whatsapp

EE
FR
Trusted by 5.7 Crore+ Students
India’s #1 Learning Platform

Start Complete Exam Preparation

Daily Live Practice Question Mock Tests &


MasterClasses Bank Quizzes

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 14/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

Get Started for Free


English Get Started

Thread Question 11 Download Solution PDF

Which one of the following is FALSE?

1. User level threads are not scheduled by the kernel.

2. When a user level thread is blocked, all other threads of its process are blocked

3. Context switching between user level threads is faster than context switching between kernel
level threads.

4. Kernel level threads cannot share the code segment

Answer (Detailed Solution Below)

Option 4 : Kernel level threads cannot share the code segment

Thread Question 11 Detailed Solution Download Solution PDF

Concept:

Multiple threads of the same process share other resources of process except register and stack
pointer.
In particular, a process is generally considered to consist of a set of threads sharing an address
space, heap, static data, code segments and file descriptors.

Thread:

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 15/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

English Get Started

Option 4: FALSE

Kernel level threads can share the code segment

Option 1: TRUE

User level threads are scheduled by the thread library and kernel do not know about it. Therefore, User
level threads are not scheduled by the kernel.

Option 2: TRUE

When a user level thread is blocked, all other threads of its process are blocked.

Option 3: TRUE

Context switching between user level threads is faster than context switching between kernel

level threads because in user level thread, context switching nothing is saved and restored while for
kernel level thread, registers, program counter and stack pointer must be saved and restored.

Download Solution PDF Share on Whatsapp

EE
FR
Trusted by 5.7 Crore+ Students
India’s #1 Learning Platform

Start Complete Exam Preparation

Daily Live Practice Question Mock Tests &


MasterClasses Bank Quizzes

Get Started for Free

Thread Question 12 Download Solution PDF

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 16/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

English Get Started

Which of the following process of an operating system is shown in this figure?

1. Fundamental state transition

2. Scheduling of kernel level threads

3. Event handling action of kernel

4. Scheduling of user level threads

Answer (Detailed Solution Below)

Option 4 : Scheduling of user level threads

Thread Question 12 Detailed Solution Download Solution PDF

The correct answer is option 4.

Concept:

Scheduling of user-level threads in the user space that the application developer creates with the help
of a thread library to conduct certain subtasks. This thread control blocks mapping is performed by
thread library process control blocks.

The kernel is unaware of the existence of user-level threads because they are implemented by
users. They're treated as if they're single-threaded processes. Kernel-level threads are large and
slow, whereas user-level threads are small and quick.
A program counter (PC), stack, registers, and a short process control block are used to represent
them. In addition, there is no kernel involvement in user-level thread synchronization.

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 17/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

Hence the correct answer is Scheduling of user-level threads.


English Get Started
Additional Information
Kernel-Level Threads:

Kernel-level threads are handled directly by the operating system, and the kernel manages the threads.
The kernel is in charge of the process's context information as well as the process threads. Kernel-level
threads are therefore slower than user-level threads.

Alternate Method
Option 1: Fundamental state transition:

False, It is not a process state transition Diagram. An active process is normally in one of the five states
in the diagram. States are new, ready, running, blocked, and exit.

Option 2: Scheduling of kernel-level threads:

False, In the Kernel level thread, thread management is done by Kernel. Operating systems support the
Kernel level thread and Kernel level thread support one-to-one thread mapping. This mapping requires
each user thread with kernel thread. The operating system performs this mapping. But here PCB must
be kept in an area of memory protected from normal user process access.

Option 3: Event handling action of kernel

False, It is not a diagram of the event handling action of the kernel. Event Handling is the mechanism
that controls the event and decides what should happen if an event occurs.

Download Solution PDF Share on Whatsapp

EE
FR
India’s #1 Learning Platform Trusted by 5.7 Crore+ Students

Start Complete Exam Preparation

Daily Live Practice Question Mock Tests &


MasterClasses Bank Quizzes

Get Started for Free

Thread Question 13 Download Solution PDF

A process executes the code

fork();

fork();

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 18/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

fork();
English Get Started
The total number of child processes created is

1. 3

2. 4

3. 7

4. 8

Answer (Detailed Solution Below)

Option 3 : 7

Thread Question 13 Detailed Solution Download Solution PDF

The correct answer is option 3.

Concept:

Fork () is a system call that creates a new process. After a new child process is created, both processes
will execute the next instruction. If fork() returns a negative value, the creation of the child process was
unsuccessful. Return zero to the newly created process.

Explanation:

If there are n fork() calls, then the number of child processes created is 2n – 1.

Calculation:

n = 3,

Number of child processes created = 23 – 1 = 7​

Download Solution PDF Share on Whatsapp

EE
FR
India’s #1 Learning Platform Trusted by 5.7 Crore+ Students

Start Complete Exam Preparation

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 19/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!
Daily Live Practice Question Mock Tests &
MasterClasses Bank Quizzes
English Get Started

Get Started for Free

Thread Question 14 Download Solution PDF

A process is a program that performs ________ of execution.

1. At least four threads

2. Single thread

3. Parallel threads

4. Multiple threads

Answer (Detailed Solution Below)

Option 2 : Single thread

Thread Question 14 Detailed Solution Download Solution PDF

The correct answer is option 2.

Concept:

A process is a program that executes only one thread of code. Instructions are executed in a single
sequence in single-threaded processes. In other words, only one command at a time is processed.
There is only one point of execution at any given time during the program's execution. A thread is
analogous to a sequential program. A single thread has a start, a sequence, and an end.

A process is a computer program instance that is being executed by one or more threads.
It contains the program code as well as the program's activity.
A process may be composed of multiple threads of execution that execute instructions
concurrently, depending on the operating system (OS).

Hence the correct answer is a single thread.

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 20/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

Download Solution PDF Share on Whatsapp


English Get Started

EE
FR
India’s #1 Learning Platform Trusted by 5.7 Crore+ Students

Start Complete Exam Preparation

Daily Live Practice Question Mock Tests &


MasterClasses Bank Quizzes

Get Started for Free

Thread Question 15 Download Solution PDF

User level threads are threads that are visible to the programmer and are unknown to the kernel. The
operating system kernel supports and manages kernel level threads. Three different types of models
relate user and kernel level threads.

Which of the following statements is/are true ?

(a)

(i) The Many - to - one model maps many user threads to one kernel thread

(ii) The one - to - one model maps one user thread to one kernel thread

(iii) The many - to - many model maps many user threads to smaller or equal kernel threads

(b)

(i) Many - to - one model maps many kernel threads to one user thread

(ii) One - to - one model maps one kernel thread to one user thread

(iii) Many - to- many model maps many kernel threads to smaller or equal user threads

1. (a) is true; (b) is false

2. (a) is false; (b) is true

3. Both (a) and (b) are true

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 21/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

4. Both (a) and (b) are false English Get Started

Answer (Detailed Solution Below)

Option 1 : (a) is true; (b) is false

Thread Question 15 Detailed Solution Download Solution PDF

The correct answer is option 1.

CONCEPT:

Threads are lightweight processes because they have their own stack but can access shared data.
Because threads share the same address space as the process and other threads within the
process, the operational cost of communication between the threads is low, which is an
advantage.

The many–to–one model maps many user threads to one kernel thread.
The one–to–one model maps one user thread to one kernel thread.
The many–to–many model maps many user threads to smaller or equal kernel threads.

EXPLANATION

∴ Hence the correct answer is (a) is true; (b) is false.


https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 22/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

Additional Information
English Get Started
Multiple threads of the same process share other resources of the process except for register, stack, and
stack pointer. In particular, a process is generally considered to consist of a set of threads sharing an
address space, heap, static data, code segments, and file descriptors.

Thread of the same process doesn't share program counter (register), stack, registers

Download Solution PDF Share on Whatsapp

EE
FR
Trusted by 5.7 Crore+ Students
India’s #1 Learning Platform

Start Complete Exam Preparation

Daily Live Practice Question Mock Tests &


MasterClasses Bank Quizzes

Get Started for Free

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 23/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

English Get Started


Exam Preparation
Simplified
Learn, practice, analyse and improve

Get Started for Free

Trusted by 5.7 Crore+ Students

Related MCQ

Thread Mapping MCQ

Process MCQ

Process State MCQ

Schedulers MCQ

Exams

UGC NET RBI Assistant BPSC Exam Indian Navy Chargeman


UPPCS UPSC CSE Indian Navy MR BSF RO
AFCAT EPFO SSA JSSC JE DSSSB PGT
SSC GD Constable UPSC CDS Bihar Police Constable Chandigarh Police
SSC JE RRB JE Indian Navy SSR Constable
IBPS PO Delhi Police Constable IDBI Executive DFCCIL Executive
SBI PO JSSC CGL DSSSB TGT Bihar Primary Teacher
UPSC EPFO UP Police Constable Bihar Teacher Haryana CET Group D
SBI Clerk IBPS SO UPSSSC VDO DFCCIL Junior Executive
UGC CSIR NET DDA JE UPSC CAPF AC EMRS TGT
UPSC NDA IBPS RRB PO IBPS RRB Office Assistant EMRS PGT
SSC CPO RRB ALP Bihar Police SI SSC MTS & Havaldar

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 24/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

Bihar Secondary Teacher Bihar Senior Secondary UTET


Teacher English Get Started

Test Series

CTET Mock Test TCS Mock Test CUET Maths Mock Test NABARD Development
CUET Mock Test CDS Mock Test SSC GD Constable Mock Assistant Mock Test
NEET Mock Test MP GK Mock Test Test MAH MBS CST Mock Test
JEE Main Mock Test TCS NQT Mock Test IBPS SC Mock Test UGC NET English Mock Test
SSC CHSL Mock Test IBPS RRB PO Mock Test ESIC SSO Mock Test CUET Political Science Mock
NDA Mock Test SSC Stenographer Mock Infosys Mock Test Test
IBPS PO Mock Test Test CUET Physics Mock Test FCI Manager Mock Test
IBPS Clerk Mock Test WB TET Mock Test Haryana CET Mock Test CUET Chemistry Mock Test
SBI PO Mock Test RBI Assistant Mock Test Indian Army GD Mock Test IB Security Assistant Mock
UGC NET Paper 1 Mock REET Test Series UPPCL Executive Assistant Test
Test RRB NTPC Mock Test Mock Test CSIR NET Life Science Mock
AFCAT Mock Test LIC ADO Mock Test ECGC PO Mock Test Test
RRB Group D Mock Test UGC NET Commerce Mock NIMCET Mock Test UTET Test Series
AMCAT Mock Test Test CUET Economics Mock Test
LIC AAO Mock Test CAT Exam Mock Test CUET History Mock Test

SuperCoaching

UPSC Coaching CDS Coaching JSSC JE Coaching SSC Selection Post


BPSC Coaching AFCAT Coaching EMRS TGT and PGT Coaching
SSC JE Electrical Coaching Haryana CET Group D Coaching UPSC CAPF AC Coaching
SSC JE Mechanical Coaching Bihar Police Constable RBI Assistant Coaching
Coaching DFCCIL Junior Executive Coaching EPFO SSA Coaching
SSC JE Civil Coaching Coaching SSC MTS Coaching UP Police constable
UGC NET Coaching DFCCIL Operations & BD SSC GD Coaching Coaching
CSIR NET Coaching Coaching SSC CHSL Coaching EMRS Accountant Coaching
CTET Coaching DFCCIL Executive Coaching Delhi Police Constable RPSC Assistant Professor
SSC Coaching Bihar Primary Teacher Coaching Political Science Coaching
Railway Coaching Coaching SSC IMD Coaching IBPS Clerk Coaching
Bank Exams Coaching Chandigarh Police SSC CGL Tier 2 Coaching MP Police Constable
NDA Coaching Constable Coaching Coaching

Previous Year Papers

UPSC CSE Previous Year Delhi Police Constable Bihar Police Constable SSC CPO Previous Year
Papers Previous Year Papers Previous Year Papers Papers
SSC CGL Exam Previous RRB Office Assistant SSC MTS Previous Year UPSC NDA Previous Year
Year Papers Previous Year Papers Papers Papers
UGC NET Previous Year IBPS RRB PO Previous Year SSC CHSL Previous Year CDS Previous Year Papers
Papers Papers Papers AFCAT Previous Year Papers

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 25/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

MP Police Constable UP Police Constable Bihar Police SI Previous Year EPFO SSA Previous Year
Previous Year Papers Previous Year Papers Papers English Papers Get Started
Chandigarh Police UPSC CSAT Question Paper SSC Havaldar Previous Year UP Police SI Previous Year
Constable Previous Year Maharashtra Talathi Papers Papers
Papers Previous Year Papers UPSC CAPF AC Previous SSC JE Previous Year Papers
DDA ASO Previous Year CSIR NET Previous Year Year Papers SSC JE ME Previous Year
Papers Papers Indian Airforce Agniveer Papers
Maharashtra FOREST RBI GRADE B Previous Year Previous Year Papers SSC JE EE Previous Year
GUARD Previous Year Papers OSSC CGL Previous Year Papers
Papers IBPS CLERK Previous Year Papers SSSC JE CE Previous Year
Papers Papers
Latest Updates

EPFO Personal Assistant EMRS Hostel Warden BEML ITI Trainee Admit Haryana PGT Subject
ESIC Nursing Officer Answer Key Card Knowledge Test Date
BSPHCL JE EE BIhar Senior Secondary OPSC Dental Surgeon IOB SO
BSPHCL Technician Teacher 2nd Provisional Reject List SSC MTS Exam Dates 2024
WB Police Constable Answer Key APPSC Group 2_(State PSC) SSC CGL Exam Dates 2024
UPSSSC JE UP Polytechnic Lecturer OSSC Combined Technician SSC Stenographer Exam
Kolkata Police Constable MSEDCL Junior Assistant Services_(Engineering) Dates 2024
UPPSC APS Result SSC Head Constable Result BARC DAE SSC GD Constable Exam
WB Gram Panchayat APSC Assistant Engineer RPSC RAS Final Marks Dates 2024
BDL MT Result Last Date Extended HPPSC HPAS Mains Admit WRD Maharashtra
TNPSC AAO Admit Card MP High Court District Card Enumalator
MHSRB Staff Nurse Final Judge Answer Key IOCL Apprentice Admit JSSC Inter Level
Selection List UPPSC Staff Nurse Card Bihar Teacher Admit Card
Bihar Police Prohibition SI UKPSC JE Exam Dates OPSC Ayurvedic Officer WBPSC Junior Inspecting
Marksheet Bombay High Court Admit Card Officer
UIIC Assistant Stenographer UPSC IES Final Result Employment News PDF
PGCIL Junior Technician BEML Diploma Trainee ITBP Tradesman Result
Trainee Admit Card Admit Card

Skill Academy

Data Science with Python Business Analyst Course Full Stack Development
Course Digital Marketing Course Course

MCQ Questions

JAVA MCQ Research Methodology Computer Fundamentals Constitution of India MCQ


Python MCQ MCQ MCQ Cost Accounting MCQ
HTML MCQ Software Engineering MCQ Computer Graphics MCQ Project Management MCQ
Javascript MCQ Software Testing MCQ Economy MCQ Engineering Mechanics
MS Word MCQ Economics MCQ MCQ

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 26/27
6/2/24, 12:14 AM Thread MCQ [Free PDF] - Objective Question Answer for Thread Quiz - Download Now!

Determiners MCQ Statistics MCQ Chemistry MCQ


Agriculture MCQ Geography MCQ Biology MCQ English Get Started

Company Products Our Apps

About us Test Series


Testbook App
Careers We are hiring Testbook Pass
Download now
Testbook Edu Solutions Pvt. Teach Online on Testbook Online Courses
Ltd. Partners Online Videos Current Affairs
Media Practice Download now
1st & 2nd Floor, Zion
Building, Sitemap Blog
Follow us on
Plot No. 273, Sector 10, Refer & Earn

Kharghar, Books
Navi Mumbai - 410210

[email protected]
Toll Free:
1800 833 0800
Office Hours: 10 AM to 7 PM
(all 7 days)

Copyright © 2014-2022 Testbook Edu Solutions Pvt. Ltd.: All rights reserved User Policy Terms Privacy

https://testbook.com/objective-questions/mcq-on-thread--5eea6a1539140f30f369f32b 27/27

You might also like