0% found this document useful (0 votes)
529 views19 pages

Computational Thinking Year 7

Here is a flowchart for the program: Start Input a number Check if number is greater than 0 Yes Print "Positive" No Check if number is less than 0 Yes Print "Negative" No Print "Zero" Stop

Uploaded by

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

Computational Thinking Year 7

Here is a flowchart for the program: Start Input a number Check if number is greater than 0 Yes Print "Positive" No Check if number is less than 0 Yes Print "Negative" No Print "Zero" Stop

Uploaded by

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

COMPUTATIONAL

THINKING
What is computational thinking?

• Computational thinking is a problem-solving approach that involves


breaking down complex problems into smaller, more manageable parts,
and designing a solution that can be carried out by a computer. It involves
using a set of problem-solving skills and techniques that are common to
computer science, such as decomposition, pattern recognition, abstraction,
and algorithm design.
Important of computational thinking
 helps develop critical thinking and problem-solving skills that
are essential in today's digital age
 It teaches to approach problems in a structured and logical way,
and to develop solutions that can be implemented efficiently
and effectively.
Examples of computational
thinking in real life
Key terms in computational thinking

• Algorithm
• Decomposition
• Pattern recognition
• Abstraction
ALGORITHM
• Algorithm is a set of instructions that can be followed to solve a
problem.
• Here is an example of an algorithm for making a cup of tea:
Activity
• Write an Algorithm for the Robot to pick up the Beacon to its lower right in your
google slide
Flow chart
• A flowchart is a graphical representation of a process or algorithm that
uses various shapes and symbols to depict different steps and decision
points. It is a visual tool that helps in understanding and communicating
the flow of a process or program.
EXAMPLE OF FLOW CHART
ACTIVITY

• Create a flow chart for this program


TO DRAW A FLOWCHART USING WORD
1.Open a new Word document.
2.Click on the "Insert" tab and select "Shapes".
3. Choose the shape that you want to use for your flowchart (e.g., rectangle for a process step).
4.Draw the shape onto the document.
5. Right-click the shape and select "Add Text".
6 .Enter the text for that process step.
7.Repeat steps 3-6 for all the process steps in your flowchart.
8.To create connectors between the process steps, click on the "Insert" tab and select "Shapes" again.
9.Choose the type of connector that you want to use (e.g., elbow connector).
10.Draw the connector between two shapes by clicking on the starting shape and dragging the cursor to the ending
shape.
11.Repeat steps 8-10 for all the connections in your flowchart.
Once you've completed your flowchart, save your document
ACTIVITY

• Create a flow chart to add ,subtract(make sure to check


whether a>b) ,multiply and divide two numbers.
• Write a program to display “Hi your name nice to meet
you” in python
• Create a flowchart to calculate the area of a rectangle.
• Create a flowchart to compare 2 numbers and display or
print the largest one.
Create a flowchart to calculate the area of a
rectangle
• Program output
Create a flow chart to
add ,subtract(make sure to check
whether a>b) ,multiply and divide two
numbers
• Python program

output
output
ACTIVITY
• Write a program that checks the age of a person. If the age is greater than
or equal to 18, the program should display the message "You can drive."
Otherwise, it should display the message "You cannot drive.“
• Could you please provide a flowchart for this program using Draw.io or
any other preferred flowchart tool?
ACTIVITY
• Write a program To find average of 3 numbers and draw the flowchart of
same using any of the drawing tool.
ACTIVITY
• Draw a flowchart of program in Python that checks whether a year is a
leap year or not:
ACTIVITY
• Draw a flowchart for a program in Python that determines whether a given
number is positive, negative, or zero:

You might also like