Page 1
Wink Notes
B.Tech CSE — 1st Semester
Programming for Problem Solving in C
— Unit - 1 —
1. Introduction to Problem Solving
What problem solving means here
- A computer has no judgement; it repeats instructions exactly as written.
- Problem solving is the human half — deciding the method before touching a keyboard.
- The method must be finite, unambiguous and produce a result for every valid input.
- The same method can then be written in C, Python or Java without change of logic.
Stages of solving a problem
Understand
Given, wanted, constraints
Design
Steps, language free
Express
Algorithm / flowchart
Implement
C program
Test
Boundary values