Operating Systems Flashcards

1
Q

What is an Operating System?

A

A software that acts as an intermaiedary between users and hardware

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

Functions of operating systems

A

-Oversee operation of computer
-Store and retrieve files
-Schedule programs for execution
-Coordinate the execution of programs

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

OS as …..
OS as …..

A

OS as extended machine (resource allocator)
OS as a resource manager (control program)

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

Components of Computer System

A

Computer Hardware>Operating Systems>Sytem and Application Programs>Users

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

Evolution of shared computing

A

Batch processing : Add to queue and wait
Interactive processing : Requires real-time processing
Time-sharing/Multitasking : Implemented by multiprogramming
Multiprocessor machines :

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

Types of Software

A

Application Software : Specific tasks for users
System Software : Provides infrastructure for application software and consists of “operating system and utility software”

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

Software Classification

A

Software - Application
\
System - Utility
\
Operating System - User interface
\
Kernel

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

Operation System Components

A

User interface : Communicates with users
+Text based (Shell)
+Graphical user interface (GUI)
Kernel : Performs basic required functions
+File manager
+Device drivers
+Memory manager
+Schedular and dispatcher

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

File Manager

A

Directory (or Folder) : A user-created bundle of files and other directories (subdirectories)
Directory path : A sequence of directories within directories

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

Memory Manager

A

+Allocates space in main memory
+Virtual memory by playing a “shell game” in which blocks of data (pages) are shifted back and forh between main memory and mass storage

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

Getting it started

A

=Bootstrapping
Boot loader : Program in ROM (example of firmware)
-Run by the CPU when power is turned on
-Transfers operating system from mass storage to main memory
-Executes jump to operating system

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

Processes

A

Process : The activity of executing a program
Process state : Current status of the activity
-Program counter
-General purpose registers
-Related portion of main memory

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

Process administration

A

Schedular : Adds new processes to the process table and removes completed ones
Dispatcher : Controls the allocaation of time slices to the processes in the process table *the end of a time slice is signaled by an interrupt

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

Handling Competition for Resources

A

Semaphore : A “control flag”
Critical Region : A group of instructions that should be executed by only one process at a time
Mutual exclusion : Requirement for proper implementation (yürütme) of a critical region

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

Deadlock

A

Processes block each other from continuing
Conditions required for deadlock
1-Competition for non-sharable resources
2-Resources requested on a partial basis
3-An allocated resource cannot be forcibly retieved

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

Dining Philosophers Problem

A

The sleeping barber problem

17
Q

Security

A

+Attacks from outside
-Problems :
>Insecure passwords
>Sniffing software
-Counter measures
>Auditing software
+Attacks from within
-Problem : unrurly processes
-Counter measures : Control process activities via priviliged modes and priviliged instructions

18
Q
A