Objective Type Question Answers of Operating System
Objective Type Question Answers of Operating System
a. erase
b. rm
c. delete
d. dm
Ans: b
2. Which of the following command is used to count just the number of lines contained in a file ?
a. wc-1
b. wc-w
c.wc-c
d. wc-r
Ans: a
3. Which command is used to copy a file wb with the same name from the programs directory to the
misc. directory ?
b. cp programs/wb misc
Ans: b
4. The commonly used UNIX commands like date, Is, cat, etc. are stored in
a. /dev directory
c. /unix directory
d. /tmp directory
Ans: b
5. Which of the following directories contain all the files created by a user, including his login
directory ?
a. /tmp
b. /usr
c. /etc
d. /dev
Ans: b
6. Which command is used to copy the three files wb, colllect and mon into the misc directory, under
Ans: b
7. Which of the following command is used to display the directory attributes rather than its contents ?
a. 1s-1-d
b. Is-x
c. Is-1
d. is-F
Ans: a
a. rd
b. dldir
c. rmdir
d. rdir
Ans: c
9. Which command is used to list out all the hidden files along with the other files ?
a. Is-1
b. Is-F
c. Is-x
d Is-a
Ans: d
10. The file that contains a set of instructions which are performed when a user logs in, is
a) .exrc
b) .profile
c) autoexec.bat
d) .autoexec
Ans: b
2) Using Priority Scheduling algorithm, find the average waiting time for the following set of
processes given with their priorities in the order: Process : Burst Time : Priority respectively .
P1 : 10 : 3 ,
P2 : 1 : 1 ,
P3 : 2 : 4 ,
P4 : 1 : 5 ,
P5 : 5 : 2.
1 8 milliseconds
2 8.2 milliseconds
3 7.75 milliseconds
4 3 milliseconds
Ans ) 2
3) Which of the following will determine your choice of systems software for your computer ?
1 Is the applications software you want to use compatible with it ?
2 Is it expensive ?
3 Is it compatible with your hardware ?
4 Both 1 and 3
Right Ans ) 4
Associate Ans) 4
4) What is a shell ?
1 It is a hardware component
2 It is a command interpreter
3 It is a part in compiler
4 It is a tool in CPU scheduling
Ans ) 2
6) The Hardware mechanism that enables a device to notify the CPU is called __________.
1 Polling
2 Interrupt
3 System Call
4 None of the above
Ans ) 2
7) ___________ begins at the root and follows a path down to the specified file
1 Relative path name
2 Absolute path name
3 Standalone name
4 All of the above
Ans ) 2
11) The kernel keeps track of the state of each task by using a data structure called __
1 Process control block
2 User control block
3 Memory control block
4 None of the above
Ans ) 1
12) A binary semaphore
1 has the values one or zero
2 is essential to binary computers
3 is used only for synchronisation
4 is used only for mutual exclusion
Ans ) 1
15) _________ is a high speed cache used to hold recently referenced page table entries a part of
paged virtual memory
1 Translation Lookaside buffer
2 Inverse page table
3 Segmented page table
4 All the above
Ans ) 1
16) If you don¿t know which version of MS-DOS you are working with, which command will you
use after booting your operating system ?
1 Format command
2 FAT command
3 VER command
4 DISK command
Ans ) 3
17) _______ OS pays more attention on the meeting of the time limits.
1 Distributed
2 Network
3 Real time
4 Online
Ans ) 3
18) A process said to be in ___________ state if it was waiting for an event that will never
occur.
1 Safe
2 Unsafe
3 Starvation
4 Dead lock
Ans ) 4
19) The removal of process from active contention of CPU and reintroduce them into memory
later is known as ____________.
1 Interrupt
2 Swapping
3 Signal
4 Thread
Ans ) 2
24) _________ allocates the largest hole (free fragmant) available in the memory.
1 Best Fit
2 Worst Fit
3 First Fit
4 None of the above
Ans ) 2
27) A ___________ contains information about the file, including ownership, permissions, and
location of the file contents.
1 File Control Block (FCB)
2 File
3 Device drivers
4 File system
Ans ) 1
30) The operating system of a computer serves as a software interface between the user and the
________.
1 Hardware
2 Peripheral
3 Memory
4 Screen
Ans ) 1
Contents:
1. Define an Operating System ,Trace the Developments in Operating Systems ,Identify the
functions of Operating Systems,
2. Describe the basic components of the Operating Systems, Understand Information storage
and Management Systems ,
3. List Disk Allocation and Scheduling Methods , Identify the Basic Memory Management
strategies, List the Virtual Memory Management Techniques ,Define a Process and list the
features of the Process Management System
4. Identify the Features of Process Scheduling, List the features of Inter-Process Communication
and Deadlocks,
5. Identify the Concepts of Parallel and Distributed Processing ,Identify Security Threats to
Operating Systems
6. Overview of the MS-DOS Operating System
7. Introduction to the Windows Family of Products, Unix Family of Products, Linux Family of
Products.
8. Introduction to Windows Networking
9. Windows Architecture, Linux Architecture
10. Troubleshooting Windows ,& Linux
11. Managing Network Printing
12. Managing Hard Disks and Partitions
13. Monitoring and Troubleshooting Windows
14. Users, Groups and Permission Linux and Windows.