Showing posts with label OS SOLVED MCQS. Show all posts
Showing posts with label OS SOLVED MCQS. Show all posts

Sunday, 9 March 2014

OPERATING SYSTEM SOLVED MCQS

1) Memory protection is normally done by the 
 A. Processor and the associated hardware
 B. Operating system
 C. Compiler
 D. User program
 Ans:- A

2) The file structure that redefines its first record at a base of zero uses the term 
 A. Relative organization
 B. Key fielding
 C. Dynamic reallocation
 D. Hashing
Ans:- A

3) The scheduling in which CPU is allocated to the process with least CPU-burst time is called 
 A. Priority Scheduling
 B. Shortest job first Scheduling
 C. Round Robin Scheduling
 D. Multilevel Queue Scheduling
Ans:-B

4) The data block of a very large file in the UNIX file system are allocated using 
 A. Contiguous allocation
 B. Linked allocation
 C. Indexed allocation
 D. An extension of indexed allocation
Ans:-D

5) Best method for allocation is 
 A. Contiguous
 B. Linked
 C. Index
 D. All of these
Ans:-B

6) Which of the following scheduling policy is well suited for time shared operating system? 
 A. Shortest job first
 B. Round robin
 C. First com first serve
 D. Elevator
Ans:-B

7) Global locks 
 A. Synchronize access to local resources
 B. Synchronize access to global resources
 C. Are used to avoid local locks
 D. Prevent access to global resources
Ans:-B

8) A static partitioned memory management system has a total of six partitions. If one is allocated to the operating system, this will allow a total of 
 A. Five user jobs
 B. Six user jobs
 C. Thirty-two user jobs
 D. Thirty-six user jobs
Ans:-A

9) Cooperating processes can 
 A. Only share a logical address space directly that is, both code and data
 B. Access concurrently to shared data may result in data consistency
 C. Either directly share a logical address space or be allowed to share data only through files or messages
 D. None of these responses are correct
Ans:-C

10) Time sharing provides 
 A. Disk management
 B. File system management
 C. Concurrent execution
 D. All of the above
Ans:-  D

OPERATING SYSTEM SOLVED MCQS

1) Which of the following topologies consists of multiple CPUs connected by a single communication line running the length of the network? 
 A. Tree
 B. Ring
 C. Star
 D. Bus
 Ans:- D

2) An operating system 
 A. Is not required on large computers
 B. Is always supplied with the computer
 C. Is always supplied with the BASIC
 D. Consists of programs that help in the operation of computer
Ans:-D

3) The simplest directory structure is 
 A. Single level directory
 B. Two level directory
 C. Tree structure directory
 D. None of these
Ans:-C

4) Moving process from main memory to disk is called 
 A. Scheduling
 B. Catching
 C. Swapping
 D. Spooling
Ans:- C

5) A page fault means that we referenced a page 
 A. Outside the memory boundaries
 B. With an incorrect I/O request
 C. That was not in secondary storage
 D. That was not in main memory
Ans:-D

6) It is not possible to have a deadlock involving only a single process. Why? 
 A. This holds mutual exclusion, hold-and-wait and non-preemption
 B. This follows directly from the hold-and-wait condition
 C. Because single process not always in safe state
 D. None of the above
Ans:- B

7) With a single resource ,deadlock occurs 
 A. If there are more than two processes competing for that resource
 B. If there are only two processes competing for that resource
 C. If there is a single process competing for that resource
 D. None of the above
Ans:- D

8) ________ is the time required by a sector to reach below read/write head. 
 A. Seek Time
 B. Latency Time
 C. Access time
 D. None
Ans:- B

9) An audit log 
 A. Simply records the time
 B. User
 C. Type of all access to an object
 D. All of these
Ans:-B

10) If the time slice used in the round robin scheduling policy is more than maximum time required to execute any process.Then the policy will be
 A. Degenerate the shortest job first
 B. Degenerate the priority scheduling
 C. Degenerated to first come first serve
 D. None of the above
Ans:-C

11) Suppose we have a system in which processes is in hold and wait condition then which of the following approach prevent the deadlock. 
 A. Request all resources initially
 B. Spool everything
 C. Take resource away
 D. Order resources numerically
Ans:- A

