Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged tbb-os-2
2
2 votes
1
answers
1 answer
645
645 views
Test by Bikram | Operating Systems | Test 2 | Question: 30
Consider the following 3 processes with 3 binary semaphores with initial values $S_{0}=0, S_{1}=0, S_{2}=1$$$ \begin{array}{|c|c|c|} \hline \textbf{P} & \textbf{Q} & \tex...
Bikram
645
views
asked
Dec 26, 2016
Operating System
tbb-os-2
operating-system
process-synchronization
semaphore
+
–
2
2 votes
3
answers
3 answers
3.2k
3.2k views
Test by Bikram | Operating Systems | Test 2 | Question: 29
In a paged memory, the page hit ratio is $0.35$. The time required to service the page fault is $100$ ns. Time required to access a page in primary memory is $10$ ns.The ...
Bikram
3.2k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
numerical-answers
operating-system
page-replacement
effective-memory-access
+
–
9
9 votes
1
answers
1 answer
1.5k
1.5k views
Test by Bikram | Operating Systems | Test 2 | Question: 28
Consider a program to be run on a computer system in round-robin CPU scheduling. The size of the program is $100K$. It is given that the hard disk has a transfer rate of ...
Bikram
1.5k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
operating-system
process-scheduling
+
–
1
1 vote
1
answers
1 answer
539
539 views
Test by Bikram | Operating Systems | Test 2 | Question: 27
A counting semaphore is initialized to $10$. The $6$ P(wait) operations and $4$ V(signal) operations were completed in this semaphore. The resulting value of semaphore is...
Bikram
539
views
asked
Dec 26, 2016
Operating System
tbb-os-2
semaphore
operating-system
+
–
0
0 votes
1
answers
1 answer
720
720 views
Test by Bikram | Operating Systems | Test 2 | Question: 26
Consider a paging system with the page table in memory. Each memory reference takes $200$ ns. The TLB has hit ratio of $75 \%$ and the time to look for pages in TLB is al...
Bikram
720
views
asked
Dec 26, 2016
Operating System
tbb-os-2
operating-system
effective-memory-access
paging
memory-management
+
–
3
3 votes
1
answers
1 answer
1.4k
1.4k views
Test by Bikram | Operating Systems | Test 2 | Question: 25
What will be the output of the following piece of code?Void foo() { int i=1; fork(); i++; printf(“%d”,i); fork(); i++; printf(“%d”,i); fork(); i++; printf(“%d”,i); }$2 \ ...
Bikram
1.4k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
operating-system
programming-in-c
process
process-and-threads
fork-system-call
output
+
–
2
2 votes
3
answers
3 answers
2.7k
2.7k views
Test by Bikram | Operating Systems | Test 2 | Question: 24
Suppose the page table for the process currently executing looks like the following.All numbers are decimal, everything is numbered starting from zero, and all addresses ...
Bikram
2.7k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
operating-system
page-replacement
memory-management
+
–
0
0 votes
1
answers
1 answer
1.2k
1.2k views
Test by Bikram | Operating Systems | Test 2 | Question: 23
A moving arm disk-storage device has the following specifications. Number of tracks per recording surface – $200$ Disk – rotation speed – $2400$ rpm Track storage capacit...
Bikram
1.2k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
numerical-answers
operating-system
disk
storage
io-handling
+
–
2
2 votes
1
answers
1 answer
1.0k
1.0k views
Test by Bikram | Operating Systems | Test 2 | Question: 22
A uniprocessor system has two resources of type A and B shared by four processes. There are $4$ units of each resource type available after allocation. Let “current” indi...
Bikram
1.0k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
deadlock-prevention-avoidance-detection
operating-system
resource-allocation
process-scheduling
synchronization
+
–
1
1 vote
1
answers
1 answer
1.4k
1.4k views
Test by Bikram | Operating Systems | Test 2 | Question: 21
Suppose the disk drive has $200$ cylinders ( numbered $0$ to $199$). The drive is currently serving the request at cylinder $53$. The previous request was at cylinder $2...
Bikram
1.4k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
numerical-answers
operating-system
disk-scheduling
scan
algorithm-design
+
–
0
0 votes
1
answers
1 answer
1.1k
1.1k views
Test by Bikram | Operating Systems | Test 2 | Question: 20
Consider a demand-paging system with the following time-measured utilization:$\begin{array}{ll} \text{COU Utilization} & 20 \% \\ \text{Paging disk} & 97.7 \% \\ \text{Ot...
Bikram
1.1k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
operating-system
page-replacement
+
–
0
0 votes
1
answers
1 answer
1.8k
1.8k views
Test by Bikram | Operating Systems | Test 2 | Question: 19
Assume we have a demand-paged memory. The page table is held in registers. It takes $8$ milliseconds to service a page fault if an empty page is available or the replaced...
Bikram
1.8k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
numerical-answers
operating-system
effective-memory-access
page-replacement
+
–
3
3 votes
1
answers
1 answer
2.1k
2.1k views
Test by Bikram | Operating Systems | Test 2 | Question: 18
Consider a system with five processes $P0$ to $P4$ and three resources $R1$, $R2$ and $R3$, each having $10, \ 5, \ 7$ instances respectively. The system table at time $T...
Bikram
2.1k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
operating-system
deadlock-prevention-avoidance-detection
resource-allocation
+
–
1
1 vote
1
answers
1 answer
2.1k
2.1k views
Test by Bikram | Operating Systems | Test 2 | Question: 17
The address sequence generated by tracing a particular program, executing in a pure demand paging system with $100$ records per page, with $1$ free main memory frame is r...
Bikram
2.1k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
numerical-answers
operating-system
page-replacement
effective-memory-access
+
–
3
3 votes
2
answers
2 answers
1.4k
1.4k views
Test by Bikram | Operating Systems | Test 2 | Question: 16
Which of the following statements are not true?All unsafe states are deadlocksA deadlock state is unsafe stateA system is in safe state only if there exists a safe sequen...
Bikram
1.4k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
operating-system
deadlock-prevention-avoidance-detection
resource-allocation
+
–
1
1 vote
1
answers
1 answer
1.5k
1.5k views
Test by Bikram | Operating Systems | Test 2 | Question: 15
There are $5$ processes which require resource instances of same type in quantities $23, \ 35, \ 12, \ 43, \ 15$ respectively. The minimum number of resource instances re...
Bikram
1.5k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
numerical-answers
operating-system
deadlock-prevention-avoidance-detection
process
resource-allocation
+
–
1
1 vote
2
answers
2 answers
2.1k
2.1k views
Test by Bikram | Operating Systems | Test 2 | Question: 14
Consider the $2$ – process solution to the Critical Section problem (here i refers to the current process and j is the other process )Process Pirepeat flag[i] = true; whi...
Bikram
2.1k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
critical-section
operating-system
process-synchronization
+
–
0
0 votes
1
answers
1 answer
1.3k
1.3k views
Test by Bikram | Operating Systems | Test 2 | Question: 13
The virtual memory system uses the demand paging for its implementation. The probability of getting page faults is $0.25$, the normal memory access time is $200$ nanoseco...
Bikram
1.3k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
virtual-memory
effective-memory-access
time-complexity
probability
operating-system
+
–
0
0 votes
1
answers
1 answer
2.4k
2.4k views
Test by Bikram | Operating Systems | Test 2 | Question: 12
A certain computer provides its users with a virtual-memory space of $2^{32}$ bytes. The computer has $2^{18}$ bytes of physical memory. The virtual memory is implemented...
Bikram
2.4k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
operating-system
virtual-memory
memory-management
paging
+
–
0
0 votes
1
answers
1 answer
1.7k
1.7k views
Test by Bikram | Operating Systems | Test 2 | Question: 11
Suppose that a disk drive has $5000$ cylinders, numbered $0$ to $4999$. The drive is currently serving a request at cylinder $143$, and the previous request was at cylind...
Bikram
1.7k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
operating-system
disk-scheduling
+
–
1
1 vote
1
answers
1 answer
764
764 views
Test by Bikram | Operating Systems | Test 2 | Question: 10
Consider a logical address space of eight pages of $1024$ words each mapped onto a physical memory of $32$ frames. The number of bits are there in the logical address is ...
Bikram
764
views
asked
Dec 26, 2016
Operating System
tbb-os-2
numerical-answers
operating-system
logical-address
number-system
+
–
0
0 votes
2
answers
2 answers
1.6k
1.6k views
Test by Bikram | Operating Systems | Test 2 | Question: 9
Assume that pages are $128$ words in size. Consider below code snippet whose function is to initialize to $0$ each element of a $128$ – by – $128$ array. Then number of p...
Bikram
1.6k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
operating-system
page-replacement
memory-management
array
+
–
1
1 vote
1
answers
1 answer
923
923 views
Test by Bikram | Operating Systems | Test 2 | Question: 8
The arrival time, burst time and priorities of five processes are given as:$\begin{array}{|c|c|c|c|} \hline \text{Process} & \text{Arrival Time} & \text{Burst time} & \te...
Bikram
923
views
asked
Dec 26, 2016
Operating System
tbb-os-2
numerical-answers
operating-system
process-scheduling
scheduling
priority-scheduling
average
process
+
–
1
1 vote
1
answers
1 answer
1.5k
1.5k views
Test by Bikram | Operating Systems | Test 2 | Question: 7
A computer system has $6$ tape drives with n process competing for them. Each process may need up-to $2$ tape drives. The maximum value of n from which the system is guar...
Bikram
1.5k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
operating-system
deadlock-prevention-avoidance-detection
+
–
0
0 votes
3
answers
3 answers
2.3k
2.3k views
Test by Bikram | Operating Systems | Test 2 | Question: 6
A system that uses a two-level page table has $2^{12}$ – byte pages and $32$ – bit virtual addresses. The first $8$ – bits of the address serve as the index into the firs...
Bikram
2.3k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
numerical-answers
operating-system
virtual-memory
paging
+
–
2
2 votes
3
answers
3 answers
2.2k
2.2k views
Test by Bikram | Operating Systems | Test 2 | Question: 5
Let us initialize counting semaphore $X$ to $5$. Assume that processes $P_i$ where $i= 1$ to $15$ are coded as follows.while (1) { P (x); { critical section } V (x); }an...
Bikram
2.2k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
numerical-answers
process-synchronization
+
–
4
4 votes
2
answers
2 answers
2.5k
2.5k views
Test by Bikram | Operating Systems | Test 2 | Question: 4
Consider a situation, in which several people are executing copies of a mail program. Which of the following statements is/are not correct:All the users share one program...
Bikram
2.5k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
operating-system
+
–
1
1 vote
1
answers
1 answer
647
647 views
Test by Bikram | Operating Systems | Test 2 | Question: 3
Given memory partition of $100K, \ 500K, \ 200K, \ 300K$ and $600K$ in order, if we have processes needing memory of $212K, \ 417K, \ 112K$ and $405K$ respectively, whic...
Bikram
647
views
asked
Dec 26, 2016
Operating System
tbb-os-2
operating-system
memory-management
+
–
1
1 vote
1
answers
1 answer
977
977 views
Test by Bikram | Operating Systems | Test 2 | Question: 2
Consider an operating system containing $n$ processes each requiring $4$ resources. The maximum number of processes that can be executed without any deadlock if there are...
Bikram
977
views
asked
Dec 26, 2016
Operating System
tbb-os-2
numerical-answers
operating-system
deadlock-prevention-avoidance-detection
resource-allocation
+
–
1
1 vote
1
1 answer
1.3k
1.3k views
Test by Bikram | Operating Systems | Test 2 | Question: 1
Assume that a certain process executes the following code segment.for (i =0, i <=8, i++ ) fork() ;The number of new processes created is _______
Bikram
1.3k
views
asked
Dec 26, 2016
Operating System
tbb-os-2
numerical-answers
operating-system
process
fork-system-call
programming-in-c
+
–
To see more, click for the
full list of questions
or
popular tags
.