Lecture 1 Flashcards

1
Q

What is an OS?

A

The chief computer software that manages hardware and other software. It is a resource allocator and control program.

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

Describe Serial Processing

A

Programmers used Machine language. Was very time confusing

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

What are the three main objectives in OS Management?

A
  1. Resource Efficiency
  2. Convenience
  3. Ability to adapt
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Explain the primary purpose of having an OS change from the 1960’s to 1990’s.

A

The transistion was mainly due to making the process cheaper and more convenient.

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

Describe Batch Processing

A

Data is collected and executed together as a group, usually without immediate user interaction. It is commonly used to process large volumes of data in a more efficient and systematic manner.

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

What is the difference between Multiprogramming and Multi processing?

A

Multiprogramming: The management of multiple processes within a uniprocessor system

Multiprocessing : The management of multiple processes within a multiprocessor

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

Describe hyper-threading.

A

Hyper-threading is a hardware-level technology that allows a single physical core to function as two logical cores

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

Describe multi threading

A

multi-threading is a software-level approach that involves running multiple threads within a single process

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

Name three ways in which the processor can transition from user mode to kernel mode.

A
  1. System Calls
    2.Exceptions/Interrupts/Page faults
  2. Hardware Instructions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How are multiple interrupts dealt with?

A
  1. Disable interrupts
    while an interrupt is being processed.
  2. Define priorities for interrupts and to allow
    an interrupt of higher priority to cause a lower-priority interrupt handler to be interrupted.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How does the distinction between user-mode and kernel-mode provide a rudimentary form of
protection for your system?

A

Certain instructions could be executed only when the CPU is in kernel mode. Similarly, hardware devices could be accessed only when the program is executing in kernel mode.

Control over when interrupts should be enabled or disabled is also possible only when the CPU is in kernel mode.

The CPU has very limited capability when executing in user mode, thereby enforcing protection of critical resources.

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

What is Time sharing?

A

A computing technique that allows multiple users or processes to share a single computer or its resources concurrently.

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

List the evolution of OS from earliest to latest

A
  1. Serial Processing
  2. Simple Batch Processing
  3. Multiprogrammed batch jobs
  4. Time Sharing Systems
  5. Real Tikme Systems
  6. Distributed Systems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly