Operating System viva questions

Nov 24, 2024

Operational System Viva Questions

Introduction

  • Channel: YouTube Channel
  • Subject: Viva Questions on Operating Systems
  • Part: 1
  • Other Lectures: ADR, DS, STLD, OAPS, DCN, etc.
  • Objective: Discussion on Operating System questions, including MCQs

Introduction to Operating System

  • Definition: System Software
  • Types:
    • System Software
    • Application Software
  • Example: WhatsApp (Application Software)
  • Function:
    • Interacting with hardware
    • Providing a platform for Application Software

Core Functions

  • Memory and Resource Management
  • Processor Management
  • File Management
  • Device Management
  • Error Detection and Security

Importance of Operating System

  • Hardware Utilization: Running hardware is difficult without an operating system
  • User Interface: GUI and Text-based system

Types of Operating Systems

  • Real-Time
  • Multitasking

Examples of Operating Systems

  • Windows, Ubuntu, Macintosh, Android, Linux-based Devices

GUI (Graphical User Interface)

  • Definition: A graphical interface that simplifies user interaction
  • Features: Buttons, hovering, etc.

Bootstrap Program

  • Function: Loading the operating system at startup

Time-Sharing Operating System

  • Definition: Allocation of processor time for multitasking
  • Function: Providing time slots to various processes

Real-Time Operating System

  • Use: Missile control, air traffic

Purpose of Multi-Programming

  • CPU Utilization: Keeping the CPU always busy

Multitasking and Multiprocessing

  • Multitasking: Many processes by a single processor
  • Multiprocessing: Processes by multiple processors

Kernel

  • Definition: Core part of the operating system
  • Function: Mediator between hardware and software

Process States

  • States: New, Ready, Running, Waiting, Terminated

Other Topics

  • Stack, Heap, Data, Text Section
  • Zombie Process: Terminated but not completely cleaned up

MCQs

  • Examples of OS: Windows XP, Fedora, Mac
  • Use of Banker's Algorithm: Deadlock Prevention
  • System Call, Library, API: Provide interface for OS services

Note: Part 2 of the video will be available soon.