0 ratings0% found this document useful (0 votes) 25 views7 pagesChapter1 1
Introduction to Operating system
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
‘earg02t Basie Operating System MCQs - Sanfouncry
SANFOUNDRY
Operating System Questions & Answers - Basics
Next»
This set of Operating System Multiple Choice Questions & Answers (MCQs) focuses on “Basics”
1. What is an operating system?
a) collection of programs that manages hardware resources
b) system service provider to the application programs
interface between the hardware and application programs
d) all of the mentioned
View Answer
Answer: d
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.
advertisement
—————
htps:hww.sanfoundry comloperating-system-questions-answers-basics!
wr‘earg02t Basie Operating System MCQs - Sanfouncry
2. To access the services of operating system, the interface is provided by the
a) System calls
b) API
©) Library
d) Assembly instructions
View Answer
Answer: a
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
©) 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
View Answer
Answer: ¢
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 A
b\ lack of naner in printer
htps:hww.sanfoundry comloperating-system-questions-answers-basics! an‘vo0r021 Basle Operating System MCQS - Sanfouncry
Answer: d
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
) to provide the interface between the API and application program
0) to handle the files in operating system
d) none of the mentioned
View Answer
Answer: a
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.
advertisement
6. In Operating Systems, which of the following is/are CPU scheduling algorithms?
a) Round Robin
b) Shortest Job First
©) Priority
d) All of the mentioned
View Answer
htps:hww.sanfoundry comloperating-system-questions-answers-basics!
a7‘vo0r021 Basle Operating System MCQS - Sanfouncry
i) First Come First Served scheduling
ii) Shortest Job First scheduling
ii) Priority scheduling
iv) Round Robin scheduling
v) Multilevel Queue scheduling
vi) Multilevel Feedback Queue scheduling
All of these scheduling algorithms have their own advantages and disadvantages.
7. Ifa process fails, most operating system write the error information toa___
a) log file
b) another running process
new file
d) none of the mentioned
View Answer
Answer: a
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
View Answer
Answer: a
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
we nina
htps:hww.sanfoundry comloperating-system-questions-answers-basics! an‘earg02t Basie Operating System MCQs - Sanfouncry
operating system. Palm OS is developed for Personal Digital Assistants (PDAS).
advertisement
10. The OS X has
a) monolithic kernel
b) hybrid kernel
©) microkernel
d) monolithic kernel with modules
View Answer
Answer: b
Explanation: OS X has a hybrid kernel. Hybrid kernel is a combination of two different kernels. OS
Xis developed by Apple and originally it is known as Mac OS X.
Sanfoundry Global Education & Learning Series - Operating System.
Here's the list of Best Reference Books in Operating System.
To practice all areas of Operating System, here is complete set on 1000+ Multiple Choice Questions
and Answers on Operating System.
Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our so“
networks below and stay updated with latest contests, videos, internships and jobs! “
htps:hww.sanfoundry comloperating-system-questions-answers-basics!‘earg02t Basic Operating System MCQs - Sanfouncry
advertisement
Recommended Posts:
1, Python Programming Examples on Stacks & Queues
2. Home
3, Java Programming Examples on Multithreading
4, Java Programming Examples on Exception Handling
5. C Programming Examples on Puzzles & Games
6. C# Programming Examples
7. C# Programming Examples on Events
8 Simple C Programs
9. Ci# Programming Examples on Delegates
10. Programming Examples
11, Linux Questions and Answers
12. C# Programming Examples on Threads
13. C# Programming Examples on Files
14, C#t Programming Examples on LINQ
15, Java Programming Examples
16. Java Programming Examples on File Handling
17. Java Programming Examples on Networking.
18, C# Programming Examples on Networking
19. C Programming Examples on File Handling
20. Operating System Questions and Answers - CPU Scheduling Algorithms-2
advertisement
htps:ww.sanfoundry comloperating-system-questions-answers-basics!‘earg02t Basie Operating System MCQs - Sanfouncry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is
Founder and CTO at Sanfoundry. He is Linux Kernel Developer & SAN Architect
and is passionate about competency developments in these areas. He lives in
Bangalore and delivers focused training sessions to IT professionals in Linux
Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage,
Advanced C Programming, SAN Storage Technologies, SCSI Internals & Storage
Protocols such as iSCSI & Fiber Channel. Stay connected with him @ Linkedin
Subscribe Sanfoundry Newsletter and Posts
Name"
Email"
¥ © @ &
© 2011-2021 Sanfoundry. All Rights Reserved.
htps:hww.sanfoundry comloperating-system-questions-answers-basics! a