0% found this document useful (0 votes)
31 views12 pages

Unit 1 QB

The document is a question bank for an operating systems course, containing multiple-choice and descriptive questions. It covers various topics such as the functions of operating systems, process management, memory management, virtualization, and system calls. Each question is categorized by type and includes the correct answer for objective questions.

Uploaded by

rolexabinash
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)
31 views12 pages

Unit 1 QB

The document is a question bank for an operating systems course, containing multiple-choice and descriptive questions. It covers various topics such as the functions of operating systems, process management, memory management, virtualization, and system calls. Each question is categorized by type and includes the correct answer for objective questions.

Uploaded by

rolexabinash
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

2/10/25, 12:02 PM 2023_UG08_231AI423_Question Bank

S.NO UNIT CHAP. PART Q.TYPE QUESTION CO KL QL MARK

1 1 1 A OBJ CO1 R E 1
The primary function of an operating system is to

A Manage hardware B Perform arithmetic calculations

C Provide power to the system D Control network connections


Answer is : A
2 1 1 A OBJ CO1 U M 1
An example of an operating system architecture is

A Microkernel B Database

C Spreadsheet D Word processor


Answer is : A
3 1 1 A OBJ CO1 R D 1
The core component of an operating system is the

A User interface B Kernel

C File system D Device driver


Answer is : B
4 1 1 A OBJ CO1 U E 1
A software program that allows the OS to communicate with hardware devices is
called

A Application software B Device driver

C Compiler D Scheduler
Answer is : B
5 1 1 A OBJ CO1 R M 1
In an operating system, memory management refers to

A Managing file permissions B Allocating and deallocating memory

C Handling input/output operations D Managing processes


Answer is : B
6 1 1 B DESC State the primary objectives of an operating system. CO1 R E 4
7 1 1 B DESC Describe the basic functions of an operating system in managing hardware resources. CO1 U E 4
8 1 1 C DESC Discuss the objectives and key functions of an operating system. How does an OS CO1 R M 12
manage hardware resources and provide an environment for application execution?
9 1 1 C DESC Explain the evolution of operating systems, from early systems such as batch CO1 U D 12
processing systems to modern-day operating systems. Highlight key milestones and
advancements in OS technology.
10 1 2 A OBJ CO1 U D 1
The OS component that manages processes is known as

A Scheduler B File system manager

C Memory manager D I/O manager


Answer is : A
11 1 2 A OBJ CO1 R E 1
The technique of executing multiple processes simultaneously on a CPU is known as

A Multithreading B Multitasking

C Parallel processing D Virtualization


Answer is : B
12 1 2 A OBJ CO1 U M 1
Which of the following is a type of operating system?

A Desktop OS B Word processor

C Spreadsheet D Web browser


Answer is : A
13 1 2 A OBJ CO1 R D 1
The system call used to allocate memory in Unix-like systems is

A malloc() B fork()

C exec() D exit()
Answer is : A
14 1 2 B DESC Identify the differences between monolithic and microkernel OS architectures. CO1 Ap M 4
15 1 2 B DESC Clarify the role of system calls in an operating system. CO1 U D 4
16 1 2 C DESC Describe the different structures of operating systems, including monolithic, CO1 Ap E 12
microkernel, and layered approaches. Compare their advantages and disadvantages
17 1 2 C DESC What are system calls? Explain their role in the communication between user CO1 An M 12
applications and the operating system, providing examples of various system calls.

172.16.102.251/apps/examportal/admin/PrintQuestions.php?q=MjAyM3x8VUcwOHx8MjMxQUk0MjM= 1/12
2/10/25, 12:02 PM 2023_UG08_231AI423_Question Bank
18 1 3 A OBJ CO1 U E 1
Which of the following operating systems supports multiple users?

A Windows 10 B Linux

C macOS D iOS
Answer is : B
19 1 3 A OBJ CO1 R M 1
The process of starting up a computer and loading the OS is called

A Booting B Compiling

C Formatting D Saving
Answer is : A
20 1 3 A OBJ CO1 U D 1
The function that manages access to files in an operating system is called

A File management B Process management

C Memory management D Security management


Answer is : A
21 1 3 A OBJ CO1 R E 1
A deadlock occurs when

Two processes are executing Processes are unable to proceed due to


A B
in parallel resource contention

C A process terminates D A process enters an infinite loop


