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
Igoryamba
2 years ago
5

Given a computer running four types of instuctions, named classes A through D, calculate the execution time of a program that ha

s an instruction count per category as follows: Class A: 8 millions of instructions, with an average CPI of 4.1, Class B: IC of 6M and CPI of 4.1, Class C: IC of 9M and CPI of 1.1, and Class D: IC of 2M and CPI of 1. The CPU runs at 6MHz. What is the compute time of this program in seconds? Round to 2 decimal places.
Computers and Technology
1 answer:
My name is Ann [436]2 years ago
3 0

Answer:

IT B

Explanation:

You might be interested in
including how it can be stored and what types of operations we can perform. For example, we can write a program that squares num
ASHA 777 [7]

Answer:

The solution code is written in Python:

  1. def square(num):
  2.    if type(num).__name__ == 'int':
  3.        sq_num = num * num
  4.        return sq_num  
  5.    else:
  6.        return "Invalid input"
  7. print(square(5))
  8. print(square("Test"))

Explanation:

To ensure only certain type of operation can be applied on a input value, we can check the data type of the input value. For example, we define a function and name it as <em>square</em> which take one input number, <em>num </em>(Line 1).

Before the <em>num</em> can be squared, it goes through a validation mechanism in by setting an if condition (Line 2) to check if the data type of the input number is an integer,<em> int.</em> If so, the<em> num </em>will only be squared otherwise it return an error message (Line 6).

We can test our function by passing value of 5 and "Test" string. We will get program output:

25

Invalid input

6 0
3 years ago
Dwayne Alexander is working on a project promoting a fictitious product for his marketing class. He wants to use animation to sh
erastova [34]

The following are examples of animation apps:

  • Toon Boom Animation (2-D)
  • Prisma3D (3-D) and
  • AnimeTok (3-D)

<h3>What are the Pros and the cons of each app listed above?</h3>

Toon Boom Animation Pros:

  • It has a great set of tools
  • It has camera angles functionality
  • Has a vector drawing tool

Cons:

  • It is expensive.

Prisma3D (3-D) Pros:

  • It is good for modeling;
  • Easy to use interface

Cons:

  • It has too many bugs.
  • lacks sculpting tools

AnimeTok (3-D) Pros:

  • It makes it easy to move the characters easily
  • It is easy to understand

Cons:

  • It has too many ads
  • does not have an undo and redo button

Learn more about Animation Apps at:
brainly.com/question/7279789

6 0
2 years ago
Which of the following types does the Java programming language support?
gtnhenbr [62]

Answer:

The correct answer for the given question is option(b) i. e "Integer" and option(c) i.e "Object".

Explanation:

The  Integer is a wrapper class for int data type in the java programming language, The integer provides more flexibility in storing the data and manipulating the data .

The syntax of using Integer type is given below

Integer variable_name = new Integer("value");

For example

Integer a1 = new Integer("12") ;

Object is the class  in java programming language which is present in java.lang package. Object also describe the return type of the java constructor.

4 0
3 years ago
Read 2 more answers
How to program a concrete Damage-Plasticity material?
goldenfox [79]
A simple scanner. that you by at the stor
7 0
3 years ago
Where are the mail merge options located in Word 2016?
GarryVolchara [31]

Answer:

Mailings Tab, Start Mail Merge group.

Explanation:

See attached picture.

6 0
3 years ago
Other questions:
  • Using the scenario below, answer the following questions:
    11·1 answer
  • With modeling and simulation, we model the system and then test the ______________ to gather test predictions.
    7·1 answer
  • Plz help me of this answer<br><br><br>language:python​
    7·2 answers
  • Renee's creating a plan for her business's information system. What should she do after she determines the goals for her busines
    10·1 answer
  • Que se trata el RUC<br>​
    11·1 answer
  • Computer is an example of​
    12·2 answers
  • Which statements about editing an existing Contact in Outlook are true? Check all that apply.
    9·2 answers
  • Write your question here (Keep it clear and simple to get the best answer)
    13·2 answers
  • Impacto que ha tenido en la sociedad la educacion virtual​
    11·1 answer
  • What is this line called that appears and disappears in the search box<br><br> WILL MARK BRAINLIEST
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!