Operating System NTA UGC NET Question Analysis Part-2


Q51➡ | NTA UGC NET November 2017 Paper-3
Consider the following four processes with the arrival time and length of CPU burst given in milliseconds :

The average waiting time for preemptive SJF scheduling algorithm is_______.
i ➥ 6.5
ii ➥ 7.5
iii ➥ 6.75
iv ➥ 7.75

Show Answer With Best Explanation

Answer: I
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q52➡ | NTA UGC NET November 2017 Paper-3
Consider a virtual page reference string 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1, 2, 0, 1, 7, 0, 1 Suppose a demand paged virtual memory system running on a computer system such that the main memory has 3 page frames. Then________ page replacement algorithm has minimum number of page faults.
i ➥ FIFO
ii ➥ LIFO
iii ➥ LRU
iv ➥ Optimal

Show Answer With Best Explanation

Answer: IV
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q53➡ | NTA UGC NET November 2017 Paper-3
User level threads are threads that are visible to the programmer and are unknown to the kernel. The operating system kernel supports and manages kernel level threads. Three different types of models relate user and kernel level threads.
Which of the following statements is/are true ?
(A)-
(i) The Many – to – one model maps many user threads to one kernel thread
(ii) The one – to – one model maps one user thread to one kernel thread
(iii) The many – to – many model maps many user threads to smaller or equal kernel threads
(B)-
(i) Many – to – one model maps many kernel threads to one user thread
(ii) One – to – one model maps one kernel thread to one user thread
(iii) Many – to – many model maps many kernel threads to smaller or equal user threads
i ➥ (A) is true; (B) is false
ii ➥ (A) is false; (B) is true
iii ➥ Both (A) and (B) are true
iv ➥ Both (A) and (B) are false

Show Answer With Best Explanation

Answer: I
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q54➡ | NTA UGC NET November 2017 Paper-3
Consider a system with five processes P0 through P4 and three resource types A, B and C. Resource type A has seven instances, resource type B has two instances and resource type C has six instances suppose at time T0 we have the following allocation.

If we implement Deadlock detection algorithm we claim that system is_____.
i ➥ Semaphore
ii ➥ Deadlock state
iii ➥ Circular wait
iv ➥ Not in deadlock state

Show Answer With Best Explanation

Answer: IV
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q55➡ | NTA UGC NET November 2017 Paper-3
Consider a disk queue with requests for I/O to blocks on cylinders
98, 183, 37, 122, 14, 124, 65, 67
Suppose SSTF disk scheduling algorithm implemented to meet the requests then the total number of head movements are_____if the disk head is initially at 53.
i ➥ 224
ii ➥ 248
iii ➥ 236
iv ➥ 240

Show Answer With Best Explanation

Answer: III
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q56➡ | NTA UGC NET November 2017 Paper-3
The Bounded buffer problem is also known as________.
i ➥ Producer – consumer problem
ii ➥ Reader – writer problem
iii ➥ Dining Philosophers problem
iv ➥ Both (2) and (3)

Show Answer With Best Explanation

Answer: I
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q57➡ | NTA UGC NET November 2017 Paper-3
Consider the following statements :
(A) . UNIX provides three types of permissions
Read
Write
Execute
(B). UNIX provides three sets of permissions
permission for owner
permission for group permission for others
Which of the above statement/s is/are true ?
i ➥ only (a)
ii ➥ only (b)
iii ➥ Both (a) and (b)
iv ➥ Neither (a) nor (b)

Show Answer With Best Explanation

Answer: III
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q58➡ | NTA UGC NET November 2017 Paper-3
Which of the following routing technique / techniques is / are used in distributed systems ?
(A) Fixed Routing
(B) Virtual Routing
(C) Dynamic Routing
i ➥ (A) only
ii ➥ (A) and (B) only
iii ➥ (C) only
iv ➥ All (A), (B), (C)

Show Answer With Best Explanation

Answer: IV
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q59➡ | NTA UGC NET November 2017 Paper-3
Match the following WINDOWS system calls and UNIX system calls with reference to process control and File manipulation.
i ➥ (a)-(iii), (b)-(iv), (c)-(i), (d)-(ii)
ii ➥ (a)-(iv), (b)-(iii), (c)-(i), (d)-(ii)
iii ➥ (a)-(iv), (b)-(iii), (c)-(ii), (d)-(i)
iv ➥ (a)-(iii), (b)-(iv), (c)-(ii), (d)-(i)

Show Answer With Best Explanation

Answer: I
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q60➡ | NTA UGC NET November 2017 Paper-2
In___________disk scheduling algorithm, the disk head moves from one end to other end of the disk, serving the requests along the way. When the head reaches the other end, it immediately returns to the beginning of the disk without serving any requests on the return trip.
i ➥ LOOK
ii ➥ SCAN
iii ➥ C-LOOK
iv ➥ C-SCAN

