Operating System Intro (PPT 1) Flashcards

1
Q

What is an Operating System?

A

It is a complex program which is in charge of the computer.

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

What are the three main purposes of the OS?

A
  • Provide an extended machine interface (for the programmer)
  • Provide efficient, safe management of computing resources
  • Provide a user interface for user interaction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What would a programmer have to know if there was no operating system?

A
  • The ins and outs of hardware, in detail

- Be able to access and program the hardware

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

What would every program need to contain if there was no operating system?

A
  • Would have to contain code to do the same thing so lots of duplication
  • Would probably do something wrong and clash with another program
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the OS provide to programs?

A
  • A simpler, more powerful interface

- Higher level services

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

How are OS Services accessed?

A

OS Services are only accessed by system calls. The user and programs should never have to directly interact with the hardware

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

What does a program see the OS as?

A

It sees it as a set of system calls, called the Application Programming Interface (API)

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

What is the Kernel?

A

This is the main OS program, it contains code for most of the services. Always in primary memory

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

What are Device Drivers?

A

These are programs which provide a simple, consistent interface to Input/Output devices. They are typically part of the kernel.

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

What is a Program?

A

A static file of machine code on a disk. Dead code

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

What is a Process?

A

A program in execution. “Living” code. The collection of resources and OS data structures owned by a program while it is running

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

What are some examples of OS functions?

A
  • Open
  • Read
  • Print
  • Close
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the process of adding a new device on a old OS?

A
  • Get the device driver software
  • Recompile the kernel with the new device included
  • Re-boot the machine so the new kernel and driver will be used.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is Micro-Kernel Approach?

A

This is a newer method for kernel structure. The kernel contains the minimum functions and the rest is provided by user level processes

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

What is contained within the Micro kernel?

A
  • Memory management
  • Basic CPU management
  • Inter process communication
  • I/O support
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What characteristics does a Micro Kernel have?

A
  • Easy to replace server
  • Can have multiple personalities
  • Makes use of message passing
  • Easier to write and port the operating system
  • Design is perfect for distributed systems.
17
Q

What to Operating Systems tend to be?

A
  • Micro Kernel based
  • Support multiple personalities
  • Give much greater support for networks
18
Q

How is Microsoft Windows structured?

A

-Single user, multi tasking, interactive applications
-Supports threads
-Symmetric Multi-processing (supports multi-core or multi-processors)
-use of object oriented concepts
-Structure for user mode and kernel mode:
Hardware abstraction level for different hardware

Kernel

System Functions and API

Special System support, server processes, OS personalities