PYQ – OPERATING SYSTEM (2418302) | SEMESTER 3RD (2ND YEAR) | Year 2019

Share:WhatsAppTelegram
Question 1

Operating System 2019 (OLD) PYQ.



Group A

 

Choose the most suitable answer from the following options: -   (1*20=20)


(i) Process synchronization can be done on-

(a) Hardware level

(b) Software level

(c) Both (a) and (b) level

(d) None


(ii) Which of the following don not belong to queue for processes?

(a) Job Queue

(b) PCB Queue

(c) Device Queue

(d) Ready Queue


(iii) In a time-sharing operating system, which the time slot give to a process is completed, the process goes from the running state to the: -

(a) Blocked state

(b) Ready state

(c) Suspended state

(d) Terminated state


(iv) A process control block (PCB) does not contain which of the following

(a) Code

(b) Stack

(c) Bootstrap program 

(d)  Data


(v) The number of process completed per unit time in known as-

(a) Output

(b) Throughput

(c) Efficiency

(d) Capacity


(vi) Which of the following in not the state of a process?

(a) New

(b) Old

(c) Waiting

(d) Running


(vii) The segment of code in which the process may charge common variable, update, tables, write into file is known as:-

(a) Program

(b) Critical section

(c) Non-critical section

(d) Synchronizing


(viii) Condition must be satisfied to solve the critical section

(a) Mutual Exclusion

(b) Progress

(c) Bounded wait

(d) All of the above


(ix) The request and release of resources are-

(a) Command line statement

(b) Interrupts

(c) System calls 

(d) Special program


(x)  For sharable resources, mutual exclusion-

(a) Is required

(b) Is not required

(c) May be or may not be required

(d) None of the above


(xi) Virtual memory is normally implemented by-

(a) Demand paging

(b) Buses

(c) Virtualization

(d) All of the above


(xii) A page fault occurs when:

(a) A page gives inconsistent data

(b) A page cannot be accessed due to its absence from memory

(c) A page is invisible

(d) All of the above


(xiii) Which of the following page replacement algorithms suffers from Belayd’s Anomaly?

(a) Optimum Replacement

(b) LRU

(c) FIFO

(d) Both (a) and (b)


(xiv) A process refers to 5 pages ABCDE in order ABCDABEABCDE. If the page replacement algorithm is FIFO, the number of page transfers with an empty internal store of 3 frames is:

(a) 8

(b) 10

(c) 9

(d) 7


(xv) The circular wait condition can be prevented by

(a) Defining a linear ordering of resource types

(b) Using thread

(c) Using Pipes

(d) All of the above


(xvi) Which are of the following is dead l0ck avoidance algorithm

(a) Banker’s algorithm

(b) Round-robin algorithm

(c) Elevator algorithm

(d) Karan’s algorithm


(xvii) To differentiate the many network services a system supports __________ are used.

(a) Variables

(b) Sockets

(c) Ports

(d) Services names


(xviii) RPC provides a (an) ________ on the client side, a separate one from each remote procedure.

(a) Stub

(b) Identifier

(c) Name

(d) Process identifier


(xix) The full form of RMI

(a) Remote Method Invocation

(b) Remote Method Installation

(c) Remote Memory Installation

(d) Remote Memory Invocation


(xx) A solution to the problem of external fragmentation is:

(a) Large memory size

(b) Compaction

(c) Smaller memory size

(d) None

 

 

Group:-"B"

 

➥ Answer all Five Questions: -                         (5*4=20) 

 

 

2. What do you mean by cooperative process?

OR

Define system program. Explain in brief with example.

 

3. What do you mean by PCB? What are its contents?

OR

Explain direct and indirect communication of message passing

 

4. Explain ling term scheduler?

OR

Explain short term scheduler?

 

5. Explain paging in brief?

OR

Explain segmentation in brief.

 

6. Discuss the services of operating system in brief.

OR

What are the two option of breaking deadlock?

 

Group:- "C"

 

➥ Answer all Five Questions: -                         (5*6=30) 

 

7. What is process? Draw and state the process state diagram?

OR

Explain concept of virtual memory. Also discuss its advantages.

 

8. What is address binding? Explain the concept of dynamic relocation of address? 

OR

Explain the following-

File type

File operation

File attributes

 

9. What are semaphores? Explain solution of producer-consumer problem using semaphore?

OR

Explain three requirements that a solution to critical-section problem must satisfy.

 

10. Describe necessary condition for a deadlock situation to arise.

OR

Explain different methods to recover deadlocks?

 

11. Consider the reference stream 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 2, 1, 2, 3, 6. How many page faults which using FCFS and LRU using 2 frames?

OR

Write short notes on

Process management modes of LINUX

Disk Scheduling mechanism

 

