Week 5 - Operating System Fundamental Flashcards

(62 cards)

1
Q

What is the role of human operator in early computing systems?

A

Keyed in programs by hand to control system functions,loaded tapes,fed in cards/paper tape, and maintained the system.

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

Why was human input critical in early computers?

A

Few programs could read/write from a keyboard or disk; no monitiors or keyboard were available

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

What is an operating systems?

A
  • An operating system is a program or collection of programs that makes it easier for us to use a computer.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the examples of an operating system?

A
  1. DOS,OS/2, Window XP
  2. FreeBSD,Fedora, Solaris,Mac OS
    3.iOS, Android, Symbian OS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does the operating system work from the user’s perspective?

A

It is designed for ease of use - it hides the hardware complexity:

  1. Exciting user program
  2. Convinent interface
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

From a user’s perspective, what is less important regarding the Operating System?

A

Resource Utilisation does not appear to be important.

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

What are the objectives of an operating systems?

A
  • A program that controls the execution of application programs
  • An interface between applications and hardware
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the main objectives of an OS?

A
  • Convenience
  • Efficiency
  • Ability to evolve
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the components found in a computer system and explain its functions?

A
  1. Hardware: basic computing resources
  2. Operating system: controls and coordinates use of hardware amongst applications and users
  3. Application Programs: Used to solve computing problems such as compilers, text editors, email clients etc.
  4. Users: people, machines and other computers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the role of an operating system?

A
  • A computer is a set of resources for the movement, storage, and processing of data and for the control of these functions.
  • The OS is responsible for managing these resources.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What resources does an OS manage?

A

CPU time, memory space, file storage space, and I/O devices.

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

What is the evolution of the OS?

A
  1. Serial Processing
  2. Simple Batch Systems
  3. Multi programmed batch systems
  4. Time sharing systems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What were the problems associated with serial processing in the earliest computers?

A
  1. Scheduling - Most installations used a hard copy sign-up sheet to reserve computer time. Time allocations could run short or long, meaning computer time is wasted.
  2. Setup time - Considerable amount of time was spent just on setting up the program to run
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

In the earliest computers, what was were the features?

A
  1. There was no operating system, this means programmers interacted directly with the computer hardware
  2. Users have access to the computer in “series.”
  3. Computers ran from a console with display lights,toggle switches, som from of input devices, and a printer.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What tasks did the perators perform?

A

Loaded magnetic tapes,fed in punched cards or paper tape, and kept the system running smoothly.

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

What were some limitations of early computer systems?

A

Lack of screens and keyboards, manual program input, and limited automatic data input/output

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

How did human operators manage early computer systems?

A

They worked in shifts, fed in cards or paper tape to maintain the system which was about 40 hours per week per shift.

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

How did the number of operators change from 1967 to 1970?

A

In 1967, there was only one operator and by 1970, the system operated with four shifts

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

What were the challenges of early computer operation?

A

The work was laborious, expensive, tedious and error-prone

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

Why was operating early computer systems considered tedious and expensive?

A

It required constant manual input and long work hours, and it was highly prone to human error.

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

What happened as institutions installed faster and more powerful computers?

A

The limiting factor was that the human operators couldn’t keep up with the new system speeds

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

Why was there a need for an auto matic system in early computing?

A

To free operator from tedious and repetitive tasks.

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

What major development emerged to address operator limitations?

A

