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

  Human relations skills

how can we improve communications with each other in a world filled with technology that often results in physical isolation?

  Operating system available for computing environment

It is important to note that in any given enterprise the operating system available for computing environment can be different.  Upon watching the video, please provide a summary of your understanding of the video.

  Determining the service transition

With a basic understanding of change management, you will now turn your attention to the service transition process as a whole.

  Develop deployment plan for implementation of these polices

Develop a deployment plan for implementation of these polices, standards, and controls. List controls placed on domains in the IT infrastructure.

  Discuss the advantages of using loops in a program

Please write answers for below it is for an online class discussion can be taken from any online resource if you can please paste the link for reference. 1. Discuss the advantages of using loops in a program.

  Write a program that ask the user to enter two numbers

Write a program that ask the user to enter two numbers, obtains the two numbers from the user and prints the sum, product, difference

  Explain how to display an image on web page

Question 1: Explain how to display an image on your web page. Question 2: Explain how to design a hyperlink that opens in a separate browser window.

  Make software makers put out a more secure product

How can we counter economic incentives to make software makers put out a more secure product?

  Trial could be conducted by teleconference

In some places, technology has reached the point where a trial could be conducted by a teleconference.

  Using sampling to reduce the number of data objects

Discuss the advantages and disadvantages of using sampling to reduce the number of data objects that need to be displayed.

  1.what is the value of the following instruction?

1.What is the value of the following instruction? mov al,01101011b shr al,22.What is the two's complement of the binary number 11010000?3.Which statement defines an array local variable consisting 40 signed words?

  Data security in cloud computing

Discuss the gap for your problem to be attached in your dissertation and continue to include new articles.

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