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
Vanyuwa [196]
3 years ago
13

What is the difference in the way computers store numeric data and non-numeric data?

Computers and Technology
1 answer:
Elan Coil [88]3 years ago
3 0
Both numeric and non-numeric data have different ASCII codes, that will be the first difference. Second, numeric data are stored in float, double, and int variables while non-numeric data are stored in char. However, both can be stored in a String variable if and only if the desired data to be stored will not be used for computuation using mathematical operations such as addition.

To store a non-numeric data in an array, the array must first be declared as a String variable array while a numeric data can be stored in an array once the array which will store the numeric data is declared as an integer, double, or float variable.
You might be interested in
Write a C program that spins a child process. The child process reads a number from the keyboard and passes the number on to the
Murrr4er [49]

# include <stdio.h>

int main()

{    

   int pid;

   pid=getpid();

   printf(\"Current Process ID is : %d\\n\",pid);

   printf(\"[ Forking Child Process ... ] \\n\");    

   pid=fork(); /* This will Create Child Process and

              Returns Child\'s PID */

   if(pid < 0)

   {

       /* Process Creation Failed ... */

       exit(-1);

   }

   else if(pid==0)  

   {

       /* Child Process */

       printf(\"Child Process Started ...\\n\");

       printf(\"Child Process Completed ...\\n\");

   }

   else  

   {

       /* Parent Process */

       sleep(10);

       printf(\"Parent Process Running ... \\n\");

       printf(\"I am In Zombie State ...\\n\");

       while(1)

       {

           /*  

               Infinite Loop that Keeps the

                  Process Running

           */

       }

   }    

   return 0;

}

# include <stdio.h>

int main()

{    

   int pid;

   pid=getpid();

   printf(\"Current Process ID is : %d\\n\",pid);

   printf(\"[ Forking Child Process ... ] \\n\");    

   pid=fork(); /* This will Create Child Process and

              Returns Child\'s PID */

   if(pid < 0)

   {

       /* Process Creation Failed ... */

       exit(-1);

   }

   else if(pid==0)  

   {

       /* Child Process */

       printf(\"Child Process Started ...\\n\");

       printf(\"Child Process Completed ...\\n\");

   }

   else  

   {

       /* Parent Process */

       sleep(10);

       printf(\"Parent Process Running ... \\n\");

       printf(\"I am In Zombie State ...\\n\");

       while(1)

       {

           /*  

               Infinite Loop that Keeps the

                  Process Running

           */

       }

   }    

   return 0;

}

4 0
3 years ago
how does the study of science benefit society ? A. non scientists in society often use the same experiments conducted by scienti
ella [17]
<span>The knowledge gained by studying science is often used to address the practical problems of society. You see it in medicine a lot after much experimentation it tries to fix an illness that we have in society.</span>
5 0
3 years ago
Read 2 more answers
Assuming that the list newAnimals is initially empty, what would this list contain after the following code segment is run?
allochka39001 [22]

Answer:

b

Explanation:

4 0
4 years ago
Read 2 more answers
What are the basic components of a Production System?
Fudgin [204]

Answer:

a) Input: Energy entered

b) Conversion process: Applies action

c) Outputs: Information that is been taken out.

Explanation:

Hope it is right and helps.

3 0
3 years ago
Write a while loop that will figure out the factorial of 5 (5!) and print this. It should use two integer variables (i and f) an
Hoochie [10]

<u>Answer:</u>

<em>void main() </em>

<em>{ </em>

<em>int n, i, fact=1; </em>

<em>printf(""Enter the number\n""); </em>

<em>scanf(""%d"",&n); </em>

<em>i=num </em>

<em>while(i>=1) </em>

<em>{ </em>

<em>fact=fact * i; </em>

<em>i--; </em>

<em>} </em>

<em>printf(""The factorial of given number %d is %d\n"", n, fact); </em>

<em>return 0; </em>

<em>} </em>

<u>Explanation:</u>

This program obtains the number for which the factorial has to be found.

Then run a for loop till the factor of 1 is calculated and inside the for loop the number is multiplied with <em>other numbers in the descending order and finally result is printed. </em>

7 0
3 years ago
Other questions:
  • Different between ocular and compound miscroscope
    13·1 answer
  • For a biology presentation, Sofia wants to summarize the various body systems and their key functions. Which element can she use
    13·2 answers
  • Least common multiple of 78,90, and 140
    10·2 answers
  • What types of roles are there as a webmaster?
    6·2 answers
  • What tasks do most operating systems perform?
    7·2 answers
  • What would a digitizing application create?
    13·2 answers
  • Help ASAP!!! During which phase of a well-structured study session is each occurring?
    14·2 answers
  • i have been looking for like 20 mins now and cant find the answers to test 3 on edhesive. does anybody have an clue to where i c
    12·1 answer
  • What report provides data on how specific sections of a website performed?
    6·1 answer
  • Which type of computer application is apple keynote? a. word processor b. spreadsheet c. presentation d. database e. multimedia
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!