Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged input-output
0
votes
1
answer
1
Gate
An I/O device transfers data at a rate of 10MB/s over a 100MB/S bus. The data is transferred in 4KB blocks. If the processor operates at 500MHz, and it takes a total of 5000 cycles to handle each DMA request, find the fraction of CPU time handling the data transfer with and without DMA.
An I/O device transfers data at a rate of 10MB/s over a 100MB/S bus. The data is transferred in 4KB blocks. If the processor operates at 500MHz, and it takes a total of 5...
Praful jha
551
views
Praful jha
asked
Jul 7, 2023
CO and Architecture
co-and-architecture
input-output
dma
+
–
0
votes
0
answers
2
Andrew S. Tanenbaum - Modern Operating Systems
Measurements of a certain system have shown that the average process runs for a time T before blocking on I/O. A process switch requires a time S, which is effectively wasted (overhead). For round-robin scheduling with quantum Q, giv e a formula for the CPU efficiency for each of the ... ) Q = ∞ (b) Q > T (c) S < Q < T (d) Q = S (e) Q nearly 0
Measurements of a certain system have shown that the average process runs for a time T before blocking on I/O. A process switch requires a time S, which is effectively wa...
arjunwkb
353
views
arjunwkb
asked
Feb 15, 2023
Operating System
operating-system
cpu
input-output
+
–
3
votes
2
answers
3
I/O Modes | Process State Transition | COA & OS
MSQ A ‘Running’ process is surely put into ‘Blocked/Wait’ state during while requesting for an I/O, in which of the following I/O modes? Synchronous I/O Asynchronous I/O Interrupt Driven I/O DMA
MSQA ‘Running’ process is surely put into ‘Blocked/Wait’ state during while requesting for an I/O, in which of the following I/O modes?Synchronous I/OAsynchronous...
Souvik33
732
views
Souvik33
asked
Dec 2, 2022
CO and Architecture
operating-system
process-scheduling
co-and-architecture
dma
interrupts
input-output
multiple-selects
+
–
0
votes
0
answers
4
How many cycle per second are spent on I/O if polling is used with Interrupts?
Manpreet Saluja
207
views
Manpreet Saluja
asked
Nov 7, 2022
Computer Networks
co-and-architecture
clock-cycles
input-output
+
–
0
votes
0
answers
5
Trishna's GATE CSE
In a programmed I/O technique, the processor is stuck in a wait loop doing status checking of an I/O device. To increase efficiency, the I/O software could be writ- ten so that the processor periodically checks the status of the device. If the device is not ready, ... The printing rate is slowed to 5 CPS (C) The printing rate is at 10 CPS only (D) The printing rate is at 20 CPS
In a programmed I/O technique, the processor is stuckin a wait loop doing status checking of an I/O device.To increase efficiency, the I/O software could be writ-ten so t...
eskaykaushik
478
views
eskaykaushik
asked
Oct 18, 2022
Computer Networks
operating-system
input-output
loop
+
–
1
votes
1
answer
6
Test Series
Question : Consider a Device which operates with 20 MBPS operating speed.The device is operating on Programmed control mode of I/O and it has to transfer data of 20 B from it the data is transferred byte wise .Size of status register is 2 Bytes.total time needed to perform the data transfer is --------(microseconds)
Question : Consider a Device which operates with 20 MBPS operating speed.The device is operating on Programmed control mode of I/O and it has to transfer data of 20 B fro...
lalitver10
584
views
lalitver10
asked
Sep 16, 2022
CO and Architecture
co-and-architecture
input-output
test-series
+
–
0
votes
0
answers
7
Basic COA
Why ALU can’t accept operand directly from input/output devices ?
Why ALU can’t accept operand directly from input/output devices ?
kanakjyoti
91
views
kanakjyoti
asked
Sep 1, 2022
CO and Architecture
co-and-architecture
input-output
+
–
2
votes
2
answers
8
what is the ouput of this c code ?
// C/C++ program to demonstrate return value // of printf() #include <stdio.h> int main() { long int n = 123456789; printf("While printing "); printf(", the value returned by printf() is : %d", printf("%ld" ... : 9 123456789 but this prints While printing 123456789, the value returned by printf() is : 9 why this is happens ?
// C/C++ program to demonstrate return value// of printf()#include <stdio.h>int main(){ long int n = 123456789; printf("While printing "); printf(", the value re...
ykrishnay
638
views
ykrishnay
asked
May 23, 2022
Programming in C
programming-in-c
programming
input-output
+
–
0
votes
2
answers
9
UGC NET CSE | October 2020 | Part 2 | Question: 65
Match $\text{List I}$ with $\text{List II}$ ... $A-II, B-IV, C-III, D-I$ $A-II, B-IV, C-I, D-III$ $A-IV, B-III, C-II, D-I$
Match $\text{List I}$ with $\text{List II}$$\begin{array}{llll} & \text{List I} & & \text{List II} \\ (A) &\text{Handshaking} & (I) & \text{I/O interface informs the CPU}...
go_editor
990
views
go_editor
asked
Nov 20, 2020
Operating System
ugcnetcse-oct2020-paper2
operating-system
input-output
+
–
1
votes
4
answers
10
UGC NET CSE | January 2017 | Part 2 | Question: 38
Match the following w.r.t Input/Output management : ...
Match the following w.r.t Input/Output management :$\begin{array}{ll} &{\text{List – I}} & & {\text{List – II}} \\ \text{a.} & \text{Device controller} & \text{i.} &...
go_editor
947
views
go_editor
asked
Mar 24, 2020
Operating System
ugcnetjan2017ii
operating-system
input-output
+
–
0
votes
0
answers
11
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 57 (Page No. 434)
Write a program to implement multiple timers using a single clock. Input for this program consists of a sequence of four types of commands ... , and Clock header. Your program should also print out a statement whenever it is time to raise a signal.
Write a program to implement multiple timers using a single clock. Input for this program consists of a sequence of four types of commands $(S<int , T<int>, E<int , P<int...
admin
161
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
0
votes
1
answer
12
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 56 (Page No. 434)
Write a program to implement the three disk-arm scheduling algorithms. Write a driver program that generates a sequence of cylinder numbers $(0–999)$ at random, runs the three algorithms for this sequence and prints out the total distance (number of cylinders) the arm needs to traverse in the three algorithms.
Write a program to implement the three disk-arm scheduling algorithms. Write a driver program that generates a sequence of cylinder numbers $(0–999)$ at random, runs th...
admin
419
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk-scheduling
descriptive
+
–
0
votes
0
answers
13
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 55 (Page No. 434)
Write a program that simulates stable storage. Use two large fixed-length files on your disk to simulate the two disks.
Write a program that simulates stable storage. Use two large fixed-length files on your disk to simulate the two disks.
admin
176
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
0
votes
0
answers
14
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 54 (Page No. 434)
A notebook computer is set up to take maximum advantage of power saving features including shutting down the display and the hard disk after periods of inactivity. A user sometimes runs UNIX programs in text mode, and ... She is surprised to find that battery life is significantly better when she uses text-only programs. Why?
A notebook computer is set up to take maximum advantage of power saving features including shutting down the display and the hard disk after periods of inactivity. A user...
admin
196
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
unix
descriptive
+
–
0
votes
1
answer
15
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 53 (Page No. 434)
If a CPU's maximum voltage, $V,$ is cut to $V/n,$ its power consumption drops to $1/n^{2}$ of its original value and its clock speed drops to $1/n$ of its original value. Suppose that a user ... is the corresponding energy saving in percent compared to not cutting the voltage? Assume that an idle CPU consumes no energy at all.
If a CPU’s maximum voltage, $V,$ is cut to $V/n,$ its power consumption drops to $1/n^{2}$ of its original value and its clock speed drops to $1/n$ of its original valu...
admin
356
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
0
votes
1
answer
16
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 52 (Page No. 434)
Describe two advantages and two disadvantages of thin client computing?
Describe two advantages and two disadvantages of thin client computing?
admin
239
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
0
votes
1
answer
17
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 51 (Page No. 434)
It has been observed that a thin-client system works well with a $1$-Mbps network in a test. Are any problems likely in a multiuser situation? (Hint: Consider a large number of users watching a scheduled TV show and the same number of users browsing the World Wide Web.)
It has been observed that a thin-client system works well with a $1$-Mbps network in a test. Are any problems likely in a multiuser situation? (Hint: Consider a large num...
admin
210
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
0
votes
1
answer
18
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 50 (Page No. 434)
A thin-client terminal is used to display a Web page containing an animated cartoon of size $400\: \text{pixels} \times 160\: \text{pixels}$ running at $10\: \text{frames/sec.}$ What fraction of a $100$-Mbps Fast Ethernet is consumed by displaying the cartoon?
A thin-client terminal is used to display a Web page containing an animated cartoon of size $400\: \text{pixels} \times 160\: \text{pixels}$ running at $10\: \text{frames...
admin
273
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
0
votes
0
answers
19
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 49 (Page No. 433 - 434)
In the text we gave an example of how to draw a rectangle on the screen using the Windows GDI: Rectangle(hdc, xleft, ytop, xright, ybottom); Is there any real need for the first parameter (hdc), and if so, what? After all, the coordinates of the rectangle are explicitly specified as parameters.
In the text we gave an example of how to draw a rectangle on the screen using the Windows GDI:Rectangle(hdc, xleft, ytop, xright, ybottom);Is there any real need for the ...
admin
147
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
0
votes
0
answers
20
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 48 (Page No. 433)
In Fig. 5-36 there is a class to RegisterClass. In the corresponding $X$ Window code, in Fig. 5-34, there is no such call or anything like it. Why not?
In Fig. 5-36 there is a class to RegisterClass. In the corresponding $X$ Window code, in Fig. 5-34, there is no such call or anything like it. Why not?
admin
294
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
0
votes
1
answer
21
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 47 (Page No. 433)
Assuming that it takes $2\: nsec$ to copy a byte, how much time does it take to completely rewrite the screen of an $80\: \text{character} \times \text{25}$ line text mode memory-mapped screen? What about a $1024 \times 768$ pixel graphics screen with $24$-bit color?
Assuming that it takes $2\: nsec$ to copy a byte, how much time does it take to completely rewrite the screen of an $80\: \text{character} \times \text{25}$ line text mod...
admin
452
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
memory-mapped
descriptive
+
–
0
votes
1
answer
22
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 46 (Page No. 433)
One way to place a character on a bitmapped screen is to use BitBlt from a font table. Assume that a particular font uses characters that are $16 24$ pixels in true RGB color. How much font table space does each ... a byte takes $100\: nsec,$ including overhead, what is the output rate to the screen in characters/sec?
One way to place a character on a bitmapped screen is to use BitBlt from a font table. Assume that a particular font uses characters that are $16 × 24$ pixels in true RG...
admin
378
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
0
votes
0
answers
23
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 45 (Page No. 433)
The primary additive colors are red, green, and blue, which means that any color can be constructed from a linear superposition of these colors. Is it possible that someone could have a color photograph that cannot be represented using full $24$-bit color?
The primary additive colors are red, green, and blue, which means that any color can be constructed from a linear superposition of these colors. Is it possible that someo...
admin
145
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
0
votes
1
answer
24
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 44 (Page No. 433)
The designers of a computer system expected that the mouse could be moved at a maximum rate of $20\: cm/sec.$ If a mickey is $0.1 \:mm$ and each mouse message is $3$ bytes, what is the maximum data rate of the mouse assuming that each mickey is reported separately?
The designers of a computer system expected that the mouse could be moved at a maximum rate of $20\: cm/sec.$ If a mickey is $0.1 \:mm$ and each mouse message is $3$ byte...
admin
206
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
0
votes
1
answer
25
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 43 (Page No. 433)
A user at a terminal issues a command to an editor to delete the word on line $5$ occupying character positions $7$ through and including $12.$ Assuming the cursor is not on line $5$ when the command is given, what ANSI escape sequence should the editor emit to delete the word?
A user at a terminal issues a command to an editor to delete the word on line $5$ occupying character positions $7$ through and including $12.$ Assuming the cursor is not...
admin
221
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
1
votes
0
answers
26
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 42 (Page No. 433)
After receiving a DEL (SIGINT) character, the display driver discards all output currently queued for that display. Why?
After receiving a DEL (SIGINT) character, the display driver discards all output currently queued for that display. Why?
admin
287
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
0
votes
1
answer
27
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 41 (Page No. 433)
A bitmap terminal contains $1600$ by $1200$ pixels. To scroll a window, the CPU (or controller) must move all the lines of text upward by copying their bits from one part of the video RAM to another. If a particular ... ? Putting a character on the screen takes $5\: \mu sec.$ How many lines per second can be displayed?
A bitmap terminal contains $1600$ by $1200$ pixels. To scroll a window, the CPU (or controller) must move all the lines of text upward by copying their bits from one part...
admin
369
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
28
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 40 (Page No. 433)
Many versions of UNIX use an unsigned $32$-bit integer to keep track of the time as the number of seconds since the origin of time. When will these systems wrap around (year and month)? Do you expect this to actually happen?
Many versions of UNIX use an unsigned $32$-bit integer to keep track of the time as the number of seconds since the origin of time. When will these systems wrap around (y...
admin
570
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
unix
descriptive
+
–
0
votes
1
answer
29
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 39 (Page No. 433)
A system simulates multiple clocks by chaining all pending clock requests together as shown in Fig. 5-30. Suppose the current time is $5000$ and there are pending clock requests for time $5008, 5012, 5015, 5029,4$ ... $5017$ for $5033.$ Show the values of Clock header, Current time and Next signal at time $5023.$
A system simulates multiple clocks by chaining all pending clock requests together as shown in Fig. 5-30. Suppose the current time is $5000$ and there are pending clock r...
admin
889
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
30
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 38 (Page No. 432)
A computer uses a programmable clock in square-wave mode. If a $500\:MHz$ crystal is used, what should be the value of the holding register to achieve a clock resolution of a millisecond (a clock tick once every millisecond)? $100$ microseconds?
A computer uses a programmable clock in square-wave mode. If a $500\:MHz$ crystal is used, what should be the value of the holding register to achieve a clock resolution ...
admin
2.0k
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
Page:
1
2
3
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register