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
Arisa [49]
4 years ago
12

What is cpu????????????????????????????

Computers and Technology
2 answers:
Paul [167]4 years ago
8 0

Answer:

CPU

Explanation:

CENTRAL

PROCESSING

UNIT

Orlov [11]4 years ago
3 0

Answer:

computer processing unit

it is the main device to control and give signals to the device

You might be interested in
How to find the largest number in an array java?
melomori [17]

Answer:

<em>One of the ways is to sort the array, then print the last element of the sorted array.</em>

<em>In Java, you can make use of the following code</em>

import java.util.Scanner;

public class Assignment{

public static void main(String [] args)

{

int n;

Scanner input = new Scanner(System.in);

System.out.print("Array Length: ");

n = input.nextInt();

int [] myarray = new int[n];

System.out.print("Input Array: ");

for(int i=0;i<n;i++)

{

           myarray[i]=input.nextInt();

}

int temp;  

for (int i = 0; i < n; i++)  

       {  

           for (int j = i + 1; j < n; j++)  

           {  

               if (myarray[i] > myarray[j])  

               {  

                   temp = myarray[i];  

                   myarray[i] = myarray[j];  

                   myarray[j] = temp;  

               }  

           }  

       }  

           System.out.println(myarray[n - 1]);

       }

}

Explanation:

This line declares n as length of array

int n;

Scanner input = new Scanner(System.in);

This line prompts user length of array

System.out.print("Array Length: ");

This line gets the user input

n = input.nextInt();

An empty array pf length arrowed

int [] myarray = new int[n];

This line prompts user array elements

System.out.print("Input Array: ");

The following iteration gets array element from user

<em>for(int i=0;i<n;i++)</em>

<em>{</em>

<em>            myarray[i]=input.nextInt();</em>

<em>}</em>

This line declares a temporary variable temp

int temp;

<em>This iterations iterates through the elements of rge array</em>

<em>for (int i = 0; i < n; i++)   </em>

<em>        {  </em>

<em>            for (int j = i + 1; j < n; j++)   </em>

<em>            {  </em>

The following if condition checks for the larger of two variables and swap their position

<em>                if (myarray[i] > myarray[j])   </em>

<em>                {  </em>

<em>                    temp = myarray[i];  </em>

<em>                    myarray[i] = myarray[j];  </em>

<em>                    myarray[j] = temp;  </em>

<em>                }  </em>

           }  

       }  

This line prints the largest number of the array

           System.out.println(myarray[n - 1]);

5 0
3 years ago
Create a stored procedure sp_Q1 that takes two country names like 'Japan' or 'USA'as two inputs and returns two independent sets
Zigmanuir [339]

Answer:

Check the explanation

Explanation:

CREATE PROCEDURE sp_Q1

<u><em>"at"</em></u>country1 NVARCHAR(15),

<u><em>"at"</em></u>country2 NVARCHAR(15)

AS

BEGIN

  BEGIN

      SELECT SupplierID, CompanyName, Phone, Country FROM suppliers

      where Country in (<u><em>"at"</em></u>country1,<u><em>"at"</em></u>country2)

     

  SELECT ProductID, ProductName, UnitPrice, SupplierID FROM Products

      where SupplierID in(

      SELECT SupplierID FROM suppliers

      where Country in (<u><em>"at"</em></u>country1,<u><em>"at"</em></u>country2)) ORDER BY SupplierID

  END

END

GO

-- Testing script.

DECLARE <u><em>"at"</em></u>RC int

DECLARE <u><em>"at"</em></u>country1 nvarchar(15)

DECLARE <u><em>"at"</em></u>country2 nvarchar(15)

-- Set parameter values here.

set <u><em>"at"</em></u>country1='UK'

set <u><em>"at"</em></u>country2='Canada'

EXECUTE <u><em>"at"</em></u>RC = [dbo].[sp_Q1]

<u><em>"at"</em></u>country1

,<u><em>"at"</em></u>country2

GO

Kindly check the attached images below to see how it looks like on a code editor.

7 0
4 years ago
What does remedy mean
Serggg [28]
Remedy means a Medicine or treatment for an injury.
Hope it helps!
4 0
3 years ago
Read 2 more answers
30points!!!! Plz answer quickly
stich3 [128]

Answer:

center

Explanation:

that is the focal point

3 0
3 years ago
Read 2 more answers
Preventive security has which of the following advantages over reactive security:
igomit [66]

Answer:

Don't know

Explanation:

3 0
3 years ago
Other questions:
  • 4. The clutch pedal is found in cars with manual and automatic transmissions.
    6·1 answer
  • Kindly answer in Just 7,8 lines please
    7·1 answer
  • You’re responding to a troubleshooting ticket about a laser printer in HR that isn’t working. According to reports, the printer
    7·1 answer
  • What is the first document that colleges review when making admissions decisions
    10·2 answers
  • How much memory did the first smartphone have?
    11·1 answer
  • You just bought a new hard drive for your computer to replace your primary hard drive. After backing your data up and, then, ins
    8·2 answers
  • What are two tasks that need to be done to a hard drive before operations can use it
    11·1 answer
  • A __________ search engine focuses on a specific subject.<br><br>answer : Specialized
    8·1 answer
  • If a base class pointer, p, points to a derived class instance, and both base and derived classes have a method void doIt() whic
    14·1 answer
  • 10. Realice un algoritmo que solicite números y los sume, solo se detendrá cuando se ingrese un número negativo.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!