Answer is : B
22 1 3 B DESC Describe how OS generation is different from the system boot process. CO1 Ap E 4
23 1 3 B DESC Provide an explanation of what a virtual machine is and its benefits to users. CO1 R M 4
24 1 3 C DESC Discuss the concept of OS generation and the process of system booting. Explain how a CO1 U D 12
computer system initializes and loads the operating system.
25 1 4 A OBJ CO1 U M 1
A key function of the operating system’s kernel is to

A Display graphical user interfaces B Provide network connectivity

C Manage system resources D Format storage devices


Answer is : C
26 1 4 A OBJ CO1 R D 1
The file system used in most Unix-like operating systems is

A FAT32 B NTFS

C ext4 D HFS+
Answer is : C
27 1 4 A OBJ CO1 U E 1
Which OS scheduling algorithm is used by Linux?

A Round Robin B Shortest Job First

C Completely Fair Scheduler D First-Come-First-Serve


Answer is : C
28 1 4 B DESC Offer a definition of virtualization and outline the role of hypervisors. CO1 U D 4
29 1 4 B DESC What are system programs in an operating system? Give two examples CO1 Ap E 4
30 1 5 A OBJ CO1 R M 1
In a microkernel operating system, the kernel is responsible for

Handling all the system’s


A Handling only essential system functions B
processes

Managing file systems and I/O


C D Running user programs
operations
Answer is : A
31 1 5 A OBJ CO1 U D 1
Which type of memory is used to temporarily store data being actively processed?

A Secondary memory B RAM

C ROM D Hard drive


Answer is : B
32 1 5 A OBJ CO1 R E 1
Virtualization allows

Multiple operating systems to run on a single Direct interaction with


A B
machine hardware

C Limiting access to resources D Single-process execution


Answer is : A
33 1 5 B DESC Highlight the distinctions between Type 1 and Type 2 hypervisors. CO1 U M 4
34 1 5 B DESC Discuss the concept of process scheduling in an operating system. CO1 Ap D 4
35 1 5 C DESC Explain the concept of a virtual machine (VM). How does virtualization enable multiple CO1 Ap M 12
operating systems to run on a single physical machine, and what are its advantages

172.16.102.251/apps/examportal/admin/PrintQuestions.php?q=MjAyM3x8VUcwOHx8MjMxQUk0MjM= 2/12
2/10/25, 12:02 PM 2023_UG08_231AI423_Question Bank
36 1 6 A OBJ CO1 U M 1
A hypervisor is used to

A Manage virtual machines B Create directories

C Monitor CPU usage D Perform memory management


Answer is : A
37 1 6 A OBJ CO1 R D 1
Which of the following is a system program in an OS?

A Text editor B Compiler

C Spreadsheet D Web browser


Answer is : B
38 1 6 A OBJ CO1 U E 1
In a multi-user OS, each user typically has

A A unique user account B Access to all system resources

C No process synchronization D Same file permissions


Answer is : A
39 1 6 A OBJ CO1 R M 1
An example of secondary storage is

A RAM B Hard disk

C CPU cache D Register


Answer is : B
40 1 6 B DESC What is the purpose of memory management in an operating system? CO1 R E 4
41 1 6 C DESC Differentiate between the types of virtualization: full virtualization, para-virtualization, CO1 U D 12
and hardware-assisted virtualization. Discuss their characteristics and use cases.
42 1 7 A OBJ CO1 U D 1
A process in an operating system is

A A running program B A program waiting for execution

C A file being edited D A section of memory


Answer is : A
43 1 7 A OBJ CO1 R E 1
Which of the following techniques is used to provide more memory than physically
available?

A Virtual memory B Segmentation

C Paging D Caching
Answer is : A
44 1 7 A OBJ CO1 U M 1
Which of the following is used for process synchronization?

A Semaphore B Directory

C Cache D File system


Answer is : A
45 1 7 A OBJ CO1 R D 1
A type of OS that guarantees specific response times is

A Real-Time OS B Multi-user OS

C Distributed OS D Network OS
Answer is : A
46 1 7 B DESC Outline the function of the operating system's file management system. CO1 U M 4
47 1 7 B DESC Describe the system boot process and the steps involved in it. CO1 Ap D 4
48 1 7 C DESC Explain the concept of hypervisors and their role in virtualization. Compare Type 1 and CO1 Ap M 12
Type 2 hypervisors in terms of functionality, performance, and use cases
49 1 8 A OBJ CO1 U E 1
The process control block (PCB) stores

A Information about system drivers B Information about a running process

