Chapter 2 Flashcards

1
Q

RTE

A

Run-time Environment

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

System-call interface

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

RTE -> System-call Interface

A

The RTE proves a system-call interface that serves as the link to system calls made available by the os.

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

How many types of system calls

A

Six

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

System call types

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

Process Control

A
  • Create, terminate process
  • load, execute
  • get/set process attributes
  • wait event, signal event
  • allocate and free memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

File management

A
  • create, delete file
  • open, close
    read, write, reposition
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Strace

A

Available on Linux sytems, lists each system call as it is executed.

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

Two common models of interprocess communication

A
  • Message-passing model
  • Shared-memory model
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Message-passing model

A

The communicating processes exchange messages with one another to transfer information

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

Deamons

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

Shared Memory Model

A

Processes use shared_memory_create() and shared_memory_attach() system calls to create and gain access to regions of memory owned by other processes.

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

Computer Hierarchy

A

hardware, OS, system services, Application programs.

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

System services (system utilities)

A

Provide a convenient environment for program development and execution.

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

Deamons, Services, subsystems

A

Constantly running system-program processes.

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

Interpreters, RTE, and binary executable files

A

Available to be able to run programs on different computers which have different system calls or APIs

17
Q
A