NEW
Font size
WorksheetsFundamental of OS - Revision 2
Total questions: 50
Worksheet time: 25mins
A set of programs that coordinate all the activities among computer or mobile device.
Firmware
Operating system
Which is TRUE about Shortest Job First?
This scheduling algorithm is optimal if all the jobs/processes are available at the same time
Using a Queue data structure, where a new process enters through the tail of the queue, and the scheduler selects process from the head of the queue
Which is FALSE about thread?
A segment of a process
A segment of a speed
Describe the process and threads Lightweight?
Process is Lightweight, Threads is not Lightweight
Process is not Lightweight, Threads is Lightweight
What is the most important collection of system programs comprising the OS?
Layers and Thread
Layers and Views
Which is the TRUE about process?
A program in instruction
A program in execution
Major constrains in memory hierarchy are faster access speed and greater capacity
Memory Storage
Memory Hierarchy
Which is True about the advantages of FCFS?
There is no option for pre-emption of a process.
A process queue for a long time.
What is the relationships between thread and process?
A process is an executing instance of an application and a thread is a path of execution outside a process.
Threads within the same process share the same address space, whereas different processes do not.
This figure is referring to?
Layers and View of Memory
Layers and View of Computer System
Which is TRUE about advantages of FCFS?
FCFS is pretty simple and easy to implement.
FCFS is segment of a process.
What is the meaning of FCFS?
First Cut First Scheduling
First Come First Serve
Virtually all computers provide a mechanism by which other modules (I/O, memory) may _____ the normal sequencing of the processor.
Interrupt
Process
What is the meaning of SJF?
Shortest-Job-First
Small-Job-First
Which is FALSE about the advantages of SJF?
The throughput is increased because more processes can be executed in less amount of time.
Long processes are executed first and then followed by longer processes.
What is the Functions of Operating System?
Input/outputs operations
Fixes error
What is Operating system three objectives?
Convenience, Efficiency and Ability to evolve
Convenience, Effective and Ability to move
Round Robin fixed time…
Allotted to each process, called quantum, for execution.
Allotted to one process, called quantum, for execution.
What moves data between the computer and the external environment?
Terminals
Memory
Which is True about this model?
A thread is contained outside a process and different threads in the same process share all resources,
while different process do not.
A thread is contained inside a process and different threads in the same process share some resources, while different process do not.
I/O module transfers data from external devices to processor and memory?
It contains internal buffers for temporarily holding data until they can be sent on
It contains external buffers for temporarily holding data until they can be sent on
What part of operating systems evolve over time?
Fixes; Any OS has faults, of cause the fix may introduce new faults
Transfer data speed
A program to be executed by a processor consists of a set of instructions stored in memory.
Internal Execution
Instruction Execution
How many steps in Basic Instruction Cycle?
The two steps are referred to as the fetch stage and the execute stage
The three steps are referred to as the fetch stage and the execute stage
Which not problems of memory?
System bus
Not enough RAM
RAM is …..
Ready Only Memory
Read Only Memory
What is Directory System?
A directory is a container that is used to contain folders and files. It organizes files and folders in a hierarchical manner.
A directory is a storage that is used to contain folders and files. It organizes files and folders in a stage manner.
What is the most important part of the OS to a user
Virtual Memory is one of the most important part of the OS to a user
File System is one of the most important part of the OS to a user
What is Virtual Memory?
Memory references are logical addresses dynamically translated into physical addresses at run time
Memory references are logical addresses dynamically translated into logical addresses at run time
What is the process that utilize more processor time than other processes?
Chrome
Task Manager
Which is True about Memory Management Requirements: Relocation
The programmer does not know where the program will be placed in memory when it is executed.
The programmer knows where the program will be placed in memory when it is executed
What is the advantages of Round Robin?
No process is left behind.
All process is left behind.
What is Segmentation?
Each segment has its number and length.
Cause external fragmentation
What is memory management schemes?
Thread and segmentation
Paging and segmentation
What does First-fit algorithm function?
Scans memory form the beginning and chooses the first available block that is large enough
Moves memory form the beginning and chooses the first available block that is large enough
Which result is TRUE result?
First-fit = 6-Mbyte fragment
Next-fit = 20-Mbyte fragment
What is an operating system?
An operating system is a set of programs that manage computer hardware resources and provide common services for application software.
An operating system is a set of data that manage computer hardware resources and provide common services for application software.
What is SJF disadvantages?
The time taken by a process must be known by the CPU beforehand, which is not possible.
The time taken by a process must be known by the CPU beforehand, which is possible.
A program that controls the execution of application programs and acts as an
Interface between applications and the computer hardware
Interface in applications and the computer hardware
What is the name this model?
Three-State Process Model
Five-State Process Model
Operating systems are not found on almost any device that contains a computer—from cellular phones and video game consoles to supercomputers and web servers.
True
False
Time-sharing operating systems schedule time for efficient use of the system and damage accounting for cost allocation of processor time, mass storage, printing, and other resources.
True
False
Operating system is a vital component of the system software in a computer system. Application programs require an operating system which are usually separate programs, but can be combined in simple systems.
True
False
Fixed Partitioning Problems cause internal fragmentation
True
False
Dynamic Partitioning cause memory internal to all processes is fragmented
True
False
Buddy System is not easy to merge adjacent holes
True
False
Fixed- partition problem main memory use is not inefficient.
True
False
Next-Fit is the smaller block of memory is broken up into largest blocks
True
False
Round Robin throughput in RR largely depends on the choice of the speed of the time quantum.
True
False
SJF stands for Shortest-Job-First
True
False
