WorksheetsIT2105 - Preliminary Examination
Total questions: 105
Worksheet time: 58mins
It defines a standard for binary portability across programs.
Application Program Interface
Application Binary Interface
Performance Parameter
Instruction Set Architecture
The operating system uses these to manage a computer system's input/output devices and channels.
Memory Tables
I/O Tables
File Tables
Process Tables
It includes different information associated with the input/output status of a process.
Memory Pointer
Context Data
I/O Status Information
Accounting Information
It contains additional information the operating system needs to control and coordinate various active processes.
Process Control Block
Memory Management Unit
File Allocation Table
Accounting Information
Which section of the process description contains scheduling info, event structuring, and inter-process communication signals necessary for the OS to manage the process?
A. Process Identification
B. Processor State Information
C. Process Control Information
D. Process Active Information
It is a free open-source variant of the UNIX operating system that runs virtually on different platforms.
Android Operating System
Linux Operating System
Classic UNIX System
Modern UNIX System
It is a process that the operating system has released from the pool of executable processes.
New State
Ready State
Running State
Exit State
It refers to a single program involving numerous sequenced set-up processes.
Activity
Job
Shell
Event
It indicates the address of the next instruction to be executed for a particular process.
Program Counter
Identifier
Priority
Process State
It enforces the access validation and audit-generation rules for all protected objects in Windows Executive.
Security Reference Monitor
Object Manager
Advanced Local Procedure Call Facility
Cache Manager
These are used to hold information about the existence of files and their corresponding attributes.
File descriptors
File tables
Inodes
File pointers
Which of the following manages information regarding open files, their location on secondary storage, and their status?
Memory Tables
I/O Tables
File Tables
Process Tables
It defines the collection of machine language instructions that computers follow.
Application Program Interface
Application Binary Interface
Performance Parameter
Instruction Set Architecture
These external events are independent of the running process in process switching.
Interrupts
Traps
Events
Shells
It controls the hardware and coordinates its use among programs for various users.
Performance Parameter
Program Execution
Operating System
Program Development
It implements a graphical user interface, such as user interface controls and illustrations.
Windows Executive
Windows Kernel
Windowing and Graphing System
Hardware Abstraction Layer
Which of the following statements is TRUE about process attributes?
They consist of processor registers' information.
They require a great deal of information about each process residing in a process control block.
They hold information regarding the existence of files and their corresponding attributes.
They involve unique numeric identifiers assigned to specific processes.
Which of the following statements is TRUE about a trap in process switching?
It relates to errors generated within the currently running process.
It is independent to the running process.
It generates an interrupt to alert the OS that a process has been completed.
It lets software control the processor and its instructions and registers.
Which of the following statements best describes a suspended process model?
Which of the following statements is TRUE about the Windows operating system?
It includes a modified version of the Linux kernel and middleware.
It provides a uniform platform for commercial UNIX deployment.
It involves the people and process components of information systems.
It separates the core OS software from the application-oriented software.
Which of the following DOES NOT describe a process?
It is an instance of a program running on a computer.
It is a storage in a data structure.
It is a program in execution.
It is treated as a unit of activity that executes a sequence of instructions.
Which of the following statements is TRUE about the Android operating system?
It is a free open-source variant of the UNIX operating system.
It plays an important role in the development of UNIX OS design theory.
It is a Linux-based system originally designed for mobile phones.
It separates the core operating system software from the application-oriented software.
Which of the following is TRUE about time-sharing systems?
They allow multiple users simultaneously access the system through terminals.
They process jobs in bulk, with predetermined input from files or other data resources.
They allow the processor to handle multiple jobs at a time.
They interact directly with computer hardware.
Which of the following is TRUE about simple batch systems?
They allow multiple users simultaneously access the system through terminals.
They process jobs in bulk, with predetermined input from files or other data resources.
They allow the processor to handle multiple jobs at a time.
They interact directly with computer hardware.
Which of the following is NOT an operating system service as a computer interface?
Management of virtual addresses, physical memory, and paging files on a disk.
Handling of different processes, such as loading data into the memory and scheduling.
Provision of a uniform interface that hides complex sets of instructions for I/O devices' operation.
Detection of errors and provision of appropriate responses with the least impact on running applications.
Which of the following statements is TRUE about the system kernel in a classic UNIX system?
It focuses on the development of modular architecture.
It focuses on linked programs and libraries.
It focuses on the physical hardware and interface.
It focuses on the overall operation of the system.
Which of the following characteristics is NOT attributed to a process during program execution?
The same identifier for each process.
The priority level relative to other processes.
The current activity of a process.
The address of the next instruction to be executed.
Which of the following statements is TRUE about the kernel mode as an execution mode?
It relates to errors generated within the currently running process.
It is independent to the running process.
It generates an interrupt to alert the OS that a process has been completed.
It lets software control the processor and its instructions and registers.
Which of the following is NOT an operating system function?
Utilization of hardware resources of one or more processors.
Extension of system functionality and running of background user-mode activity.
Management of the secondary memory and the input/output devices.
Capability to boot and execute programs.
Which of the following statements is TRUE about a halt instruction in process termination?
It relates to errors generated within the currently running process.
It is independent to the running process.
It generates an interrupt to alert the OS that a process has been completed.
It lets the software control the processor and its instructions and registers.
Which of the following statements is TRUE about process identification?
It consists of processor registers' information.
It requires a great deal of information about each process residing in a process control block.
It holds information regarding the existence of files and their corresponding attributes.
It involves unique numeric identifiers assigned to specific processes.
In process creation, what does "set the appropriate linkages" refer to?
Mapping global memory
Binding the process to its output
Which of the following is a reason for the evolution of operating systems?
Increased user demand for 3D graphical interfaces
Internet-based deployment of UNIX systems
Introduction of new or improved services
Reduction in application software size
What is the primary reason for saving processor register information during process execution?
To reduce the number of blocked processes
To restore the process state after an interruption
To increase the priority level of user applications
To allow simultaneous execution of all processes
What function does the Advanced Local Procedure Call (ALPC) facility serve in Windows architecture?
It schedules multiple processors in a system.
It controls access to plug-and-play hardware devices.
It provides an efficient cross-process communication mechanism.
What is the role of the Shell in a classic UNIX system?
It manages processor scheduling and resource allocation.
It handles the execution of all user interface graphics.
It isolates the hardware level from system libraries.
It supports system calls from applications and compiler components.
This is the ability of an operating system to support concurrent paths of execution within a single process.
Blocking
Spawning
Scheduling
Multithreading
This semaphore only takes the values of zero and one.
Mutual Exclusion
Mailbox
Binary
Counting
It indicates whether a waiting thread may execute an asynchronous procedure call.
Execution Status
Thread Exit Status
Asynchronous Status
Alert Status
Which of the following operating systems implements the combined approach?
Windows
Solaris
Linux
Android
It is the management of multiple processes executing on multiple distributed computer systems.
Multiprocessing
Distributed Processing
Multiprogramming
Mutual Exclusion
Multithreading allows a program to continue running even if some part of it is blocked or performing a lengthy operation. This benefit is known as:
(a)
It is a situation wherein multiple threads read and write a shared data item.
Atomic Operation
Critical Section
Race Condition
Starvation
It is a useful tool in characterizing the allocation of resources to processes.
Resource Allocation Graph
Reusable Resource
Consumable Resource
Atomicity
This condition is prevented by requiring a process to request all its required resources simultaneously.
Hold and Wait
Mutual Exclusion
Circular Wait
No Preemption
These affect the application design and performance when applications with multiple threads are provided.
Thread IDs
Multicore Systems
Termination Ports
Thread Libraries
This condition is prevented by defining a linear ordering of resource types.
Hold and Wait
Mutual Exclusion
Circular Wait
No Preemption
In this approach, multiple threads within the same application can run in parallel on multiple processors and a blocking system call does not block the entire process.
User-level Approach
Kernel-level Approach
Combined Approach
Switching Approach
This programming construct encapsulates variables and initialization code within an abstract data type.
Monitor
Concurrency
It is used to block a process or a thread until a specific condition is true.
Event Flag
Condition Variable
Message Passing
Spinlock
This operation moves a blocked thread into the ready queue for the continuation of its execution.
Spawn
Block
Unblocked (or Signal/Wakeup)
Finish
Which of the following is NOT a restriction in implementing the deadlock avoidance strategy?
Processes may exit while holding resources.
There must be a fixed number of resources to allocate.
There must be a fixed number of resources to allocate (Duplicate option).
Any synchronization requirements must unconstrain the processes under consideration.
Which of the following is NOT a benefit of multithreaded programming?
Allowed threads of activities within the same address space.
Lesser time and memory consumption for thread creation.
Scheduled thread whenever a process is blocked.
Increased user application responsiveness.
Which of the following is NOT attributed to threads?
A. A saved thread context when not running.
B. An execution stack.
C. A thread execution state.
D. A web browser that displays images or texts.
Which of the following statements is NOT TRUE about deadlocks?
They block a set of processes.
They occur if the receiving process is blocked.
They involve conflicting needs for resources by two (2) or more processes.
They encompass the ability to load and execute multiple runnable programs.
Which of the following is NOT a multithreaded application?
A. A web browser that displays images or texts while retrieving data from the network.
B. An application that creates thumbnails of photos from a collection of images.
C. An application that only processes binary data.
Which of the following is NOT an operating system concern caused by the existence of concurrency?
The ability to keep track of various processes.
The ability to communicate with each other by process identification.
The data and physical resources protect against unintended interference.
The allocation and deallocation of different resources for each active process.
Which of the following statements is NOT TRUE about concurrency?
It encompasses the ability to load and execute multiple runnable programs.
It involves conflicting needs for resources by a single process.
It can be viewed based on the operating system architecture.
It involves an array of design issues.
Which of the following is NOT TRUE about process and thread arrangements?
A. A thread may migrate from one (1) process environment to another.
B. Multiple threads can be created and executed within a process.
C. A thread may execute multiple processes simultaneously.
D. Each execution thread is a unique process with its own address space and resources.
Which of the following is NOT a recovery method in deadlock detection?
Backup of each deadlocked process.
Proceeding with all deadlock processes.
Preempting resources until deadlock no longer exists.
Aborting deadlocked processes until deadlock no longer exists.
Which of the following statements is NOT TRUE about the monitor mechanism?
It executes in an infinite loop.
It can only be actively accessed with one (1) process.
It has been implemented in programming languages.
Its variable may only be accessed via its access procedures.
Which of the following is NOT a multithreading characteristic?
The memory overhead is small.
The CPU overhead is small since it uses API calls.
The crash resilience in implementing multithreading is low.
The communication within the process and with other processes are slower.
Which of the following statements is NOT TRUE about a counting semaphore?
It has an integer value used for signaling processes.
It is also known as the general semaphore.
It only takes the values of zero and one.
Which of the following is NOT TRUE about the combined approach?
Multiple user-level threads are mapped onto specific kernel-level threads.
Context switching between user-level threads always requires kernel intervention.
Thread creation is performed in the user space.
The advantages of user-level and kernel-level threads are combined.
Which of the following conditions must be present for a deadlock to occur?
A. A resource is not preempted.
B. An open chain of threads exists.
C. A thread must hold at least two (2) resources.
D. At least two (2) resources must be held in a non-sharable mode.
Which of the following is NOT an advantage of user-level threads?
Thread switching does not require kernel-mode privileges.
Scheduling can be application specific.
Thread management code is not needed on the application level.
User-level threads can run on any operating system.
31. What is one major advantage of user-level threads compared to kernel-level threads?
User-level threads are generally faster to create and manage.
User-level threads require less memory than kernel-level threads.
User-level threads can directly access hardware resources.
User-level threads are always more secure than kernel-level threads.
Which of the following statements is TRUE about the characteristics of multithreading?
Crash resilience is high because bugs are isolated to individual threads.
CPU overhead is large due to repeated kernel calls.
Communication within and across processes is inherently slower.
Memory usage is monitored via a system allocator, which can cause contention.
Which Windows thread attribute provides a temporary means for a thread to perform operations on behalf of another process?
Thread Exit Status
Impersonation Token
Suspension Count
Alert Status
Which concurrency-related term ensures that a sequence of instructions appears indivisible, preventing intermediate states from being visible to other processes?
Critical Section
Starvation
Atomic Operation
Race Condition
Which condition is a closed chain where each thread holds one resource needed by the next?
Circular Wait
Hold and Wait
No Preemption
Mutual Exclusion
This is an algorithm in which the process with the smallest execution time is chosen for the next execution.
Round Robin
Shortest Job First
First-Come, First-Serve
Shortest Remaining Time First
This algorithm involves the generation of a clock interrupt at periodic intervals.
Round Robin
Shortest Job First
First-Come, First-Serve
Shortest Remaining Time First
This criterion measures how much work is performed by the processor.
Priority
Fairness
Balance
Throughput
It provides processes and a kernel with a private view of its main memory.
Main Memory
Virtual Memory
Physical Memory
Secondary Memory
This partitioning method processes the same as simple paging but has no external fragmentation.
Virtual Memory Paging
Virtual Memory Framing
Virtual Memory Swapping
Virtual Memory Segmentation
This placement algorithm chooses the block closest to the requested size in partitioning.
(a)
The loader generates these addresses when a program is loaded into the main memory.
Internal Addresses
Relative Addresses
Physical Addresses
Symbolic Addresses
It is also known as memory compaction.
Framing
Swapping
Segmentation
Fragmentation
This technique divides each process into several segments.
Simple Paging
Fixed Partitioning
Dynamic Partitioning
Simple Segmentation
This criterion is the sum of the periods spent waiting in the ready queue.
Waiting Time
Response Time
Execution Time
Turnaround Time
This scheduler handles swapped-out processes in scheduling.
Long-term Scheduler
Short-term Scheduler
Medium-term Scheduler
Maximum-term Scheduler
This fragmentation occurs when the allotted memory blocks are of varying sizes.
Page Fragmentation
Frame Fragmentation
Internal Fragmentation
External Fragmentation
This technique divides the memory into several equally sized frames.
Simple Paging
Fixed Partitioning
This criterion deals with the time required for a process to be executed by the control processing unit.
Waiting Time
Response Time
Execution Time
Turnaround Time
This queue contains all the processes in the system.
Job Queue
Ready Queue
Device Queue
Process Queue
Which of the following statements is NOT TRUE about virtual memory segmentation?
It has no internal fragmentation.
It is similar to simple paging.
It is similar to simple segmentation.
It encompasses a large virtual address space.
Which of the following is NOT a requirement that memory management intends to satisfy?
The effective management of user programs and data in modules.
The possibility of programs moving within the main memory due to swapping.
The protection of each process against unwanted interference by other processes.
The act of selecting a task or a job to be dispatched.
Which of the following statements is TRUE about long-term scheduling?
It is also known as the dispatcher.
It is part of the swapping function.
It is also known as a job scheduler.
It reduces the degree of multiprogramming.
Which of the following statements is TRUE about fixed partitioning?
It has no internal fragmentation.
It divides processes into a number of segments.
There is no chance of inefficient use of memory.
Which of the following statements is TRUE about response time?
It is the measure of how much work is being performed.
It is the difference between the finish time and the arrival time.
It is the difference between the execution time and the burst time.
It is the time from submitting a request until the response is received.
Which of the following is NOT considered a scheduling criterion?
The average rate of placement algorithms.
The time required for a process to be executed.
The percentage of time that the processor is busy.
The time interval between the submission of a process and its completion.
Which of the following statements is NOT TRUE about memory management?
It selects a task or a job to be dispatched.
It facilitates process allocation.
It tracks every memory location.
It manages the primary memory.
Which of the following statements is NOT TRUE about process scheduling?
What does fairness in scheduling mean?
Process priority can be modified dynamically.
Processes should be treated the same.
System resources must be kept busy.
The number of processes completed should be maximized.
Which of the following statements is TRUE about turnaround time?
It is the measure of how much work is being performed.
It is the difference between the finish time and the arrival time.
It is the difference between the execution time and the burst time.
It is the time from the submission of a request until the response time is received.
Which of the following statements is TRUE about simple paging?
It has no internal fragmentation.
It divides processes into a number of segments.
It divides the main memory into a number of static partitions.
It may cause a small amount of internal fragmentation.
Which of the following best describes the shortest job first algorithm?
It is known as the time-slicing technique.
It is the best approach to minimize the waiting time.
It is the most common scheduling algorithm in batch systems.
It is the estimated processing time to perform the selection function.
Which of the following statements is TRUE about short-term scheduling?
It is also known as the dispatcher.
It is part of the swapping function.
It is also known as a job scheduler.
It reduces the degree of multiprogramming.
Which of the following statements is NOT considered a virtual memory characteristic?
It is not a real memory.
It supports multitasking.
It provides fast access at a relatively high cost.
It supports the oversubscription of the main memory.
Which situation BEST demonstrates the role of the short-term scheduler?
A. Returning swapped-out jobs into memory
B. Monitoring long-term CPU utilization
C. Selecting the next ready process when the current one becomes blocked
D. Deciding which jobs are accepted into the system
Which situation BEST demonstrates the need for the relocation requirement in memory management?
A. A program must continue running even after it was moved to a different memory location due to swapping.
B. A process deletes its own instructions during execution to free memory.
C. A programmer manually assigns absolute memory locations.
D. A process is terminated when it cannot access another process's address space.
A trace shows the CPU idle for long periods even while the ready queue is populated. Which scheduling criterion is directly indicated by the low percentage of time the CPU is busy?
A. Processor utilization
B. Throughput
C. Response time
D. Fairness
Which scenario BEST reflects the principle of fairness in scheduling?
A. Only I/O-bound jobs are prioritized.
B. Higher-priority jobs always run first.
C. Processes run strictly in arrival order.
D. All processes are treated equally so none suffer starvation.
Why does simple paging minimize wasted memory space between allocated blocks?
A. Pages are variable-length to match process size.
B. Segments and pages share the same method.
C. The OS prevents swapping when paging is active.
D. Frames and pages are equal in length, reducing external fragmentation.
