Ch. 2 PPT Part 1 Flashcards

1
Q

What do we expect the OS to do?

A

Control/manage HW, run applications quickly

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

What are the objectives of the OS?

A

Convenience, efficiency, and the ability to evolve

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

Where does the OS sit in the grand scheme of things?

A

It sits between the hardware and the applications and APIs

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

What is a very important OS service?

A

The GUI. It makes everything more convenient

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

What features are more prevalent on Linux systems?

A

The ease at which developing is

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

Where does ISA come into the OS?

A

It’s how it interfaces with the hardware

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

What is ABI?

A

Application binary interface. It’s the means by which system calls are made and the program gains access to system resources

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

What does the OS do in terms of data?

A

It handles movement, storage, and processing of data

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

What is an example of an OS evolving?

A

The OS accommodating newer hardware or a security patch being released.

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

What OS is good with backwards compatibility?

A

Linux

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

How does the OS interact with the processor?

A

It relinquishes control and then depends on the processor to allow it to regain control

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

What was serial processing?

A

In the 1940’s and 50’s, users had control to the machine in series. Time would be wasted because you had no control over what someone did in there. Also, setup was long

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

What was the monitor?

A

It was an early kernel. Users would no longer have direct access to the CPU. The punched cards were put on a tape and run sequentially

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

How did the monitor output things?

A

The results were put onto an output tape and then printed out

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

What concept did the monitor introduce?

A

The interrupt, which was early multitasking

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

What other OS concepts did the monitor introduce?

A

Drivers, sequencing, and IO. Also, it was always sitting in memory and always running (resident monitor)

17
Q

How did early hacking arise?

A

When the monitor was running a program, it had complete control.

18
Q

How did you control use time with the monitor?

A

You could control the max time each person spent on there. When the cap was hit, there was an interrupt

19
Q

What were the early modes?

A

User and system. It implemented early control over who could access what data. System calls were needed for hard drive access

20
Q

What is JCL?

A

Job control language. Controls what compiler to use and what data to use

21
Q

How does the monitor balance out?

A

It uses more memory but improves efficiency

22
Q

What is multiprogramming?

A

The processor switches between jobs when it is waiting for IO or something

23
Q

How do you calculate use time?

A

Multiply the percentage use by the time, then divide it by the total time.

24
Q

What is a time-sharing system?

A

The idea of interactive jobs, where users are sitting behind a terminal and doing things

25
Q

What happens if a job overlaps?

A

Users get access to parts of memory which they;re not supposed to

26
Q

What is a process?

A

It’s a concept describing a program running and its smaller parts running

27
Q

What are OS errors?

A

Improper sync, failed mutual exclusion, nondeterminate program operation, and deadlock

28
Q

One program runs in multiple ____

A

Processes

29
Q

What is the program lifecycle?

A

Initiated, process, and exit

30
Q

What does the process contain?

A

The executable program, the associated data, and the execution context

31
Q

What is virtual memory?

A

Only small amounts of a program are loaded into memory , and pointers are used to swap around between this virtual memory and the physical memory