A CPU has a frequency of 2GHz and can execute code with three types of instructions: 1. Type 1 instructions require 1 cycle to finish. 2. Type 2 instructions require 4 cycles to finish. 3. Type 3 instructions require 10 cycles to finish. For each combination of instruction types below, estimate the total number of instructions executed in 1 second. Select the closest choice (round to the nearest). Note, the percentages indicate the number of instructions of each type in the executed code. Type Type Type Number of Instructions in 1 1 2 3 second: 0% about 2 billion [Select] 100% 0% 0% 100% 0% 0% 0% 100% 50% 50% 0% 50% 0% 50% 30% 40% 30% about 600 million about 1 billion about 700 million about 300 million about 400 million about 200 million ✓ about 2 billion about 100 million about 500 million ()

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

A CPU has a frequency of 2GHz and can execute code with three types of instructions:

  1. Type 1 instructions require 1 cycle to finish.
  2. Type 2 instructions require 4 cycles to finish.
  3. Type 3 instructions require 10 cycles to finish.

For each combination of instruction types below, estimate the total number of instructions executed in 1 second. Select the closest choice (round to the nearest). Note, the percentages indicate the number of instructions of each type in the executed code.

 

 

A CPU operates at a frequency of 2GHz and can execute code with three types of instructions:

1. **Type 1** instructions require 1 cycle to complete.
2. **Type 2** instructions require 4 cycles to complete.
3. **Type 3** instructions require 10 cycles to complete.

For each combination of instruction types below, estimate the total number of instructions executed in 1 second. Select the closest choice (rounded to the nearest). Note that the percentages indicate the proportion of each type of instruction in the executed code.

| Type 1 | Type 2 | Type 3 | Number of Instructions in 1 second |
|--------|--------|--------|------------------------------------|
| 100%   | 0%     | 0%     | about 2 billion                    |
| 0%     | 100%   | 0%     |                                    |
| 0%     | 0%     | 100%   |                                    |
| 50%    | 50%    | 0%     |                                    |
| 50%    | 0%     | 50%    |                                    |
| 30%    | 40%    | 30%    |                                    |

Options for the number of instructions in 1 second:
- about 100 million
- about 200 million
- about 300 million
- about 400 million
- about 500 million
- about 600 million
- about 700 million
- about 1 billion
- about 2 billion

The selected value is "about 2 billion" for the first row scenario.
Transcribed Image Text:A CPU operates at a frequency of 2GHz and can execute code with three types of instructions: 1. **Type 1** instructions require 1 cycle to complete. 2. **Type 2** instructions require 4 cycles to complete. 3. **Type 3** instructions require 10 cycles to complete. For each combination of instruction types below, estimate the total number of instructions executed in 1 second. Select the closest choice (rounded to the nearest). Note that the percentages indicate the proportion of each type of instruction in the executed code. | Type 1 | Type 2 | Type 3 | Number of Instructions in 1 second | |--------|--------|--------|------------------------------------| | 100% | 0% | 0% | about 2 billion | | 0% | 100% | 0% | | | 0% | 0% | 100% | | | 50% | 50% | 0% | | | 50% | 0% | 50% | | | 30% | 40% | 30% | | Options for the number of instructions in 1 second: - about 100 million - about 200 million - about 300 million - about 400 million - about 500 million - about 600 million - about 700 million - about 1 billion - about 2 billion The selected value is "about 2 billion" for the first row scenario.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY