Question

Q1:    20% of the instructions in a program take 1 nsec to execute, 30% take 2...

Q1:    20% of the instructions in a program take 1 nsec to execute, 30% take 2 nsec to execute,and the rest take 3 nsec to execute. What is the average execution time per instruction for this program?

Q2: Computer A is 60% faster than computer B. Computer A takes ten seconds to run a program. How long will computer B take to run the same program?

Q3: Computer B is 60% slower than computer A. Computer A takes ten seconds to run a program. How long will computer B take to run the same program?

Q4: 2,500 is how many orders of magnitude larger than 25?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Quest B let total no. of instructions be x. . (0-20*)*! +0-30%)# 2 + (0-50%)* = Total timna 0 20+ 0.60 X + ISO X 2 Total execoues . We know that performance a L execution REA - PB Er w hese x is the Destesinance (xto 6ox) 10 X EB measure of B: EB 2 1S PAGE Oress PAA PB EB (*)to 2 (-O-G0X) 10x 2 0.408 EB Er 10 els secs 0.40 Bues 4. 2500 2 25 X (10) ir 2500 is 2 orders of ma

Hope this solves your doubt.

Add a comment
Know the answer?
Add Answer to:
Q1:    20% of the instructions in a program take 1 nsec to execute, 30% take 2...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please i need a good answer and a perfect answer.. i need unique answer use your own words. pleas...

    please i need a good answer and a perfect answer.. i need unique answer use your own words. please i need a good answer and a perfect answer.. i need unique answer use your own words. please i need a good answer and a perfect answer.. i need unique answer use your own words. don't use handwriting Q3: a) Specify the two factors used to determine the capacity of memory. Find out the memory capacity, if the number of bits...

  • Topics 1. MIPS instruction set architecture (ISA). 2. Performance. 3. MIPS datapath and control. Exercise 1...

    Topics 1. MIPS instruction set architecture (ISA). 2. Performance. 3. MIPS datapath and control. Exercise 1 Consider the memory and register contents shown below. Registers Ox0100 FFF8 13 ($t 5) 14 ($t6) 0x0100 FFFC 0x0101 0000 Memory 0x0000 0000 0x0001 1100 0x0A00 со00 0x1234 4321 OxBAOO OOBB 15 OXAAAA 0000 0x1111 1010 0x7FFF FFFD 0x0100 FFFO 0x0101 0008 (St7) Ox0101 0004 16 ($80) 0x0101 0008 17 ($sl) Show what changes and give the new values in hexadecimal after the following...

  • Question 4 (9 pts total) program consists of 8 instructions. Each instruction takes an average of...

    urgent help needed in computer architecture ! Thanx Question 4 (9 pts total) program consists of 8 instructions. Each instruction takes an average of 140 ns to access memory and decode the instruction. It takes an additional 20 ns for the CPU to process each instruction. 4.1 How long does the program take to run? (3 pts) 4.2 An interrupt occurs during the program that delays the program by 240 ns. What percentage of time is spent processing data by...

  • Year Quarter Units 1 Q1 20 1 Q2 100 1 Q3 175 1 Q4 13 2...

    Year Quarter Units 1 Q1 20 1 Q2 100 1 Q3 175 1 Q4 13 2 Q1 37 2 Q2 136 2 Q3 245 2 Q4 26 3 Q1 75 3 Q2 155 3 Q3 326 3 Q4 48 4 Q1 92 4 Q2 202 4 Q3 384 4 Q4 82 5 Q1 176 5 Q2 282 5 Q3 445 5 Q4 181 Using this data: a. Plot this data on a line chart with quarters from years 1-5 on...

  • please i need a good answer and a perfect answer.. i need unique answer use your...

    please i need a good answer and a perfect answer.. i need unique answer use your own words. i need unique answer use your own words. don't use handwriting i need unique answer use your own words. don't use handwriting i need unique answer use your own words. don't use handwriting i need unique answer use your own words. don't use handwritingi need unique answer use your own words. don't use handwriting i need unique answer use your own words....

  • Q1. Write a program in Java         a. Create 2 separate arrays, of user defined values,...

    Q1. Write a program in Java         a. Create 2 separate arrays, of user defined values, of same size         b. Add these 2 arrays. ........................................................................................................................... Q2. Write a program in java (using loop) input any10 numbers from user and store in an array. Check whether each of array element is positive, negative, zero, odd or even number. ............................................................................................................................ Q3. Write a program in Java to display first 10 natural numbers. Find the sum of only odd numbers. .............................................................................................................................. Q4....

  • If we are interested in parameters, why do we calculate statistics, instead? 1. 2. Martha is going to take a sample of...

    If we are interested in parameters, why do we calculate statistics, instead? 1. 2. Martha is going to take a sample of 10,000 dogs. She is interested in finding out how long it takes the average dog to run 100 meters. Because many dogs are big and fast and many dogs are small and (relatively) slow, the distribution of how long it takes to run 100 meters is not at all normal. Why is it safe for Martha to assume...

  • I need help with the following Computer Architecture question: Consider two different implementations, M1 and M2,...

    I need help with the following Computer Architecture question: Consider two different implementations, M1 and M2, of the same instruction set. There are three classes of instructions (A, B, and C) in the instruction set. M1 has a clock rate of 90 MHz and M2 has a clock rate of 80 MHz. The average number of cycles for each instruction class and their frequencies (for a typical program) are as follows: Instruction Class Machine M1 – Cycles/Instruction Class Machine M2...

  • Overview: In this lab, you will write a program called JobScheduler; it should take a single...

    Overview: In this lab, you will write a program called JobScheduler; it should take a single input file as a command-line argument. Each line in the input file has the following format: <job #> <priority> <arrival time (sec)> <duration (sec)> e.g. a file might contain: 1 3 10 100 5 2 20 50 8 4 5 100 (all values will be positive integers) These jobs might represent computer programs (or threads) that need to be run by the operating system....

  • (Q1-Q8) Excel Project 1 Purchasing Merchandise Number of Department Purchased Purchase Number cost in SIA] inSIBI...

    (Q1-Q8) Excel Project 1 Purchasing Merchandise Number of Department Purchased Purchase Number cost in SIA] inSIBI Orders IC] Suppliers IDI 2,059,000 119,566,000 5,944 1,533,000 68,315,000 4,357 1,066,000 33,505,000 2,793 1,622,000 139,312,000 1,707 875,000 128,811,000 2,125 1,110,000 33,456,000 2,550 1,755,000 38,674,000 3,617 539,000 29,854,000 1,327 557,000 1,729,000 2,523,000 877 1,519,000 86,225,000 1,954 1,548,000 102,875,000 7,586 1,267,000 130,944,000 4,731 190 132 Miami Baltimore New York Toronto Detroit Chicago St. Louis Phoenix Los Angeles Houston San Francisco Seattle Vancouver 208 121,160,000 1,433 168...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT