Python Project
Python Project
Python Project
Preliminaries
Lecture 1 & 2
Najia Saher
Office hours
◦ Monday to Thursday 10:00 am - 1:00 pm and 2:00 pm - 3:00 pm ,
email: najia.saher@iub.edu.pk
https://sites.google.com/site/introprogramingc/
home
Programming 5%
Assignments
Quizzes 5%
Project 10%
Midterm 30%
Final 50%
Surprise Quizzes
Definition:
An algorithm is defined as the finite steps
followed in order to solve the given problem.
Step1: Start
Step2: Accept the three test marks s1,s2,s3
Step3: sum=s1+s2+s3
Step4: Average =sum/3
Step5: Display average
Step6: Stop
COMPUATIONAL
DECESION MAKING
CONNECTOR
FLOW INDICATOR
Following are the keywords used to indicate input, output and other
operations.
◦ Input – READ, GET
◦ Output – PRINT, DISPLAY
◦ Compute – CALCULATE, DETERMINE
◦ Initialize SET, INT
◦ Add one – INCREMENTER
◦ Sub one- DECREMENTER
1.1-1.7