BME 7371 - Failure Analysis of Medical Devices Assignment

Assignment Help Computer Engineering
Reference no: EM132457514

BME 7371 - Failure Analysis of Medical Devices Assignment - Wright State University, USA

Assignment brief - The assignment consists of one problem with Q1, Q2 and Q3 to answer. You should compile your answers to Q1, Q2 and Q3 and related results and discussion in a document.

Assessment Problem - The C-code shown below will add the coursework array marks to the exam array marks and store in the results array for one of your modules. The code will also create counters for the number of students with results >= 70, >=60, >=50 and < 50. Assume the number of students is 15.

int A, B, C, F; // declare results counters

int i; // declare loop counter

A=0; B=0; C=0; F=0; // initialize results counters

int coursework []; // coursework is an array to store the coursework marks that goes from 0 to 60.

int exam []; // exam is an array to store the exam marks that goes from 0 to 40.

int results []; // results is an array to store the total marks = coursework + exam. Results goes from 0 to 100.

for (i=0; i<N; i++) {

results [i] = coursework [i] + exam [i]

if(results [i] >= 70)

A = A + 1;

else if (results [i] >=60

B = B + 1;

else if (results [i] >= 50

C = C + 1;

else

F = F + 1;

}

Questions -

Q1. Write the equivalent MIPS assembly code for the C-code shown above. Show the assembly code, test the assembly code program via the MARS MIPS simulator and show test results in the report.

Q2. Consider the basic MIPS 5-stage pipeline (F, D, EX, M, WB). Assume that there is full forwarding and branch not taken. Does your solution in Q1 have any pipelining hazards? If yes, then list these hazards and show how these hazard(s) can be resolved by rewriting the code you produced in Q1. You should test the rewritten code and provide the new code and the results in the report?

Q3. How many instructions will be executed for your code in Q2? If the clock cycle rate of the processor is 1GHz, what is the execution time of your code in Q2?

Note - Please only use Mars stimulator and only use $S and $T and just use $s $t registers.

Reference no: EM132457514

Questions Cloud

What are the constitutes for air pollution : What are the constitutes for air pollution,how we can engineer air quality as a means of controlling air quality.What do you believe qualifies as air pollution
Three strategies for enforcement of international law : What does the literature on international regimes tell us about the prospects for multilateral cooperation in the twenty-first century?
Discuss the importance of redox reactions in air chemistry : Discuss the importance of redox reactions in air chemistry.Identify the four main categories of hydrocarbon pollutants and discuss their individual impacts
Do government regulations impact on the rate of climate cha : Do you think government regulations and air quality treaties are having an impact on the rate of climate change? and Discuss why
BME 7371 - Failure Analysis of Medical Devices Assignment : BME 7371 - Failure Analysis of Medical Devices Assignment Help and Solution, Wright State University, USA. Write the equivalent MIPS assembly code for C-code
Discuss about the executive program practical connection : Discuss about the Executive Program Practical Connection and how the knowledge, skills,or theories of this course have been applied or could be used effectively
What is management information systems : Discuss and explain How is a Management Information System Useful In Companies ?What is Management Information Systems (MIS)
How applied mentoring principles in coaching sessions : HRM Assignment - Task - How you applied coaching and mentoring principles and techniques in your coaching sessions. A clear conclusion summarizing your insights
Discuss about the managing a socially relevant project : What are the benefits of incorporating social responsibility and sustainability principles into project management practices? What are the challenges?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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