0% found this document useful (0 votes)
63 views3 pages

Assignment 2 - OSF

This document contains 13 multiple choice questions about operating system fundamentals. It covers topics like I/O subsystem and spooling, processes, threads, system calls, command line interpreters, kernels, and characteristics of UNIX operating systems. The questions test understanding of concepts like how operating systems handle errors, the relationship between processes and threads, the role of kernels in interacting with hardware, and languages that UNIX is written in.

Uploaded by

Sachin Khatri
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)
63 views3 pages

Assignment 2 - OSF

This document contains 13 multiple choice questions about operating system fundamentals. It covers topics like I/O subsystem and spooling, processes, threads, system calls, command line interpreters, kernels, and characteristics of UNIX operating systems. The questions test understanding of concepts like how operating systems handle errors, the relationship between processes and threads, the role of kernels in interacting with hardware, and languages that UNIX is written in.

Uploaded by

Sachin Khatri
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
You are on page 1/ 3

Assignment 2 – Operating System Fundamentals

1. I/O subsystem handles spooling, which is –


a. Copying part of data into faster storage for improved performance
b. Storing data temporarily while it is being transferred
c. Overlapping of output and input from two different jobs
d. None of the above

Ans: (c) Overlapping of output and input from two different jobs

2. Win32 is a ________ for windows that is used by programs during system calls.
a. set of function built into libraries provided in the compiler
b. shell bundled with multiple command line interpreters
c. system that provides both CLI and GUI
d. high level application programming interface

Ans: (d) high level application programming interface

3. Which of the following is incorrect about process?


a. Reusable resources should be reclaimed for process termination
b. Process is a passive entity
c. Process is prevented from hogging resources using timer device
d. None of the above

Ans: (b) Process is a passive entity

4. Which of the following has the lowest memory access time?


a. Solid state disk
b. Registers
c. Cache
d. Magnetic Disk

Ans: (b) Registers

5. To access the services of operating system, the interface is provided by the


a. System calls
b. API
c. Library
d. Assembly instructions

Ans: (a) System calls

System call interface provides the services to access the operating system for the user.
6. Which one of the following errors will be handled by the operating system?
a. Power failure
b. Lack of paper in printer
c. Connection failure in the network
d. All of the above

Ans: (d) All of the above

Operating system can handle power failure, lack of paper/ink in printer, network connectivity
issues and much more.

7. A thread shares its resources (like data section, code section, open files, signals) with:
a. other process similar to the one that the thread belongs to
b. other threads that belong to similar processes
c. other threads that belong to the same process
d. all of the mentioned

Ans: (c) other threads that belong to the same process

8. For entering direct commands from the user to be performed by OS –


a. User friendly graphics user interface is provided
b. Responsive touch screen interface is developed
c. Command line interpreters are included in the kernel or as a special program
d. All of the above

Ans: (c) Command line interpreters are included in the kernel or as a special program

Users can execute different commands which are performed by the OS and these commands are
entered into something called command line interpreters or CLI. CLIs are built to take user inputs and
understand the intention of the commands.

9. 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 above

Ans: (a) to get and execute the next user-specified command

10. Lowest level of operating system is written in


a. C/C++
b. Assembly language
c. Java
d. None of the other options
Ans: (b) Assembly language

11. The kernel is _______ of user threads.


a. a part of
b. the creator of
c. unaware of
d. aware of

Ans: (c) unaware of

12. Which part of the UNIX operating system interacts with the hardware?
a. Kernel
b. Shell
c. Vim editor
d. Emacs

Ans: (a) Kernel

Kernel is responsible for interaction between UNIX and hardware. Shell, Vim or Emacs are
different applications of UNIX.

13. Which of the following is not true about UNIX?


a. Many people can use a UNIX based computer at the same time; hence UNIX is called
as a multiuser system
b. A user can run multiple programs at the same time; hence UNIX is called a
multitasking environment
c. UNIX was written in ‘Java’ language
d. Linux is also known as a version of UNIX

Ans: (c) UNIX was written in ‘Java’ language

You might also like