Admin, Overview & History Flashcards

1
Q

What is an Operating System?

A

The low-level software that supports a computer’s basic functions, such as scheduling tasks and controlling peripherals. The one program running at all times on the computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the purpose of Operating System?

A

Resource Mangement /
Provide an environment for execution of programs
Provide services to programs and users

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Phase 1: Serial Processing

A

1940s – 50s
* No Operating System,
programmers interacted
directly with hardware
* Signed up for blocks of time
* Potential for wasted time
* I/O took a long time
* CPU idle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Phase 2: Simple Batch Systems

A
  • 1950s – 60s
  • Programmers no longer have
    direct to the hardware
  • Submit jobs to computer
    operator who bundles a group of
    jobs into a batch
  • Resident program – monitor –
    accepts a batch, and processes
    jobs sequentially, with minimal
    pauses between
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Phase 3: Multi-programmed Batch Systems

A
  • 1960s – 70s
  • Automatic job sequencing
    removes the gaps between jobs,
    but still the processor is often idle
  • I/O devices are slow, time spent
    waiting for them
  • Multiprocessing allows operating
    system to switch to a different job
    when active job is waiting for I/O
  • UNICS (later UNIX): became a
    foundation for modern operating
    systems.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Phase 4: Time-Sharing

A

Multi-programmed batch systems can be quite efficient
* But do not allow user interaction
* Time-sharing systems take it one step further and allow
user interaction
* Trade-off between maximising user processing and minimising
response time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Key Features of Operating Systems

A
  • User Interface
  • Process Management
  • Memory management
  • Information Protection & Security
  • Scheduling & Resource Management
  • Communication
  • Error Detection
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

System Calls interface

A
  • Programming interface to the services provided by the OS
  • Mostly accessed by programs via a high-level Application
    Program Interface (API) rather than direct system calls
  • Act as a bridge between user-mode and kernel-mode operations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a System Program?

A

An OS System Program—software to provide useful
functions, utilities, and services.
* System Programs are not part of the kernel but operate in
user space
* Leverage System Calls to interact with the kernel and
manage resources.
* Some are simply user interfaces to system calls; others are
considerably more complex

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

3 most common system call types

A
  • Three most common:
  • Win32 API for Windows
  • POSIX API: for all POSIX-based systems (*nix, OS X, Android)
  • Java API for the Java Virtual Machine (JVM)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Name the System Programs?

A
  • File management
  • Status information and debugging
  • File modification
  • Programming-language support
  • Program loading and execution
  • Communications
  • Background Services
How well did you know this?
1
Not at all
2
3
4
5
Perfectly