Logo/

Operating System Essentials

Log in

Made with ScholarlyMake flashcards like these from your own notes

Operating System Essentials

Questions and answers

43 cards
  1. Question:What role does an operating system play between users and hardware?

    Answer:Acts as an intermediary managing hardware resources and providing services to applications

  2. Question:What is the primary function of the command interpreter in an OS?

    Answer:To get and execute the next user-specified command

  3. Question:Which CPU scheduling algorithms are commonly used in operating systems?

    Answer:First Come First Served, Shortest Job First, Priority, Round Robin, Multilevel Queue, Multilevel Feedback Queue

  4. Question:How do applications access operating system services?

    Answer:Through system calls like Open, Close, Read, Write

  5. Question:What is CPU scheduling the basis of?

    Answer:Multiprogramming operating systems

  6. Question:Which statement about the kernel is false?

    Answer:Kernel modules cannot be loaded in a running OS

  7. Question:Which errors are handled by the operating system?

    Answer:Lack of paper in printer, connection failure, power failure

  8. Question:Where is the operating system typically placed in memory?

    Answer:Either low or high memory depending on interrupt vector location

  9. Question:Where do most OSes write error information if a process fails?

    Answer:Log file

  10. Question:Which is not a real-time operating system?

    Answer:Palm OS

  11. Question:What type of kernel does OS X use?

    Answer:Hybrid kernel

  12. Question:What does each process have its own in an OS?

    Answer:Address space, open files, pending alarms, signals, and handlers

  13. Question:In a timeshare OS, what state does a process enter after its time slot ends?

    Answer:Ready state

  14. Question:What is cascading termination?

    Answer:Termination of all child processes when the parent terminates normally or abnormally

  15. Question:From the blocked state, where does a process go after I/O completion?

    Answer:Ready state

  16. Question:What is transient operating system code?

    Answer:Code that comes and goes as needed

  17. Question:What does the process dispatcher in the scheduler do?

    Answer:Assigns ready processes to the CPU

  18. Question:Why is FCFS troublesome for time-sharing systems?

    Answer:Users need regular CPU shares, but FCFS may cause long waits

  19. Question:When should an OS check for deadlock?

    Answer:Every time a resource request is made and at fixed intervals

  20. Question:What does a deadlock avoidance algorithm examine?

    Answer:Resource allocation state

  21. Question:When can swapping not be done?

    Answer:When a process has pending I/O or only executes I/O to OS buffers

  22. Question:What does main memory primarily accommodate?

    Answer:Operating system

  23. Question:What disk-related tasks is the OS responsible for?

    Answer:Bad-block recovery, booting, initialization

  24. Question:How are the OS and processes protected from modification?

    Answer:CPU addresses checked against relocation and limit registers

  25. Question:How does transient code affect OS size during execution?

    Answer:Changes the size

  26. Question:What table tracks frame allocation in the OS?

    Answer:Frame table

  27. Question:Can user programs implement dynamic loading without OS/hardware support?

    Answer:Yes

  28. Question:What provides a uniform interface to the I/O subsystem?

    Answer:Device drivers

  29. Question:What must be true in a real-time OS for tasks?

    Answer:Serviced by deadline period

  30. Question:How does hard real-time OS compare to soft in jitter?

    Answer:Less jitter

  31. Question:What should interrupt latency be in real-time OS?

    Answer:Minimal

  32. Question:Which are real-time operating systems?

    Answer:Windows CE, RTLinux, VxWorks

  33. Question:What happens to process priority with static scheduling?

    Answer:Remains unchanged

  34. Question:What are characteristics of host-based IDS?

    Answer:Analyzes logs for intrusion tails, audits OS info like logins and executions

  35. Question:What characterizes stack-based IDS?

    Answer:Integrated with TCP/IP stack to watch packets

  36. Question:What happens if working-set sizes exceed available frames?

    Answer:OS selects a process to suspend

  37. Question:Where is information about all files kept?

    Answer:Separate directory structure

  38. Question:What table contains info on all open files?

    Answer:Open-file table

  39. Question:What happens to files in a single-level directory?

    Answer:All contained in the same directory

  40. Question:How does the OS handle links in directory trees?

    Answer:Ignores them to preserve acyclic structure

  41. Question:What information is maintained for network failure recovery?

    Answer:State information

  42. Question:What decides which OS to load on multi-OS systems?

    Answer:Boot loader

  43. Question:What does a process issue for disk I/O?

    Answer:System call