C Information about user input D System resource usage


Answer is : B
50 1 8 A OBJ CO1 R M 1
Which of the following is true about a monolithic kernel?

A It has a small code base B It handles all OS services within the kernel

C It only provides minimal services D It uses user-space components extensively


Answer is : B
51 1 8 A OBJ CO1 U D 1
The function of an OS scheduler is to

A Schedule when processes can execute B Manage memory allocation

C Handle file system operations D Monitor system performance


Answer is : A
172.16.102.251/apps/examportal/admin/PrintQuestions.php?q=MjAyM3x8VUcwOHx8MjMxQUk0MjM= 3/12
2/10/25, 12:02 PM 2023_UG08_231AI423_Question Bank
52 1 8 A OBJ CO1 R E 1
Which of the following is NOT an example of primary storage?

A RAM B Cache

C Hard disk D Register


Answer is : C
53 1 8 A OBJ CO1 U M 1
Which type of operating system is most likely to use a microkernel?

A Desktop OS B Real-Time OS

C Embedded OS D Multi-user OS
Answer is : C
54 1 8 B DESC Summarize the advantages of virtualization in modern computing. CO1 Ap E 4
55 1 8 C DESC Discuss the various services provided by an operating system, such as process CO1 Ap D 12
management, memory management, file systems, and device management. How do
these services ensure efficient and secure operation?
56 1 9 A OBJ CO1 R D 1
A resource that can cause a deadlock in an OS is

A CPU B Memory

C Disk drives D Printer


Answer is : D
57 1 9 A OBJ CO1 U M 1
In an OS, a semaphore is used to

A Manage disk storage B Synchronize process execution

C Monitor CPU usage D Handle memory paging


Answer is : B
58 1 9 A OBJ CO1 U E 1
The system call used to terminate a process is

A fork() B exec()

C exit() D wait()
Answer is : C
59 1 9 B DESC What is a user interface in an operating system? How do OS interfaces facilitate user CO1 Ap M 4
interaction?
60 1 9 C DESC Describe the user and operating system interface. How does the OS handle user CO1 Ap E 12
interactions through command-line interfaces (CLI), graphical user interfaces (GUI),
and system calls?
61 2 1 A OBJ CO2 R E 1
What is the main function of the process scheduler in an operating
system?

To allocate memory to processes


A. B. To allocate CPU time to processes

To provide file management for


C. D. To synchronize processes
processes
Answer is : B
62 2 1 A OBJ CO2 U E 1
If you want to execute more than one program at a time, then the system software
you are using must be capable of

A. Word processing B. Virtual memory

C. Compiling D. Multitasking

Answer is : D
63 2 1 A OBJ CO2 R E 1
In a multi-programming environment

The processor executes more than one The programs are developed by more
A. B.
process at a time than one person
More than one process resides in the A single user can execute many
C. D.
memory programs at the same time
Answer is : C

172.16.102.251/apps/examportal/admin/PrintQuestions.php?q=MjAyM3x8VUcwOHx8MjMxQUk0MjM= 4/12
2/10/25, 12:02 PM 2023_UG08_231AI423_Question Bank
64 2 1 A OBJ CO2 U E 1
Which of the following scheduling algorithms is non-preemptive?

A. Round Robin B. First-In First-Out

Multilevel Queue Scheduling with


C. Multilevel Queue Scheduling D.
Feedback
Answer is : B
65 2 1 B DESC CO3 R E 4
Consider the following set of processes, assumed to have arrived at time 0. Consider
the CPU scheduling algorithms Shortest Job First (SJF) and Round Robin (RR). For RR,
assume that the processes are scheduled in the order P1, P2, P3, P4.

Processes P1 P2 P3 P4

Burst time( in ms) 8 7 2 4

If the time quantum for RR is 4 ms, then the absolute value of the difference between
the average turnaround times (in ms) of SJF and RR (round off to 2 decimal places) is?

66 2 1 B DESC CO2 Ap E 4
Differentiate between preemptive and non-preemptive scheduling algorithms in detail.

67 2 1 C DESC CO2 Ap E 12
Explain Process Concepts in detail

68 2 2 A OBJ Consider a set of n tasks with known runtimes r1,r2,.....rn to be run on a uniprocessor CO2 R E 1
machine. Which of the following processor scheduling algorithms will result in the
maximum throughput?

A. Round Robin B. Shortest job first

C. FCFS D. Priority Scheduling

