Unit II
Computational Thinking and Programming – 1
(45 marks)
Unit II
Computational Thinking and Programming – 1
(45 marks)
Chapter 1
Introduction to problem solving
What is problem??
Problem Solving Cycle
Step 5: Stop
A flowchart is simply a graphical representation of steps. It shows
steps in a sequential order, and is widely used in presenting flow
of algorithms, workflow or processes.
Debugging
Decomposition
Example of Decomposition
Example of Decomposition
TRY OUT
1. To calculate the sum of 3 given
numbers.
2. Check if a person is eligible to vote or
not. Enter the age.
Algorithm, Flowchart, Pseudo-code
TRY OUT
1. To check if a given number is positive
or negative.
2. To check if a given number is odd or
even number.
Algorithm, Flowchart, Pseudo-code