Show Answer With Best Explanation

Answer: II
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q61➡ | NET November 2017 Paper-2
Suppose there are six files F1, F2, F3, F4, F5, F6 with corresponding sizes 150 KB, 225KB,75 KB, 60 KB, 275 KB and 65 KB respectively. The files are to be stored on a sequential device in such a way that optimizes access time. In what order should the files be stored ?
i ➥ F5, F2, F1, F3, F6, F4
ii ➥ F4, F6, F3, F1, F2, F5
iii ➥ F1, F2, F3, F4, F5, F6
iv ➥ F6, F5, F4, F3, F2, F1

Show Answer With Best Explanation

Answer: II
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q62➡ | NTA UGC NET November 2017 Paper-2
Which module gives control of the CPU to the process selected by the short – term scheduler ?
i ➥ Dispatcher
ii ➥ Interrupt
iii ➥ Schedular
iv ➥ Threading

Show Answer With Best Explanation

Answer: I
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q63➡ | NTA UGC NET November 2017 Paper-2
Two atomic operations permissible on Semaphores are______ and_____.
i ➥ wait, stop
ii ➥ wait, hold
iii ➥ hold, signal
iv ➥ wait, signal

Show Answer With Best Explanation

Answer: IV
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q64➡ | NTA UGC NET January 2017 Paper-3
Which of the following is incorrect for virtual memory?
i ➥ Large programs can be written
ii ➥ More I/O is required
iii ➥ More addressable memory available
iv ➥ Faster and easy swapping of process

Show Answer With Best Explanation

Answer: II
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q64➡ | NTA UGC NET January 2017 Paper-3
A memory management system has 64 pages with 512 bytes page size. Physical memory consists of 32 page frames. Number of bits required in logical and physical address are respectively:
i ➥ 14 and 15
ii ➥ 14 and 29
iii ➥ 15 and 14
iv ➥ 16 and 32

Show Answer With Best Explanation

Answer: III
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q65➡ | NTA UGC NET January 2017 Paper-3
Consider a disk queue with I/O requests on the following cylinders in their arriving order:
6, 10, 12, 54, 97, 73, 128, 15, 44, 110, 34, 45
The disk head is assumed to be at cylinder 23 and moving in the direction of decreasing number of cylinders. Total number of cylinders in the disk is 150. The disk head movement using SCAN-scheduling algorithm is:
i ➥ 172
ii ➥ 173
iii ➥ 227
iv ➥ 228

Show Answer With Best Explanation

Answer: Marks to All (Answer will be 151)
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q66➡ | NTA UGC NET January 2017 Paper-3
Match the following for Unix file system:

Code:
i ➥ A-iii, B-i, C-ii, D-iv
ii ➥ A-iii, B-i, C-iv, D-ii
iii ➥ A-iv, B-iii, C-ii, D-i
iv ➥ A-iv, B-iii, C-i, D-ii

Show Answer With Best Explanation

Answer: II
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q67➡ | NTA UGC NET January 2017 Paper-3
Some of the criteria for calculation of priority of a process are:
(1) Processor utilization by an individual process.
(2) Weight assigned to a user or group of users.
(3) Processor utilization by a user or group of processes.

In fair share scheduler, priority is calculated based on:
i ➥ only (1) and (2)
ii ➥ only (1) and (3)
iii ➥ (1), (2) and (3)
iv ➥ only (2) and (3)

Show Answer With Best Explanation

Answer: III

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q68➡ | NTA UGC NET January 2017 Paper-3
One of the disadvantages of user level threads compared to Kernel level threads is
i ➥ If a user level thread of a process executes a system call, all threads in that process are blocked.
ii ➥ Scheduling is application dependent.
iii ➥ Thread switching doesn’t require kernel mode privileges.
iv ➥ The library procedures invoked for thread management in user level threads are local procedures.

Show Answer With Best Explanation

Answer: I
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q69➡ | NTA UGC NET January 2017 Paper-3
Which statement is not correct about “init” process in Unix?
i ➥ It is generally the parent of the login shell.
ii ➥ It has PID 1.
iii ➥ It is the first process in the system.
iv ➥ Init forks and execs a ‘getty’ process at every port connected to a terminal.

Show Answer With Best Explanation

Answer: III
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q70➡ | NTA UGC NET January 2017 Paper-3
Unix command to change the case of first three lines of file “shortlist” from lower to upper.
i ➥ $ tr ‘[a – z]’ ‘[A – Z]’ shortlist ¦ head-3
ii ➥ $ head -3 shortlist ¦ tr ‘[a – z]’ ‘[A – Z]’
iii ➥ $ tr head -3 shortlist ‘[A – Z]’ ‘[a – z]’
iv ➥ $ tr shortlist head -3 ‘[a – z]’ ‘[A – Z]’

