INRODUCTION TO PROGRAMMING
PROGRAMMING LANGUAGE
Definition : A set of words, abbreviations, and symbols that enables a software developer to communicte instructions to a computer or mobile device
TYPES OF LANGUAGE
Low-level language
Definition ; programming langugae tat is machine dependant
Runs on only one particular type of computer
not easily portable
consist of
MACHINE LANGUAGE
Definirion :Made of instuctions written in a binary code
advantages
execution speed is very fast
translation free
disadvantages
insrtuctions are difficult to learn
machine language is machine dependant
Subtopic
ASSEMBLY LANGUGAE
Definition ; Made of instructions written mneonics
advantages
easy to understand & use
run much faster & use less memory
disadvantages
long & tedious to write
machine dependant
HIHG-LEVEL LANGUAGE
instructons quite english-like
have to converted to machine language before executed
advantages
portable
programmer-friendly
disadvantaged
not as efficient as low level language
run slower
done using ;
compiler
interpreter
COMPUTER PROGRAMMER
Definition ; often called, developer, creates amd modifies computer programs
Definition : a window on the screen that provides area for entering or modifying data in database
updating, viewing, editing, adding and printing records
present a friendlier interface than a table
allow you to view your data record at one time
can perfome calculations and combine fields
e-form
Definition :send entered data acrosss internet/network
to secure data while transported across network
data automically enters in,or updates existing data in
PRORAMMING PARADIGM
Definition: A way in which computer language looks at the problem to be solved
Examples
Procedural
Definition : a way of approach in problem solving based on module or function.
Example
C
BASIC
PASCAL
FORTRAN
COBOL
Object-oriented
Function ; to implement object in a program
Object
item contains both data & instruction that read or manipulate the data
represent ; real person, place, event or trasaction
Oop create classes, templates for creating objects
Advantages
repeated use
create applications faster
Example
JAVA
C++
VISUAL BASIC
Logic
Based on axiom, inferences, rules & queries to solve problem
example
Prolog ( programming in logic )
COMPUTER PROGRAM
Definition : a series of instructions that directs a computer to perform a task
LANGUAGE TRANSLATOR
Definition : A computer program that converts instruction written in one programming langugae to be traslated to machine langugae
3 categories
ASSEMBLER
Convert programs written in assembly language to machine language
INTERPRETER
Translates one high-level program instructions to a time into machine language ( code ). no object code is saved & thwn executes it immediately line by line
COMPILER
Translates entire programming statements of a program into machine language