An operating system provides a platform on which other applications programs can be installed. It also provides the environment within which programs are executed. It can be termed as a program or system software that acts as an intermediary between user and hardware. Show Resource Manager/Allocator - It manages the system resources in an unbiased fashion in both hardware(mainly CPU time, memory, system buses) and software(access, authorization, semaphores) and provides the functionality to application programs. Operating System controls and coordinates the use of resources among various application programs. Computer Hardware - CPU, Memory units, I/O devices, system bus, registers, etc, provides the basic computing resources. System and Application Programs - Defines the way in which these resources are used to solve the computing problems of the user. Functions of Operating System
Types of Operating SystemsBatch Operating System
Multiprogramming Operating System
Multitasking Operating System
Real-Time Operating System
Practice Coding
Priority scheduling
Round Robin
Shortest Job First
All of the above
Provides a layer so as to act as a user-friendly interface that enables the programmer to draw a flow chart
Links the program with subroutines
Helps to create a flow chart of the programs
All of these
Demand paging
Paging
Threads
Segmentation
Pre-emptive scheduling
Non-pre-emptive scheduling.
Deadline scheduling
None of the above
Quick sharing OS
Time Sharing OS
Real time OS
Batch OS
Synchronization
Deadlock
Starvation
Context Switching
Light weight process
Heavy weight process
Multi-process
I/0 process
Mainframe and motherboard level
Kernel and User level
Security and Memory level
OS and CPU level
FCFS
SJF
Priority scheduling
None
Virtual mode, dedicated mode
Private mode, public mode
Real mode, protected mode
Direct mode, indirect mode
Virtual memory
Operating system
CPU
Input
When the process is scheduled to run after some execution
When the process is currently using the CPU
When the process is dependent of the execution time of some other process.
None of these
A line printer that prints the output of a number of jobs.
A terminal that inputs user data
A I/O device to display graphics.
None
Non-volatile
Volatile
Restricted
Unrestricted
Preventing deadlock
Solving deadlock
Recover from deadlock
None
Register
Main memory
Disk
Cache
when the thread terminates
when the thread blocks
when the thread unblocks
when the thread spawns
stack
program counter
both program counter and stack
none
to construct a new thread
to communicate between threads
convert a blocking system call into non blocking system call
None
an application having several threads of activity all within the same address space.
share the memory and resources of the process to which the threads belong
Compress the address space a process can use
all of the mentioned
When the program needs to be multi-threaded
When there is a single processor present
When the program does not need multithreading
None
infinite process
orphan process
zombie process
none
code code code code
code code code
code code
code
The process of terminating a thread process before its execution
The process of removing a thread after its work is executed
The process of destroying the thread after its work is executed
none
Immediate Termination
Asynchronous termination
Synchronous termination
Deferred cancellation
sent together
queued
stacked
none
True
False
Both, depends on the data
None
prompt
kernel
command
shell
Spooling is a type of fast memory
Spooling holds a single copy of data
Spooling holds copy of all data in the system
none
dispatch
wakeup
block
none
CPU & I/O Burst
I/O & OS Burst
Memory & I/O Burst
CPU and Memory burst
decrease CPU utilisation
decrease cost
increase CPU utilisation
None
Shortest Job First
First Come First Serve
Round robin
None
single
static
atomic
none of the mentioned
atomic, critical section
integer variable, memory error
integer variable, critical section
atomic, memory error
wait, signal
wait, stop
signal, stop
signal, wait
Counting and decimal semaphore
Counting and binary semaphore
Counting and mutex
None
system calls
I/O interrupts
command lines
None
Not deadlocks
Deadlocks
Livelock
None
Load time
Compile time
Execution time
All of the above
Relocation register
Regular register
Delocation register
Basic register
System Calls
API
Library
Assembly Instructions
CPU
Address Bus
RAM
Data Bus
Process Control
MS DOS
WIndows XP
Lynx Which of the following is an realThree types of RTOS are 1) Hard time 2) Soft time ,and 3) Firm time.
What are the applications of realRTOSes are designed to handle multiple processes at one time, ensuring that these processes respond to events within a predictable time limit. Processing in an RTOS occurs within defined time constraints and monitors the priority of tasks. An RTOS is also able to make changes to task priority.
Which OS is best for realAzure RTOS
Azure real-time operating system is an embedded development suite that contains a small but effective OS that delivers consistent, ultra-fast performance for resource-constrained devices. It is simple to use and market-proven. Azure RTOS supports the most common 32-bit microcontrollers.
What are three examples of realCommon examples of real-time systems include air traffic control systems, process control systems, and autonomous driving systems.
|