Computer Programming
Computer Programming
DATA
Are raw materials to be processed to produce information. It is a facts or an item considered as the root of information TYPES OF DATA ALPHANUMERIC DATA NUMERIC DATA
ALPHANUMERIC DATA
Can be used only as text for identification or labeling purposes and cannot be used in a formula. It consists of alphabetic characters LETTERS (A through Z), NUMERALS (0 through 9) and some especial symbols (such as # and $).
NUMERIC DATA
Can be quantified and represented by the set of numeric digits. It is used in computation.
INFORMATION
Is a collected and processed into a meaningful form. It is the result of manipulation of data and can be used again as data to provide another information.
COMPUTER COMPONENTS
INPUT DEVICES OUTPUT DEVICES STORAGE DEVICES CENTRA PROCESSING UNIT (CPU)
INPUT DEVICES
Device which enables all users to input data into a computer.
OUTPUT DEVICES
Device connected to a computer and used to transfer data out of the computer in the form of text, images, sounds or other media to a display screen, printer.
STORAGE DEVICES
A storage device is a device for storing processed information (data). NON-REMOVABLE Hard Drive an internal storage device REMOVABLE Floppy disk, or diskette, Compact Disc DVDs, Flash disk, Tape
Memory
- Consists of RAM and ROM 1. RAM (Random Access Memory) - volatile; means the data exists only when power is ON 2. ROM (Read Only Memory) - non-volatile; means data permanently stored in and cannot be changed
SOFTWARE
Generic name of all programs Made up of code interpreted by the hardware Written in programming languages Two kinds of Software: System Application
SYSTEM SOFTWARE
Run fundamental operations Loading and running programs Saving and retrieving data Communicating with printers, modems, etc. Examples of systems software DOS, Windows 3.1, 95, 98, 2000, and XP, Unix, Linux
APPLICATION SOFTWARE
Is computer software designed to help the user to perform specific tasks. Examples Word processing - memos, reports, Spreadsheets - budgets, etc. Database - search, sort, select data
COMPUTER PROGRAMMING
When we want a computer to perform a specific task, we have to create a sequence of instructions in a logical order that a computer can understand and interpret. This sequence of instructions is called a program.
COMPUTER PROGRAMMING
The process of writing programs is called programming. The person who creates computer program is called computer programmer.
COMPUTER PROGRAMMING
Set of ordered instructions that enable a computer to carry out a specific task. A program is prepared by first formulating the task and then expressing it in an appropriate Programming language
PROGRAMMING LANGUAGE
-An artificial language used for expressing computer programs. -Programming languages allow programmers to code software
Examples: JAVA, COBOL, FORTRAN, PASCAL, C++
A programming language is usually split into the two components of syntax (form) and semantics (meaning) and many programming languages have some kind of written specification of their syntax and/or semantics
SYNTAX the form of expressions, statements, and program units in a programming language.
SEMANTIC
A program is written as a series of human understandable computer instructions that can be read by a compiler and linker, and translated into machine code so that a computer can understand and run it.
Compiler is a computer program that transforms human readable source code of another computer program into the machine readable code that a CPU can execute.
Linker is a computer program that takes one or more objects generated by a compiler and combines them into a single executable program.
Machine Code is a system of instructions and data executed directly by a computer's central processing unit