Questions
Which of the following system calls is a type of information maintenance system call?
- WaitForSingleObject()
- CloseHandle()
- Sleep()
- MapViewOfFile()
- WriteConsole()
Control of nuclear power plants, oil refining and chemical processing are examples of
- batch processing system
- real-time system
- interactive processing
- real-time transaction system
- offline processing system
CPU scheduler is also known as
- long term scheduler
- middle term scheduler
- scheduler
- short scheduler
- process scheduler
Which of the following statements is/are true?
I. Real-time operating system does processing according to time interval.
II. It has two types: one is hard time and another is soft time operating system.
III. In hard real-time systems, secondary storage is not limited.
IV. Real-time processing is always online whereas online system need not be real-time.
- I and III
- I, II and III
- I, II and IV
- I and IV
- II, III and IV
Which of the following is a system threat?
- Trojan horse
- Logic bomb
- Virus
- Worm
- Trap door
Find out the wrong statement(s) about scheduler.
I. Short term scheduler is the fastest among the other two.
II. Long term scheduler is a part of the time sharing systems.
III. Middle term scheduler reduces the degree of multiprogramming.
IV. Long term scheduler controls the degree of multiprogramming.
- Only I
- Only II
- Only III
- Both II and III
- Only IV
When a program traps user login credentials and stores them to send to malicious user, who can later on login to computer and can access system resources, then it is called
- trap door
- trojan horse
- virus
- logic bomb
- port scanning
In which partitioning can the space allocations be conveniently handled in sizes of power of 2?
- Fixed partition
- The buddy system of partitioning
- Variable sized partition
- Horizontal partition
- Vertical partition
Which of the following methods is used for deadlock prevention?
- Wait-die scheme
- Wait for graph
- Roll back
- Thomas Write rule
- Resource allocation graph algorithm
Identifying each user of the system and associating the executing programs with those users is known as
- one time password
- program threat
- authentication
- system threat
- computer security classification
Formula time (process completed) – time (process submitted) is used for calculating
- waiting time
- turnaround time
- response time
- throughput
- processor utilisation
When a process goes from running state to ready state, then the transition is called
- dispatch
- time-run-out
- wakeup
- admitted
- block
_____ determines where a process piece is to reside in real memory.
- Fetch policy
- Placement policy
- Replacement policy
- Clock policy
- Cleaning policy
A context switch occurs due to interrupt (clock or I/O), trap or system call. If the instruction being executed has any error or exception, it is called
- trap
- clock interrupt
- I/O interrupt
- memory fault
- system call
Which of the following is an advantage of time-sharing operating systems?
- They need regular maintenance and updates.
- They reduce CPU idle time.
- They are not reliable.
- They reduce the load on the host computer.
- Centralised servers are highly stable.