Unit 1 - OS - Introduction - Question Bank
Unit 1 - OS - Introduction - Question Bank
a. Batch
c. Time sharing
d. Real time
e. Network
f. Distributed
a. Batch: In the basic batch system, one program runs at a time. A human or
software monitor is required for program scheduling and loading. In
advanced batch systems, CPU and I/O operations may be overlapped.
Spooling to allow the I/O of one job to overlap the computation of another.
Multiprogrammed batch systems allowed more than one program to run "at
the same time," and had job scheduling and CPU scheduling to support that.
b. Interactive: Provides on-line communication between the user and the
system, with response times on the order of a second or shorter.
c. Time-sharing (aka multi-tasking): Probably has a file system. Each
running program is a process. Advanced time-sharing systems have virtual
memory to support the large amount of data required by multiple users.
d. Real-time: Has rigid time requirements on the operation of a processor or
the flow of data. Hard real-time systems guarantee that critical tasks
complete on time. Soft real-time systems allow critical tasks to get priority
over other tasks and retain that priority until they complete.
e. Distributed: Has multiple processors in the system which typically do not
share the same memory or clock. Processors communicate via some sort of
network, for the purposes of resource sharing, computation speedup,
reliability, and data exchange.
3. What are the main differences between operating systems for mainframe
computers and personal computers?
Answer:
4. What is the difference between kernel mode and user mode function.
5. List the four steps that are necessary to run a program on a completely
dedicated machine-a computer that is running only that program.
Answer:
o Load the program manually into memory, from the front panel
switches (one instruction at a time), from paper tape, or from punched
cards.
o Push the appropriate buttons to set the starting address and to start the
execution of the program
o As the program runs, monitor its execution by the display lights on
the console. If errors are discovered, halt the program, examine the
contents of memory and registers, and debug the proram directly from
the console.
o Get output from printer or from punched paper tape or cards.
15.Elaborate User and System goals While designing operating systems also
explain the implementation of Operating System.
16. Explain the operating system structure based on following two structures:
a) Simple Structure b) Layered Approach
17. Explain the operating system structure based on following two structures:
a) Microkernel b) Modular Approach