Introduction to Operating Systems Flashcards

1
Q

Give the definition of operating systems

A

= program that controls the execution of application programs and acts as an interface between the user of a computer and the hardware.

= the one program running at all times on the computer (usually called the kernel), with all else being application programs.

= concerned with the allocation of recources and services, such as memory, processors, devices and information.
The OS correspondingly includes programs to manage these recources,
such as:
traffic controller, a scheduler, a memory management module, I/O programs, and a file system

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

Name 4 features of OS + explain

A
  1. convenience ->
    An OS makes a computer more convenient to use.
  2. efficiency ->
    An OS allows the computer system resources to be used efficiently.
  3. ability to evolve ->
    An OS should be constructed in such a way as to permit the effective development, testing, and introduction of new system functions at the same time without interfering with service.
  4. throughput ->
    An OS should be constructed that it can give max throughput (Number of tasks per Unit time)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name 5 major functionalities of OS

A
  1. resource management
  2. process management
  3. storage management
  4. memory management
  5. security/privacy management
    (refer to summary pg 1 for full explanations, should be able to explain all 5 functionalities)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does every general-purpose computer consist of ?

A

hardware
operating system(s)
system programs
application programs

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

hardware in computer consists of ?

A

memory
CPU
ALU
I/O devices
peripheral devices
storage devices

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

the system program consists of ?

A

compilers
loaders
editors
OS
etc.

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

the application program consists of ?

A

business programs
database programs

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

explain assembler

A

input = assembly language program.
output = object program + information that enables the loader to prepare the object program for execution

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

explain compiler and interpreter

A

the high level languages are processed by compilers and interpreters.

  • A compiler is a program that accepts a source program in a “high-level language” and produces a corresponding object program.
  • An interpreter is a program that appears to execute a source program as if it was machine language. The same name is often used to designate both a compiler and its associated language.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

explain loader

A

= a routine that loads an object program and prepares it for execution.

  • there are various loading schemes: absolute, relocating, direct-linking.
  • in general, the loader must load, relocate and link the object program.
  • The loader = program that places programs into memory and prepares them for execution.
    (see summary pg 4 for more info)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What electronic device was used in the first generation (1945-55) ?
What type of OS devices ?

A

vacuum tubes
plug boards

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

What electronic device was used in the second generation (1955-65) ?
What type of OS devices ?

A

transistors
batch systems

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

What electronic device was used in the third generation (1965-80) ?
What type of OS devices ?

A

inegrated circuits (IC)
multiprogramming

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

What electronic device was used in the fourth generation (since 1980) ?
What type of OS devices ?

A

large scale integration
PC

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

Name 5 types of OS

A

batch operating system
time-sharing operating system
distributed operating system
network operating system
real-time operating system

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

explain batch OS

A

sequence of jobs in a program on a computer without manual interventions

17
Q

explain time-sharing OS

A

allows many users to share computer resources.
(max utilization of the resources)

18
Q

explain distributed OS

A

manages a group of different computers and makes appear to be a single computer

19
Q

explain network OS

A

computers running in different operating systems can participate in a common network. (Used for security purposes)

20
Q

explain real-time OS

A

used where any or all the jobs have strict time constraints.