1.程序:
顾名思义,程序就是由程序员以编程语言开发的一组简单指令,这些指令可以准确地自动化,收集,管理,计算,分析数据和信息的处理。
2.数据:
顾名思义,数据是由计算机处理并存储在文件或文件夹中的信息,被转换为对移动或处理有效的形式,并且可以是文本文档,图像,音频剪辑等形式。
程序和数据之间的区别:
Program | Data |
---|---|
Programs are collection of software instructions understandable by CPU. | Data are information stored in computer hard disc. |
Programs goes to CPU, then according to these instructions CPU take decision regarding which pins on CPU are turned on or off. | Data does not go into CPU as instructions, instead used by programs to execute certain processes. |
It is used to provide expected output whenever executed by computer. | It is used to help organization in effectively determining cause of problems that occurred. |
Programs helps in decision making purpose. | Data does not help in any decision making purpose. |
Types of programs include word processors, game programs, graphic programs, data base systems, etc. | Types of data includes personal data, transactional data, web data, sensor data, etc. |
Programs are important for computer as it make computer active and therefore computer without program are considered dump box. | Data are important for computer and how will they perform as computer process depends upon type of data. |
Programs are not simple and hard to understand. | Data are simple and easy to understand. |
Programs are used to speed up input and output processes in machine. | Data are used to establish baseline and help one to visualize relationship among what is happening in different locations, departments and systems. |
Different languages of program can be C, C++, Java, Pascal, Python, etc. | Different forms of data can be images, text documents, audio clips, software programs, Boolean data, etc. |