Show Answer With Best Explanation

Answer: II
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q71➡ | NTA UGC NET January 2017 Paper-3
Match the following vi commands in Unix:
i ➥ a-ii, b-iii, c-i, d-iv
ii ➥ a-iv, b-iii, c-ii, d-i
iii ➥ a-iii, b-iv, c-i, d-ii
iv ➥ a-iii, b-i, c-iv, d-ii

Show Answer With Best Explanation

Answer: IV
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q72➡ | NTA UGC NET January 2017 Paper-2
Which of the following statement(s) regarding a linker software is/are true ?
I- A function of a linker is to combine several object modules into a single load module.
II– A function of a linker is to replace absolute references in an object module by symbolic references to locations in other modules.
i ➥ Only I
ii ➥ Only II
iii ➥ Both I and II
iv ➥ Neither I nor II

Show Answer With Best Explanation

Answer: I
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q73➡ | NTA UGC NET January 2017 Paper-2
There are three processes P 1 , P 2 and P 3 sharing a semaphore for synchronizing a variable. Initial value of semaphore is one. Assume that negative value of semaphore tells us how many processes are waiting in queue. Processes access the semaphore in following order :
(1) P 2 needs to access
(2) P 1 needs to access
(3) P 3 needs to access
(4) P 2 exits critical section
(5) P 1 exits critical section
The final value of semaphore will be :
i ➥ 0
ii ➥ 1
iii ➥ -1
iv ➥ -2

Show Answer With Best Explanation

Answer: I
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q73➡ | NTA UGC NET January 2017 Paper-2
In a paging system, it takes 30 ns to search translation Look-aside Buffer (TLB) and 90 ns to access the main memory. If the TLB hit ratio is 70%, the effective memory access time is :
i ➥ 48ns
ii ➥ 147ns
iii ➥ 120ns
iv ➥ 84ns

Show Answer With Best Explanation

Answer: II
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line
Q74➡ | NTA UGC NET January 2017 Paper-2

i ➥ a-iii, b-iv, c-i, d-ii
ii ➥ a-ii, b-i, c-iv, d-iii
iii ➥ a-iv, b-i, c-ii, d-iii
iv ➥ a-i, b-iii, c-iv, d-ii

Show Answer With Best Explanation

Answer: I
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q75➡ | NTA UGC NET January 2017 Paper-2
Which of the following scheduling algorithms may cause starvation ?
1. First-come-first-served
2. Round Robin
3. Priority
4. Shortest process next
5. Shortest remaining time first
i ➥ 1, 3 and 5
ii ➥ 3, 4 and 5
iii ➥ 2, 4 and 5
iv ➥ 2, 3 and 4

Show Answer With Best Explanation

Answer: II
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q76➡ | NTA UGC NET January 2017 Paper-2
Distributed operating systems consist of:
i ➥ Loosely coupled O.S. software on a loosely coupled hardware.
ii ➥ Loosely coupled O.S. software on a tightly coupled hardware.
iii ➥ Tightly coupled O.S. software on a loosely coupled hardware.
iv ➥ Tightly coupled O.S. software on a tightly coupled hardware.

Show Answer With Best Explanation

Answer: III
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q77➡ | NTA UGC NET August 2016 Paper-3
In Unix operating system, when a process creates a new process using the fork () system call, which of the following state is shared between the parent process and child process?
i ➥ Heap
ii ➥ Stack
iii ➥ Shared memory segments
iv ➥ Both Heap and Stack

Show Answer With Best Explanation

Answer: III
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q78➡ | NTA UGC NET August 2016 Paper-3
Which of the following information about the UNIX file system is not correct?
i ➥ Super block contains the number of i-nodes, the number of disk blocks, and the start of the list of free disk blocks.
ii ➥ An i-node contains accounting information as well as enough information to locate all the disk blocks that holds the file’s data.
iii ➥ Each i-node is 256-bytes long.
iv ➥ All the files and directories are stored in data blocks.

Show Answer With Best Explanation

Answer: III
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q79➡ | NTA UGC NET August 2016 Paper-3
Which of the following options with reference to UNIX operating system is not correct?
i ➥ INT signal is sent by the terminal driver when one types and it is a request to terminate the current operation.
ii ➥ TERM is a request to terminate execution completely. The receiving process will clean up its state and exit.
iii ➥ QUIT is similar to TERM, except that it defaults to producing a core dump if not caught.
iv ➥ KILL is a blockable signal.

