ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 20 May 2017 My Price 11.00

CDA3100 Chapter 1 Exercises

Complete the problems in the file CDA3100_Ch1_Exercises linked below.  Put your answers in a word processor document, such as LibreOffice Writer or MS Word.  A hand-written then scanned submission is OK as long as it is legible.  Export to a PDF to ensure content is displayed as intended.  Attach the file here.

You must show all work to earn credit for each problem. 

Two files are provided.  The PDF is the official version of the assignment.  I included the ODT if you would like to use it as a template.  Please verify the content with the PDF as different word processors may not display all the content correctly.

 

CDA3100 Chapter 1 ExercisesConsider two machines with two different instruction sets.Each machine has a 2Ghz clock and thefollowing measurements are recorded upon execution of a program.Machine AInstruction ClassArithmeticLoad/StoreBranchInstruction Count(millions)642CPI124Machine BInstruction ClassArithmeticLoad/StoreBranchInstruction Count(millions)1051CPI2241 – (4 points) For Machine A, what is the average CPI and execution time?2 – (4 points) For Machine B, what is the average CPI and execution time?For Machine A only, consider that the program is parallized to run on 1, 2, and 4 processors.Assumethat as the program is parallelized to run over multiple cores, the number of instructions are evenlydivided between processors.3 – (6 points) What is the total execution time for this program on 1, 2, and 4 processors?Also, what isthe speedup relative to the single processor result?Now assume that as the program is parallelized to run over multiple cores, the number of instructionsper processor are divided by 0.5p, where p is the number of processors.4 – (6 points) What is the total execution time for this program on 1, 2, and 4 processors?Also, what isthe speedup relative to the single processor result?I suggest using a table similar to the following to help answer questions 3 and 4.ProcessorsArithmeticLoad/StoreBranchExecution Time124

CDA3100 Chapter 1 ExercisesConsider two machines with two different instruction sets.Each machine has a 2Ghz clock and thefollowing measurements are recorded upon execution of a program.Machine AInstruction ClassArithmeticLoad/StoreBranchInstruction Count(millions)642CPI124Machine BInstruction ClassArithmeticLoad/StoreBranchInstruction Count(millions)1051CPI2241 – (4 points) For Machine A, what is the average CPI and execution time?2 – (4 points) For Machine B, what is the average CPI and execution time?For Machine A only, consider that the program is parallized to run on 1, 2, and 4 processors.Assumethat as the program is parallelized to run over multiple cores, the number of instructions are evenlydivided between processors.3 – (6 points) What is the total execution time for this program on 1, 2, and 4 processors?Also, what isthe speedup relative to the single processor result?Now assume that as the program is parallelized to run over multiple cores, the number of instructionsper processor are divided by 0.5p, where p is the number of processors.4 – (6 points) What is the total execution time for this program on 1, 2, and 4 processors?Also, what isthe speedup relative to the single processor result?I suggest using a table similar to the following to help answer questions 3 and 4.ProcessorsArithmeticLoad/StoreBranchExecution Time124

Attachments:

Answers

(11)
Status NEW Posted 20 May 2017 10:05 AM My Price 11.00

-----------

Attachments

file 1495278215-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)