CS 410 Operating SystemsHomework 01
Review Questions (6 points each)1.2 Define the two main categories of processor registers.1.3 In general terms, what are the four distinct actions that a machine instruction can specify?1.4 What is an interrupt?1.5 How are multiple interrupts dealt with?1.10 In general, what are the strategies for exploiting spatial locality and temporal locality?
Problems (10 points each)1.2 The program execution of Figure 1.4 is described in the text using six steps. Expand thisdescription to show the use of the MAR and MBR.
1.3 Consider a hypothetical 32-bit microprocessor having 32-bit instructions composed of twofields. The first byte contains the opcode and the remainder an immediate operand or anoperand address.a. What is the maximum directly addressable memory capacity (in bytes)?b. Discuss the impact on the system speed if the microprocessor bus has
1. a 32-bit local address bus and a 16-bit local data bus, or2. a 16-bit local address bus and a 16-bit local data bus.
c. How many bits are needed for the program counter and the instruction register?
1.5 Consider a 32-bit microprocessor , with a 16-bit external data bus, driven by an 8-MHz inputclock. Assume that this microprocessor has a bus cycle whose minimum duration equals fourinput clock cycles. What is the maximum data transfer rate across the bus that thismicroprocessor can sustain in bytes/s? To increase its performance, would it be better to makeits external data bus 32 bits or to double the external clock frequency supplied to themicroprocessor? State any other assumptions you make and explain. Hint: Determine thenumber of bytes that can be transferred per bus cycle.
1.7 In virtually all systems that include DMA modules, DMA access to main memory is givenhigher priority than processor access to main memory. Why?
1.8 A DMA module is transferring characters to main memory from an external devicetransmitting at 9600 bits per second (bps). The processor can fetch instructions at the rate of 1million instructions per second. By how much will the processor be slowed down due to theDMA activity?
Continue…
1.10 Consider the following code:
for (i = 0; i < 20; i++)for (j = 0; j < 10; j++)
a[i] = a[i] * j
a. Give one example of the spatial locality in the code.b. Give one example of the temporal locality in the code.
1.14 Suppose a stack is to be used by the processor to manage procedure calls and returns.Can the program counter be eliminated by using the top of the stack as a program counter?
SUBMISSIONSubmit a DOCX or PDF document through Western Online with the answers to the questions orproblems typing the corresponding numbers and questions (or at least the numbers) in boldand in the proper order before your answers.Use a different font color for all the numbers and questions (or at least for the numbers), thanthe color used for your answers. You can, as an example, use a blue color for all the numbersand questions, and black font for all your answers. The idea is to make the grading processeasy to follow and faster. Points will be deducted if you do not follow these guidelines.
—–///

Get Your Paper Before the Deadline. Our Services are 100% private and Confidential
Useful Links That Will Help You Around
Link to new order https://studentsolutionsusa.com/orders/stud/new
link to login page https://studentsolutionsusa.com/orders/login
New user registration link https://studentsolutionsusa.com/orders/register
Forgot Password https://studentsolutionsusa.com/orders/forgot/password
FREQUENTLY ASKED QUESTIONS
Question: How does this work?
Answer: Good Question. We are a group of a freelance board of students and professional essay writers. At our website, you may get help with any type of academic assignments: essay, coursework, term paper, business plan, case study, article review, research paper, presentation, and speech. Top writers can help with complex assignments such as dissertations, thesis papers, etc. All of them are professionals possessing excellent knowledge in their field of expertise, perfect writing skills, quality, and speed. When you place an order on our website, we assign it to the best writer. Once the writer finishes the work, the paper is submitted to our quality assurance desk who go through it and ensure it is unique and plagiarism free and that the instructions were followed to the detail. After this step we upload the paper in your account, we also send a copy to the email that you used to register the account with. we can guarantee you that the paper will be 100% plagiarism free. Besides, our services are 100% private and confidential
Question: How do I place an Order after getting to the order page
Answer: There are three major steps in the ordering process
Step 1 ....................................................paper details In this step, you will fill in the instructions of your paper; you can upload any materials that you feel will make your assignment a success. Besides, you can also email us at [email protected] Remember to specify the correct academic level. Please note that sources mean the number of references.
Step 2...................................................... Price calculation Kindly specify the number of pages, type of spacing and the correct deadline. This step will give you the estimated cost minus discount -- you may add the extra features if you wish.
Step 3 ....................................................discount and payment Use the discount code HAPPY2018 to enjoy up to 30% discount of your total cost After this step, proceed to safe payment; you can checkout using your card or PayPal Please note we will send the complete paper to the email you will provide while registering. A copy will also be uploaded to your account
Question: How will I know when my paper is complete? or How will I get the complete Paper?
Answer: Once we are done with the paper, we will be uploaded to your account. A copy will also be sent to the email you registered with. We can guarantee you the following:- 1. Our service is private and confidential; we don't spam or share your contacts with anyone 2. The final paper will be plagiarism free. We will send a Turnitin Report to the email you registered with 3. At our company, willing to do free unlimited revisions until you are satisfied with your paper
Question:- Am a new client, How can I get the guarantee that the paper will be completed and sent to me before my deadline?
Answer: Thank you for expressing your concerns. We would love to have you as our loyal customer. We are certain if we do good work, you will come back for me. Besides, you will give us referrals to your friends and family. For that reason, we can’t fail to deliver your paper within your specified time frame. We will ensure we submit the paper on time so that you can have enough time to go through it, if you have problems with the paper delivered, you can request a free revision. You are entitled to as many revisions as you would wish until you get a paper that satisfies you
Useful Links That Will Help You Around
Link to new order https://studentsolutionsusa.com/orders/stud/new
link to login page https://studentsolutionsusa.com/orders/login
New user registration link https://studentsolutionsusa.com/orders/register
Forgot Password https://studentsolutionsusa.com/orders/forgot/password