0% found this document useful (0 votes)
534 views

Programming Fundamentals - Lecture 01

This document provides an overview of a programming fundamentals lecture. It discusses that a program is a precise sequence of steps to solve a problem, and critical skills for programming include analysis, critical thinking, and attention to detail. It also outlines the design recipe of analyzing a problem statement, expressing its essence with examples, formulating precise statements and comments, and evaluating and revising activities. The document notes that computers are stupid and humans are even more so, and emphasizes thinking reuse and the user interface. It concludes by listing the course objectives, contents, and policy for distributing marks and examinations.

Uploaded by

api-284716142
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
534 views

Programming Fundamentals - Lecture 01

This document provides an overview of a programming fundamentals lecture. It discusses that a program is a precise sequence of steps to solve a problem, and critical skills for programming include analysis, critical thinking, and attention to detail. It also outlines the design recipe of analyzing a problem statement, expressing its essence with examples, formulating precise statements and comments, and evaluating and revising activities. The document notes that computers are stupid and humans are even more so, and emphasizes thinking reuse and the user interface. It concludes by listing the course objectives, contents, and policy for distributing marks and examinations.

Uploaded by

api-284716142
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 18

Programming Fundamentals

Lecture No. 1

Program
A precise
sequence of
steps to
solve a particular
problem

Critical Skills
Analysis
Critical
Thinking
Attention to
Detail

Design Recipe
To design a program properly, we must:
Analyze a problem statement, typically
expressed as a word problem
Express its essence, abstractly and with
examples
Formulate statements and comments in a
precise language
Evaluate and revise the activities in light of
checks and tests

PAY ATTENTION TO DETAIL


These skills are useful for
anybody
All assignments in this course
should follow the these
guidelines

Computers are

STUPID

Humans are even


more.

Think Reuse

Area of the Ring


Inner Circle
Outer Circle

Area of Outer Circle ____

Area of Inner Circle

= Area of the Ring

Think Reuse
Think User Interface
Comments liberally

What is the probability that she gets


exactly three letter right i.e. three
Letters into their correct envelopes.

Logical Error
Lewis Carol: Through the Looking Glass
Twas brillig, and the slithy toves
Did gyre and gimble in the wabe

Course Policy

Policy for the distribution of marks and


examination is as follows
Assignments 15%
Group discussion 5%
Midterm 35 %
Final 45 %

Books
Deitel & Deitel : C++ How to Program
Robert Lafore:object oriented Programming in c++

Course Objectives
Objectives of this course are three fold
1. To appreciate the need for a
programming language
2. To introduce the concept and usability of
the structured programming
methodology
3. To develop proficiency in making useful
software using the C language

Course Contents
To achieve our first two objectives we
will be discussing
Basic Programming constructs and
building blocks
Structured programming
Structured flowcharts, pseudo-code

Course Contents

History of C Language
Variables and expressions in C
Control structures and functions
Arrays and Pointers
Dynamic memory Allocation

Course Contents
File handling
Structures and Unions
Flavor of Object oriented programming

You might also like