Frage 1
Frage
What roles and functionality does an operating system provide?
Antworten
-
Hide hardware complexity from applications and developers
-
Manages the underlying software
-
Provides isolation and protection
-
Guarantees applications can never access each others memory
Frage 2
Frage
Threads can only exist on the kernel level
Frage 3
Frage
Which of the following are components of an operating system?
Antworten
-
Microsoft Word
-
Device Driver
-
Web Browser
-
Kernel
-
File System
Frage 4
Frage
An operating system abstracts and arbitrates the use of the computer system.
Frage 5
Frage
Distributing memory between multiple processors is an example of abstraction.
Frage 6
Frage
Supporting different types of speakers is an example of abstraction.
Frage 7
Frage
What is an embedded operating system?
Antworten
-
A type of operating system that targets servers.
-
A type of operating system that targets desktops.
-
A type of operating system designed to be compact, efficient at resource usage, and reliable (such as for a smart phone/tablet).
-
A type of operating system that targets mainframes.
Frage 8
Frage
Check all UNIX based operating systems below.
Antworten
-
Windows
-
Mac OS X (BSD)
-
Linux
-
Android
Frage 9
Frage
Which of the following is an abstraction?
Antworten
-
Socket
-
Create
-
Schedule
-
Write
Frage 10
Frage
Which of the following is a mechanism?
Antworten
-
Schedule
-
Process
-
File
-
Thread
Frage 11
Frage
To achieve it's goals an operating system supports a number of higher level abstractions and then a key number of mechanisms that operate on top of these abstractions.
Frage 12
Frage
Operating systems do not implement policies to determine how mechanisms will be used to manage the underlying hardware.
Frage 13
Frage
The policy Least Recently Used (LRU) decides that the pages that have been least recently used over a period of time are the ones that are no longer used in physical memory but instead to be used on disk. This is also known as
Antworten
-
Swapping
-
Switching
-
Transferring
-
Upkeep
Frage 14
Frage
What are some good guiding policies when designing an OS? Check all that apply
Antworten
-
Separation of mechanisms and policy
-
Tight coupling of mechanisms and policy
-
Optimize for edge cases
-
Optimize for the common case
Frage 15
Frage
To achieve it's role of controlling and managing hardware resources on behalf of applications, the application must have special privileges. This is achieved by distinguishing between at least two modes of
Antworten
-
Kernal and User
-
Kernal and Admin
-
Admin and Master
-
Privileged and Kernel
Frage 16
Frage
The operating system must operate in privileged kernel mode.
Frage 17
Frage
User - Kernel switch is supported by which hardware?
Antworten
-
The CPU
-
Motherboard
-
RAM
-
GPU
Frage 18
Frage
What is a trap instruction?
Antworten
-
When an application attempts to perform privileged operations in user mode
-
An instruction that leads to buffer overflow
-
Any instruction sent to the CPU when close to using max RAM
-
Any instruction performed by incompatible hardware.
Frage 19
Frage
What happens when a trap instruction occurs?
Antworten
-
Control is switched to the OS at a specific location
-
The OS checks to see what caused the trap to occur
-
Grant access or perform terminate the process if the instruction was illegal.
-
A system call
Frage 20
Frage
A system call is when the operating system gives privileged access to an application. Examples of this are open(file), send(socket), and malloc(memory).