The arrival of the Operating System

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What does an Operating System provide?
A simpler abstraction of the underlying hardware
26
What is another role of an Operating system?
It acts as a resource manager, managing hardware and software resources
27
What is an Operating System from a technical perspective?
A layer of system software that acts as an intermediary between the user and the computer's hardware.
28
How is the OS viewed from the system's perspective?
It is closely involved with the hardware and acts as a resource manager and allocator
29
How else can the OS be described?
As a control system between I/O devices and the user's programs.
30
What is one important role of the OS in managing execution?
Preventing errors and improper use of the system.
31
What is the basic definition of an OS?
A program that controls the execution of application programs and serves as an interface between applications and hardware.
32
What role does the OS play between software and hardware?
It acts as an interface, managing communication between applications and hardware.
33
What defines a modern computer system?
Connectivity- through networks and the internet, enabling data sharing and remote access
34
How do modern computer systems handle multiple tasks?
Multitasking, multiprocessing and virtualisation technologies
35
What services does OS provide for programs?
Program development and program execution.
36
How does the OS manage hardware interaction?
By providing access to I/O devices and controlled access to files
37
What system-level services does the OS offer?
System access and accounting for resource usage.
38
How does an OS ensure system stability?
Through error detection and response
39
What is an analogy for understanding the OS's control role?
Like a thermostat controlling a heating system, the OS manages the computer's resources externally.
40
What was Serial Processing in early computers?
Users interacted directly with hardware,running one program at a time without an operating system
41
What equipment did early computers use during Serial processing?
Consoles with display lights,toggle switches,input devices, and printers
42
What were two major problems in Serial Processing?
Scheduling issues and long setup times
43
How was computer time scheduled during Serial Processing?
Users signed up on hardcopy sheets, but time management was inefficient and led to wasted computer time.
44
Why were simple Batch system developed?
- Early computers were very expensive -It is important to maximise processor utilisation to get full value from the machine
45
What is a monitor in a Simple Batch System?
- A system program that manages the execution of jobs - Users no longer had direct access to the processor. - After a job finished, the program branches back automatically to the monitor
46
How were jobs processed in a Simple Batch system?
- Users submitted jobs to a computer operator - Operator batched jobs together - Jobs were placed on an input device for the system to process in sequence.
47
What is the main function of a monitor in a computer system?
It controls the sequence of events in the system, ensuring that jobs are managed and executed in the correct order.
48
What is a resident monitor?
It is a type of software that always remains in memory, constantly ready to manager and control the execution of programs
49
How does the Monitor interact with jobs?
It reads in a job, transfers control of the system to the job for execution, and then regains control when the job finishes.
50
How does the processor interact with the Monitor in a computer system?
The processor executes instructions from the section of many of memory that contains the Monitor program, managing the control flow of the system.
51
What happens when the processo is executing a user program?
Processor executes the instruction in the usr program until it encounters an ending conditon or an error condition
52
What does it mean by "control is passed to a job"?
When control is passed to a job, it means the processor is fetching and executing instructions from the user program
53
What does it mean when "control is returned to the monitor"?
When control is returned to the monitor, the processor stops executing the user program and resumes fetching and executing instructions from the monitor program.
54
How does processor time behave in a simple batch system?
In the simple batch sytem, the processor alternates between executing user programs and executing instructions from the monitor.
55
What are the sacrifices made when using a Monitor in a Simple Batch System?
Some of the main memory must be allocated to store the Monitor, and some of the processor time is consumed by executing the Monitor's instructions instead of user programs.
56
Despite the overhead introduced by the Monitor, what is the overall effect on system performance?
Despite the memory and processor time overhead, the simple batch system significantly improves the overall utilization of the computer compared to earlier methods.
57
What happens in a Uniprogramming system when an I/O instruction is encountered?
In a Uniprogramming system, the processor spends time executing instructions until it reaches an I/O instruction, after which it must wait for the I/O operation to complete before it can continue processing.
58
What is a memory requirement for Multiprogramming?
In a Multiprogramming system, there must be enough memory to hold both the operating system (the resident monitor) and at least one user program at the same time.
59
How does Multiprogramming improve processor utilisation?
When one job needs to wait for an I/O operation to complete, the processor can switch to execute another job that is ready and not waiting for I/O, thus keeping the processor busy.
60
What is the purpose of a Time Sharing System?
A Time Sharing System is designed to handle multiple interactive jobs, allowing several users to interact with the computer at the same time.
61
How is processor time managed in a Time Sharing System?
In a Time Sharing System, the processor time is shared among multiple users, with the system rapidly switching between users to give the impression of simultaneous access.
62
How do multiple users interact with a Time Sharing System?
Multiple users simultaneously access the system through terminals, and the operating system interleaves the execution of each user program by giving it a short burst, or quantum, of processor time.