











Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Programming logic logic logic introuction
Typology: Exercises
1 / 19
This page cannot be seen from the preview
Don't miss anything!












Lecture No. 1
Lecture No. 1
Program
Program
A precise
A precise
sequence of
sequence of
steps to
steps to
solve a
solve a
particular
particular
problem”
problem”
Critical Skills
Critical Skills
Analysis
Analysis
Critical
Critical
Thinking
Thinking
Attention
Attention
to Detail
to Detail
Design Recipe
Design Recipe
To design a program properly, we must:
To design a program properly, we must:
Analyze a problem statement, typically
Analyze a problem statement, typically
expressed as a word problem
expressed as a word problem
Express its essence, abstractly and with
Express its essence, abstractly and with
examples
examples
Formulate statements and comments in a
Formulate statements and comments in a
precise language
precise language
Evaluate and revise the activities in light
Evaluate and revise the activities in light
of
of
checks and tests
checks and tests
Computers are
Computers are
Humans
Humans
are
are
even more…….
even more…….
Area of the
Area of the
Ring
Ring
Outer Circle
Inner Circle
Area of Inner Circle
Area of Outer Circle
= Area of the Ring
Think Reuse
Think Reuse
Think User
Think User
Interface
Interface
Comments liberally
Comments liberally
Logical Error
Logical Error
Lewis Carol: “Through the Looking
Lewis Carol: “Through the Looking
Glass”
Glass”
Twas brillig, and the slithy toves
Twas brillig, and the slithy toves
Did gyre and gimble in the wabe “
Did gyre and gimble in the wabe “
Course Policy
Course Policy
Policy for the distribution of marks
Policy for the distribution of marks
and
and
examination is as follows
examination is as follows
Assignments 15%
Assignments 15%
Group discussion 5%
Group discussion 5%
Midterm 35 %
Midterm 35 %
Final 45 %
Final 45 %
Course Objectives
Course Objectives
Objectives of this course are three fold
Objectives of this course are three fold
To appreciate the need for a
To appreciate the need for a
programming language
programming language
To introduce the concept and usability
To introduce the concept and usability
of the structured programming
of the structured programming
methodology
methodology
To develop proficiency in making
To develop proficiency in making
useful software using the C language
useful software using the C language
Course Contents
Course Contents
Course Contents
Course Contents
File handling
File handling
Structures and Unions
Structures and Unions
Flavor of Object oriented
Flavor of Object oriented
programming
programming