menu
Login
Register
search
Log In
account_circle
Log In
Email or Username
Password
Remember
Log In
Register
I forgot my password
Register
Username
Email
Password
Register
add
Activity
Questions
Unanswered
Tags
Subjects
Users
Ask
Prev
Blogs
New Blog
Exams
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
JEST 2021 registrations are open
TIFR GS-2021 Online Application portal
IIT Jodhpur Mtech AI - Interview Expierence (Summer Admission)
Interview experience at IIT Tirupati for MS program winter admission
IITH CSE interview M Tech RA Winter admission 2021
Subjects
All categories
General Aptitude
(2.1k)
Engineering Mathematics
(8.5k)
Digital Logic
(3k)
Programming and DS
(5.1k)
Algorithms
(4.5k)
Theory of Computation
(6.3k)
Compiler Design
(2.2k)
Operating System
(4.7k)
Databases
(4.3k)
CO and Architecture
(3.5k)
Computer Networks
(4.3k)
Non GATE
(1.2k)
Others
(1.3k)
Admissions
(595)
Exam Queries
(838)
Tier 1 Placement Questions
(16)
Job Queries
(71)
Projects
(19)
Unknown Category
(1.1k)
Recent questions tagged input-output
Recent Blog Comments
B.Tech students are eligible only for Integrated...
I tried calling IISC Admission Dept, but they...
Mock 2 are live now.
sir ,it's already 17th
It will be live soon.
Network Sites
GO Mechanical
GO Electrical
GO Electronics
GO Civil
CSE Doubts
Recent questions tagged input-output
0
votes
2
answers
1
UGCNET-Oct2020-II: 65
Match $\text{List I}$ with $\text{List II}$ ... D-IV$ $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 $
Match $\text{List I}$ with $\text{List II}$ ... C-III, D-IV$ $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 $
asked
Nov 20, 2020
in
Operating System
jothee
70
views
ugcnet-oct2020-ii
operating-system
input-output
0
votes
2
answers
2
UGCNET-Jan2017-II: 38
Match the following w.r.t Input/Output management : ...
Match the following w.r.t Input/Output management : ...
asked
Mar 24, 2020
in
Operating System
jothee
120
views
ugcnetjan2017ii
operating-system
input-output
0
votes
0
answers
3
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>): S<int> $ sets the current time to $<int>; T$ ... out the values of Current time, Next signal, and Clock header. Your program should also print out a statement whenever it is time to raise a signal.
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
32
views
tanenbaum
operating-system
input-output
descriptive
0
votes
0
answers
4
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 the three algorithms for this sequence and prints out the total distance (number of cylinders) the arm needs to traverse in the three algorithms.
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
111
views
tanenbaum
operating-system
input-output
disk-scheduling
descriptive
0
votes
0
answers
5
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.
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
45
views
tanenbaum
operating-system
input-output
descriptive
0
votes
0
answers
6
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 sometimes runs UNIX programs in text mode, and at other times uses the $X$ Window System. She is surprised to find that battery life is significantly better when she uses text-only programs. Why?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
42
views
tanenbaum
operating-system
input-output
unix
descriptive
0
votes
1
answer
7
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 value. Suppose that a user is typing at $1\: char/sec,$ but the CPU time ... value of $n$ and what is the corresponding energy saving in percent compared to not cutting the voltage? Assume that an idle CPU consumes no energy at all.
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
63
views
tanenbaum
operating-system
input-output
descriptive
0
votes
1
answer
8
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?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
25
views
tanenbaum
operating-system
input-output
descriptive
0
votes
1
answer
9
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 number of users watching a scheduled TV show and the same number of users browsing the World Wide Web.)
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
41
views
tanenbaum
operating-system
input-output
descriptive
0
votes
1
answer
10
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/sec.}$ What fraction of a $100$-Mbps Fast Ethernet is consumed by displaying the cartoon?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
44
views
tanenbaum
operating-system
input-output
descriptive
0
votes
0
answers
11
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 first parameter (hdc), and if so, what? After all, the coordinates of the rectangle are explicitly specified as parameters.
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
25
views
tanenbaum
operating-system
input-output
descriptive
0
votes
0
answers
12
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?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
25
views
tanenbaum
operating-system
input-output
descriptive
0
votes
1
answer
13
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 mode memory-mapped screen? What about a $1024 \times 768$ pixel graphics screen with $24$-bit color?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
67
views
tanenbaum
operating-system
input-output
memory-mapped
descriptive
0
votes
1
answer
14
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 RGB color. How much font table space does each character take? If copying a byte takes $100\: nsec,$ including overhead, what is the output rate to the screen in characters/sec?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
57
views
tanenbaum
operating-system
input-output
descriptive
0
votes
0
answers
15
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 someone could have a color photograph that cannot be represented using full $24$-bit color?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
16
views
tanenbaum
operating-system
input-output
descriptive
0
votes
1
answer
16
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$ bytes, what is the maximum data rate of the mouse assuming that each mickey is reported separately?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
26
views
tanenbaum
operating-system
input-output
descriptive
0
votes
1
answer
17
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 on line $5$ when the command is given, what ANSI escape sequence should the editor emit to delete the word?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
48
views
tanenbaum
operating-system
input-output
descriptive
0
votes
0
answers
18
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?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
33
views
tanenbaum
operating-system
input-output
descriptive
0
votes
1
answer
19
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 of the video RAM to another. If a particular window is $80$ lines high by $80$ characters ... baud rate of the terminal? Putting a character on the screen takes $5\: \mu sec.$ How many lines per second can be displayed?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
96
views
tanenbaum
operating-system
input-output
disks
descriptive
0
votes
1
answer
20
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 (year and month)? Do you expect this to actually happen?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
95
views
tanenbaum
operating-system
input-output
disks
unix
descriptive
0
votes
1
answer
21
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 requests for time $5008, 5012, 5015, 5029,4$ and $5037.$ Show the values of Clock header, Current ... pending) signal arrives at time $5017$ for $5033.$ Show the values of Clock header, Current time and Next signal at time $5023.$
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
114
views
tanenbaum
operating-system
input-output
disks
descriptive
0
votes
1
answer
22
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 of a millisecond (a clock tick once every millisecond)? $100$ microseconds?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
229
views
tanenbaum
operating-system
input-output
disks
descriptive
1
vote
1
answer
23
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 37 (Page No. 432)
The clock interrupt handler on a certain computer requires $2\: msec$ (including process switching overhead) per clock tick. The clock runs at $60\: Hz.$ What fraction of the CPU is devoted to the clock?
The clock interrupt handler on a certain computer requires $2\: msec$ (including process switching overhead) per clock tick. The clock runs at $60\: Hz.$ What fraction of the CPU is devoted to the clock?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
345
views
tanenbaum
operating-system
input-output
interrupts
descriptive
0
votes
0
answers
24
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 36 (Page No. 432)
In the discussion on stable storage, a key assumption is that a CPU crash that corrupts a sector leads to an incorrect ECC. What problems might arise in the five crash-recovery scenarios shown in Figure 5-27 if this assumption does not hold?
In the discussion on stable storage, a key assumption is that a CPU crash that corrupts a sector leads to an incorrect ECC. What problems might arise in the five crash-recovery scenarios shown in Figure 5-27 if this assumption does not hold?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
49
views
tanenbaum
operating-system
input-output
disks
descriptive
0
votes
0
answers
25
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 35 (Page No. 432)
In the discussion on stable storage, it was shown that the disk can be recovered to a consistent state (a write either completes or does not take place at all) if a CPU crash occurs during a write. Does this property hold if the CPU crashes again during a recovery procedure. Explain your answer.
In the discussion on stable storage, it was shown that the disk can be recovered to a consistent state (a write either completes or does not take place at all) if a CPU crash occurs during a write. Does this property hold if the CPU crashes again during a recovery procedure. Explain your answer.
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
63
views
tanenbaum
operating-system
input-output
disks
descriptive
0
votes
0
answers
26
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 34 (Page No. 432)
In the discussion of stable storage using nonvolatile RAM, the following point was glossed over. What happens if the stable write completes but a crash occurs before the operating system can write an invalid block ... in the nonvolatile RAM? Does this race condition ruin the abstraction of stable storage? Explain your answer.
In the discussion of stable storage using nonvolatile RAM, the following point was glossed over. What happens if the stable write completes but a crash occurs before the operating system can write an invalid block number in the nonvolatile RAM? Does this race condition ruin the abstraction of stable storage? Explain your answer.
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
24
views
tanenbaum
operating-system
input-output
disks
descriptive
0
votes
0
answers
27
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 33 (Page No. 432)
A personal computer salesman visiting a university in South-West Amsterdam remarked during his sales pitch that his company had devoted substantial effort to making their version of UNIX very fast. As an example, he ... measured was identical to what would be expected from first-come, first-served. Was the salesman lying?
A personal computer salesman visiting a university in South-West Amsterdam remarked during his sales pitch that his company had devoted substantial effort to making their version of UNIX very fast. As an example, he noted that their disk driver used the elevator ... the performance that he measured was identical to what would be expected from first-come, first-served. Was the salesman lying?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
75
views
tanenbaum
operating-system
input-output
unix
disks
descriptive
0
votes
1
answer
28
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 32 (Page No. 432)
A slight modification of the elevator algorithm for scheduling disk requests is to always scan in the same direction. In what respect is this modified algorithm better than the elevator algorithm?
A slight modification of the elevator algorithm for scheduling disk requests is to always scan in the same direction. In what respect is this modified algorithm better than the elevator algorithm?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
131
views
tanenbaum
operating-system
input-output
disk-scheduling
descriptive
0
votes
1
answer
29
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 31 (Page No. 432)
Disk requests come in to the disk driver for cylinders $10, 22, 20, 2, 40, 6,$ and $38,$ in that order. A seek takes $6\: msec$ per cylinder. How much seek time is needed for First-come, first served. Closest cylinder next. Elevator algorithm (initially moving upward). In all cases, the arm is initially at cylinder 20.
Disk requests come in to the disk driver for cylinders $10, 22, 20, 2, 40, 6,$ and $38,$ in that order. A seek takes $6\: msec$ per cylinder. How much seek time is needed for First-come, first served. Closest cylinder next. Elevator algorithm (initially moving upward). In all cases, the arm is initially at cylinder 20.
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
144
views
tanenbaum
operating-system
input-output
disks
disk-scheduling
descriptive
0
votes
0
answers
30
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 30 (Page No. 432)
A computer manufacturer decides to redesign the partition table of a Pentium hard disk to provide more than four partitions. What are some consequences of this change?
A computer manufacturer decides to redesign the partition table of a Pentium hard disk to provide more than four partitions. What are some consequences of this change?
asked
Oct 28, 2019
in
Operating System
Lakshman Patel RJIT
61
views
tanenbaum
operating-system
input-output
disks
descriptive
Page:
1
2
next »
...