REVIEW CONTENTS FOR MID-TERM TEST
Subject: 502047 - Introduction to Operating Systems
Exam forms: Multiple choice question (Test on computer / Test schedule can be checked
in HSSV Portal)
Number of sentences: 30 questions (in English)
Time:45 minutes
Exam content limitation: From chapters 01 to 05A
CHAPTER 1:
- What role does the operating system play with software?
- What is an interrupt?
- What is virtualization?
- What components does the model of a computer system with many users and operating systems
include?
- What is the operating system kernel?
- What are the two most common operating modes of operating systems?
- What are the goals of the operating system?
- What role does the operating system play in regards to application software running inside the
system?
- With a computer system running a multitasking operating system, what content will the main
memory contain?
- In order for the processor to read the instructions of a program and execute it, where do those
instructions need to be stored?
- To make the programmer's work convenient and effective, what does the operating system need
to provide?
- What are the properties of privileged instructions/commands?
- What is GPL?
- Operating system manages main memory with included jobs
- “Users are identified by ID and password, they may or may not have permission to run certain
programs”, is the description of which management unit within the operating system?
- What are the characteristics of the client-server computing environment?
- How can the relationship between multitasking and multiprogramming be described?
- What are the main difficulties programmers face when programming an operating system in a
real-time environment?
- What are the characteristics of a real-time operating system?
- What is GNU?
CHAPTER 2
What is a system call?
What are command line interfaces, graphical interfaces or touch screens collectively called?
Which library is the Linux API?
What are operating system services?
What is a Linker?
Who uses the operating system's services?
Which function is not a basic function of an Operating System?
Which of the following is one of the main functions of an operating system?
Which of the following groups of calls belongs to the process manager?
What means do programmers use to access system calls?
What are the advantages of monolithic design of an operating system?
What are the disadvantages of the layered design method of an operating system?
What is the function of System Calls?
What file will the failed application create to save the process memory?
What approach do virtual machines use?
Which design method provides the most services in the form of user applications and processes
that communicate by message passing?
What is the role of the operating system kernel?
What is the goal of “Dividing CPU time” for processes?
Which of the following tasks is most suitable when developing a user-oriented operating system?
CHAPTER 3
What is the concept of "Process"?
What does the in-memory layout of a process include?
What term does IPC stand for?
To create a process, the UNIX system uses which of the following calls?
What is the link that two processes P and Q use to send and receive messages called?
What is Pipe?
What method is used to establish IPC?
When does a program become a process?
In Ubuntu's command line interface, how to launch a program?
What minimum operations must an IPC suite provide on messages?
When does the Operating System perform a Context switch?
Which statement is true about direct communication?
What is needed for two processes P and Q to communicate indirectly with each other?
The non-blocking send technique between processes (non-blocking send) has which of the
following properties?
When using a Zero capacity queue, which statement is correct?
Where is Zero capacity queue used?
Limited capacity or infinite capacity is a property of which of the following objects?
When a parent process calls fork() which spawns a child process, what does the child process
inherit from its parent?
What is the mission of PCB (Process Control Block)?
A process in the “Ready” state can transition to which of the following states?
Which of the following state transitions does not exist?
The operating system needs to switch the CPU processing process B to processing process A.
What must the operating system do first?
The PCB (Process Control Block) of a process has which of the following characteristics?
Queues for processes are built using what data structure?
What are two (2) common forms of communication between server and client?
In UNIX, what type of pipeline is designed for communication between parent-child processes?
How many processes are created when executing the code below, including the initial process?
What are the goals and limitations of context switching?
In the source code of the child process, which of the following statements is correct?
Which statement is true about the “pipe” mechanism used in IPC?
CHAPTER 4
What is the concept of "Sub-process" (also known as Thread)?
What is a multi-threaded programming library on Linux?
What are the disadvantages of the program?
Besides shared resources, does the thread have its own data?
Where is an advantage of multi-threaded programming compared to single-threaded
programming?
Where is the difficulty of multi-threaded programming compared to single-threaded
programming?
What are the challenges for programmers in writing multi-threaded programs?
Which model does the mapping between user-level threads and kernel-level threads not exist?
What is the characteristic capability of a parallel processing system (parallelism)?
What is the typical capability of a concurrency system?
Data parallel computing describes which of the following systems?
A program whose code contains a% parallelism and is migrated from a single-core processor to
an i-core processor. What is the acceleration factor that the program achieves?
Which user-level thread-to-kernel-level thread mapping model is the most popular and is it being
used in Windows and Linux?
What are the disadvantages of “One-to-one” mapping?
Which of the following problems cannot be applied to multi-threaded programming solutions?
Can the Merge Sort problem on an integer array improve performance in any way?
A matrix multiplication application implemented by a multithreaded process has which of the
following properties?
When a target thread has deferred cancellation, when must it terminate?
CHAPTER 5A
What is CPU scheduling?
In what mode does the operating system's Dispatcher work?
In what state will the process be considered by the CPU scheduler?
A process is a cycle of what 2 operations?
Why is CPU scheduling important?
One of the criteria to evaluate a CPU scheduler is
Under what circumstances will the CPU scheduler retain priority?
With a non-preemptive scheduler, when does the running process return to the CPU?
What is response time?
What is the role of the Dispatcher?
What are the limitations of the First Come First Serve (FCFS) algorithm?
What are the limitations of the Shortest Task First (SJF) algorithm?
What are the limitations of the Rotation Algorithm (RR)?
What are the limitations of the Priority algorithm?
Let the system have 3 input processes in order P1, P2 and P3; CPU Burst is 15 ms, 6 ms and 20
ms respectively. Apply FCFS (First Come First Serve) dispatch strategy. What is the average
waiting time when performing all 3 processes?
Let the system have 3 input processes in order P1, P2 and P3; CPU Burst is 24 ms, 06 ms and 10
ms respectively. Apply FCFS (First Come First Serve) dispatch strategy. What is the average
turnaround time when performing all 3 processes?
Preemptive is what ability of the coordinator?
In an operating system using Round Robin timing algorithm with quantum time/time slide of k
(time unit); There are n processes ready. What is the waiting time between two consecutive calls
to the CPU of any process?