Direct Execution
Quiz
•
Computers
•
University
•
Practice Problem
•
Easy
Anfernee NG
Used 17+ times
FREE Resource
Enhance your content in a minute
9 questions
Show all answers
1.
REORDER QUESTION
1 min • 3 pts
Reorder the first five steps of a basic direct execution.
The OS sets up the stack with argc/argv
The OS allocates memory for a program
The OS clears registers
The OS creates an entry for a process list
The OS loads a program into memory
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 program returns from main()
The OS frees the memory of a process
The OS calls main()
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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
10 questions
Microcontroller
Quiz
•
11th Grade - University
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
10 questions
Living in the IT Era
Quiz
•
University
10 questions
It's App to You!
Quiz
•
University
10 questions
1ª Recuperação - 3° Trim. - Pensamento Computacional - 9º ano
Quiz
•
9th Grade - University
12 questions
ICT450-TOPIC 1
Quiz
•
University
11 questions
Video Watermaking
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
