Introduction To Programming
Introduction To Programming
Programming Fundamentals
An “enjoyable”
Introduction to
Programming
Instructor:
Dr. Ayesha Hakim
Assistant Professor
Department of Computer Science
Why learn programming?
It is really technical common sense!
Difficulties for
Difficulties for
experienced
beginners:
folks:
Learning to
balance & go Nothing specific.
forward together
Training wheels
Helmet
Solution
for
Makes learning enjoyable and
Beginners safe!
1. Syntax Errors
• Struggle for hours to fix syntax errors
• Loose confidence
• Frustrating experience
• Run away & never come back if possible!
2. Logic Errors
• Not a serious issue.
Difficulties
for Continuous
Logic errors
experienced learning
programmers
Programming Concepts
based on every day
activities
A few examples
Programming instruction 2;
Concepts:
Sequence
Structure instruction 3;
…
A few more examples
• Go to movie or study?
• Eat salad or sandwich?
• Go to job or go for higher studies?
FOR month = 1 to 12
do monthly processing
ENDFOR
Programming Concepts
• NetBeans
• Eclipse
• CodeLite (free, Opensource)
• Visual Studio (Windows)
• Xcode (Mac)
• CodeBlocks
• QTCreator
10 ways to make
learning to program
enjoyable & efficient!
1. Take time to learn!
• Each person may learn at different pace.
• Each person has a different learning style.
• Learning C/C++/Java directly is NOT
recommended. What is the hurry?
• If everything looks cryptic, you are going too
fast!
2. Utilize examples
• It is easier to focus on
implementation when
functionality is clearly
understand.
• It is easy to “relate to”.
7. Have a time-discipline