Answer is : B
69 2 2 A OBJ CO2 U E 1
The signal operation of the semaphore basically works on the basic_____system call.

A. Continue () B. Wakeup()

C. Getup() D. Start()

Answer is : B
70 2 2 A OBJ CO2 R E 1
Operating system provides the different types of services to the user. For accessing
these services, Who will provide by the interface?

A. System calls B. Application Programming Interface

C. Native library. D. None of the above

Answer is : A
71 2 2 A OBJ CO2 U E 1
Which of the following IPC mechanisms is used for communication between
processes running on different machines?

A. Shared memory B. Message passing

C. Pipes D. Sockets

Answer is : D
72 2 2 B DESC CO2 Ap E 4
Examine the average waiting time for the processes using non preemptive SJF
scheduling algorithm.

Process Arrival time Burst Time

P1 0 7

172.16.102.251/apps/examportal/admin/PrintQuestions.php?q=MjAyM3x8VUcwOHx8MjMxQUk0MjM= 5/12
2/10/25, 12:02 PM 2023_UG08_231AI423_Question Bank

P2 2 4

P3 4 1

P4 5 4

P5 3 4

73 2 2 B DESC CO2 U E 4
Discuss any one of the algorithmic evaluation method.

74 2 2 C DESC CO2 Ap M 12
Assume that the following set of workload below. All five Processes arrive at time 0, in
the order given, with the length of the CPU bursts given in milliseconds.

Process Burst Time

P1 10

P2 19

P3 3

P4 7

P5 12

Consider the FCFS, SJF and RR (quantum = 10 milliseconds) scheduling algorithms for
this set of processes. Which algorithm would give the minimum average waiting time?

75 2 3 A OBJ CO2 R E 1
In IPC, a 'pipe' is used for:

Connecting processes for


A. Data storage between processes B.
communication in a unidirectional flow
Transferring large files between
C. D. Synchronizing processes
processes
Answer is : B
76 2 3 A OBJ CO2 U E 1
In message-passing communication, the two types of
communication can be:

A. Synchronous and Asynchronous B. Process and Thread

C. Shared and Unshared D. Buffered and Non-buffered

Answer is : A
77 2 3 A OBJ CO2 R E 1
In a client-server model, which of the following is typically the
role of the client?

To store all data


A. B. To handle processing requests

C. To request services or resources from D. To manage the network communication


the server

Answer is : C

172.16.102.251/apps/examportal/admin/PrintQuestions.php?q=MjAyM3x8VUcwOHx8MjMxQUk0MjM= 6/12
2/10/25, 12:02 PM 2023_UG08_231AI423_Question Bank
78 2 3 A OBJ CO2 U E 1
Which of the following protocols enables secure communication
between the client and server over the internet?

A. HTTP B. FTP

C. HTTPS D. SMTP

Answer is : C
79 2 3 B DESC CO2 U M 4
Describe the life cycle process of a process in operating system

80 2 3 C DESC CO2 U E 12
Discuss the methods to implement the communication in client-server system.

81 2 3 C DESC CO2 U E 12
Summarize the two models in inter-process communication. What are the strength and
weakness of the two approaches?

82 2 4 A OBJ CO2 R E 1
What is the primary goal of process scheduling in an operating
system?

To maximize the throughput of the To ensure the fair allocation of resources


A. B.
system to processes

C. To prevent process starvation D. All of the above

Answer is : D
83 2 4 A OBJ CO2 U E 1
In the Round Robin (RR) scheduling algorithm, what determines
the maximum time a process can run before it is preempted?

A. The size of the process B. The priority of the process

The quantum or time slice assigned to


C. D. The CPU utilization of the process
each process
Answer is : C
84 2 4 A OBJ CO2 R E 1
What does the term "starvation" refer to in process scheduling?

The process that is not given enough The process that consumes excessive
A. B.
CPU time to complete CPU resources
The process that completes execution The process that causes a deadlock in
C. D.
very quickly the system
Answer is : A
85 2 4 A OBJ CO2 U E 1
Which of the following is a characteristic of the First Come First Serve (FCFS)
scheduling algorithm?

A)

B)

C)

D)
It minimizes the waiting time for all
A. It is pre-emptive B.
processes
It is a priority-based scheduling
C. It is non-pre-emptive D.
algorithm
Answer is : C
86 2 4 B DESC CO2 U M 4
What is a Process Control Block (PCB)? What is its role in process management?

