
OS 2 - 2
Authored by PPSD Arts
Information Technology (IT)
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement best defines a process in computing?
A static collection of source code stored on disk
A program in execution that progresses in a sequential fashion
A hardware thread managed by the CPU scheduler
A compiled binary that has not yet been loaded
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the simplified layout of a process inside main memory, which section contains temporary data such as function parameters, return addresses, and local variables?
Heap
Data
Text
Stack
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which memory section grows and is dynamically allocated to a process during run time and must be managed by program statements?
Text
Heap
Data
Stack
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the Text section of a process contain?
Global and static variables
Temporarily stored local variables
Program instructions for execution
Input/output buffers
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement about the Data section is correct based on the material?
It stores only local variables and is temporary.
It contains global and static variables; their lifetime is throughout program execution and they can be changed.
It holds compiled instructions and is read-only.
It is managed automatically by the operating system and cannot be modified.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which option correctly distinguishes a program from a process?
A program is a dynamic instance of a computer program; a process is source code.
A program is instructions stored in code; a process is the dynamic instance of that program during execution.
A program and process are identical terms.
A process is static and a program is dynamic.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the provided C++ example, what will the program output when executed?
Hello, World!
Hello, World! \n
Nothing, because return 0 stops output
Compilation error due to missing main
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?