OS - Question Bank
OS - Question Bank
Question Bank
OPERATING SYSTEMS (KCS-401)
(Even Semester, 2023-24)
S. No. Description
1. Cover Page
2. Vision and Mission of the Institute
3. Vision and Mission of the Department, PEOs, POs, PSOs
Course Description with:
4.
i) CO, CO-PO/PSO Mapping,
ii) Syllabus
iii) Course Plan
iv) Evaluation Scheme
5 Unit-wise question Bank
6. Resource used
GALGOTIAS COLLEGE OF ENGINEERING AND TECHNOLOGY
Knowledge Park-II, Greater Noida, U.P.
Department Vision
To be center of excellence in providing contemporary education and research in the field of Computer
Science and Engineering.
Department Mission
• M1: To create conducive learning environment through effective teaching and learning process
promoting quality education and research
• M2: To promote research, consultancy and entrepreneurship development through industry -
institute collaborations
• M3: To make the students corporate ready with the right spirit and interpersonal skills
• PEO2: Demonstrate and analyze real life problems of the society and produce innovative solutions.
• PEO3: Exhibit amicable communication skills and team work in the industry and research
organization through professional development and lifelong learning.
GALGOTIAS COLLEGE OF ENGINEERING AND TECHNOLOGY
Knowledge Park-II, Greater Noida, U.P.
Program Statement
Outcomes
PO1 Engineering knowledge: Apply the knowledge of mathematics, science, engineering fundamentals,
and an engineering specialization to the solution of complex computer engineering problems.
PO2 Problem analysis: Identify, formulate, review research literature, and analyse complex computer
engineering problems reaching substantiated conclusions using first principles of mathematics, natural
sciences, and engineering sciences.
PO3 Design/development of solutions: Design solutions for complex computer engineering problems and
design system components or processes that meet the specific needs with appropriate considerations
for the public health and safety, and the cultural, societal, and environmental considerations.
PO4 Conduct investigations of complex problems: Use research-based knowledge and research methods
including design of experiments, analysis and interpretation of data, and synthesis of the information
to provide conclusions.
PO5 Modern tool usage: Create, select, and apply appropriate techniques, resources, and modern
engineering and IT tools including prediction and modelling to complex engineering activities with an
understanding of the limitations
PO6 The engineer and society: Apply reasoning informed by the contextual knowledge to assess societal,
health, safety, legal and cultural issues and the consequent relevant to the professional engineering
practices
PO7 Environment and sustainability: Understand the impact of the professional engineering solutions in
societal and environmental contexts, and demonstrate the knowledge of, and need for sustainable
development
PO8 Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norm of
the engineering practices
PO9 Individual and team work: Function effectively as an individual, and as a member or leader in diverse
teams, and in multidisciplinary settings.
PO10 Communications: Communicate effectively on complex engineering activities with the engineering
community and with society at large, such as, being able to comprehend and write effective reports
and design documentation, make effective presentations, and give and receive clear instructions
PO11 Project management and finance: Demonstrate knowledge and understanding of the engineering and
management principles and apply these to one’s own work, as a member and leader in a team, to
manage projects and in multidisciplinary environments.
PO12 Life-long learning: Recognize the need for, and have the preparation and ability to engage in
independent and life learning in the broadest context of technological change.
Program Statement
Specific Engineering graduates will be able to:
Outcomes
(PSO)
PSO1 Design computer-based systems using theoretical computer science that demonstrate the
comprehension of the trade-offs involve in the design choice.
PSO2 Design, develop and test software for different applications with real time constraints.
GALGOTIAS COLLEGE OF ENGINEERING AND TECHNOLOGY
Knowledge Park-II, Greater Noida, U.P.
Department of CSE & Allied Specialized Branches
Even Semester, 2023-24
LTPC :3003
Tue: 09:30-10:20 AM
Wed: 10:20-11.10 AM
Thurs: 3:20-4:10 PM,
Course Description:
This course examines the important problems in operating system design and implementation.
The operating system provides an established, convenient, and efficient interface between
user programs and the bare hardware of the computer on which they run. The operating system
is responsible for sharing resources (e.g., disks, networks, and processors), providing common
services needed by many different programs (e.g., file service, the ability to start or stop
processes, and access to the printer), and protecting individual programs from interfering with
one another. The course will start with a brief historical perspective of the evolution of
operating systems over the last fifty years and then cover the major components of most
operating systems. This discussion will cover the trade-offs that can be made between
performance and functionality during the design and implementation of an operating system.
Emphasis will be given to three major OS subsystems: process management (processes,
threads, CPU scheduling, synchronization, and deadlock), memory management
(segmentation, paging, swapping), and file systems; and on operating system support for
distributed systems.
GALGOTIAS COLLEGE OF ENGINEERING AND TECHNOLOGY
Knowledge Park-II, Greater Noida, U.P.
Department of CSE & Allied Specialized Branches
Even Semester, 2023-24
COURSE OUTCOMES
Program
Specific
Program Outcomes (PO)
Course Outcomes
Outcomes (PSO)
PSO1
PSO2
PO10
PO11
PO12
PO1
PO2
PO3
PO4
PO5
PO6
PO7
PO8
PO9
KCS-401.1 2 2 2 2 - - - - - - - 2 2 2
KCS-401.2 3 3 2 2 - - - - - - - 3 3 3
KCS-401.3 3 3 2 2 - - - - - - - 3 3 3
KCS-401.4 3 3 2 2 - - - - - - - 3 3 3
KCS-401.5 3 3 2 2 2 - - - - - - 3 3 3
SYLLABUS
GALGOTIAS COLLEGE OF ENGINEERING AND TECHNOLOGY
Knowledge Park-II, Greater Noida, U.P.
Department of CSE & Allied Specialized Branches
Even Semester, 2023-24
Evaluation Scheme
Question Bank
GALGOTIAS COLLEGE OF ENGINEERING AND TECHNOLOGY
Knowledge Park-II, Greater Noida, U.P.
Department of CSE & Allied Specialized Branches
Even Semester, 2023-24
UNIT-1
CO1: Understand the structure and functions of OS
1. What is an Operating system? Discuss the main components of an O.S.
2. What inconveniences a user can face while interacting with a computer system, which is without
an O.S?
3. Discuss the user and system viewpoint of an O.S.
4. Justify “O.S is the control program of the system”.
5. Give five major functions of an O.S. Explain each of them in brief.
6. Differentiate between Interactive and Batch Processing Systems.
7. What are the advantages of a Multiuser O.S?
8. Difference between Multiprogramming and Multitasking O.S.
9. “Multitasking is logical extension to multiprogramming”. Justify the statement.
10. What is the role of threads in Multithreaded Systems?
11. Difference between Multiuser systems and multithreaded systems.
12. What is Real Time O.S? Illustrate some applications where they are used. What is the difference
between Hard Real time O.S and Soft Real Time O.S?
13. Discuss the services provided by an O.S.
14. What do you mean by kernel?
15. Explain System calls and System Programs in brief.
16. Enumerate the advantages of the layered approach to system design?
17. What are the components and subcomponents of different layer’s in operating system?
18. “Monolithic Design is the simple structure” Comment on the statement?
19. Explain the difference between Monolithic and Microkernel systems with their advantages and
disadvantages.
20. What are the benefits of having kernel as Re-entrant in the systems?
21. Briefly discuss the virtual machine with diagram.
22. Describe the steps involved in Booting.
23. Explain distinguished features of
i)Time Sharing System ii) Parallel Processing
24. Write a brief note on different operating system structures
25. Explain different sub components of an operating system.
26. Bring out the requirements of
i) Real time operating systems (ii) Distributed operating systems
27. Justify the statement “Operating System can be viewed as a government, resource allocator and a
control program”.
28. Define essential properties of the following types of Operating system:
Batch operating system
Interactive operating system
Time sharing operating system
Real time operating system
Distributed operating system
29. Distinguish among the following terminologies associated with the operating system and explain
each of them in detail.
30. Multiprogramming systems, Multitasking systems, Multiprocessor systems.
31. Define a virtual machine (VM). With a neat diagram, explain the working of a VM.
32. What are the benefits of a VM?
33. Explain the 'graceful degradation' and 'fault tolerant' in a multiprocessor system.
UNIT-2
1. Differentiate between User thread and Kernel thread. What is thread cancellation? Explain its types
2. What do you mean by a thread? How it is different from a process? Explain various thread models
with their relative advantages and disadvantages.
3. Explain in brief different principles of concurrency in operating system?
4. What is Critical Section? Discuss.
5. Explain the life cycle of a process?
6. What are the requirements of mutual exclusion?
7. Why two events need to be mutually exclusive?
8. How to solve the problem of race conditions?
9. What is the Peterson solution to critical section?
10. What is the difference between Dekker’s solution and Peterson solution?
11. How test and set operation works?
12. Write short notes on semaphore?
13. Explain binary semaphore
14. Explain counting semaphore.
15. Explain process synchronization?
16. Explain producer-consumer problem and its solution using semaphores.
17. Explain reader/writer problem.
18. Explain dining philosopher problem in concurrency?
19. Explain sleeping barber problem with solution.
20. How can the inter-process communication be achieved?
21. What is the main difficulty that a programmer must overcome in writing an operating
22. System for real time environment?
23. Give difference between Job-scheduling & CPU-scheduling.
24. Distinguish between
Process and Program
Multiprogramming and multiprocessing
Job scheduling and CPU scheduling
25. What are the five major activities of an operating system in regard to file management
26. What is the purpose of command interpreter? Why is it usually separate from kernel?
27. What are different differences between user level threads & Kernel supported threads?
28. What is Scheduler? What is a dispatcher?
29. Give the information that is kept in process control block?
UNIT-3
UNIT-4
CO4: Learn various memory management scheme
1. What is logical and physical address space?
2. Explain how logical address is translated to physical address in such a scheme.
3. Consider a logical address space of eight pages of 1024 words, each mapped onto a physical
memory of 32 frames then: (a) How many bits are in logical address? (b) How many bits are in
physical address?
4. If memory partitions of 100K,500K,200K,300K and 600K(in order)are given, how would each
of the first-fit, best-fit, and worst-fit algorithms place processes of 212K,417K,112K, and
426K(in order)?Which algorithm makes the most efficient use of memory
5. Explain different memory protection schemes?
6. Differentiate between internal and external fragmentation.
7. Write the difference between paging and segmentation.
8. Page sizes are kept in powers of 2. Why?
9. Explain paged segmentation with its advantages and disadvantages. In a paged segmented system,
a virtual address consists of 32 bits of which 12 bits are for displacement, 11 bits are segment
number and 9 bits are page number. Calculate the following: (a) Page size (b) Max Segment size
(c) Max number of Pages (d) Max number of segments.
10. Describe the paging scheme of memory management with reference to the hardware required to
support the system.
11. Describe the Segmentation scheme of memory management with reference to the hardware
required to support the system.
12. Discuss virtual memory concept in brief.
13. Consider a demand paged system. Page tables are held in registers. It takes 8 milliseconds to
service a page fault if an empty page is available or the replaced is not modified, and 20
milliseconds if the replaced page is modified. Memory access time is 100 nanoseconds. Assume
that the page to be replaced is modified 70 percent of the time. What is the maximum acceptable
page fault rate for an effective access time of no more than 200 nanoseconds?
14. What is the difference between virtual memory and primary memory?
15. “With the help of virtual memory programmer task is easy” Comment on the statement.
16. When do page faults occur? Describe in detail the actions taken by the operating system when a
page fault occurs.
17. What do you mean by Belady's anomaly? Which algorithm suffers from Belady’s anomaly?
18. Consider the following page reference string: 1,2,3, 4,2, l, 5, 6, 2, 1,2, 1, 5, 6. How many page
faults would occur for the following replacement algorithms, assuming three frames. (a) LRU
page replacement (b) FIFO page replacement (c) Optimal page replacement.
19. Explain the concept of thrashing?
20. Explain the cache memory Hit ratio and cache memory Miss Ratio.
UNIT-5
Resource used
1. YouTube Videos:
SG Academy
https://www.youtube.com/channel/UCXmoAxvVyJIR2dukvJQn1tQ
2. Links of NPTEL lectures
https://nptel.ac.in/courses/106/105/106105214/
https://nptel.ac.in/courses/106/102/106102132/
https://nptel.ac.in/courses/106/106/106106144/
https://nptel.ac.in/courses/106/108/106108101/
3. Virtual Labs
http://ebootathon.com/labs/beta/csit/OS/exp2/