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
Juli2301 [7.4K]
3 years ago
12

Different the need for external or secondary memory​

Computers and Technology
1 answer:
alexira [117]3 years ago
4 0

Answer:

Secondary storage is needed to keep programs and data long term. Secondary storage is non-volatile , long-term storage. Without secondary storage all programs and data would be lost the moment the computer is switched off.

External storage enables users to store data separately from a computer's main or primary storage and memory at a relatively low cost. It increases storage capacity without having to open up a system.

You might be interested in
Write a statement to add the key Tesla with value USA to car_makers. Modify the car maker of Fiat to Italy. Sample output for th
marishachu [46]

Answer:

Input code:

car_makers = {'Honda': 'Japan', 'Fiat': 'Germany'}

#add Tesla and USA as corresponding value

car_makers['Tesla'] = 'USA'

#change Fiat entry to Italy instead of Germany

car_makers['Fiat'] = 'Italy'

print(car_makers)

print('Honda made in', car_makers['Honda'])

print('Fiat made in', car_makers['Fiat'])

print('Tesla made in', car_makers['Tesla'])

Explanation:

The first line is a define object in the python code, containing two entries of Honda and Fiat and their respective countries.

The python code adds an entry to the object "car maker" using the bracket notation, the tesla car from USA.

The country of the Fiat car is changed from Germany to Italy, using the bracket notation.

The output of the complete object and the individual cars is given.

<u>output of the python code:</u>

{'Honda': 'Japan', 'Fiat': 'Italy', 'Tesla': 'USA'}

Honda made in Japan

Fiat made in Italy

Tesla made in USA.

7 0
3 years ago
Public static Object[] question4(Student student1, Student student2)
Archy [21]

Answer:

Complete code is given below:

Explanation:

public static Object[] question4(Student student1, Student student2){

  /* For this exercise you will be using for loops to calculate various values.

  You will be making use of the following object references which are passed as arguments to this method:

  A Student object reference student1

  A Student object reference student2

  You will need to use various accessor methods of the Student class to complete this assignment.

  Additional variables that you will use have already been declared.

  1) Set the value of student1HighestGrade to the highest grade for student1

  2) Set the value of student2HighestGrade to the highest grade for student2

  3) Set the value of student1AverageGrade to the average grade for student1

  4) Set the value of student2AverageGrade to the average grade for student2

  5) Assign the bestHighGradeStudent object reference whichever student has the best high grade

  6) Assign the bestAverageGradeStudent object reference whichever student has the best average grade

  This program contains a main method that can be used to manually test your code by right-clicking Question4.java

  and selecting "Run File"    

  */

 

  int student1HighestGrade, student2HighestGrade;

  double student1AverageGrade, student2AverageGrade;

  Student bestAverageGradeStudent, bestHighGradeStudent;

 

  // Your code goes Here:

 

 

 

  //FINDING HIGHEST GRADE OF STUDENT 1

  student1HighestGrade = -1;   //initially set to minimum

  //iterating through all 8 grades

  for(int i = 0; i < 8; i++){

      //current highest grade is less than ith grade

      if(student1.getExamScore(i) > student1HighestGrade){

          //making ith grade as the highest grade

          student1HighestGrade = student1.getExamScore(i);

      }

  }

 

  //FINDING HIGHEST GRADE OF STUDENT 1

  student2HighestGrade = -1;   //initially set to minimum

  //iterating through all 8 grades

  for(int i = 0; i < 8; i++){

      //current highest grade is less than ith grade

      if(student2.getExamScore(i) > student2HighestGrade){

          //making ith grade as the highest grade

          student2HighestGrade = student2.getExamScore(i);

      }

  }

 

  //FINDING THE GRADE SUM OF STUDENT 1

  student1AverageGrade = 0;   //setting grade sum as 0 initially

  //iterating through all 8 grades

  for(int i = 0; i < 8; i++){

      //adding ith grade to tha total grade sum

      student1AverageGrade += student1.getExamScore(i);

  }

  //FINDING THE AVERAGE GRADE OF STUDENT 1

  student1AverageGrade /= 8;

 

 

  //FINDING THE GRADE SUM OF STUDENT 2

  student2AverageGrade = 0;   //setting grade sum as 0 initially

  //iterating through all 8 grades

  for(int i = 0; i < 8; i++){

      //adding ith grade to tha total grade sum

      student2AverageGrade += student2.getExamScore(i);

  }

  //FINDING THE AVERAGE GRADE OF STUDENT 2

  student2AverageGrade /= 8;

 

 

  //FINDING THE BEST HIGHEST GRADE STUDENT

  if(student1HighestGrade > student2HighestGrade){

      //student1's highest grade is greater than student2's highest grade

      //Best highest grade student is student1

      bestHighGradeStudent = student1;

  }

  else{

      //Best highest grade student is student2

      bestHighGradeStudent = student2;

  }

 

 

  //FINDING THE BEST AVERAGE GRADE STUDENT

  if(student1AverageGrade > student2AverageGrade){

      //student1's average grade is greater than student2's highest grade

      //Best average grade student is student1

      bestAverageGradeStudent = student1;

  }

  else{

      //Best average grade student is student2

      bestAverageGradeStudent = student2;

  }

 

 

 

  // Necessary for Unit Test

  return new Object[] {student1HighestGrade, student2HighestGrade, student1AverageGrade, student2AverageGrade, bestHighGradeStudent, bestAverageGradeStudent};

  }

5 0
3 years ago
You need a collection to represent secret agents. Every agent has a unique codename that identifies them, and an Agent object th
Scrat [10]

Answer:

A  HashMap< String, Agent >

is a best collection for this

Explanation:

Collection is basically a framework that is used in order to perform operations on data and to store and manipulate objects.

HashMap is a Map based collection where Map is a data structure of interface which allows the key and value pairs mapping and HashMap is a collection class used to store these key-value pairs of data.

The syntax is:

HashMap<key, value>

So in  HashMap< String, Agent > statement the String is used to store the codename for every agent and Agent is an object that represents each agent. So this is represented as key-value pair using HashMap.

4 0
4 years ago
What are 2 ways to access the vendor credit screen in quickbooks online?
kiruha [24]

Answer:

First by

Clicking

New Button (+) THEN click Vendor THEN click Credit

Secondly

Click Expenses Center then click New Transaction then finally click Vendor Credit

4 0
3 years ago
Type of malware that is spread when you distribute
vladimir1956 [14]
Trojans, normal viruses, etc. Anything can and could hop on to the files you send depending on the websites and if you don't have a firewall.
3 0
4 years ago
Other questions:
  • Hen pointing to a tool on the ribbon, a ______ appears, displaying information about the tool.
    7·1 answer
  • In databases and database-related software, which choice is not a Boolean operator?
    7·2 answers
  • When using Internet explore what options will empty the log of Internet sites you have recently viewed
    6·1 answer
  • . In an if/else statement, the if part executes its statement or block if the expression
    15·1 answer
  • Which of the following is the formula used to calculate the risk that remains after you apply controls? a. ALE=SLExARO b. Total
    9·1 answer
  • What is a relationship between a object and a class?
    7·1 answer
  • A class of cryptographic algorithms which requires two separate keys, one of which is secret (or private) and one of which is pu
    11·1 answer
  • The character you control enters the Mystic Palace. Once inside, you find that the game’s world turns upside down. Standing on t
    9·2 answers
  • When was "Rick Astley Never Gonna Give You Up" originally made?
    6·2 answers
  • Joseph wants to take out the color of the background wall from an image what can Joseph do to achieve this​
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!