Made with ScholarlyMake flashcards like these from your own notes
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
Question:What is the primary function of the command interpreter in an OS?
Answer:To get and execute the next user-specified command
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
Question:How do applications access operating system services?
Answer:Through system calls like Open, Close, Read, Write
Question:What is CPU scheduling the basis of?
Answer:Multiprogramming operating systems
Question:Which statement about the kernel is false?
Answer:Kernel modules cannot be loaded in a running OS
Question:Which errors are handled by the operating system?
Answer:Lack of paper in printer, connection failure, power failure
Question:Where is the operating system typically placed in memory?
Answer:Either low or high memory depending on interrupt vector location
Question:Where do most OSes write error information if a process fails?
Answer:Log file
Question:Which is not a real-time operating system?
Answer:Palm OS
Question:What type of kernel does OS X use?
Answer:Hybrid kernel
Question:What does each process have its own in an OS?
Answer:Address space, open files, pending alarms, signals, and handlers
Question:In a timeshare OS, what state does a process enter after its time slot ends?
Answer:Ready state
Question:What is cascading termination?
Answer:Termination of all child processes when the parent terminates normally or abnormally
Question:From the blocked state, where does a process go after I/O completion?
Answer:Ready state
Question:What is transient operating system code?
Answer:Code that comes and goes as needed
Question:What does the process dispatcher in the scheduler do?
Answer:Assigns ready processes to the CPU
Question:Why is FCFS troublesome for time-sharing systems?
Answer:Users need regular CPU shares, but FCFS may cause long waits
Question:When should an OS check for deadlock?
Answer:Every time a resource request is made and at fixed intervals
Question:What does a deadlock avoidance algorithm examine?
Answer:Resource allocation state
Question:When can swapping not be done?
Answer:When a process has pending I/O or only executes I/O to OS buffers
Question:What does main memory primarily accommodate?
Answer:Operating system
Question:What disk-related tasks is the OS responsible for?
Answer:Bad-block recovery, booting, initialization
Question:How are the OS and processes protected from modification?
Answer:CPU addresses checked against relocation and limit registers
Question:How does transient code affect OS size during execution?
Answer:Changes the size
Question:What table tracks frame allocation in the OS?
Answer:Frame table
Question:Can user programs implement dynamic loading without OS/hardware support?
Answer:Yes
Question:What provides a uniform interface to the I/O subsystem?
Answer:Device drivers
Question:What must be true in a real-time OS for tasks?
Answer:Serviced by deadline period
Question:How does hard real-time OS compare to soft in jitter?
Answer:Less jitter
Question:What should interrupt latency be in real-time OS?
Answer:Minimal
Question:Which are real-time operating systems?
Answer:Windows CE, RTLinux, VxWorks
Question:What happens to process priority with static scheduling?
Answer:Remains unchanged
Question:What are characteristics of host-based IDS?
Answer:Analyzes logs for intrusion tails, audits OS info like logins and executions
Question:What characterizes stack-based IDS?
Answer:Integrated with TCP/IP stack to watch packets
Question:What happens if working-set sizes exceed available frames?
Answer:OS selects a process to suspend
Question:Where is information about all files kept?
Answer:Separate directory structure
Question:What table contains info on all open files?
Answer:Open-file table
Question:What happens to files in a single-level directory?
Answer:All contained in the same directory
Question:How does the OS handle links in directory trees?
Answer:Ignores them to preserve acyclic structure
Question:What information is maintained for network failure recovery?
Answer:State information
Question:What decides which OS to load on multi-OS systems?
Answer:Boot loader
Question:What does a process issue for disk I/O?
Answer:System call