sem 1 Flashcards

1
Q

a computer system

A
  1. user
  2. application
  3. Operating system
  4. Hardware

software can be divided into 2 groups, applications and operating system.

applications need to be supported by the operating system.

applications will use a certain amount of memory, RAM, etc

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

Describe the computer system in your own words.

A

applications help to solve the user needs, and they need to be supported by operating systems, where the operating system coordinates the resources of the application systems and controls the hardware.

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

what are some examples of operating systems in the real world?

A
  • windows
  • iOS
  • android
  • Linux
  • Unix
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what are the 3 objectives of operating system?

A
  1. efficiency
  2. convenience
  3. ability to evolve
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

why does operating system need to be efficient?

A

operating system need to be efficient as a Resource Manager.

OS needs to control the use of a computer’s resources. It is a software, and it needs to be executed by the processor. Thus, it needs to hand over control when necessary to other application programs, and it depends on the processor to let it regain control.

Thus, we can treat OS as a special software as compared to application programs.

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

why does operating system need to be convenient?

A

operating system need to be convenient as a computer interface.

OS needs to handle the hardware for the users. OS also needs to make the job of an application programmer easier by providing services that the programmer can use.

Typically, OS provides services in the following areas:
- Program execution
- Access to I/O devices
- Controlled access to files
- System access
- Error detection and response
- Accounting

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

why does operating system need to be able to evolve?

A

ease of evolution of an operating system.

A major OS will evolve due to hardware upgrades, new services and fixes.

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

Multiprogramming vs Uniprogramming

A

Uniprogramming:
- less main memory needed as only one program sits in the main memory at one time
- less efficient use of the processor during periods of I/O operations

multiprogramming:
- main memory needs more space as multiple programs are sitting in main memory
- more efficient use of processor as another program can run while current program is waiting for an I/O operation.

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

what are the 4 core functions of operating systems?

A
  1. processes
  2. memory management
  3. Information Protection & Security
  4. Scheduling and Resource Management
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what is virtualisation and what is a virtual machine?

A

The word virtualisation creating a virtual version of a device or resource, and that device or resource can be an operating system, server, or even network.

virtual machine:
virtual machine is a machine installed with virtualisation software that can run several OS. Host OS can run multiple VM (Virtual Machines)

A hypervisor sits between the hardware and the VM and manages the resources.

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

Why do companies use Hypervisors?

A
  1. consolidation: server can run multiple VM and increase efficiency by sharing its resources.
  2. rapid development: a VM can be replaced in a very short time span as VM consists of files which are easy to copy.
  3. ease of management: VM can be used in experimentation.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Type 1 Hypervisor VS Type 2 Hypervisor

A

Type 1 Hyervisor sits between the hardware and the Guest OS.
- directly controls the hardware
- allows VM to be installed on it directly.
- usually has good performance.
- VM ESXI, Microsoft Hyper-V

Type 2 Hypervisor sits between the hardware and the Host OS.
- needs to go through the host OS to talk to hardware
- lesser performance compared to type 1 Hypervisor
- Oracle VM virtualbox

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