12) The purpose of a Memory Management Unit is to ___________ . 
 A. Perform run-time mapping from virtual to physical addresses
 B. Ensure protection of the memory space allocated to every process
 C. Both A and B are correct responses
 D. None of these responses is correct
Ans:-A

13) Which of the following Operating System does not implement multitasking truly? 
 A. Windows 98
 B. Windows NT
 C. Windows XP
 D. MS DOS
Ans:-D

14) Malicious access are 
 A. Unauthorized reading of data
 B. Unauthorized modification of data
 C. Unauthorized destruction of data
 D. All of these
Ans:- D

15) Multiprogramming systems 
 A. Are easier to develop than single programming systems
 B. Execute each job faster
 C. Execute more jobs in the same time period
 D. Are used only one large mainframe computers
Ans:- C

16) Which is built directly on the hardware? 
 A. Computer Environment
 B. Application Software
 C. Operating System
 D. Database System
Ans:- C

17) If a system contains CPU bound processes then which of the following scheduling algorithm produces maximum efficiency of the CPU : 
 A. FIFO
 B. Round Robin
 C. SJF
 D. Priority
Ans:-C

18) A sequence of instructions,in a computer language to get the desired result is known as 
 A. Process
 B. Program
 C. Software
 D. None of these
Ans:- A

19) Which of the following is a service not supported by the operating system? 
 A. Protection
 B. Accounting
 C. Compilation
 D. I/O operation
Ans:- C

20) What problem is solved by Dijkstra’s Banker’s algorithm? 
 A. Mutual exclusion
 B. Deadlock recovery
 C. Deadlock avoidance
 D. Cache coherence
Ans:-B

Saturday, 8 March 2014

OPERATING SYSTEM SOLVED MCQS

1) A bootstrap is 
 A. A memory device
 B. A device to support the computer
 C. A small initialisation program to start up a computer
 D. An error correction technique
 Ans:-  C

2) System supports two types of file which are 
 A. Text files
 B. Executable binary files
 C. Both a and b
 D. None of these
Ans:-C

3) The only transition that is initiated by the user process itself is 
 A. Block
 B. Dispatch
 C. Wake up
 D. None of Above
Ans:- A

4) In the blocked state 
 A. The processes waiting for I/O are found
 B. The process which is running is found
 C. The processes waiting for the processor are found
 D. None of the above
Ans:- A

5) Memory on your computer where data is stored temporarily is called __________. 
 A. RAM
 B. ROM
 C. BIOS
 D. CPU
Ans:-A

6) Memory management is 
 A. Not used in modern operating system
 B. Replaced with virtual memory on current systems
 C. Not used on multiprogramming systems
 D. Critical for even the simplest operating systems
Ans:-D

7) Memory protection is normally done by the 
 A. Processor and the associated hardware
 B. Operating system
 C. Compiler
 D. User program
Ans:-A

8) If the property of locality of references is well pronounced a program
1.The number of page faults will be more.
2. The number of page faults will be less.
3.The number of page faults will remain the same.
4.Execution will be later. 
 A. 1 and 2.
 B. 2 and 4
 C. 3 and 4
 D. None of the above.
Ans:-B

9) A system has 3 processes sharing 4 resources.If each process needs a maximum of 2 units ,then 
 A. Deadlock can never occur
 B. Deadlock may occur
 C. Deadlock has to occur
 D. None of these
Ans:-A

10) Situations where two or more processes are reading or writing some shared datas and the final result depends on who runs precisely when are called 
 A. Race conditions
 B. Critical sections
 C. Mutual exclusions
 D. Message passing
Ans:-A

11) A solution to the critical section problem must satisfy which requirements? 
 A. Bounded waiting, monitor and relative speed
 B. Semaphores, monitor and prevention of deadlock
 C. Signal, wait and continue
 D. Mutual exclusion, progress and bounded waiting
Ans:-D

12) Which is the layer of a computer system between the hardware and the user program 
 A. Operating environment
 B. Operating system
 C. System environment
 D. None
Ans:-B

13) The simplest way to break a deadlock is to 
 A. Preempt a resource
 B. Rollback
 C. Kill one of the processes
 D. Lock one of the processes
Ans:-C

14) Round robin scheduling is essentially the preemptive version of ________ 
 A. FIFO
 B. Shortest job first
 C. Shortest remaining
 D. Longest time first
