1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ziro4ka [17]
4 years ago
10

A nonpipelined system takes 300ns to process a task. The same task can be processed in a 5-segment pipeline with a clock cycle o

f 60ns. Determine the speedup ratio of the pipeline for 100 tasks
Computers and Technology
1 answer:
Vladimir79 [104]4 years ago
7 0

Answer:

Pipelined architecture is 1.667 times more speedy than non pipelined architecture.

Explanation:

There are five stages to to complete an instruction to execute in pipeline architecture. as

Stage 1:  Instruction Fetch

Stage 2: Instruction Decode

Stage 3: Execute

Stage 4: Memory Access

Stage 5 : Write Back

The pipeline architecture processed instruction as given below. Each Stage take 1 clock cycle, which is represented as CC.

                Stage 1           Stage 2         Stage 3         Stage 4            Stage 5

I1:              1cc                  2cc                 3cc                4cc                   5cc

I2              2cc                 3cc                  4cc               5cc                   6cc

I3              3cc                  4cc                 5cc              6cc                    7cc

I4              4cc                 5cc                  6cc              7cc                    8cc

each four Instructions set takes 8 Clock Cycles.

I5              9cc                  10cc                11cc               12cc                 13cc

I6              10cc                 11cc                  12cc             13cc                 14cc

I7              11cc                  12cc                 13cc              14cc                 15cc

I8              12cc                 13cc                  14cc              15cc                16cc

.

.

.

I97:             193cc            194cc              195cc              196cc               197cc

I98             194cc             195cc             196cc               197cc               198cc

I99            195cc             196cc              197cc              198cc               199cc

I100         196cc                197cc             198cc            199cc                 200cc

<u>Pipelined architecture Time Calculation</u>

So in pipeline architecture 100 instructions takes 200 clock cycles to execute.

1 Clock Cycle time period is = 60ns.

200 Clock Cycle =  60ns * 200 = 12000 ns

<u>Non Pipelined architecture Time Calculation</u>

1 task Time period= 300ns

100 task time period = 100 * 300 =  30000 ns

The difference between pipelined and non pipelined architecture time period is = 30000 - 12000 = 18000 ns

<u>Speedup ratio</u>

<em>Speed up ratio= 30000/18000 =  1.667</em>

You might be interested in
calculate how much memory is needed to store a foir minute music trackusing the of bytes needed per second from above​
sergeinik [125]

Answer:

1400 bytes

hope that helps!

4 0
3 years ago
What is a view? How do you define a view? Does the data described in a view definition ever exist in that form? What happens whe
Tomtit [17]

Answer:

A view is an application

program’s or an individual user’s picture of the database.

It is less involved than the full database.

If a user accesses a database through a view they can only view data but cannot make any changes to the structure of the database

3 0
3 years ago
An analyst determines the value of investments<br><br> True<br><br> False
satela [25.4K]
The correct answer is True
8 0
3 years ago
Read 2 more answers
Can you guys give some samples of STEM-related studies?​
anygoal [31]

Answer:

D :)))))

Explanation:

hope this helps

5 0
3 years ago
Read 2 more answers
1. Mark the following statements as true or false. A. Division by zero is an exception while opening an input file that does not
Lilit [14]

A. Division by zero is an exception while opening an input file that does not exist is not an exception.

False. The given except is not related to file operation

B. Suppose you use the assert function to check if certain conditions are met. If the conditions are not met, then the assert function terminates the program.  

True. Yes, it terminates by giving error message

C. One way to handle an exception is to print an error message and exit the program.  

True. Yes, it is one of the safe way to handle exception and stop the program smoothly

D. All exceptions need to be reported to avoid compilation errors.

False. Exceptions are related to run time.

E. Every try block must have a catch block.  

True. A “try block” needs to have catch block but “finally” is optional. There can be more than one catch block for a single “try block”.

F. The order in which catch blocks are listed is not important.

False. It is important to have a good programming skill. If you place the  “Exception class” which is the base for all the other types of exception in the top of catch list then, no other specific exception will get caught which is a very bad programming.

G. If an exception is thrown in a try block, the remaining statements in that try block are executed after executing a catch block.  

False. “Try block” will not get executed.

H. In C , an exception is a value.

True  

I. The class invalid range deals with the string subscript out of range error.

True.

J. In C , any class can be considered an exception class.  

False

K. The exception class must contain at least one member.  

ans: True

L. An exception can be caught either in the function where it occurred, or in any of the functions  

that led to the invocation of the method.  

True. But it is always better to catch exception in the same function.

M. When the function call stack is unwound, the function in which the exception was not caught terminates, but the memory for its local variables remains allocated.

True

7 0
4 years ago
Other questions:
  • The term composite would be used to describe an image that was altered by the Crop tool.
    15·1 answer
  • Which layer concerns the gateway to the network?
    10·1 answer
  • A main document in a mail merge contains data, such as names and addresses.
    12·1 answer
  • Which of the following is a scam where perpetrators promise high pay for working on different projects like wooden calendars, pa
    13·1 answer
  • Google Glass, glasses that allow you to take pictures and search online by speaking commands, are introduced at a technology tra
    8·1 answer
  • Question # 2 Multiple Select You wrote a program to compare the portion of drivers who were on the phone. Which statements are t
    15·1 answer
  • Help!!!
    8·1 answer
  • What happen if ignore the unsafe markings in hand tools in ict​
    12·1 answer
  • The software that requests mail delivery from the mail server to an Internet device is known as mail ____ software.
    6·1 answer
  • A date for creation or revision<br> is mandatory for all web pages?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!