Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged tanenbaum
0
votes
1
answer
61
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
227
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
1
votes
0
answers
62
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
302
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
0
votes
1
answer
63
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
384
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
64
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
598
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
unix
descriptive
+
–
0
votes
1
answer
65
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
936
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
66
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
+
–
2
votes
1
answer
67
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...
admin
1.6k
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
interrupts
descriptive
+
–
0
votes
0
answers
68
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-re...
admin
289
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
0
answers
69
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 c...
admin
298
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
0
answers
70
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 ...
admin
180
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
0
answers
71
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...
admin
527
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
unix
disk
descriptive
+
–
0
votes
1
answer
72
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 th...
admin
842
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk-scheduling
descriptive
+
–
1
votes
1
answer
73
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...
admin
2.0k
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
disk-scheduling
descriptive
+
–
0
votes
0
answers
74
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?
admin
346
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
0
answers
75
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 29 (Page No. 432)
A disk manufacturer has two $5.25$-inch disks that each have $10,000$ cylinders. The newer one has double the linear recording density of the older one. Which disk properties are better on the newer drive and which are the same? Are any worse on the newer one?
A disk manufacturer has two $5.25$-inch disks that each have $10,000$ cylinders. The newer one has double the linear recording density of the older one. Which disk proper...
admin
214
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
cylinders
descriptive
+
–
0
votes
1
answer
76
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 28 (Page No. 431)
Consider a magnetic disk consisting of $16$ heads and $400$ cylinders. This disk has four $100$-cylinder zones with the cylinders in different zones containing $160, 200, 240.$ and $280$ sectors, respectively. ... disk rotates at $7200$ RPM. Calculate the disk capacity, optimal track skew, and maximum data transfer rate.
Consider a magnetic disk consisting of $16$ heads and $400$ cylinders. This disk has four $100$-cylinder zones with the cylinders in different zones containing $160, 200,...
admin
3.0k
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
cylinders
descriptive
+
–
0
votes
1
answer
77
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 27 (Page No. 431)
If a disk has double interleaving, does it also need cylinder skew in order to avoid missing data when making a track-to-track seek? Discuss your answer.
If a disk has double interleaving, does it also need cylinder skew in order to avoid missing data when making a track-to-track seek? Discuss your answer.
admin
749
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
78
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 26 (Page No. 431)
If a disk controller writes the bytes it receives from the disk to memory as fast as it receives them, with no internal buffering, is interleaving conceivably useful? Discuss your answer.
If a disk controller writes the bytes it receives from the disk to memory as fast as it receives them, with no internal buffering, is interleaving conceivably useful? Dis...
admin
436
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk-controller
descriptive
+
–
0
votes
0
answers
79
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 25 (Page No. 431)
What are the advantages and disadvantages of optical disks versus magnetic disks?
What are the advantages and disadvantages of optical disks versus magnetic disks?
admin
349
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
0
answers
80
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 24 (Page No. 431)
Why are optical storage devices inherently capable of higher data density than magnetic storage devices? Note: This problem requires some knowledge of high-school physics and how magnetic fields are generated.
Why are optical storage devices inherently capable of higher data density than magnetic storage devices? Note: This problem requires some knowledge of high-school physics...
admin
213
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
81
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 23 (Page No. 431)
How many pebibytes are there in a zebibyte?
How many pebibytes are there in a zebibyte?
admin
191
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
easy
descriptive
+
–
0
votes
0
answers
82
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 22 (Page No. 431)
Compare RAID level $0$ through $5$ with respect to read performance, write performance, space overhead, and reliability.
Compare RAID level $0$ through $5$ with respect to read performance, write performance, space overhead, and reliability.
admin
308
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
83
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 21 (Page No. 431)
A RAID can fail if two or more of its drives crash within a short time interval. Suppose that the probability of one drive crashing in a given hour is $p.$ What is the probability of a $k$-drive RAID failing in a given hour?
A RAID can fail if two or more of its drives crash within a short time interval. Suppose that the probability of one drive crashing in a given hour is $p.$ What is the pr...
admin
1.2k
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
0
answers
84
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 20 (Page No. 431)
RAID level $3$ is able to correct single-bit errors using only one parity drive. What is the point of RAID level $2$? After all, it also can only correct one error and takes more drives to do so.
RAID level $3$ is able to correct single-bit errors using only one parity drive. What is the point of RAID level $2$? After all, it also can only correct one error and ta...
admin
264
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
85
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 19 (Page No. 431)
Calculate the maximum data rate in bytes/sec for the disk described in the previous problem.
Calculate the maximum data rate in bytes/sec for the disk described in the previous problem.
admin
353
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
86
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 18 (Page No. 431)
A disk rotates at $7200$ RPM. It has $500$ sectors of $512$ bytes around the outer cylinder. How long does it take to read a sector?
A disk rotates at $7200$ RPM. It has $500$ sectors of $512$ bytes around the outer cylinder. How long does it take to read a sector?
admin
1.5k
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
87
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 17 (Page No. 431)
How much cylinder skew is needed for a $7200$-RPM disk with a track-to-track seek time of $1\: msec$? The disk has $200$ sectors of $512$ bytes each on each track.
How much cylinder skew is needed for a $7200$-RPM disk with a track-to-track seek time of $1\: msec$? The disk has $200$ sectors of $512$ bytes each on each track.
admin
2.8k
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
88
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 16 (Page No. 431)
Why are output files for the printer normally spooled on disk before being printed?
Why are output files for the printer normally spooled on disk before being printed?
admin
660
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
0
answers
89
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 15 (Page No. 430 - 431)
A local area network is used as follows. The user issues a system call to write data packets to the network. The operating system then copies the data to a kernel buffer. Then it copies the data to the network ... back. For simplicity, assume that the time to get the acknowledgement back is so small it can be ignored.
A local area network is used as follows. The user issues a system call to write data packets to the network. The operating system then copies the data to a kernel buffer....
admin
231
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
0
votes
1
answer
90
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 14 (Page No. 430)
In which of the four I/O software layers is each of the following done. Computing the track, sector, and head for a disk read. Writing commands to the device registers. Checking to see if the user is permitted to use the device. Converting binary integers to ASCII for printing.
In which of the four I/O software layers is each of the following done.Computing the track, sector, and head for a disk read.Writing commands to the device registers.Chec...
admin
1.6k
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
Page:
« prev
1
2
3
4
5
6
7
8
...
16
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register