0% found this document useful (0 votes)
100 views7 pages

Os Bits Mid 1

Uploaded by

rakeshgamer504
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)
100 views7 pages

Os Bits Mid 1

Uploaded by

rakeshgamer504
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/ 7

OPERATING SYSTEM: - UNIT 1: - Introduction to Operating

System: -
Choose The correct Option to the following Questions from
given list of Options?
1.Which of the following is a Program that acts as an interface between the user of a
computer and the computer hardware?

a) System b)Software c) Operating System d)All the Above

2.The Process of Loading Operating system files from the HardDisk to RAM by ROM is
said to be?

a) Loading b) Connecting c) Booting d) None of the above

3.which of the following Provides an interface to the Services Provided by the Operating
System?

a) Program b)System Calls c) Console d)All the above

4.Which of the following Provide a convenient environment for program development


and execution?

a) System b)System Programs c)Software d) None of the Above

5.The Operating System is divided into several layers.the Bottom Layer (Layer 0) is said
to be _______________?

a) user Interface b) Hardware c)System Calls d)Software

6.which of the following is not the example of the Operating System?

a) Windows b) Linux c) Oracle d) Mac

7.What is the cental Component of the Operating System ___________?

a) System b) OS version c) Kernel d) All of the Above

8.Which of the allows the users to install and run multiple Operating Systems in a
Single PC?

a) System Call b) Multiple OS c) Virtual Machine d)Virtual OS

9.what are the two modes of the Virtual Machine_________ and_________?

a) virtual and non-virtual mode b) user and kernel mode c)Public and Private mode
d) None of the Above

10.In Which mode Virtual Machine Software can run_____________?


a) User b) Kernel c) Public d) Private

FILL THE FOLLOWING BLANKS WITH A SUITABLE ANSWER?

1.What is the full form of DOS______________________________?

ANS:DISK OPERATION SYSTEM

2.C program invoking printf() library call which calls____________ system call?

ANS:WRITE

3._______________is a text based interface where you can input commands that
interact with a a computer Operating System?

ANS:COMMAND LINE INTERFACE

4. Hardware→_____________ →Appication Programs →End user. Fill the blank?

ANS:OPERATING SYSTEM

5.what are two Approaches to interact with the Operating System ___________ and
___________________?

ANS:COMMAND LINE INTERFACE AND GRAPHICAL USER INTERFACE

6. Name any two Services Provided by the Operating System _____________________


and_____________________________?

ANS:FILE SYSTEM MANIPULATION , ERROR DETECTION

7.____________ acts as a mediator between the system calls and the user interface?

ANS:SYSTEM PROGRAMS

8.what is the fundamental idea of the virtual machines ________________________?

ANS:DEVELOPING MULTIPLE OS IN SINGLE PC

9.Name one Example to the Virtual Machine_____________________?

ANS:JVM

10.______________ runs an Host OS such as windows or Linux and allows this host
system to concurrently run different guest operating systems as independent virtual
machines?

ANS:VM WARE
OPERATING SYSTEM.
UNIT 2:- PROCESS MANAGEMENT:-
Choose the correct option for the following Questions from the options given
?
1.The program under execution is said to be______________?
a)Program
b)Activity
c)System
d)Process
2.when the process completes its execution then that state is
called______________?
a)new
b)ready
c)terminate
d)All the above
3.Switching the CPU from one process to another Process is known
as___________?
a)Moving
b)Context Switching
c)Movement
d)None of the Above
4.____________ is used by Operating system to manage information about a
running Process.
a)System
b)Software
c)Both a&b
d)PCB
5.what is defined by the Thread?
a)life cycle
b)Flow of execution
c)software
d)None of the Above
6.what are MultiThreading Models?
a)many-to-One Model
b)One -to-one Model
c)Many-to- many Model
d)All the Above
7.which Scheduling Alogrithm is just like FIFO(First in First Out)?
a)FCFS
b)SJF
c)Priority Scheduling
d)None of the Above
8.If CPU Stops the execution of process force fully that is called as?
a)Preemption
b)Non Preemption
c)Both a&b
d)None of the Above
9.Which of the following Scheduling Algorithm has Preemption?
a)FCFS
b)SJF
c)Round Robin
d)All the Above
10.Consider a NON-PREEMPTIVE SJF algorithm
Processs:- p1,p2,p3,p4
BURST TIMES:- 6,8,7,3
What is Average Waiting time?
a)8.2
b)8.1
c)7
d)9
FILL THE BLANKS WITH SUITABLE ANSWERS?
1.A process is represented in OS using Process Contol block(PCB)?
2.Program Counter is a processor register which contains address of the next
instruction to be executed?
3.Process Schedulers decides the order in which the processes to be executed?
4.The best example for shared memory is producer-Consumer problem
5.Sockets is a Concatenation of IP address and Port
6.The Socket 161.25.19.8:1625 here 1625 refers to Port 1625 on host
161.25.19.8
7.Thread is Light Weight Process.
8.what is the FULL form of FCFS First Come First Serve?
9.CPU scheduling deals with the problem of deciding which of the process in
the ready queue is to be allocated the CPU.
10.Consider the FCFS Algorithm
Process→P1,P2,P3,P4,P5
Arrival Time→0,2,4,6,8
Burst Time→3,6,4,5,2
The Average Waiting Time is 4.6

UNIT 3:-
Multiple Choice Questions
1. What can potentially occur when multiple processes access shared resources
simultaneously?
-A) Mutual exclusion
–B) Object-oriented programming
– C) Race conditions
– D) Static binding

2. Which solution is primarily concerned with ensuring that only one process
enters a critical section at a time?
- A) Peterson's solution
- B) Semaphore implementation
– C) Object-oriented programming
– D) Thread synchronization
3. Which section of the critical section problem is responsible for allowing a
process to exit the critical section?
- A) Entry section
- B) Exit section
- C) Remainder section
- D) Synchronization section
4. Which section of the critical section problem ensures that only one process
can enter the critical section at a time?
- A) Entry section
- B) Exit section
– C) Remainder section
- D) Initialization section
5. What is the primary goal of process synchronization mechanisms?
- A) Ensuring high performance
- B) Maintaining data consistency
- C) Maximizing memory utilization
- D) Minimizing context switching
FILL IN THE BLANKS

1. The entry section in the critical section problem ensures that only one
process can enter the critical section at a time.
2. Process synchronization mechanisms aim to prevent race conditions and
ensure orderly execution of processes.
3. In semaphore implementation, the operation wait() decrements the
semaphore value.
4. Binary semaphores can be used to solve Critical section problems
5. Semaphore implementation allows processes to coordinate access to
shared resources using wait() and signal()operations.

You might also like