Computer Science, asked by s0uresha4nanje, 1 year ago

a person has written a program for analysis of data.the program and data are available in written from with the person.list steps of activities that the person will have to follow to run tha program on the data using a computer also explain the function of each component of a computer

Answers

Answered by kvnmurty
1

First the programmer writes the program to analyse the data properly and print the results. These results will be useful in making decisions.

The steps to follow are:

1. Approach a computer that has input facilities through a key board, voice or other means.
2. Start the application like notepad or a word processor or  editor. Enter the program without mistakes. Save the program in a file on the hard disk or suitable medium.
3. Now start the compiler program, giving it the filename of the program.
4. Understand and correct the syntax errors (grammar) reported.
5. When compiler runs without errors, it gives an executable program.
6. Execute the binary (executable) now. Input the data by typing in real time.
      In case you would want to execute the program without having to type the data directly, first enter all the data in an editor and save it into a file. Modify the program to read data from that file. Then while executing the program specify the name of the data file.

7. See if the results are according to the expected trend. If not, there could be an error in the program.  Check the programming logic and the use of programming statements. Perhaps you did not understand some of the programming features or control structures properly. Check frequently asked questions or frequently encountered errors for clarifications.

8. In case you have an interpreter software, then start it. Enter the data in the interpreter itself. Then run it. The interpreter will compile and execute it after that, if there are no errors. 
==================

Function of computer and its parts:

    A computer has mainly the input devices, processor, and output devices. The input devices are keyboard, mouse, touch screen, microphone etc.  The output devices are monitor, printer etc. CDROM, DVD, hard disk, flash pen memory are input as well as output devices too.

   The processor is called central processing unit (CPU) is he central part of the computer. It has Arithmetic and Logic Unit ALU and a control unit. The control unit loads programming instructions into the memory. ALU executes them. The results are stored in memory. Thus this sequence continues until all instructions are executed.
 
   In case of errors like divide by 0, exceptions (errors) are reported and the program halts. The ALU can execute instructions in binary number system to do logical as well as arithmetic computations.


kvnmurty: click on the red hearts thanks above pls
duragpalsingh: gr8 ans.
Similar questions