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
svlad2 [7]
3 years ago
5

Which of the following is true about main and secondary memory?

Computers and Technology
1 answer:
Deffense [45]3 years ago
8 0

Answer:

Main memory is short term memory used by the CPU in processing commands, secondary memory is more permanent and used for storage.

Explanation:

Hey there so just a quick explanation here.

Main memory is not used for storage and secondary memory is not lost when the device's power is turned off.

That leaves you to two possibilities:

  • Main memory is more permanent and used for storage, secondary memory is short term memory is used by the CPU in processing commands.
  • Main memory is short term memory used by the CPU in processing commands, secondary memory is more permanent and used for storage.

The bolded bullet point is the correct answer because, main memory is what's know as RAM on your computer. It could either be 4GB, 8GB or maybe even 16GB of RAM. But this is known as Random Access Memory, this is data stored no on the hard drive but on the processor, only momentarily and used when the CPU needs it.

Secondary memory is your Hard Drive, typically 256GB, 500GB, or 1TB which is 1000GB's. But this data is stored on the Hard Drive or Solid State Drive (SSD) and it stays there even when the computer is shot off.

Kind of like our phones, we take pictures on a Friday night dancing with our friends, but our phone dies. Saturday morning we wake up and haha! We get to see all the funny pictures we took that night, so even though it shuts off, our data is saved and secured.

Hope this helps and Good luck !!

Happy Coding :)

You might be interested in
What command is used to request the name and address information from a dns server?
topjm [15]
Nslookup is deprecated in favor of dig
7 0
4 years ago
What is the main reason for assigning roles to members of a group?
ch4aika [34]

Answer: it creates leadership and direction for the team, making it easier to work together for a common purpose.

Explanation:

The reason for assigning roles to members of a group is that it creates leadership and direction for the team, making it easier to work together for a common purpose.

When roles are delegated to the members of a group, each person gets his or her own part of the job or project. This makes it easier to work together and as a team. It also ensures that the project is handled well and faster as it creates a direction.

3 0
3 years ago
Read 2 more answers
Write a function called count_vowels that accepts a string argument that represents a word and returns the number of vowels that
stellarik [79]

Answer:

public static int count_vowels(String str){

       String word = str.replaceAll("[^a-zA-Z0-9]", "");

       String text = word.toUpperCase();

       int lenOfString = text.length();

       int count =0;

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

           if(text.charAt(i)=='A'||text.charAt(i)=='E'||text.charAt(i)=='I'

                   ||text.charAt(i)=='O'||text.charAt(i)=='U'){

               count++;

           }

       }

       return count;

   }

Explanation:

This has been implemented using Java programming language.

Firstly, white spaces, special characters and punctions are removed from the string uisng the replaceAll() method

The string is converted to all upper cases

a for loop is used to count the number of vowels and store to a variable count

In the main method a call to count_vowels is done

<em>public class num1 {</em>

<em>    public static void main(String[] args) {</em>

<em>        String name = "David %$ !. gjak";</em>

<em>        System.out.println("The number of vowels in "+name+ " are "+count_vowels(name));</em>

<em>    }</em>

<em>    public static int count_vowels(String str){</em>

<em>        String word = str.replaceAll("[^a-zA-Z0-9]", "");</em>

<em>        String text = word.toUpperCase();</em>

<em>        int lenOfString = text.length();</em>

<em>        int count =0;</em>

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

<em>            if(text.charAt(i)=='A'||text.charAt(i)=='E'||text.charAt(i)=='I'</em>

<em>                    ||text.charAt(i)=='O'||text.charAt(i)=='U'){</em>

<em>                count++;</em>

<em>            }</em>

<em>        }</em>

<em>        return count;</em>

<em>    }</em>

<em>}</em>

<em />

The complete program with a Main method is given below

3 0
3 years ago
If a fire should break out in your building, which of the following actions is NOT recommended?
pashok25 [27]

The answer would be C) Scream and run

The last thing you want to do during a fire is panic and freak out. Once you start doing that you will usually make rational decisions. If you remain calm and follow procedure you should be fine, in most cases.

7 0
3 years ago
Read 2 more answers
Please do this now
Ber [7]

here are some ideas

some things i wished i knew before coming into middle school:

1. be organized

2. dont worry about other peoples opinions

3. DO YOUR HOMEWORK

things you learned so far:

1. a lot of things...

2. take notes

3.people change

advice:

if you stress too much, it gets hard.

its okay to get a bad grade on an assignment every once and a while.

be flexable with the people around you

TAKE DEEP BREATHS

DONT TALK DURING CLASS

going into the next grade:

i would change my dynamics and sleeping habits

so there are some ideas that i hope will help!!!

8 0
3 years ago
Other questions:
  • In what year did commercial use of the Internet become available? 1991 1996 1999 2001
    9·1 answer
  • 3. What do you need to do before you can sort and filter data in a database?
    9·1 answer
  • _____ is a method of access control that prevents unauthorized users from using an unattended computer to access the network and
    6·1 answer
  • In most cases, it is possible to prevent an exception from terminating a program by using the try and except statements. Select
    13·1 answer
  • ¿Cuánta energía consumirá una lavadora de 1200W de potencia, si se deja conectada durante 20 horas? ¿Cuánto deberemos pagar si e
    7·1 answer
  • Consider the following class interfaces:
    8·1 answer
  • What are the importance of Help and Support feature of Windows​
    6·1 answer
  • The information of an management information system comes from?
    14·1 answer
  • What is the password based off of the clues
    9·1 answer
  • Which tool can you use to display hardware utilization statistics that tell you about the operation of your computer?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!