Operating Systems Flashcards

1
Q

What is the Operating System?

A

Interface between end user and computer hardware. Manages hardware and software resources. It also manages memory and security.

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

What are the types of Operating Systems?

A

Batch OS, Multiprogramming OS, Multitasking OS, Time Sharing OS, Real Time OS

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

What is a Batch OS?

A

Similar jobs are stored in main memory for execution. A job gets assigned to the CPU only when previous job is complete.

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

What is Multiprogramming OS?

A

Allows quick switches between jobs so the user can interact with each program as it runs. The main memory consists of jobs waiting for CPU time. The OS selects one of the processes and assigns it to the CPU. Whenever the executing process needs to wait for any operation, the OS selects another process from the job queue and assigns it to the CPU.

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

What is Multitasking OS?

A

Multitasking OS combines the benefits of Multiprogramming OS and CPU scheduling to perform quick switches between jobs. The switch is so quick that the user can interact with each program as it runs.

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

What is Real Time OS?

A

Real Time OS are usually built for dedicated systems to accomplish a specific set of tasks within deadlines.

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

What are the benefits of an OS?

A

Simplifies and abstracts everything for user. User doesn’t have to worry about the finer details.

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

What can an Operating System do?

A

Enable/allow software to run. Provide a disk file system and a way to navigate it. Handles hardware devices. Provides a user interface (or GUI).

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

What are the 4 classes of Operating Systems?

A

Desktop, Server, Mobile and Real Time

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

What is the Desktop class?

A

Multi-user, UI, user focused

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

What is the Server class?

A

For services, 24/7, not intended for users directly

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

What is the Mobile class?

A

1 user, smaller screen and battery focused

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

What is the Real Time class?

A

Embedded, event driven, no keyboard, mouse or screen

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

What is a Family Tree?

A

The Family Tree of Operating Systems e.g. Windows 95, 98, ME or Windows NT/2000/XP/Vista/7/8/10, etc.

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

What is the Kernal?

A

The Kernal is the heart of the Operating System and communicates with user interfaces, OS applications, 3rd party applications, drivers and therefore I/O devices, IO, CPU and Memory, etc.

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

What is the ultimate goal of an Operating System?

A

Efficient running of application software.

17
Q

What is Multitasking?

A

Multitasking is when the OS runs more than one piece of software at the same time e.g. using Word while listening to music. Managed by the Scheduler.

18
Q

What is the Scheduler?

A

The Scheduler is part of the Kernal and is software that schedules the processes in the Operating System. it helps keeps computer resources busy and efficient.

19
Q

What are Device Drivers?

A

Device Drivers allow the Operating System and a device communicate. The handle low-level details of instructing hardware in specific ways as defined by manufacturers.

20
Q

How do Operating Systems manage memory?

A

The Operating System manages the computer’s memory (RAM). Each program must have its own section of memory and be protected from running other programs.

21
Q

What is Virtual Memory?

A

Virtual Memory is used when there is not enough real memory to hold all the running software. It is a technique where secondary memory is used as if it were part of the main memory. Compensates for physical memory shortages, temporarily transferring data from RAM to disk storage.

22
Q

How do Operating Systems manage Security?

A

A key function of the Operating System is to protect applications against a range of malicious attacks such as unauthorized access to privileged information, tempering with executable code and spoofing.

23
Q

What is “Swapping” in Virtual Memory?

A

The exchange of data to and from a disk.Wha

24
Q

What are the advantages of Virtual Memory?

A

Allows the loading of applications bigger than memory. It extends memory to the disk.

25
Q

What are the disadvantages of Virtual Memory?

A

Virtual Memory systems are slower than pure RAM. There is some overhead for doing the swapping.

26
Q

What is “swapped” in Virtual Memory?

A

Segments (variable size) and pages (fixed size)

27
Q

What is the Principle of Locality?

A

Objects that are near to each other in memory are often accessed around the same time, and objects that have been recently fetched may be needed again soon.

28
Q

What are the key features of the Principle of Locality?

A

Memory accesses are likely to be clustered. Instructions tend to be ordered or in small loops. Data is likely to be local. If a page has been swapped into memory to satisfy a memory request, subsequent accesses are likely to be nearby i.e. within the same page.

29
Q

What is a Thread?

A

A Thread is a basic unit of CPU utilization. It is a single sequential flow of execution of tasks of a process (or application that is being executed).

30
Q

What is Multithreading?

A

Multithreading is when multiple Threads are executing in a process at the same time.

31
Q

What is the number of processes in the Running state limited by?

A

The number of logical cores.