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

Ge 6 Basics of Programming Worksheet 1 - Ans - Computational Thinking

Uploaded by

sarala devi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Ge 6 Basics of Programming Worksheet 1 - Ans - Computational Thinking

Uploaded by

sarala devi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Enhanced Learning Worksheet

Computational Thinking Concepts -


Consolidate
Part A: Computational Thinking Fundamentals
1) Use the word bank to fill in the blanks.

Word Bank: irrelevant decomposition sequencing algorithm picking

Decomposition : The process of breaking down a problem into smaller steps.

Abstraction: Picking out the key information, ignoring irrelevant information.

Algorithm: A step by step set of instructions to solve a problem. Also referred to as sequencing.

2) Which computational thinking concept do the following scenarios best represent?

a) When designing a tube map, the designers do not use the exact scale and do not include all of the landmarks.
Abstraction

b) When building a flat-pack table, you first assemble the base of the table, then attach the top of the table. Finally,
you tighten all bolts only when everything else is in place. Algorithm/sequencing/algorithmic sequencing

c) In order to beat a boss in a video game, the player realises they need to get the right equipment, be at the correct
level and know the movement patterns of the enemy. Decomposition

Part B: Understanding Flowcharts


1) Link each symbol with its meaning.

Start/Stop (Terminator) (Data) Input/Output Process Decision

2) A programmer is creating an algorithm that lets the user type in two variables, and then finds the midpoint of
them by adding them together then dividing by 2. The output is then shown to the user. Below are 2 flowcharts that
both represent this. Fill in any blanks and draw the correct symbol around each part.

a) Start b) Start

User types in first number n1 = USERINPUT

User types in second number n2 = USERINPUT

Add 2 numbers together mid = n1 + n2

Divide by 2 mid = mid / 2

Display answer Display mid

Stop
Enhanced Learning Worksheet

Computational Thinking Concepts - Extend


Part A: Computational Thinking Fundamentals
1) Define each of the following key terms:

Decomposition: Breaking down a problem into smaller parts (or equivalent)

Abstraction: Picking out the important information, ignoring irrelevant information (or equivalent)

Algorithm: A step by step process to solve a problem/complete a task (or equivalent)

2) Give a real-world example of each of the following keywords (can’t be the same as Q2 from Consolidate).

a) Decomposition: Any relevant example, e.g. Winning the league in a sports tournament broken down into the
individual games.

b) Abstraction: Any relevant example, e.g. Just focusing on the ingredients needed in a recipe when shopping for
ingredients.

c) Algorithmic Sequencing: Any relevant example, e.g. building a piece of furniture.

Part B: Understanding Flowcharts


1) Draw each of the following symbols

Process Data Decision Terminator

2) Draw flowcharts to represent the following scenarios: a) A program that lets the user enter a number. If the
number is less than 50, it outputs “Less”. Otherwise it outputs: “More”) b) A security lock, where 2 passwords must
be entered, and only if both passwords are correct should it unlock.
Start
a) Start b)

pass1  USERINPUT
num  USERINPUT

pass2  USERINPUT
IF num < 50 FALSE OUTPUT
THEN “More”

TRUE IF pass1 and FALSE


pass2 are correct
OUTPUT “Less”
TRUE
Unlock Stop
Stop

You might also like