OPERATING SYSTEMS! Flashcards

1
Q

Late 1940s

A

No OS, programmer was the user.

Programs were in binary, switches on machines.

One switch represented a bit.

Output was lights.

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

1950s

A

Use of punch cards to encode programs, which computers read.

Fed programs to machine, and they returned output.

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

Late 1960s and 1970s

A

Broken computer programs into smaller chunks, which could fit into the available memory at any one time.

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

80s and 90s

A

80s - Networking and communication.

90s - Move to open systems. OS designed for particular hardware.
e.g. MS-DOS

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

What is an OS?

A

Operating System is a program.

It is written, compiled, tested and debugged.

Software that makes hardware more useful and more user-friendly.

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

What does an OS do?

A

Environment to do work.

Helps user develop and run programs.

Starting and stopping Programs, and sharing the CPU between them.

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

OS Managing Memory:

A

which parts of memory that are in use and the ones that are free.

provides mechanisms by which programs can ask for more memory or give back memory they no longer need

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

OS Input and output

A

covers up the differences between alternative makes and models of devices

overlaps input and output with processing

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

Other things an OS does.

A
  • File systems / organisation
  • Protection
  • one memory, one CPU : protect programs interference
  • Networking
  • covers up the differences between machines
  • Error handling and recovery
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Operating systems services

A

Set of functions provided by an operating system to enable a user to request service from it.

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

What is Kernel?

A
  • Central component of OS
  • Interface between hardware components and software applications
  • Makes the software to interact with the hardware to get a specific task done.
  • Decides the amount of resources (RAM, GPU,… ) to be used by every application.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Kernel continuted

A
  • It decides on what programs to be executed and on what order.

has separate space on memory so it functions independently.

acts as a central authority which guides memory and keeps eye on all the hardware and software data flow.

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

System call:

A

Every process which starts on a system, demands the resources from kernel.

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

User Mode:

A

CPU can only execute a subset of its instructions – the more common ones, like add, subtract, load and store, etc. If a program is executed in user mode, it does not have access to memory, hardware and such resources .

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

Kernel Mode:

A

CPU can execute all of its instructions, including extra privileged instructions.If a program is executed in Kernel mode, it has direct access to memory, hardware and such resources .

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

Monolithic kernel :

A

User and Kernel Services kept in same address space.

(OS in kernel space)

Larger than microkernel.

17
Q

Monolithic Specs

A

Less Access Time
Fast Execution
Hard to Extend
Higher Performance
Higher Risk of System Crash

Linux uses monolithic kernel.

18
Q

Microkernel

A

User and Kernel Services kept in separate address space.

Smaller in size

(minimum code in kernel space)

19
Q

Microkernel specs

A

Greater Access Time
Slow Execution
Easily extendable
Lower Responsibility
Windows Use Hybrid ( Micro + Monolithic)

20
Q

Type of Operating Systems

A

Batch system
Interactive system
General-purpose system

21
Q

Batch Systems

A

Earliest System Developed

Data and commands to manipulate program and data called ‘job’.

Little or no interaction between users and executing a program.

22
Q

Interactive systems

A

Most common computer using mouse, keyboard and screen.

Can intervene with program directly as its being developed, or when running.

Single user: Multi-tasking & Interactive computing on a single-user basis such as Windows, MS-DOS.

or multi-user

23
Q

General Purpose OS

A

Given environment. Timesharing might support interactive users.

24
Q

Network OS

A

To share resources such as printers and databases across Network.

25
Q

Distributed Systems

A

Most recent development in OS, meeting requirements of multi-user system. Bunch of machines working together as one.

When program launched on computer it can start on the machine, however if heavily loaded it can run on another idle machine.

26
Q

Specialist Systems

A

Dedicated to processing large volumes of data, organised data as real time OS, banking system.

27
Q

Design of OS

A

OS is a large piece of software, it requires high-level view of system to get components to work together.

28
Q

Operating system functions

A

-Process Management
-Memory management
-I/O management
-File storage
-Network management

(Modular OS)