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

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

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

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

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

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

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

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.

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