Questão 1
Questão
What roles and functionality does an operating system provide?
Responda
-
Hide hardware complexity from applications and developers
-
Manages the underlying software
-
Provides isolation and protection
-
Guarantees applications can never access each others memory
Questão 2
Questão
Threads can only exist on the kernel level
Questão 3
Questão
Which of the following are components of an operating system?
Responda
-
Microsoft Word
-
Device Driver
-
Web Browser
-
Kernel
-
File System
Questão 4
Questão
An operating system abstracts and arbitrates the use of the computer system.
Questão 5
Questão
Distributing memory between multiple processors is an example of abstraction.
Questão 6
Questão
Supporting different types of speakers is an example of abstraction.
Questão 7
Questão
What is an embedded operating system?
Responda
-
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.
Questão 8
Questão
Check all UNIX based operating systems below.
Responda
-
Windows
-
Mac OS X (BSD)
-
Linux
-
Android
Questão 9
Questão
Which of the following is an abstraction?
Responda
-
Socket
-
Create
-
Schedule
-
Write
Questão 10
Questão
Which of the following is a mechanism?
Responda
-
Schedule
-
Process
-
File
-
Thread
Questão 11
Questão
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.
Questão 12
Questão
Operating systems do not implement policies to determine how mechanisms will be used to manage the underlying hardware.
Questão 13
Questão
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
Responda
-
Swapping
-
Switching
-
Transferring
-
Upkeep
Questão 14
Questão
What are some good guiding policies when designing an OS? Check all that apply
Responda
-
Separation of mechanisms and policy
-
Tight coupling of mechanisms and policy
-
Optimize for edge cases
-
Optimize for the common case
Questão 15
Questão
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
Responda
-
Kernal and User
-
Kernal and Admin
-
Admin and Master
-
Privileged and Kernel
Questão 16
Questão
The operating system must operate in privileged kernel mode.
Questão 17
Questão
User - Kernel switch is supported by which hardware?
Responda
-
The CPU
-
Motherboard
-
RAM
-
GPU
Questão 18
Questão
What is a trap instruction?
Responda
-
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.
Questão 19
Questão
What happens when a trap instruction occurs?
Responda
-
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
Questão 20
Questão
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).