ISRO CS 2009

Last Updated :
Discuss
Comments

Question 1

Consider a set of 5 processes whose arrival time, CPU time needed and the priority are given below:

Process       Arrival Time   CPU Time Needed     Priority
(in ms)

P1 0 10 5
P2 0 5 2
P3 2 3 1
P4 5 20 4
P5 10 2 3

(smaller the number, higher the priority) If the CPU scheduling policy is priority scheduling without preemption, the average waiting time will be

  • A

    12.8 ms

  • B

    11.8 ms

  • C

    10.8 ms

  • D

    9.8 ms

Question 2

Process is:

  • A

    A program in high level language kept on disk

  • B

    Contents of main memory

  • C

    A program in execution

  • D

    A job in secondary memory

Question 3

The performance of Round Robin algorithm depends heavily on

  • A

    size of the process

  • B

    the I/O bursts of the process

  • C

    the CPU bursts of the process

  • D

    the size of the time quantum

Question 4

Consider three CPU-intensive processes, which require 10, 20 and 30 time units and arrive at times 0, 2 and 6, respectively. How many context switches are needed if the operating system implements a shortest remaining time first scheduling algorithm? Do not count the context switches at time zero and at the end.

  • A

    1

  • B

    2

  • C

    3

  • D

    4

Question 5

The correct matching of the following pairs is

(A) Disk check              (1) Roundrobin
(B) Batch processing (2) Scan
(C) Time sharing (3) LIFO
(D) Stack operation (4) FIFO
  • A

    A B C D
    3 4 2 1
  • B
    A B C D
    4 3 2 1
  • C
    A B C D
    3 4 1 2
  • D
    A B C D
    2 4 1 3

Question 6

Which is the correct definition of a valid process transition in an operating system?

  • A

    Wake up: ready → running

  • B

    Dispatch: ready → running

  • C

    Block: ready → running

  • D

    Timer runout: ready → running

Question 7

What is the primary purpose of a VLAN?

  • A

    Demonstrating the proper layout for a network

  • B

    Simulating a network

  • C

    To create a virtual private network

  • D

    Segmenting a network inside a switch or device

Question 8

Which of the following is a MAC address?

  • A

    192.166.200.50

  • B

    00056A:01A01A5CCA7FF60

  • C

    568, Airport Road

  • D

    01:A5:BB:A7:FF:60

Question 9

The address resolution protocol (ARP) is used for

  • A

    Finding the IP address from the DNS

  • B

    Finding the IP address of the default gateway

  • C

    Finding the IP address that corresponds to a MAC address

  • D

    Finding the MAC address that corresponds to an IP address

Question 10

The five items: A, B, C, D, and E are pushed in a stack, one after other starting from A. The stack is popped four items and each element is inserted in a queue. The two elements are deleted from the queue and pushed back on the stack. Now one item is popped from the stack. The popped item is

  • A

    A

  • B

    B

  • C

    C

  • D

    D

Tags:

There are 80 questions to complete.

Take a part in the ongoing discussion