# Homework Help: Some1 can solve this pls?

1. Jul 20, 2009

### loonny01

1st ques :
In a CISC computer, the instructions addition, multiplication, memory and branch
all take 20 cycles each while in a RISC computer, the execution time is given
below:
multiplication - 20 cycles
memory - 10 cycles
branch - 4 cycles
Calculate the speedup ratio for a program with 10 million additions, 30 million
multiplications, 35 million memory instructions and 15million branch
instructions. Explain!....

2nd ques:
When running a particular program, computer A achieves 100 MIPS(million
instructions per second) and computer B achives 75 MIPS. However, computer A
takes 60 seconds to execute a program while computer B takes only 45s. How is
this possible?

Really thanz to any1 who willing 2ans this ques!
1. The problem statement, all variables and given/known data

2. Relevant equations

3. The attempt at a solution

2. Jul 20, 2009

### AUMathTutor

Hint(s) for #1:
How long would the program take to run on the CISC computer?
How long would the program take to run on the RISC computer?
Which one is faster? Why? By how much? What is the definition of speedup you are using... a formula, perhaps?

Hint(s) for #2:
What does MIPS measure?
Is this the only thing that a program does... or are there other things a program can do that this measure doesn't take into account (I/O, for instance?)
Could things like this make MIPS more or less irrelevant?