Ans:-A

15) Which of the following scheduler reduces the degree of multiprogramming? 
 A. Long term scheduler
 B. Short term scheduler
 C. Mid term scheduler
 D. None of these
Ans:-C

16) What is a shell ? 
 A. It is a hardware component
 B. It is a command interpreter
 C. It is a part in compiler
 D. It is a tool in CPU scheduling
Ans:- B

17) Which is not the state of the process ? 
 A. Blocked
 B. Running
 C. Ready
 D. Privileged
Ans:-D

18) A signal is a virtual interrupt which is created by which of the following 
 A. Hardware
 B. OS
 C. PCB
 D. TLB
Ans:-B

19) Worm was made up 
 A. One program
 B. Two program
 C. Three program
 D. All of these
Ans:-B

20) Interval between the time of submission and completion of job is called 
 A. Waiting time
 B. Turn around time
 C. Throughput
 D. Response time
Ans:-B

Friday, 7 March 2014

OPERATING SYSTEM SOLVED MCQS

1) A thread
 A.    Is a lightweight process where the context switching is low
 B.    Is a lightweight process where the context switching is high
 C.     Is used to speed up paging
 D.     None of the above
 Ans:-A


2) Virtual memory can be implemented with
 A.    Segmentation
 B.    Paging
 C.     None
 D.     All of the above

Ans:- D

3) Memory utilization factor shall be computed as follows
 A.    Memory in use/allocated memory
 B.    Memory in use/total memory connected
 C.     Memory allocated/total memory available
 D.     Memory committed/total memory available

Ans:-B 

4) The size of the virtual memory depends on the size of the
 A.    Data bus
 B.    Main memory
 C.     Address bus
 D.     None of these

Ans:-  C

5) Which of the following is the solution of priority inversion problem?
 A.    Kill the higher priority process
 B.    Kill the lower priority process
 C.     Priority inheritance protocol
 D.     Semaphore

Ans:-  C

6) Program counter specifies
 A.    The current instruction to execute
 B.    The previous instruction to execute
 C.     The next instruction to execute
 D.     The last instruction to execute

Ans:- C

7) Where does the swap space residable?
 A.    RAM
 B.    Disk
 C.     ROM
 D.     On chip cache

Ans:- B

8) Which is the first program run on a computer when the computer boots up?
 A.    System software
 B.    Operating system
 C.     System operations
 D.     None
Ans:-B

9) A major security problem for operating system is
 A.    Authentication problem
 B.    Physical problem
 C.     Human problem
 D.     None of these

Ans:-A

10) Which of the following statements is true?
 A.    Segmentation is faster then paging
 B.    Paging is faster then segmentation
 C.     Paging and segmentation both having equal speed
 D.     None of these

Ans:-B

11) What is the reference count field in the inode?
 A.    It counts the number of processes currently executing in the inode.
 B.    It counts the number of hard links presently pointing at a particular inode.
 C.     It count the size of memory required by the inode.
 D.     None of the above.

Ans:-B

12) The mechanism that bring a page into memory only when it is needed is called
 A.    Segmentation
 B.    Fragmentation
 C.     Demand Paging
 D.     Page Replacement

Ans:-C
     Explanation Under the concept of demand paging , the page is brought into the memory only when it is needed 


13) Output hardware is often categorized according to whether it
 A.    Is expensive
 B.    Requires a large amount of electricity to work
 C.     Produces hardcopy or softcopy
 D.     Can fit on a desk top

Ans:-C

14) The operating system creates _____ from the physical computer
 A.    Virtual space
 B.    Virtual computers
 C.     Virtual device
 D.     None

Ans:- B

15) Several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called a(n)
 A.    Shared memory segments
 B.    Race condition
 C.     Entry section
 D.     Process synchronization

Ans:-B

16) What is the reference count field in the inode? 
 A. It counts the number of processes currently executing in the inode.
 B. It counts the number of hard links presently pointing at a particular inode.
 C. It count the size of memory required by the inode.
 D. None of the above.
Ans:-B

17) The mechanism that bring a page into memory only when it is needed is called 
 A. Segmentation
 B. Fragmentation
 C. Demand Paging
 D. Page Replacement
Ans:- C
  Explanation Under the concept of demand paging , the page is brought into the memory only when it is needed 

