|1 Crore+ students have signed up on EduRev. Have you?|
Data and Procudure
Computer data is information processed or stored by a computer. This information may be in the form of text documents, images, audio clips, software programs, or other types of data. Computer data may be processed by the computer’s CPU and is stored infiles and folders on the computer’s hard disk.
At its most rudimentary level, computer data is a bunch of ones and zeros, known as binary data. Because all computer data is in binary format, it can be created, processed, saved, and stored digitally. This allows data to be transferred from one computer to another using a network connection or various media devices. It also does not deteriorate over time or lose quality after being used multiple times.
In computer programming, a procedure is an independent code module that fulfills some existing task and is referenced within a larger body of source code. This kind of code item can also be called a function or a sub-routine. The fundamental role of a procedure is to offer a single point of reference for some small goal or task that the developer or programmer can trigger by invoking the procedure itself.
The code for a procedure will be stored within identifiers for that procedure to mark it as separate from the larger code. In some cases, procedures are part of external libraries that can be called by developers from those library files. In other cases, they are written in customized ways within the program. The procedure is a basic building block for what’s called object oriented programming, which has brought a more powerful set of tools to today’s developer community.