Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

I. For each statement below, Explain Why it is True or False

1) Programmed I/O only uses one type of I/O addressing, which is isolated I/O.

2) Each I/O device has a unique address recognized by I/O module.

3) Since programmed I/O consumes CPU time, this I/O approach is not used in any computer nowadays.

4) In Direct Memory Access, there is no need for using Interrupts during the whole process of I/O from beginning to end, since DMA is more efficient than Interrupt-Driven I/O.

5) Using DMA, the whole transfer is carried out by the I/O module.

6) Most RAID systems, except Level 0, are more reliable than single disk due to their interleave data striping schemes with redundancy and parity.

7) An I/O interrupt is a hardware-generated signal to the processor.

8) Priority scheduling is a type of preemptive dispatching, since high-priority processes can take resources away from low-priority processes.

9) RAID is a set of physical disk drives viewed by the operating system as a single logical drive.

10) With isolated I/O there is a single mutually accessible address space for memory locations and I/O devices.

II. Multiple Choices - Choose ONLY 1 Answer

1. Which of the following is NOT included in the interaction between the processor and the I/O module?
A. Address register
B. Control register
C. Data register
D. State register

2. The main features of I/O module DO NOT include:
A. Addressing
B. Interaction computer-controller
C. Instruction decoding
D. Transfer unit

3. Which of the following is NOT included in the information that the processor writes to I/O registers before DMA data transfer
A. Memory address where data are stored or going to be stored
B. Read/Write operation
C. The number of bytes to transfer
D. The number of CPU cycles for synchronization loop

4. The I/O function includes a _________ to coordinate the flow of traffic between internal resources and external devices.
A. cycle B. control interface
C. data register D. status reporting

5. The __________ is a program that controls the execution of application programs and acts as an interface between applications and the computer hardware.
A. job control language B. operating system
C. batch system D. nucleus

6. The _________ scheduling determines which programs are admitted to the system for processing.
A. high-level B. medium-level
C. short-term D. I/O

7. ________ is when the DMA module temporarily uses the bus when the CPU is working with other hardware.
A. Interrupt B. Thunderbolt
C. Cycle stealing D. Lock down

8. The _________ command causes the I/O module to take an item of data from the data bus and subsequently transmit that data item to the peripheral.
A. control B. test
C. read D. write

9. Data are transferred to and from the disk in __________.
A. tracks B. gaps
C. sectors D. pits

10. The disk access time is determined by the following EXCEPT:
A. data buffer time B. data transfer time
C. rotational latency D. seek time

III. Short Answers

1. We know contiguous storage allocation has a major problem: it does not allow flexible size changes of files. Can you explain how linked and indexed allocation methods solve this problem? And compare which one is better, linked or indexed?

2. Explain the concept "Virtualization" and its application in virtual machine.

3. Which component of Operating System is responsible for the following (give the component name, and explain in one sentence):

Write to disk: _____________

Determine which process run next: _____________

Determine where in memory a new process should be placed: _____________

Organize files on disk: _____________

4. Use Interrupt-Driven I/O to explain how to load a file from disk to memory.

5. Can a process issue a disk I/O when it is in the ''ready'' state? Why?

6. How does the operating system prevent a process from occupying the processor for a very long time which may cause starvation of other processes? Explain.

IV. Input / Output (4 points each, 8 points total)

A disk with 2200 sectors on one track is found experimentally to have an average latency of 110 msecond. Please refer reading materials in Week 7, and calculate the following:

a. What is the rotational speed of the disk? (hint: page 33 in OCW_unit-6.pdf)

b. What is the transfer time for one sector? (hint: page 37 in OCW_unit-6.pdf)

V. Process, Thread, and Scheduling (2 points each, 8 points total)

a. Explain why Round-Robin scheduling tends to favor CPU bound processes over I/O bound ones.

b. CPU scheduling quanta (i.e. the time slices assigned to each process) have remained about the same over the past 20 years, but processors are now about 1,000 times faster. Why haven't CPU scheduling quanta changed?

c. Compare the similarity and difference between process and thread.

d. For the six scheduling methods mentioned in reading materials in Week7, namely First In First Out (FIFO), Shortest Job First (SJF), Priority Scheduling, Round Robin, Dynamic Priority, and Multilevel Feedback Queues, which one is optimal with respect to shortest average wait time per process? Please explain.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92780648
  • Price:- $45

Priced at Now at $45, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Question what is static and dynamic binding explain with

Question : What is static and dynamic binding? Explain with example how you can implement dynamic binding. The response must be typed, single spaced, must be in times new roman font (size 12) and must follow the APA form ...

The following conversation has some mistakes can u help me

The following conversation has some mistakes, can u help me point them out? what are the mistakes? Mark: Hi, David, my company does not use much computer technology and I would like to change that. But I have a few quest ...

When a developer creates an app should they make it

When a developer creates an app, should they make it backwards compatible, so that the app can be handled by older versions of the operating system? Why or why not?

Question after reading this chapter you should now be

Question : After reading this chapter, you should now be familiar with the "Fun" part of Java utilizing the GUI. The GUI offers all kinds of functionality in the graphical sence. Why do you think Java and Javas GUI are s ...

Assembly programs use 32 bits to address memory and can

Assembly programs use 32 bits to address memory and can access up to 4gb of memory. If an assembly code for a system uses 16 bits to address memory, how many bytes of memory can the program access? Is it as simple as 2^1 ...

Question developing a more agile approachbullspeculate on

Question: "Developing a More Agile Approach" • Speculate on why corporate culture plays a critical role in developing a more agile product development approach. Provide one (1) real-world example of the role that corpora ...

When we look at the ease to enter the different market

When we look at the ease to enter the different market structure, there is no doubt that 'monopoly' is the hardest. Why? -- There is only ONE firm that has established 'economies of scale' with the production of their go ...

Restaurant management database project the restaurant

Restaurant Management Database Project : The restaurant maintains the catalog for the list of food and beverage items that it provides. Apart from providing food facility at their own premises, the restaurant takes order ...

Subject economicsa manager has a utility function u c 05

Subject: Economics A manager has a utility function U = C 0.5 if she doesn't work hard and U = C 0.5 - 3 if she does. Expected profit will increase from 1,000 to 1,500 if she works hard. The manager receives compensation ...

In this section you will write a program to show a rotating

In this section, you will write a program to show a rotating banner on the LCD screen. Every 300 milliseconds, the text "Microcontrollers are lots of fun!" should move one position to the left. This banner should repeat ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As