18) Output hardware is often categorized according to whether it 
 A. Is expensive
 B. Requires a large amount of electricity to work
 C. Produces hardcopy or softcopy
 D. Can fit on a desk top
Ans:- C

19) The operating system creates _____ from the physical computer 
 A. Virtual space
 B. Virtual computers
 C. Virtual device
 D. None
Ans:-B

20) Several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called a(n) 
 A. Shared memory segments
 B. Race condition
 C. Entry section
 D. Process synchronization
Ans:-B 

Thursday, 6 March 2014

OPERATING SYSTEM SOLVED MCQS

1) Which of the following topologies consists of multiple CPUs connected by a single communication line running the length of the network? 
 A. Tree
 B. Ring
 C. Star
 D. Bus
Ans:-  D

2) An operating system 
 A. Is not required on large computers
 B. Is always supplied with the computer
 C. Is always supplied with the BASIC
 D. Consists of programs that help in the operation of computer
Ans:- D

3) The simplest directory structure is 
 A. Single level directory
 B. Two level directory
 C. Tree structure directory
 D. None of these
Ans:-C

4) Moving process from main memory to disk is called 
 A. Scheduling
 B. Catching
 C. Swapping
 D. Spooling
Ans:- C

5) A page fault means that we referenced a page 
 A. Outside the memory boundaries
 B. With an incorrect I/O request
 C. That was not in secondary storage
 D. That was not in main memory
Ans:-D

6) It is not possible to have a deadlock involving only a single process. Why? 
 A. This holds mutual exclusion, hold-and-wait and non-preemption
 B. This follows directly from the hold-and-wait condition
 C. Because single process not always in safe state
 D. None of the above
Ans:-B

7) With a single resource ,deadlock occurs 
 A. If there are more than two processes competing for that resource
 B. If there are only two processes competing for that resource
 C. If there is a single process competing for that resource
 D. None of the above
Ans:-D

8) ________ is the time required by a sector to reach below read/write head. 

 A. Seek Time
 B. Latency Time
 C. Access time
 D. None
Ans:-B

9) An audit log 
 A. Simply records the time
 B. User
 C. Type of all access to an object
 D. All of these
Ans:-B

10) If the time slice used in the round robin scheduling policy is more than maximum time required to execute any process.Then the policy will be
 A. Degenerate the shortest job first
 B. Degenerate the priority scheduling
 C. Degenerated to first come first serve
 D. None of the above
Ans:-C

11) Suppose we have a system in which processes is in hold and wait condition then which of the following approach prevent the deadlock. 
 A. Request all resources initially
 B. Spool everything
 C. Take resource away
 D. Order resources numerically
Ans:-A

12) The purpose of a Memory Management Unit is to ___________ . 
 A. Perform run-time mapping from virtual to physical addresses
 B. Ensure protection of the memory space allocated to every process
 C. Both A and B are correct responses
 D. None of these responses is correct
Ans:- A

13) Which of the following Operating System does not implement multitasking truly? 
 A. Windows 98
 B. Windows NT
 C. Windows XP
 D. MS DOS
Ans:- D

14) Malicious access are 
 A. Unauthorized reading of data
 B. Unauthorized modification of data
 C. Unauthorized destruction of data
 D. All of these
Ans:-D

15) Multiprogramming systems 
 A. Are easier to develop than single programming systems
 B. Execute each job faster
 C. Execute more jobs in the same time period
 D. Are used only one large mainframe computers
Ans:-C

16) If a system contains CPU bound processes then which of the following scheduling algorithm produces maximum efficiency of the CPU : 
 A. FIFO
 B. Round Robin
 C. SJF
 D. Priority
Ans:- C

17) A sequence of instructions,in a computer language to get the desired result is known as 
 A. Process
 B. Program
 C. Software
 D. None of these
Ans:-A

18) Which of the following is a service not supported by the operating system? 
 A. Protection
 B. Accounting
 C. Compilation
 D. I/O operation
Ans:-C

19) What problem is solved by Dijkstra’s Banker’s algorithm? 
 A. Mutual exclusion
 B. Deadlock recovery
 C. Deadlock avoidance
 D. Cache coherence
Ans:-B

20) Which is built directly on the hardware? 
 A. Computer Environment
 B. Application Software
 C. Operating System
 D. Database System
Ans:-C