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
Salsk061 [2.6K]
3 years ago
15

Why do computers have both main memory and secondary storage?

Computers and Technology
1 answer:
VladimirAG [237]3 years ago
3 0
Main memory is RAM (random access memory) that is so programs can save data. Without ram, whenever you would write something in a text document it would delete it. Secondary storage is so you can save the file and go back to it.
You might be interested in
2) Show the decimal equivalent of each of the numbers if they are interpreted as (4 answers): 11001101 01101001 a. Unsigned bina
iragen [17]

Answer:

<u>Signed:</u> -4 -5 +6 -1

<u>Unsigned:</u> 12 13 6 9

Explanation:

We are given with binary number i.e. 1100110101101001. First of all we will break this binary number into sets of 4 starting from the right side of the binary number. First set will be 1001, second will be 0110, third wil be 1101, fourth will be 1100.

<u>Basic concept of converting binary numbers into decimal numbers:</u>

256 128 64 32 16 8  4  2  1  

0      1      1    0    1  0  0  1  1

Add the number written above each of the binary number if its 1 and ignore if its 0. Starting from the left side 0 represents 256 so, we will ignore it. 1 represents 128 so we will consider it and so on.

128+64+16+2+1 = 211

011010011 is the binary of 211.

For signed binary, if the last number of the set is 0 the, it is a postive number. For unsigned binary, if the last number of the set is negative then, it is a negative number.

<u>For signed binary:</u>

1100    1101    0110   1001

-4        -5      +6       -1

<u>Note:</u>

We are not adding these numbers because in the question it is specified to give 4 answers.

<u>For unsigned binary:</u>

1100    1101    0110   1001

12        13      6       9

<u>Note:</u>

We are not adding these numbers because in the question it is specified to give 4 answers.

5 0
4 years ago
Read 2 more answers
What order? (function templates) Define a generic function called CheckOrder() that checks if four items are in ascending, neith
vlabodo [156]

Answer:

Explanation:

The following code was written in Java and creates the generic class to allow you to compare any type of data structure. Three different test cases were used using both integers and strings. The first is an ascending list of integers, the second is a descending list of integers, and the third is an unordered list of strings. The output can be seen in the attached image below.

import java.util.Scanner;

class Brainly {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.println("Order: " + checkOrder(10, 22, 51, 53));

       System.out.println("Order: " + checkOrder(55, 44, 33, 22));

       System.out.println("Order: " + checkOrder("John", " Gabriel", "Daniela", "Zendaya"));

   }

   public static <E extends Comparable<E>> int checkOrder(E var1, E var2, E var3, E var4) {

       E prevVar = var1;

       if (var2.compareTo(prevVar) > 0) {

           prevVar = var2;

       } else {

           if (var3.compareTo(prevVar) < 0) {

               prevVar = var3;

           } else {

               return 0;

           }

           if (var4.compareTo(prevVar) < 0) {

               return 1;

           }  else {

               return 0;

           }

       }

       if (var3.compareTo(prevVar) > 0) {

           prevVar = var3;

       }

       if (var4.compareTo(prevVar) > 0) {

           return -1;

       }

       return 0;

   }

}

8 0
3 years ago
Which of the following questions will most likely be answered by displaying data on a line graph?
Neko [114]
It would be A because B could be answered best with a poll graph, C with a pie graph, and D with a bar graph. Line graphs typically show speed and rate so A makes the most sense, but you are still able to do the other questions on a line graph.
4 0
4 years ago
Which statement is NOT true:
RSB [31]

Answer:

The correct answer for the given question is   "Machine languages can be used to write programs that can run on any machine."

Explanation:

The machine language consist of binary digit i. e 0 and 1 .Computer can understand only the machine language .The machine language consist of code that is written in bits so it is used  to express algorithms.When any program is compiled the compiler are converted into machine code so the machine language is produced by the compiler .

Machine language cannot used to write a program that run on any machine.

5 0
3 years ago
Which of these Logic Statement's are correct for the following diagram? *
Solnce55 [7]

Answer:

A AND B OR C

Explanation:

7 0
3 years ago
Other questions:
  • What is the best overall approach to education and career development for IT professionals?
    14·1 answer
  • An administrator has noticed that GPO containing new update settings has not yet applied to one of the computers on the network.
    5·1 answer
  • Help with number 12 please!
    15·1 answer
  • IoT is the interconnection of what?<br> Hardware<br> Networks<br> Everyday devices<br> Cables
    10·1 answer
  • Which of the following statements opens the file info.txt for both input and output? a) dataFile.open("info.txt", ios::in &amp;&
    11·2 answers
  • Which is an example of compound meter?<br> 2/4<br> O 4/4<br> O 6/8<br> Onone of the above
    5·2 answers
  • Can someone please‼️‼️❗️help me with this?<br> I got an error that I can’t figure out how to fix it.
    6·1 answer
  • Moving your Sprite top to bottom is moving along the X coordinate?<br><br> True<br> False
    5·2 answers
  • You need to implement a class that represents the state of a room or game section. The class will contain a room_id, a descripti
    15·1 answer
  • James root lol ........................
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!