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 allocates memory for a program
The OS creates an entry for a process list
The OS clears registers
The OS sets up the stack with argc/argv
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 program runs main()
The OS calls main()
The OS removes the entry from the process list
The OS frees the memory of a process
The program returns from 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.
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
C-21 IV Sem OS Quiz-1 Jan2024

Quiz
•
University
10 questions
Operating-System Operations

Quiz
•
University
8 questions
Operating Systems - Processes

Quiz
•
University
13 questions
Uni 1

Quiz
•
University
10 questions
Understanding Operating Systems

Quiz
•
University
10 questions
Mobile, Linux, and macOS Operating Systems

Quiz
•
12th Grade - Professi...
13 questions
Platform Technologies_Topic1_Quiz1

Quiz
•
University
12 questions
OS Introduction

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade