Quiz Introduksjon - Forsøkshistorikk Flashcards

1
Q

The operating system runs in

A

Supervisor mode.

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

Hvilke to hovedfunksjoner har et operativsystem?

A

Håndtere maskinens ressurser og tilby abstraksjoner som skjuler kompleksiteten til systemet.

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

What is the purpose of the Program Counter?

A

Containing the memory address of the next instruction to be fetched.

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

What is the purpose of the PSW (Program Status Word)?

A

Containing essential information about the process, such as priority and mode (user mode and kernel mode).

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

What does the process table contain?

A

Information about which process that are currently existing, and all the information about each process other than the content of its own address space.

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

______ is a set of standard commands (system-calls) working on UNIX systems.

A

POSIX

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

When using virtual memory, the CPU needs a ______ to convert the virtual address to the physical address in RAM.

A

MMU (Memory Management Unit)

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

I _______ har man tilgang til all hardware og kan kjøre alle instruksjoner maskinen har mulighet til å kjøre.

A

Kernel mode

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

Core image is just another expression for address space.

A

True

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

L1 cache is _____ than L2 cache.

A
  1. Faster

2. Smaller

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

The ______ is created per process and is a set of addresses that the process can use to store its program code and variables as long as the process exists.

A

Address space

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

If the access to a file is prohibited, the system returns a file descriptor.

A

False

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

When does a context switch occur?

A

When switching from one process to another.

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

Which of the following are considered as I/O-devices?

A
  1. Printer

2. HDD (hard disk drive)

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

Which of the following statements is correct?

A

A system call is always needed when a program requests a service from the kernel, such as reading data from a file.

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

What is the purpose of a file directory?

A

Grouping files together in a system to make it more accessible for users and programs.

17
Q

What do we mean when we say that a program is executing?

A

That the program is currently running.

18
Q

IC is generally short for ______.

A

Integrated Circuit

19
Q

The RAM is _____.

A

VOLATILE, meaning that it WILL lose its content when the power is switched off.

20
Q

The ideal memory should be ___________.

A

Fast, large and cheap

21
Q

A _____ occur when the cache line needed is in the cache-memory.

22
Q

Which word has the same meaning as “sharing” when we are talking about resources?

A

Multiplexing

23
Q

Which of the following statements are true about processes?

A
  1. A process can be seen as a program in execution

2. A process is fundamentally a container that holds all the information needed to run a program.