Assignment 2 - OSF
Assignment 2 - OSF
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
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
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) 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.
12. Which part of the UNIX operating system interacts with the hardware?
a. Kernel
b. Shell
c. Vim editor
d. Emacs
Kernel is responsible for interaction between UNIX and hardware. Shell, Vim or Emacs are
different applications of UNIX.