Direct Execution

Quiz
•
Computers
•
University
•
Easy
Anfernee NG
Used 17+ times
FREE Resource
9 questions
Show all answers
1.
REORDER QUESTION
1 min • 3 pts
Reorder the first five steps of a basic direct execution.
The OS loads a program into memory
The OS clears registers
The OS sets up the stack with argc/argv
The OS allocates memory for a program
The OS creates an entry for a process list
2.
REORDER QUESTION
1 min • 3 pts
Reorder the next five steps of a basic direct execution.
The OS removes the entry from the process list
The program runs main()
The OS calls main()
The program returns from main()
The OS frees the memory of a process
3.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
___________ mode allows code to perform privileged operations. This is where the OS runs.
4.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
_________ mode limits the capabilities of the programs that run in this mode.
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a way for a user program to request privileged services from the kernel?
System Calls
Trap Tables
Trap Instructions
LDE Protocols
6.
DROPDOWN QUESTION
1 min • 3 pts
A (a) tells the hardware what code to run when specific events occur. A (b) jumps into the kernel and raises the privilege level to (c) , and calls (d) to go back into (e) .
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
In a cooperative system, how does the OS regain control of the CPU?
The OS regains control of the CPU every five seconds.
The OS does not need control of the CPU; it can perform any task while other processes are running.
The OS regains control of the CPU when the user program attempts unauthorized activity.
The OS regains control of the CPU when the user program makes a system call.
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following describes a timer interrupt?
It jumps into the kernel to raise privilege level.
It requires a system reboot to regain control.
It assumes that processes will behave reasonably
It is programmed to raise an interrupt every period of milliseconds.
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does the OS retain state as it switches processes?
The OS saves the information on the hard disk.
The OS cannot save state when switching processes.
The OS saves the information to RAM.
The OS saves the information to the kernel stack.
Similar Resources on Wayground
10 questions
Operating-System Operations

Quiz
•
University
13 questions
Uni 1

Quiz
•
University
10 questions
C-21 IV Sem OS Quiz-1 Jan2024

Quiz
•
University
13 questions
Board Game Trivia!

Quiz
•
5th Grade - University
10 questions
Pemrograman Android KD 3.28/4.28

Quiz
•
1st Grade - Professio...
6 questions
Kernel Support Vector Machine

Quiz
•
University
6 questions
Part 1 - Linux

Quiz
•
University
12 questions
CC3056 - Computación con GPUs

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University