Recent questions tagged input-output

1 1 vote
1 1 answer
529
529 views
The write operation in I/O operation does the following-Transfer data from I/O device to memoryTransfer data from memory to I/O deviceTransfer data from CPU register to m...
0 0 votes
1 1 answer
268
268 views
The right sequence of CPU program to input data will be:Read status registerCheck flag bitRead Data RegisterTransfer data to memoryChoose the correct answer from the opti...
28 28 votes
5 5 answers
14.4k
14.4k views
Suppose in a multiprogramming environment, the following C program segment is executed. A process goes into I/O queue whenever an I/O related operation is performed. Assu...
0 0 votes
0 0 answers
387
387 views
Consider a hypothetical processor which supports the 64Kb physical memory. Processor uses the memory mapped IO configuration in which the 3 MSB bits of the address is 1, ...
0 0 votes
1 1 answer
1.5k
1.5k views
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...
0 0 votes
0 0 answers
693
693 views
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...
3 3 votes
2 answers 2 answers
1.4k
1.4k views
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 I/OInte...
0 0 votes
0 0 answers
974
974 views
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...
1 1 vote
1 1 answer
1.4k
1.4k views
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...
0 0 votes
0 0 answers
245
245 views
Why ALU can’t accept operand directly from input/output devices ?
2 2 votes
2 2 answers
1.4k
1.4k views
// 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...
1 1 vote
2 2 answers
918
918 views
Match $\text{List-I}$ and $\text{List-II}$:$$\begin{array}{llll} & \textbf{List I} && \textbf{List II} \\ \text{(a)} & \text{Isolated I/O} & \text{(i)} & \text{same set...
0 0 votes
2 2 answers
1.5k
1.5k views
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}...
0 0 votes
1 1 answer
467
467 views
Match $\text{List I}$ with $\text{List II}$$\begin{array}{llll} & \text{List I} & \text{List II} \\ (A) & \text{Input} & (I) & \text{Mouse} \\ (B) & \text{Output} & (II) ...
1 1 vote
4 4 answers
2.3k
2.3k views
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.} & \te...
0 0 votes
0 0 answers
340
340 views
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...
0 0 votes
1 1 answer
711
711 views
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 ...
0 0 votes
0 0 answers
312
312 views
Write a program that simulates stable storage. Use two large fixed-length files on your disk to simulate the two disks.
0 0 votes
0 0 answers
428
428 views
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...
0 0 votes
1 1 answer
661
661 views
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....
0 0 votes
1 1 answer
488
488 views
Describe two advantages and two disadvantages of thin client computing?
0 0 votes
1 1 answer
436
436 views
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...
0 0 votes
1 1 answer
590
590 views
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...
0 0 votes
0 0 answers
268
268 views
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 ...
0 0 votes
0 0 answers
506
506 views
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?
0 0 votes
1 1 answer
847
847 views
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...
0 0 votes
1 1 answer
672
672 views
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...
0 0 votes
0 0 answers
298
298 views
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...
0 0 votes
1 1 answer
429
429 views
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...