[go: up one dir, main page]

0% found this document useful (0 votes)
39 views2 pages

Operating System Basics Q&A Guide

The document provides a series of questions and answers regarding the basics of operating systems, covering definitions, functions, and components such as the kernel, system calls, and CPU scheduling algorithms. It explains the role of the operating system in managing hardware resources and handling errors, as well as specific characteristics of various operating systems. Additionally, it discusses the command interpreter and the nature of OS X's hybrid kernel.

Uploaded by

dmmsrfrz
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)
39 views2 pages

Operating System Basics Q&A Guide

The document provides a series of questions and answers regarding the basics of operating systems, covering definitions, functions, and components such as the kernel, system calls, and CPU scheduling algorithms. It explains the role of the operating system in managing hardware resources and handling errors, as well as specific characteristics of various operating systems. Additionally, it discusses the command interpreter and the nature of OS X's hybrid kernel.

Uploaded by

dmmsrfrz
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

Operating System Questions & Answers – Basics

1. What is an operating system?


a) collection of programs that manages hardware resources
b) system service provider to the application programs
c) interface between the hardware and application programs
d) all of the mentioned
Explanation:
An Operating System acts as an intermediary between user/user applications/application programs and hardware. It is a
program that manages hardware resources. It provides services to application programs.

2. To access the services of operating system, the interface is provided by the ___________
a) System calls
b) API
c) Library
d) Assembly instructions
Explanation:
To access services of the Operating System an interface is provided by the System Calls. Generally, these are functions
written in C and C++. Open, Close, Read, Write are some of most prominently used system calls.

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
Explanation:
Kernel is the first program which is loaded in memory when OS is loading as well as it remains in memory till OS is
running. Kernel is the core part of the OS which is responsible for managing resources, allowing multiple processes to
use the resources and provide services to various processes. Kernel modules can be loaded and unloaded in run-time i.e.
in running OS.

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
Explanation:
All the mentioned errors are handled by OS. The OS is continuously monitoring all of its resources. Also, the OS is
constantly detecting and correcting errors.

5. What is the main function of the command interpreter?


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
Explanation:
The main function of command interpreter is to get and execute the next user-specified command. Command
Interpreter checks for valid command and then runs that command else it will throw an error.

6. In Operating Systems, which of the following is/are CPU scheduling algorithms?


a) Round Robin
b) Shortest Job First
c) Priority
d) All of the mentioned
Explanation:
In Operating Systems, CPU scheduling algorithms are:
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
Explanation:
If a process fails, most operating systems write the error information to a log file. Log file is examined by the debugger,
to find out what is the actual cause of that particular problem. Log file is useful for system programmers for correcting
errors.

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
Explanation:
A facility that dynamically adds probes to a running system, both in user process and in the kernel is called DTrace. This
is very much useful in troubleshooting kernels in real-time.

9. Which one of the following is not a real time operating system?


a) VxWorks
b) QNX
c) RTLinux
d) Palm OS
Explanation:
VxWorks, QNX & RTLinux are real-time operating systems. Palm OS is a mobile operating system. Palm OS is developed
for Personal Digital Assistants (PDAs).

10. The OS X has ____________


a) monolithic kernel
b) hybrid kernel
c) microkernel
d) monolithic kernel with modules
Explanation:
OS X has a hybrid kernel. Hybrid kernel is a combination of two different kernels. OS X is developed by Apple and
originally it is known as Mac OS X.

You might also like