87 2 4 C DESC CO2 R E 12
Discuss various CPU scheduling algorithms with examples (FCFS, SJF, Round Robin, and
Priority Scheduling).

172.16.102.251/apps/examportal/admin/PrintQuestions.php?q=MjAyM3x8VUcwOHx8MjMxQUk0MjM= 7/12
2/10/25, 12:02 PM 2023_UG08_231AI423_Question Bank
88 2 5 A OBJ CO2 U E 1
In priority scheduling algorithm

CPU is allocated to the process with CPU is allocated to the process with
A. B.
highest priority lowest priority
Equal priority processes cannot be
C. D. None of the mentioned
scheduled
Answer is : A
89 2 5 A OBJ CO2 R E 1
Which of the following kernel is used in Android?

A. MAC B. Windows

C. Linux D. Red hat

Answer is : C
90 2 5 A OBJ CO2 U E 1
Which of the following scheduling algorithms is preemptive scheduling?

A. FCFS Scheduling B. SJF Scheduling

C. Network Scheduling D. SRTF Scheduling

Answer is : B
91 2 5 B DESC CO2 R E 4
Define Long term Sheduler,Short term Scheduler, Medium Term Scheduler

92 2 5 C DESC CO2 Ap M 12
Consider the following set of processes, with the length of the CPU burst given in
milliseconds:

Process Burst Time Priority

P1 2 2

P2 1 1

P3 8 4

P4 4 2

P5 5 3

a) Make use of three Gantt charts and illustrate the execution of these processes
using the following scheduling algorithms: FCFS, SJF, Non-pre-emptive priority (a
larger priority number implies a higher priority)

(4 marks)

b) What is the turnaround time of each process for each of the scheduling
algorithms in part a? (8 marks)

93 2 5 C DESC CO2 Ap M 12
Consider the set of 5 processes whose arrival time and burst time are given below-

Process Id Arrival time Burst time

P1 3 1

P2 1 4

P3 4 2

P4 0 6

P5 2 3

172.16.102.251/apps/examportal/admin/PrintQuestions.php?q=MjAyM3x8VUcwOHx8MjMxQUk0MjM= 8/12
2/10/25, 12:02 PM 2023_UG08_231AI423_Question Bank

If the CPU scheduling policy is SJF non-preemptive, calculate the average waiting time
and average turnaround time.

94 2 6 A OBJ CO2 R E 1
Which of the following two operations are provided by the IPC facility?

A. Write & delete message B. Delete & receive message

C. Send & delete message D. Receive & send message

Answer is : D
95 2 6 A OBJ CO2 U E 1
Which of the following scheduling algorithm is non-preemptive scheduling?

A. SJF scheduling B. Round-Robin scheduling

C. SRTF scheduling D. None of mentioned

Answer is : D
96 2 6 A OBJ CO2 R E 1
Which of the following virtual machine is used by the Android operating system?

A. JVM B. Dalvik virtual machine

C. Simple virtual machine D. None of the mentioned

Answer is : B
97 2 6 A OBJ CO2 U E 1
Which of the following component does not belong to PCB (Process Control Block)?

A. CPU registers B. CPU scheduling information

C. Operating System information D. Accounting information

Answer is : C
98 2 6 B DESC CO2 U E 4
What are the Various Scheduling Creteria?Describe it.

99 2 6 B DESC CO2 Ap M 4
What are the steps followed in Client-Server Communication?

100 2 6 B DESC CO2 U E 4


What is Inter-process Communication (IPC)? Why is it needed?

101 2 6 C DESC CO2 An M 12


Consider the set of 5 processes whose arrival time and burst time are given below-

Process Id Arrival time Burst time

P1 0 5

P2 1 3

P3 2 1

P4 3 2

P5 4 3

If the CPU scheduling policy is Round Robin with time quantum = 2 unit, calculate the
average waiting time and average turnaround time

102 2 7 A OBJ CO2 R E 1


Answer is : A

172.16.102.251/apps/examportal/admin/PrintQuestions.php?q=MjAyM3x8VUcwOHx8MjMxQUk0MjM= 9/12
2/10/25, 12:02 PM 2023_UG08_231AI423_Question Bank

How many types of buffer overflow in the operating system?

A. Two B. Six

C. Seven D. Five

103 2 7 A OBJ CO2 U E 1


The following program results in the creation of

main()

if(fork()>0)

sleep(100);

A. An orphan process B. A zombie process

C. A process that executes forever D. None of the above

