How can the clock be used to solve the problem

Assignment Help Basic Computer Science
Reference no: EM132986797

Review Exercises

1. Write a definition for all the italicised terms in this unit.

2. Non-volatile RAM (NVRAM) is a combination of RAM and EEPROM memory. Data is read from/written to RAM, and backed up to the EEPROM at appropriate times. Can you think of an application where this would be useful?

3. (a) Outline how I/O modules could use the interrupt line to move data to memory as soon as it is available. What are the relative advantages/disadvantages compared to DMA.

(b) Most microprocessors have a single interrupt, line; multiple interrupts are handled by a special I/O module known as an interrupt controller, which has access to the micropro- cessor interrupt line Suggest ways in which interrupts from multiple devices could each be handled (with their own handler) in such a scheme. Should an interrupt be allowed to interrupt another interrupt?

(c) "A DMA module is transferring characters to memory using cycle stealing, from a device transmitting at 9600 bps. The processor is fetching instructions at the rate of 1 million instructions per second (1 MIPS). By how much will the processor be slowed down by DMA activity?" - question taken from (Stallings 2000; 6.5)

4. List the issues to be considered in the design/choice of the following items for a particular application:
(a) CPU
(b) bus
(c) memory
(d) peripherals

5. Role Play/Challenge question taken from (Stallings 2000; 6.9): CC

Two boys are playing on either side of a high fence. One of the bOys named Apple- server, has a beautiful apple tree loaded with delicious apples growing on his side of the fence; he is happy to supply apples to the other boy whenever needed. The other boy named Apple-eater, loves to eat apples but has none. In fact, he must eat his apples at a fixed rate ...If he eats them faster than that rate he will get sick. If he eats them slower, he will suffer malnutrition. Neither boy can talk, so the problem is to get apples from Apple-server to Apple-eater at the correct rate

(a) Assume that there is an alarm clock sitting on top of the fence and that the clock can have multiple alarm settings. How can the clock be used to solve the problem? Draw a timing diagram to illustrate the solution.

(b) Now assume that there is no alarm clock. Instead Apple-eater has a flag that he can wave whenever he needs an apple. Suggest a new solution. Would it be helpful for Apple-server also to have a flag? If so, incorporate this into the solution. Discuss the drawbacks of this approach.

(c) Now take away the flag and assume the existence of a long piece of string. Suggest a solution that is superior to that of (5b) using the string.

6. One difference between Dynamic RAM (DRAM) and Static RAM (SRAM) is:

(a) DRAM loses information when power is switched off, but SRAM retains information when power is switched off.

(b) DRAM tends to be more expensive than SRAM.

(c) DRAM tends to be less dense than SRAM.

(d) DRAM is faster than SRAM.

(e) DRAM loses information unless it is periodically refreshed, SRAM will retain information indefinitely.

7. Which of the following statements about the components of a computer are correct(if any):

(a) The ALU is the part which executes the program.
(b) The bus conveys information between the CPU and the microprocessor.
(c) The clock signal is used by the CPU to time the phases of the instruction cycle.
(d) A microprocessor is a CPU plus peripherals on a single chip.
(e) Memory may be read-only (RAM) or read-write (ROM).

8. Which ONE of the following statements about interrupts is correct:
(a) Interrupts occur when peripherals send bit-parallel signals to the CPU across the bus.
(b) Interrupts occur when memory devices send bit-parallel signals to the CPU across the bus.
(c) Interrupts occur when the CPU exerts a special signal line connected to a peripheral.
(d) Interrupts occur when peripherals exert a special signal line connected to the memory.
(e) Interrupts occur when peripherals exert a special signal line connected to the CPU.

9. Choose the best answer. The memory map side affects the nature of the microprocessor-based system bus, because:
(a) the number of data lines must match the memory bit-width.
(b) the number of address lines must allow the entire address range to be addressed.
(c) if the number of data and address lines are the same, the lines can be multiplexed.
(d) 9a and 9b are true but 9c is false.
(e) 9a, 9b and 9c are ill true.

"'Role Play- Investigate bus issues such as, contention arising from two devices with the same dress, or no device responding to the address, on both a synchronous and asynchronous' bus, ,and where data and address lines are shared or separate.

Suggest lining up people (devices) with transparencies representing the data they will place on the bus. Person at back (the bus state) writing on a pad of slightly translucent paper, from back to front, so we can see the transient state of the bus. Other persons to represent the clock or signalling lines, and the address lines(transparency if shared bus lines).

Reference no: EM132986797

Questions Cloud

What should crane company report as a loss on the bonds : At February 1, 2022, Crane Company sold the Carlin bonds for $ 1225900. What should Crane Company report as a gain (or loss) on the bonds?
Roles and responsibilities of system administrator : How the below roles and responsibilities of a "System administrator" related to the below listed courses.
What is the value of the factory : You forecast that it will produce cash inflows of $125,000 in year 1, $185,000 in year 2, and $310,000 in year 3. What is the value of the factory
What the amount reported in pharoah income statement was : What the amount reported in Pharoah's 2021 income statement as a result of Pharoah's available-for-sale investment in Wildhorse was
How can the clock be used to solve the problem : How can the clock be used to solve the problem? Draw a timing diagram to illustrate the solution - Discuss the drawbacks of this approach
What is the present value of the condo cash flow : The interest rate is 7%, and the building will be sold at the end of 22 years with a value of $65,000, what is the present value of the condo's cash flow
What is revised net operating income for miller company : What is the revised net operating income if the selling price per unit increases by 10%, variable expenses increase by 30 cents per unit, and the number of unit
Mobile application vs mobile website : How is deciding between a mobile application vs a mobile website an important consideration by developers? Explain.
How much money could be saved each year in interest expense : If all freed up dollars would be used to pay down debt that has an interest rate of 6%, how much money could be saved each year in interest expense

Reviews

len2986797

9/12/2021 11:52:01 PM

Please let me know if you can help me on my homework. Attached the pdf files and please check out the exercise below. Let me know how much. Thanks

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