Chapter "2" Flashcards

- Describe the services an operating system - Various ways of structuring an operating system - How operating systems are installed and customized and how they boot

1
Q

What are the operating-system services that are helpful to the user ?

A

1.User interface
2.Program execution
3.I/O operations
4.File-system manipulation
5.Communications
6.Error detection

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

What are the different user interfaces?

A

1.Command-Line Interface (CLI)
2.Batch
3.Graphics
User Interface (GUI)

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

Operating systems provide an environment for ………..
of programs and ……… to programs and users

A

execution, services

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

Another set of OS functions exists for ensuring the
………. operation of the system

A

efficient

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

How does the os ensure the efficient operation of the system itself?

A
  1. Resource allocation
  2. Accounting
  3. Protection and security
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define accounting?

A

To keep track of which users use how much and
what kinds of computer resources

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

What is the difference between protection and security?

A

Protection: involves ensuring that all access to system resources is
controlled
Security of system from outsiders requires user authentication,
extends to defending external I/O devices from invalid access attempts

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

Define a system call ?

A

A system call is a mechanism that allows a computer program to request a service from the kernel of the operating system it is running on.

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

What are the three methods used to pass parameters to the OS?

A
  1. Simplest: pass the parameters in registers
  2. Parameters stored in a block, or table, in memory,
    and block address passed as a parameter in a register
  3. Parameters pushed, onto the stack by the program
    and popped off the stack by the operating system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

T|F: Block and stack methods limit the number or length of parameters being passed

A

False.

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

What are the types of system calls?

A
  1. Process control
  2. File management
  3. Device management
  4. Information maintenance
  5. Communications
  6. Protection
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

System programs provide a convenient environment
for program ………………… and ………………..

A

development ,execution.

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

T|F: All system call are simply user interfaces to system calls

A

False, only some and other considered more complex.

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

What are the categories for system programs?

A
  1. File manipulation and File modification
  2. Status information
  3. Programming language support
  4. Program loading and execution
  5. Communications
  6. Background services
  7. Application programs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Create, delete, copy,
rename, print, dump, list, and generally
manipulate files and directories -> these system calls will fall under which category ?

A

File management.

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

 Text editors to create and modify files
 Special commands to search contents of files or
perform transformations of the text ->these system calls will fall under which category ?

A

File modification

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

Compilers,
assemblers, debuggers and interpreters
sometimes provided
->these system calls will fall under which category ?

A

Programming-language support

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

Absolute
loaders, relocatable loaders, linkage editors,
and overlay-loaders, debugging systems for
higher-level and machine language->these system calls will fall under which category ?

A

Program loading and execution-

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

Provide the mechanism for
creating virtual connections among processes,
users, and computer systems ->these system calls will fall under which category ?

A

Communications

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

disk checking, process
scheduling, error logging, printing, Launch at boot time,Run in user context not kernel context ->these system calls will fall under which category ?

A

Background Services

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

What are the Background Services known as?

A

services, subsystems, daemons

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

Launched by command line, mouse click, finger
poke?

A

Application programs

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

What are the system design to the user goals ?

A
  • convenient to use
  • easy to learn
  • reliable
  • safe and fast
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What are the system design to the system goals ?

A
  • Easy to design implement and maintain
  • Flexible and reliable
  • Error-free and efficient
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
What is the difference between policy and mechanism ?
Mechanisms determine how to do something, policies decide what will be done.
23
What language is used to implement the OS?
Mix of languages; 1. Assembly for lowest levels 2. C for main body 3. C, C++. scripting languages (PERL, python) for system programs
24
What is the pro and cone for high-level language ?
Pro: easier to port to other hardware Con: But slower
24
What is Emulation?
It can allow an OS to run on non-native hardware.
24
What are the different ways to structure an OS?
- Simple Structure - UNIX Structure - Layered Approach - Microkernel System Structure - Modules - Hybrid Systems
25
What an example of a simple structure ?
MS-DOS
26
What is MS-DOS written to provide ?
Most functionality in the least space.
27
T|F: The original UNIX os had limited structuring?
True, limited by hardware functionality.
28
What are the two parts that the UNIX consists of?
1. Systems programs 2. The kernel
29
What is the layered approach?
The operating system is divided into a number of layers (levels), each built on top of lower layers. Where each layer is selected to use functions of only lower-level layers
30
What in the bottom layer ? what in the highest layer?
- Hardware - User interface
31
What does the Microkernel System Structure do?
Moves as much from the kernel into user space
32
Most modern operating systems implement .......................
loadable kernel modules
32
What are the benefits of microkernel system ?
1. Easier to extend a microkernel 2. Easier to port the OS to new architectures 3. More reliable (less code is running in kernel mode) 4. More secure
33
What are some examples that uses modules structure?
- Linux - Solaris
34
How does the modules work ?
- Uses OOP approach - Each core component is separate - Each talks to the others over known interfaces - Each is loadable as needed within the kernel
35
What does hybrid mean ?
Hybrid combines multiple approaches to address performance, security, usability needs
36
How is the Mac OS layered ?
It is hybrid, layered, Aqua UI plus Cocoa programming environment.
37
What is Cocoa Touch?
Objective-C API for developing apps
38
What is Media services ?
layer for graphics, audio, video.
39
What is core services?
provides cloud computing, databases.
40
What is android base on ?
Linux kernel but modified.
41
In android runtime environment include?
Core set of libraries and Dalvik virtual machine
41
What are the libraries included ?
- webkit - SQLite - multimedia
42
Define Debugging ?
is finding and fixing errors, or bugs
43
What is profiling?
Is periodic sampling of instruction pointer to look for statistical trends
44
45
45
46
46
47
47
48
49
50