Answer is : B
104 2 7 A OBJ CO2 R E 1
How many times the following C program prints 'yes'?

main()

fork();fork();printf("yes");

A. Only Once B. Twice

C. Four Times D. Eight Times

Answer is : C
105 2 7 A OBJ CO2 U E 1
The following C program is executed on a Unix/Linux system

#include < unistd.h >

int main ()

int i ;

for (i=0; i<10; i++)

if (i%2 == 0) fork ( ) ;

return 0 ;

The total number of child processes created is _____.

A. 31 B. 25

C. 30 D. 29

Answer is : A
106 2 7 B DESC CO2 Ap M 4
Discuss the concept of Process Scheduling and describe its types.

172.16.102.251/apps/examportal/admin/PrintQuestions.php?q=MjAyM3x8VUcwOHx8MjMxQUk0MjM= 10/12
2/10/25, 12:02 PM 2023_UG08_231AI423_Question Bank
107 2 8 A OBJ CO2 R E 1
The address of the next instruction to be executed by the current process is provided
by the

A. CPU registers B. Program counter

C. Process stack D. Pipe

Answer is : B
108 2 8 A OBJ The maximum number of processes that can be in Ready state for a computer system CO2 U E 1
with n CPUs is

A. n B. n2

C. 2n D. Independent of n

Answer is : D
109 2 8 A OBJ CO2 R E 1
What is the ready state of a process?

When process is scheduled to run after When process is unable to run until
A. B.
some execution some task has been completed

C. When process is using the CPU D. None of the above

Answer is : A
110 2 8 A OBJ CO2 U E 1
Which of the following two operations are provided by the IPC facility?

Delete & receive message


A. Write & delete message B.

C. Send & delete message D. Receive & send message

Answer is : D
111 2 8 B DESC CO2 R M 4
What are threads? What is the difference between a process and a thread

112 2 8 B DESC CO2 Ap E 4


List out the various threading issues in multithreading

113 2 8 C DESC CO2 Ap M 12


Many operating systems support kernel thread and user thread in a combined way.
Example of such system is Solaris. Analyze which application is dividing its task into
individual threads and discuss the various models used in this application with suitable
example

114 2 9 A OBJ CO2 R E 1


What is inter-process communication?

Communication allows processes to


A. Communication within the process B.
communicate each other
Communication between two threads of
C. D. None of the above
same process
Answer is : B
115 2 9 A OBJ CO2 U E 1
A thread is usually defined as a ''light weight process'' because an operating
system (OS) maintains smaller data structures for a thread than for a process. In
relation to this, which of the following is TRUE?

On per-thread basis, the operating


The operating system does not maintain
A. system maintains only CPU register B.
a separate stack for each thread
state
On per-thread basis, the operating On per-thread basis, the operating
C. system does not maintain virtual D. system maintains only scheduling and
memory state accounting
Answer is : C

172.16.102.251/apps/examportal/admin/PrintQuestions.php?q=MjAyM3x8VUcwOHx8MjMxQUk0MjM= 11/12
2/10/25, 12:02 PM 2023_UG08_231AI423_Question Bank
116 2 9 A OBJ If a thread invokes the exec system call, then CO2 R E 1

Only the exec executes as a separate The exec is ignored as it is invoked by a


A. B.
process thread
The program specified in the parameter
C. D. None of the mentioned
to exec will replace the entire process
Answer is : C
117 2 9 A OBJ CO2 U E 1
Which of the following multithreading model maps many user level threads to one
kernel level thread?

A. Many to many B. Many to one

C. One to one D. One to many

Answer is : B
118 2 9 B DESC CO2 Ap M 4
What is Many to Many Model? What are its Advantages and Disadvantages?

119 2 9 B DESC CO2 Ap E 4


Differentiate between user-level threads and kernel-level threads.

120 2 9 C DESC CO2 U M 12


A thread is a unit of execution within a process. In terms of memory, a thread typically
has its own stack (to store function call information) and program counter (to store the
location of the instruction being executed). Each thread may access the process’s code
segment and data segment and open files. However, the exact memory layout and
sharing of resources between threads depends on the operating system and
programming language used.

(i) How threads can be successfully implemented in web server? (4)

(ii) Differentiate processes and threads. (4)

(iii) Explain the types of threads. (4)

172.16.102.251/apps/examportal/admin/PrintQuestions.php?q=MjAyM3x8VUcwOHx8MjMxQUk0MjM= 12/12

You might also like