1 Introduction To Programming
1 Introduction To Programming
Introduction
AFZAAL HUSSAIN
Course Policy :
}
Attendance, Class Work, Assignments and Quizzes [ 12 Marks ]
Midterm Examination [ 18 Marks ] 24 Marks
Final Examination [ 20 Marks ]
Practical Examination [ 20 Marks ] 08 Marks
Learning Philosophy
Lectures provide the first pass at course materials. They provide preliminary
understanding and knowledge.
Labs provide a more interactive environment which helps to clarify further
understanding of the course materials. This activity also provides first hand
implementation of problems using C/C++.
Assignments provide more complicated exercises to understand the concepts of
the course. Implementation of a problem re-inforces the concepts of writing a
program in C.
Quiz and Examinations test your knowledge of the course materials covered.
Remember
You can download books and course material from link below
www.bit.ly/afzaal_gcuf
Course Objectives :
Hardware are Physical Devices Software are Programs that governs the
functioning of the computer
Remember
It means that when we say that we have a program, it actually means that we
know about a complete set activities to be performed in a particular order.
1. Algorithms
2. Pseudo code
3. Flowchart
1. Algorithm
1. Input/output
2. Iteration
3. Selection/Decision
4. Processing
seudo code - Input/output
Input
INPUT, READ
Used to get values from a data source, for example from a keyboard
INPUT age
Output
DISPLAY, PRINT, WRITE
Used to output values to a data sink, a screen or printer
DISPLAY new_value
seudo code - Iteration or Loop
Logic diagram to describe each step that the program must perform to arrive at the
solution.
Flow Chart is a popular logic tool used for showing an algorithm in graphics form.
Programmer prepares flowchart before coding.
Structured Programming
Sequential Programming
Conditional Programming
Iterative Programming
Function calls
Object Oriented Programming
Event Driven Programming
Visual Programming
C Programming Language
3
Work hard
3
Do the labs and
assignments by
yourself
3
Be patient with
the machine
3
If you really need that, do it quietly ...
13
Please don’t go to home
with a bundle of questions
14
in your mind!