Professional Documents
Culture Documents
Session 1 StructuredProgramming
Session 1 StructuredProgramming
Computational
Thinking for
Design
KLEF P-1(CTD) BES-1
Course Road Map
CO 1
SemInExam-1
CO 2
End Exam
CO 3
SemInExam-2
CO 4
INTERNAL EXTERNAL
ASSESSMENT ASSESSMENT
60 40
KLEF P-1(CTD) BES-1
Independent Learning:
1. Coursera Course:
Modern Computers
More Pervasive in Life
Computers has to do much more than to calculate
KLEF P-1(CTD) BES-1
Receives
Output
Obtained after
Applies any
Data Processing
operation
instructions
Memory Unit
BCPL B 1972
C
KLEF P-1(CTD) BES-1
C Became So Popular
Text Application
Editors Programs
KLEF P-1(CTD) BES-1
First Program in C
#include<stdio.h>
main()
{
printf(“HelloWorld”);
}
BCPL and B
Introduction
to C
Structured Programming
Top-Down Analysis
Modular Programming
Structured Code
KLEF P-1(CTD) BES-1
Structured Programming
Programming Style
BLOCK STRUCTURES
KLEF P-1(CTD) BES-1
Better Way to Program
Systematic Organization
main()
{
. . . .
Approach . . . .
}
main() fun1()
{
{ . . . .
. . . .
. . . . }
fun2()
. . . . {
. . . . . . . .
. . . .
} }
Advantages
Program
Solution
Larger Problems
Developing Solution
Complicated
Advantages
Old Unstructured
Languages Code
Well
Organised
Code
KLEF P-1(CTD) BES-1
Advantages
Improves Problem Solving
Organisation of Program
Easily Modifiable