Explain why round-robin scheduling tends to favor cpu bound

Assignment Help Basic Computer Science
Reference no: EM131943924

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.

11) The transfer time to or from the disk does not depend on the rotation speed of the disk.

12) During a read or write operation, the head rotates while the platter beneath it stays stationary.

13) During the execution of a program, every portion of the program (i.e. every page) must be loaded into the memory.

14) A page fault is an error happened during program running and has to be avoided by all means.

15) Any logical or virtual address must first be forwarded to Memory Management Unit (MMU) before going to the physical memory.

16) If there is only one CPU in the computer, then only one process can be in the ''running'' state at any time.

17) In a multi-thread system, the relationship among processes and threads is saved in Process Control Block.

18) The size of a page is the same as the size of a frame.

19) In the file system, logical records are physical blocks are inter-related so that the records could be saved in corresponding blocks.

20) Because data are striped in very small strips, RAID 3 cannot achieve very high data transfer rates.

II. Multiple Choices - Choose ONLY 1 Answer (2 points each, 20 points total)

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 nd 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?

b. What is the transfer time for one sector?

V. Process, Thread, andScheduling

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.

Verified Expert

The solution file is prepared in ms word which answered 20 true or false questions with reason and 10 multiple questions. We also solved 13 short hand answers based on operating system includes two problems.

Reference no: EM131943924

Questions Cloud

Is the ksao necessary prior to hiring : Is the KSAO necessary prior to hiring, or can it be trained? What is the importance of each characteristic relative to the others?
Prepare a legal risk assessment of their business plan : The assignment requires to prepare a legal risk assessment of their business plan. Enough details should be provided to demonstrate awareness of the legal risks
Analyze the primary and secondary target markets : Analyze the primary and secondary target markets that you identified for your company. Be sure to cover the 4Ps, 5Cs and STP.
What is adhd and how does it affect kids in school : What is ADHD and how does it affect kids in school? The experience of puberty tends to vary based on gender. Compare physical maturation between girls and boys.
Explain why round-robin scheduling tends to favor cpu bound : TEC625 - Explain why Round-Robin scheduling tends to favor CPU bound processes over I/O bound ones and Compare the similarity and difference between process
What are the important beliefs in judaism : In our readings about Judaism, many Jewish beliefs are discussed and explained. What do you think are some of the more important beliefs in Judaism?
Describe how you could use one of its practices to improve : Describe how you could use one of its practices to improve a program or service at your college or another one that you are familiar with.
What does an early childhood professional need to know : What does an early childhood professional need to know in order to understand the situation and needs of these children and families?
What assumptions did you have about the client : What assumptions or biases did you have about the client or student at the start of your work together? These may be assumptions about his or her background.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd