Professional Documents
Culture Documents
FUNDAMENTAL PROGRAMMING
INTRODUCTORY
TO PROGRAMMING
CHAPTER 1
COURSE LEARNING OUTCOME (CLO) :
CLO1 (Apply knowledge of basic concepts and fundamentals of structured programming.)
know the programming language
C Programming
Background of C Programming
C is a higher-level language
provides capabilities that enable
3
DEC 2012 - FUNDAMENTAL PROGRAMMING
know the programming language
Sample of C Program
Basic C Program
4
DEC 2012 - FUNDAMENTAL PROGRAMMING
know the programming language
Sample of C Program
Output :
HELLO WORLD
5
DEC 2012 - FUNDAMENTAL PROGRAMMING
The Basic Structure of a C Program
6
DEC 2012 - FUNDAMENTAL PROGRAMMING
know the programming language
8
DEC 2012 - FUNDAMENTAL PROGRAMMING
know the programming language
9
DEC 2012 - FUNDAMENTAL PROGRAMMING
know the definition and types of programming
Introduction to Programming
Concept and Terminology
Defining Terms
Programme - A set of instructions that tells the
computer what to do
Programmer A person who is involved in the
programming phases.
Programming language is the language
understood by the computer, used to tell the
computer what to do.
10
DEC 2012 - FUNDAMENTAL PROGRAMMING
know the definition and types of programming
Assembly languages
Using mnemonics to represent machine language instructions
(translated via assemblers)
Example : mov ax, 1234h (mov value 1234h into register ax)
High-level languages
Codes similar to everyday English
Use mathematical notations (translated via compilers)
Example : grossPay = basePay + overTimePay 11
DEC 2012 - FUNDAMENTAL PROGRAMMING
understand the types of programming and structure programming methodology
Types of Programming
Structured Programming
Functional / Modular Programming
Object Oriented Programming (OOP)
12
DEC 2012 - FUNDAMENTAL PROGRAMMING
understand the types of programming and structure programming methodology
Types of Programming
Structured Programming
Computer programming in which the
statements are organized in a
specific manner to minimize error or
misinterpretation.
Examples : ALGOL, Pascal, C, PL/I
and Ada.
13
DEC 2012 - FUNDAMENTAL PROGRAMMING
understand the types of programming and structure programming methodology
Types of Programming
Types of Programming