Unit summary

  • An OS manages hardware and provides services, acting as an intermediary between users and hardware.
  • OS generations moved from no OS to batch, multiprogramming, time-sharing and GUI and networked systems.
  • OS components manage processes, memory, files, storage, I/O and security, and the OS offers services such as program execution and I/O.
  • Types of OS include batch, multiprogrammed, time-sharing, parallel, distributed and real-time systems.
  • System calls are requests for OS services that switch to kernel mode; system programs are utilities supplied with the OS.
  • OS structures include monolithic, layered, microkernel, modular and hybrid designs.

Glossary

Term Meaning
Batch system A system that runs jobs in groups without interaction.
Distributed system Networked computers working as one.
Kernel The core of the OS, always in memory.
Kernel mode The privileged mode for the OS.
Loadable module A kernel part added at run time.
Microkernel A minimal kernel with services in user space.
Monolithic kernel A kernel with all services in one program.
Multiprogramming Several jobs in memory sharing the CPU.
Operating system A program that manages hardware and serves programs.
Parallel system A system with several CPUs sharing memory.
Real-time system A system that must meet deadlines.
Resource manager The OS as allocator of CPU, memory and devices.
System call A request to the kernel for a service.
System program A utility supplied with the OS.
Time slice The short period a job runs before switching.
Time-sharing Rapid switching among interactive users.
Trap A software interrupt into the kernel.
User mode The restricted mode for user programs.

Question bank

Short Answer Questions (2 marks each)

  1. Define an operating system.
  2. What are the two goals of an OS?
  3. What is a batch system?
  4. Distinguish multiprogramming and time-sharing.
  5. What is a real-time system?
  6. What is dual-mode operation?
  7. Define a system call.
  8. Name the types of system calls.
  9. What is a system program?
  10. What is a microkernel?

Medium Answer Questions (5 marks each)

  1. Explain the evolution and generations of operating systems.
  2. Explain the services of an operating system.
  3. Compare parallel and distributed systems.
  4. Explain how a system call is handled.
  5. Explain the types of system calls with examples.
  6. Compare monolithic, layered and microkernel structures.

Long Answer Questions (15 marks each)

  1. Define an operating system and explain its goals, functions, components and evolution.
  2. Explain the types of operating systems: batch, multiprogrammed, time-sharing, parallel, distributed and real-time.
  3. Explain operating system services, dual-mode operation, system calls and system programs.
  4. Explain the structures of operating systems with their merits and demerits.

Sources

  • Official BCA syllabus Operating Systems, course code 25BCA402DS03, Unit I