*****

 

Q1
Question 2

Operating System 2019 (Special Exam LE OLD) PYQ.


Group A

Choose the most suitable answer from the following options: -   (1*20=20)


(i) What is Operating System?

(a) Collection of programs that manages hardware resources.

(b) System service provider to the application programs.

(c)  Link to interface the hardware and application programs.

(d) All the mentioned


(ii) A process can be terminated due to:

(a) Normal exit

(b) Fatal error

(c) Killed by another process

(d) All above


(iii) When the Process issues an I/O request:

(a) It is placed in an I/O queue

(b) It is placed in a waiting queue

(c) It placed in the ready queue

(d) It is placed in the job queue


(iv) Bounded capacity and unbounded capacity queues are referred to as:

(a) Programmed buffering

(b) Automatic buffering

(c) User defined buffering

(d) No buffering


(v) Inter process communication:

(a) Allow Processes to communicate and synchronization their achme when using the same address space.

(b) Allow the processes to communicate and synchronize their actions without using the same address space.

(c) Allows the processes to only synchronize their action without communication

(d)None of mentioned


(vi) Which of the following condition is required for deadlock to be possible?

(a) Mutual exclusion

(b) A process may hold allocated resources while waiting of other resources

(c) No resource can be forcibly removed from a process holding it.

(d) All of the above


(vii) Binding of instructions and data to memory address can done at

(a) Compile time

(b) Load time

(c) Execution time

(d)All of the above


(viii) A memory buffer used to accommodate a speed differential is called

(a) Stack pointer

(b) Cache

(c) Accumulator

(d) Disk buffer


(ix) Logical memory 10 broken into blocks of the same size called_____

(a) Framed

(b) Pages

(c) Backing store

(d) None of the above

 
(x) _____is a unique tag, usually a number, identifies the file within the file system.

(a) File identifier

(b) File name

(c) File type

(d) None of the above

 
(xi) Which file is a sequence of bytes organized into blocks understandable by the system’s linker?

(a) Objects file

(b) Source file

(c) Executable file

(d) Text file


(xii) A system program such as fask in_____ is a consistency checker.

(a) Unix

(b) Window

(c) Macintosh

(d) Solaris


(xiii) Which of the following are forms of malicious attack?

(a) Theft of information

(b) Modification of data

(c) Wiping of information

(d) All above


(xiv)From the following, which is not common file permission?

(a)Write

(b) Execute

(c) Stop

(d) Read

 
(xv) In distributed system each processor has the own.

(a)  Local memory

(b) Clock

(c)  Both local memory and clock

(d) None of above


(xvi) What are the different ways file accesses takes placed?

(a)  Sequential access

(b) Direct access

(c)  Indexed sequential access

(d) All of above


(xvii) Which are of the following linux file system does not support journaling features?

(a)  ext2

(b) ext3

(c)  ext4

(d) None


(xviii) Which process can be affected by other process as executing in the system?

(a) Co-operating process 

(b) Child process

(c)  Parent process

(d) Init process


(xix) Which are is a synchronization tool

(a)  Thread

(b) Pipe

(c)  Semaphore

(d) Socket


(xx) Mutual exclusion can be provided by the:

(a)  Mutex locks

(b) Binary semaphore

(c)  Both (a) and (b)

(d) None

 

Group:-"B"

 

➥ Answer all Five Questions: -                         (5*4=20) 

 

2.  List different service of operating system and explain in brief.

OR

Explain virtual machine.

 

3.  Distinguish between multiprogramming and multitasking system.

OR

What do you mean by system call?

 

4. What is process scheduling?

OR

Describe various file access methods.

 

5.  What is starvation and ageing?

OR

What is paging and swapping?

 

6. Differentiate between internal and external fragmentation. 

OR

Write in brief about buddy system of memory management in UNIX.

 

Group:- "C"

 

➥ Answer all Five Questions: -                         (5*6=30) 

 

7. Define operating system and discuss its role from different perspective.  

OR

Explain fundamental difference between Network OS and Distribute OS.

 

8.  Define IPC. What are different methods used from logical implementations of massage passing system?

OR

What is thrashing? What are the causes for thrashing?

 

9.  What are monitor? Explain solution of dinning philosopher’s problem using monitor.

OR

Explain two primitive semaphore operations. What are their advantages?

 

10.  Why is deadlock state more critical than starvation? Explain resource allocation graph with a deadlock in a cycle but not a deadlock.

OR

Explain in detail different methods to recover deadlocks.

 

11.  Explain any disk scheduling algorithm with suitable example.

OR

Write short notes on:

Recovery from deadlock

Design principle of LINUX system.

 

 

 

*****

Q2

PYQ Video References

No references available right now.

Comments & Reviews

Loading comments...