Quiz Introduksjon - Forsøkshistorikk Flashcards
The operating system runs in
Supervisor mode.
Hvilke to hovedfunksjoner har et operativsystem?
Håndtere maskinens ressurser og tilby abstraksjoner som skjuler kompleksiteten til systemet.
What is the purpose of the Program Counter?
Containing the memory address of the next instruction to be fetched.
What is the purpose of the PSW (Program Status Word)?
Containing essential information about the process, such as priority and mode (user mode and kernel mode).
What does the process table contain?
Information about which process that are currently existing, and all the information about each process other than the content of its own address space.
______ is a set of standard commands (system-calls) working on UNIX systems.
POSIX
When using virtual memory, the CPU needs a ______ to convert the virtual address to the physical address in RAM.
MMU (Memory Management Unit)
I _______ har man tilgang til all hardware og kan kjøre alle instruksjoner maskinen har mulighet til å kjøre.
Kernel mode
Core image is just another expression for address space.
True
L1 cache is _____ than L2 cache.
- Faster
2. Smaller
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.
Address space
If the access to a file is prohibited, the system returns a file descriptor.
False
When does a context switch occur?
When switching from one process to another.
Which of the following are considered as I/O-devices?
- Printer
2. HDD (hard disk drive)
Which of the following statements is correct?
A system call is always needed when a program requests a service from the kernel, such as reading data from a file.
What is the purpose of a file directory?
Grouping files together in a system to make it more accessible for users and programs.
What do we mean when we say that a program is executing?
That the program is currently running.
IC is generally short for ______.
Integrated Circuit
The RAM is _____.
VOLATILE, meaning that it WILL lose its content when the power is switched off.
The ideal memory should be ___________.
Fast, large and cheap
A _____ occur when the cache line needed is in the cache-memory.
Cache hit
Which word has the same meaning as “sharing” when we are talking about resources?
Multiplexing
Which of the following statements are true about processes?
- 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.