0% found this document useful (0 votes)
82 views22 pages

Computational Thinking in Programming

This document introduces computational thinking and programming concepts including problem solving, the problem solving cycle, flowcharts, debugging, decomposition, and examples. It discusses defining a problem, understanding the problem, devising a plan, implementing the plan, and checking the solution. Steps in algorithms and workflows can be represented sequentially using flowcharts. Decomposition involves breaking down problems into smaller sub-problems. Examples are provided to illustrate key concepts and students are given practice problems to develop algorithms, flowcharts, and pseudo-code.

Uploaded by

Alffin Poly
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
82 views22 pages

Computational Thinking in Programming

This document introduces computational thinking and programming concepts including problem solving, the problem solving cycle, flowcharts, debugging, decomposition, and examples. It discusses defining a problem, understanding the problem, devising a plan, implementing the plan, and checking the solution. Steps in algorithms and workflows can be represented sequentially using flowcharts. Decomposition involves breaking down problems into smaller sub-problems. Examples are provided to illustrate key concepts and students are given practice problems to develop algorithms, flowcharts, and pseudo-code.

Uploaded by

Alffin Poly
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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

You might also like