Computer Programming: KFS2332 SEMESTER 220112012

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

COMPUTER PROGRAMMING

KFS2332 SEMESTER 220112012


1

Chap 1 :Introduction To Programming Langua

Software

Can be categorized as system software or applications software.

1. System Software A subset of system software is an operating system such as MS-DOS, Window and UNIX.

2. Application Software

Software that is applied and can be used a. To solve a particular problem or b. Perform a particular task.
2

Chap 1 :Introduction To Programming Langua

. continues

May be either custom or packaged

(commercial software)

Major categories of Application software 1. Word processing 2. Spreadsheet 3.Computer Games

Chap 1 :Introduction To Programming Langua

Generation Of

Programming Languages

Programming Languages A set of rules that telling a computer what to do. There are over 200 programming languages in the world. Helps we understanding computer. We need programming languages

as an alternative to a manual system disadvantages of manual system: slow repetitive incorrect data/information

Chap 1 :Introduction To Programming Langua

Programming Approach 2 types : Structured and object - oriented. 1. Structured Programming

A methodology in which all program logic is constructed from a combination of three control structures : sequence, selection and repetition (loop) Program logic is description of the step-by step procedures for a module.

Chap 1 :Introduction To Programming Langua

2. Object-oriented programming

Packaged the data and procedure into a single unit called an object which can be reused and modified.
data - called attributes or variables procedure - the instructions that tell the data what to do

- called operations or method.

Object have classes and subclasses. Each class contains the characteristics that are unique to objects of that class.

Chap 1 :Introduction To Programming Langua

Evaluation Of

Programming Languages

Machine Language Assembly Language High-Level Language 3GL 4GL 5GL

Chap 1 :Introduction To Programming Langua

Language Translator
Program need to translate because computer only understand machine language. Three kind of translator : - Assembler -Used in assembly language for translate the language to machine language - Compiler - Translates one program code statement at a time. - Translator - Converts the entire source program into machine language at one time

You might also like