# Data Structure & Algorithmic Thinking

#

# 1. Read the direction (6-box)

# 2. Read the direction & Orientation (6 box)

# 3. Write the direction (6-box)

# 4. Reversing the direction (6-box)

# 5. Write the direction (24-box)

# 6. Direction and orientation (24-box)

# 7. Alternative Routes

# 8. Duration

## Data Structure

To let the computer to take over our repeated tasks, we must learn how to design the instructions for the computer to function. Besides these instructions, we also need a collection of data values so that the instructions can be applied to the data.

The picture shows five different locations with the distances between any two points. Learn how to organise your data that enables efficient access and modification.

Sample lessons:

1. Record the distances.

2. Find the shortest route from home to the school.

## Algorithmic Skills

An Algorithm is a method to solve problem that consists of exactly a list of rules with a well-defined sequence to follow in order to solve the problem. Algorithmic thinking consists a pool of abilities: to analyse given problems, to specify a problem precisely, to find the basic actions that that are adequate to the given problem, to construct a correct algorithm to a given problem using the workable actions, to think about all possible cases of a problem and to improve the efficiency of an algorithm.

The learners will apply their logical thinking skills to determine the correct directions to travel from one point to another.

Sample lessons

1. Directions

## Story to provide contexts for problem solving

The story in this module presents situations in which some problems need to be solved by the readers. They are asked questions about the story events, questions such as "What should Jack do? and "What caused this problem?" are asked. The activities help to facilitate the development of computational thinking problem-solving skills (decomposition, algorithm, abstraction and pattern recognition) that are critical for successful interactions in the classroom and in various types of social situations.

Sample lesson:

1. Going to a short vacation

2. The Outing