Show Answer With Best Explanation

Answer: IV
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q80➡ | NTA UGC NET August 2016 Paper-3
Suppose that the time to do a null remote procedure call (RPC) (i.e. 0 data bytes) is 1.0 msec, with an additional 1.5 msec for every 1K of data. How long does it take to read 32 K from the file server as 32 1K RPCs ?
i ➥ 49 msec
ii ➥ 80 msec
iii ➥ 48 msec
iv ➥ 100 msec

Show Answer With Best Explanation

Answer: II
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q81➡ | NTA UGC NET August 2016 Paper-3
What is the function of following UNIX command ?
WC – l b &
i ➥ It runs the word count program to count the number of lines in its input, a, writing the result to b, as a foreground process.
ii ➥ It runs the word count program to count the number of lines in its input, a, writing the result to b, but does it in the background.
iii ➥ It counts the errors during the execution of a process, a, and puts the result in process b.
iv ➥ It copies the ‘T’ numbers of lines of program from file, a, and stores in file b.

Show Answer With Best Explanation

Answer: I (Marks to all )
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q82➡ | NTA UGC NET August 2016 Paper-3
Which of the following statements is not correct with reference to cron daemon in UNIX O.S. ?
i ➥ The cron daemon is the standard tool for running commands on a predetermined schedule.
ii ➥ It starts when the system boots and runs as long as the system is up.
iii ➥ Cron reads configuration files that contain list of command lines and the times at which they invoked.
iv ➥ Crontab for individual users are not stored.

Show Answer With Best Explanation

Answer: IV
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q83➡ | NTA UGC NET August 2016 Paper-3
In Unix, files can be protected by assigning each one a 9-bit mode called rights bits. Now, consider the following two statements:
I. A mode of 641 (octal) means that the owner can read and write the file, other members of the owner’s group can read it, and users can execute only.
II. A mode of 100 (octal) allows the owner to execute the file, but prohibits all other access.
Which of the following options is correct with reference to the above statements ?
i ➥ Only I is correct.
ii ➥ Only II is correct.
iii ➥ Both I and II are correct.
iv ➥ Both I and II are incorrect.

Show Answer With Best Explanation

Answer: III
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q84➡ | NTA UGC NET August 2016 Paper-2
Consider the reference string
0 1 2 3 0 1 4 0 1 2 3 4
If FIFO page replacement algorithm is used, then the number of page faults with three page frames and four page frames are and________respectively.
i ➥ 10, 9
ii ➥ 9, 9
iii ➥ 10, 10
iv ➥ 9,10

Show Answer With Best Explanation

Answer: IV
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q85➡ | NTA UGC NET August 2016 Paper-2
Suppose there are four processes in execution with 12 instances of a Resource R in a system. The maximum need of each process and current allocation are given below:

With reference to current allocation, is system safe ? If so, what is the safe sequence ?
i ➥ No
ii ➥ Yes, P 1 P 2 P 3 P 4
iii ➥ Yes, P 4 P 3 P 1 P 2
iv ➥ Yes, P 2 P 1 P 3 P 4

Show Answer With Best Explanation

Answer: III
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q86➡ | NTA UGC NET August 2016 Paper-2
If the Disk head is located initially at track 32, find the number of disk moves required with FCFS scheduling criteria if the disk queue of I/O blocks requests are: 98, 37, 14, 124, 65, 67
i ➥ 320
ii ➥ 322
iii ➥ 321
iv ➥ 319

Show Answer With Best Explanation

Answer: III
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q87➡ | NTA UGC NET August 2016 Paper-2
In UNIX,_________creates three subdirectories : ‘PIS’ and two subdirectories ‘progs’ and ‘data’ from just created subdirectory ‘PIS’.
i ➥ mkdir PIS/progs PIS/data PIS
ii ➥ mkdir PIS progs data
iii ➥ mkdir PIS PIS/progs PIS/data
iv ➥ mkdir PIS/progs data

Show Answer With Best Explanation

Answer: III
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

Q88➡ | NTA UGC NET August 2016 Paper-2
A scheduling Algorithm assigns priority proportional to the waiting time of a process. Every process starts with priority zero (lowest priority). The scheduler reevaluates the process priority for every ‘T’ time units and decides next process to be scheduled. If the process have no I/O operations and all arrive at time zero, then the scheduler implements__________criteria.
i ➥ Priority scheduling
ii ➥ Round Robin Scheduling
iii ➥ Shortest Job First
iv ➥ FCFS

Show Answer With Best Explanation

Answer: II
Explanation: Upload Soon

More DiscussionExplanation On YouTubeLearn Topic WiseHelp-Line

error: Content is protected !!
Open chat
1
Hi,how Can We Help You ?