A computer with a frequency 2 GHZ and its average cycle per instruction is 2. what is the MIPS of the computer?

Answers

Answer 1
Answer:

Answer:

The correct answer is 1000 MIPS.

Explanation:

Using the rule of three you can solve the needed cycles to complete 1.000.000 instructions.

  • 1 instruction -> 2 cycles
  • 1.000.000 instructions -> x cycles.

1.000.000 instructions multiplied by 2 cycles, divided by 1 instruction is equal to 2.000.000 cycles to complete 1.000.000 instructions.

To find the MIPS you have to divide the frequency by the cycles needed to complete 1.000.000 instructions.

MIPS = 2GHZ / 2.000.000 cycles = 1000 MIPS.


Related Questions

In confirmatory visualization Group of answer choices Users expect to see a certain pattern in the data Users confirm the quality of data visualization Users don't know what they are looking for Users typically look for anomaly in the data
Obtain the 9’s complement of the following eight-digit decimal numbers:1234987689009951
Integer userNumber is read from input. Write a while loop that multiplies userNumber by 4, updating userNumber with the product, and outputs the updated userNumber, followed by a newline. The loop iterates until userNumber is greater than or equal to 40.Ex: If the input is 25, then the output is: 100 import java.util.Scanner; public class ProductCalculator { public static void main(String[] args) { Scanner scnr = new Scanner(System.in); int userNumber; userNumber = scnr.nextInt(); while(userNumber >= 40){ userNumber = userNumber * 4; System.out.println(userNumber); } Java. What am I doing wrong? It's not giving an output. } }
In which situation does a linear search always perform better than a binary search?
Write a python program that asks the user to enter a student's name and 8 numeric tests scores (out of 100 for each test). The name will be a local variable. The program should display a letter grade for each score, and the average test score, along with the student's name. There are 12 students in the class. Write the following functions in the program: calc_average - this function should accept 8 test scores as arguments and return the average of the scores per student determine_grade - this function should accept a test score average as an argument and return a letter grade for the score based on the following grading scale: 90-100 A 80-89 B 70-79 C 60-69 D Below 60 F

3. What is the error in the following pseudocode? // The searchName function accepts a string containing the name // to search for, an array of strings containing the names, and // an integer specifying the size of the array. The function // searches for the name in the array. If the name is found, the // string containing the name is returned; otherwise a message // indicating that the name was not found in the array is // returned. Function String searchName(String name, String names[], Integer size) Declare Boolean found Declare Integer index Declare String result // Step through the array searching for the // specified name. While found == False AND index <= size − 1 If contains(names[index], name) Then Set found = True Else Set index = index + 1 End If End While // Determine the result. If found == True Then Set result = names[index] Else Set result = "That name was not found in the array." End If Return result End Function

Answers

Answer:

The answer is "In the given pseudo-code there are three errors".

Explanation:

The description of the errors can be defined as follows:

  • The first error in this code is that the variable doesn't initialize any value with a variable, which is equal to false.
  • The second error is it does not return any string value.
  • At the last, if the conditional statement doesn't work properly because in this block if the name is found, it doesn't print any error message.

A ____ statement is a a control flow statement that repeatedly executes a statement or a series of statements while the value of a specific condition is truthy or until the value of a specific condition becomes truthy.a. decision-making

b. fork

c. break

d. loop

Answers

The answer would be loop.

Answer:

Option D is correct.

Explanation:

A Loop statment is a control flow statement that repeatedly executes a statement or a series of statements while the value of a specific condition is truthy or until the value of a specific condition becomes truthy.

_ is an important management tool that is used to monitor and manage that contract and/or project

Answers

Answer:

Earned Value Management (Even)

Explanation:

Even is the best management tool for monitoring the performance of a project by emphasizing the planning and integration of program cost.

In a company you are in charge of system maintainance. Justify with 5 reasons why your role is key

Answers

Answer:

As u are the in charge of system maintainance u have to maintain safety and security to the system.as the system maintainance is a very big role and u can say it is the key to ur company or to ur work.

An employee’s total weekly pay equals the hourly wage multiplied by the total number of regular hours, plus any overtime pay.Overtime pay equals the total overtime hours multiplied by 1.5 times the hourly wage.

Write a program that takes as inputs the hourly wage, total regular hours, and total overtime hours and displays an employee’s total weekly pay.

Below is an example of the program inputs and output:

Enter the wage: $15.50
Enter the regular hours: 40
Enter the overtime hours: 12

The total weekly pay is $899.0

Answers

Written here is a Python program that calculates the total weekly pay for an employee based on the given inputs:

python

# Get inputs from the user

hourly_wage = float(input("Enter the wage: $"))

regular_hours = float(input("Enter the regular hours: "))

overtime_hours = float(input("Enter the overtime hours: "))

# Calculate total weeklypay

regular_pay = hourly_wage * regular_hours

overtime_pay = 1.5 * hourly_wage * overtime_hours

total_weekly_pay = regular_pay + overtime_pay

# Display the result

print(f"The total weekly pay is ${total_weekly_pay:.1f}")

How to use the code

Copy and paste this code into a Pythoninterpreter or a script file, and run it. It will prompt you to enter the hourly wage, regular hours, and overtime hours, and then it will calculate and display the total weekly pay based on the given formula.

In the example you provided, the result was rounded to one decimal place. If you want a different level of precision in the output, you can adjust the formatting in the `print` statement accordingly.

Learn more about Program at:

brainly.com/question/30783869

#SPJ3

wage = float(input("Enter the wage: $"))

regular_hours = float(input("Enter the regular hours: "))

overtime_hours = float(input("Enter the overtime hours: "))

print(f"The total weekly pay is ${(regular_hours * wage) + ((wage*1.5) *overtime_hours)}")

I hope this helps!

Assume you're running a query on your orders in the past year. You want to see how many orders were placed after May. What type of query would you use to find this data? A. Select
B. Range
C. Complex
D. Parameter

Answers

Your answer is A. Because a query is a question about a an organization to check how it's going


Other Questions