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

Basics Operating System Questions & Answers





Operating System Questions & Answers Basics


1.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 of the mentioned

Answer:d

2. To access the services of operating system, the interface is provided by the
a) system calls
b) API
c) library
d) assembly instructions

Answer:a

3. Which one of the following is not true?
a) kernel is the program that constitutes the central core of the operating system
b) kernel is the first part of operating system to load into memory during booting
c) kernel is made of various modules which can not be loaded in running operating system
d) kernel remains in the memory during the entire computer session

Answer:c

4. Which one of the following error will be handle by the operating system?
a) power failure
b) lack of paper in printer
c) connection failure in the network
d) all of the mentioned

Answer:d

5. The main function of the command interpreter is
a) to get and execute the next user-specified command
b) to provide the interface between the API and application program
c) to handle the files in operating system
d) none of the mentioned

Answer:a

6. By operating system, the resource management can be done via
a) time division multiplexing
b) space division multiplexing
c) both (a) and (b)
d) none of the mentioned

Answer:c

7. If a process fails, most operating system write the error information to a
a) log file
b) another running process
c) new file
d) none of the mentioned

Answer:a

8. Which facility dynamically adds probes to a running system, both in user processes and in the kernel?
a) DTrace
b) DLocate
c) DMap
d) DAdd

Answer:a

9. Which one of the following is not a real time operating system?
a) VxWorks
b) Windows CE
c) RTLinux
d) Palm OS

Answer:d

10. The OS X has
a) monolithic kernel
b) hybrid kernel
c) microkernel
d) monolithic kernel with modules

Answer:b






Operating System

 Operating System Objective Type Questions

1) Routine is not loaded until it is called. All routines are kept on disk in a relocatable load format. The main program is loaded into memory & is executed. This type of loading is called _________
1 Static loading
2 Dynamic loading
3 Dynamic linking
4 Overlays

Ans ) 3

2) Which of the following is crucial time while accessing data on the disk?
1 Seek time
2 Rotational time
3 Transmission time
4 Waiting time
Ans ) 1

3) The host repeatedly checks if the controller is busy until it is not. It is in a loop that status register's busy bit becomes clear. This is called _____________ and a mechanism for the hardware controller to notify the CPU that it is ready is called ___________.
1 Interrupt and Polling
2 Polling and Spooling
3 Polling and Interrupt
4 Deadlock and Starvation
Ans ) 3

4) Unix Operating System is an __________.
1 Time Sharing Operating System
2 Multi-User Operating System
3 Multi-tasking Operating System
4 All the Above
Ans ) 4

5) Which of the following memory allocation scheme suffers from External fragmentation?
1 Segmentation
2 Pure demand paging
3 Swapping
4 Paging
Ans ) 1

6) Information about a process is maintained in a _________.
1 Stack
2 Translation Lookaside Buffer
3 Process Control Block
4 Program Control Block
Ans ) 3

7) Distributed OS works on the ________ principle.
1 File Foundation
2 Single system image
3 Multi system image
4 Networking image
Ans ) 2

8) The problem of fragmentation arises in ________.
1 Static storage allocation
2 Stack allocation storage
3 Stack allocation with dynamic binding
4 Heap allocation
Ans ) 4

9) Which file system does DOS typically use ?
1 FAT16
2 FAT32
3 NTFS
4 WNFS
Ans ) 1

10) The program is known as _________ which interacts with the inner part of called kernel.
1 Compiler
2 Device Driver
3 Protocol
4 Shell
Ans ) 4