0

Operating System

Description: This test contains some basic and conceptual questions on operating systems.
Number of Questions: 15
Created by:
Tags: Operating system Operating System Computer Architect
Attempted 0/15 Correct 0 Score 0

Which of the following operating systems has a fixed time constraint for the completion of processing?

  1. Real-time systems

  2. Batch processing systems

  3. Multiprogramming systems

  4. Multitasking systems

  5. Multiprocessor systems


Correct Option: A
Explanation:

This option is correct because in real-time operating systems, a rigid time limit is placed on the operation of the processor or on the flow of data.

The collection of physically separate heterogenous computers that are networked together to provide users access to various resources are known as ___________.

  1. clustered systems

  2. distributed systems

  3. multiprocessor systems

  4. single processor systems

  5. batch processing systems


Correct Option: B
Explanation:

The distributed systems are physically separated computers, which are combined together through a network so that they can communicate and share computational tasks and provide a rich set of features to the users.

Which of the following is known as the control module of operating system?

  1. Command processor

  2. Shell

  3. Kernel

  4. File management

  5. Input output management


Correct Option: C
Explanation:

The kernel is a part of operating system, which loads first and remains in the main memory, until the computer is shut down. It is responsible for the services and the functions of the operating systems.

Which of the following gives the address of the next instruction to be executed for the process?

  1. Program counter

  2. CPU registers

  3. Accumulator

  4. Process status

  5. Accounting information


Correct Option: A
Explanation:

This option is correct, as program the counter indicates the address of the next instruction to be executed for the process.

The switching of process from running state to ready state denotes ____________.

  1. occurence of an interrupt

  2. completion of input output

  3. input output request

  4. process termination

  5. process being created


Correct Option: A
Explanation:

This option is correct. Whenever an interruption occurs, the execution of currently running process stops and it goes to the ready state, where it waits to be assigned to a process.

When a process is waiting to be assigned to a processor, it is said to be in _______ state.

  1. ready

  2. terminate

  3. waiting

  4. running

  5. new


Correct Option: A
Explanation:

This option is correct because when a process needs the access to the CPU, it waits in the ready queue to get the access.

The process, in which the page is brought into the memory only when it is needed, is called __________.

  1. demand paging

  2. segmentation

  3. fragmentation

  4. page replacement

  5. page fault


Correct Option: A
Explanation:

Demand paging is a method of virtual memory management. In a system that uses demand paging, the operating system copies a disk page into its physical memory, only if an attempt is made to access it. So, this option is correct.

Which of the following memory management schemes encounters external fragmentation?

  1. Segmentation

  2. Paging

  3. Paging with segmentation

  4. Swapping

  5. Demand paging


Correct Option: A
Explanation:

Segmentation divides the primary memory into segments. When the dynamic memory allocation algorithm allocates some memory and a small piece is left over, which cannot be efficiently used, then the external fragmentation takes place.

Which of the following reasons is responsible for the occurence of page fault?

  1. When the requested page is not loaded in the physical memory

  2. Due to inefficient usage of memory chunks

  3. Thrashing

  4. Mutual exclusion

  5. Swapping


Correct Option: A
Explanation:

This option is correct.

When a process is being executed, it is said to be in _______ state.

  1. new

  2. waiting

  3. running

  4. ready

  5. terminate


Correct Option: C
Explanation:

In the running state, the process gets the access to the CPU and starts its execution.

Which of the following memory management schemes suffer from internal fragmentation?

  1. Segmentation

  2. Paging

  3. Demand paging

  4. Segmentation with paging

  5. Swapping


Correct Option: B
Explanation:

In paging memory-management scheme, the operating system retrieves the data from secondary storage in the same-sized blocks called pages. Some space is wasted inside the memory blocks because of the restriction on the allowed size of the block, which causes internal fragmentation.

The number of processes completed per unit time is known as _________.

  1. waiting time

  2. throughput

  3. turnaround time

  4. response time

  5. dispatch latency


Correct Option: B
Explanation:

This option is correct. If the CPU is busy executing processes, then the work is being done. This work done is calculated on the basis of number of processes completed per unit time and this measure is known as throughput.

With which of the following CPU scheduling algorithms is aging technique associated?

  1. FCFS

  2. Priority based scheduling

  3. SJF

  4. Round Robin scheduling

  5. Multilevel queue scheduling


Correct Option: B
Explanation:

In priority based scheduling, aging technique gradually increases the priority of the processes that is waiting in the system for a long time.

Which of the following statements is incorrect?

  1. Priority algorithm suffers from starvation

  2. FCFS is a non-preemptive algorithm

  3. Round Robin scheduling can be both preemptive and non-preemptive

  4. SJF is provably optimal

  5. FCFS algorithm is not used in time sharing systems


Correct Option: C
Explanation:

If the time quantum is large enough, it will behave as a non-preemptive algorithm, but if the time quantum is too small, then it will behave as preemptive algorithm. So, this is the required answer as this statement is incorrect.

The time taken to stop one process and to start another process is known as __________.

  1. dispatch latency

  2. turn-around time

  3. waiting time

  4. throughput

  5. response time


Correct Option: A
Explanation:

This option is correct, as the dispatcher is involved each time a process switches, and the time taken to stop one process and start running another process is known as dispatch latency.

- Hide questions