Page 103 - Plus V4 with Adobe class 6
P. 103
Take Off Century #Critical Thinking
21 st
Skills
Look at the code and decode the message.
Code:
A-1, B-2, C-3, D-4, E-5, F-6, G-7, H-8, I-9, J- 10, K-11, L-12, M-13, N-14, O-15, P-16, Q-17, R-18, S-19, T-20,
U-21, V-22, W-23, X-24, Y-25, Z-26, Space-27.
1
Message: 5 18 20 27 13 1 10 15 18 27 3 25 3 12 15 14 5
12
In our daily life, we have to solve various problems by using different strategies. These strategies are
called problem-solving techniques. Some of these techniques are algorithms and mind maps.
ALGORITHM
An algorithm is a set of steps in a sequential manner to solve a problem or to complete a task. These
steps are the foundation to a program. They are important to programming as recipes are for cooking.
Writing an Algorithm
The construction of the Algorithm is the stage which requires creative thinking and finding the best
possible combination of steps to get the result. For example,
Example 1: Algorithm for going to the market to purchase a pen
Step 1: Start.
Step 2: Go to the market.
Step 3: Check your wallet.
Step 4: Go to the stationary shop.
Step 5: Ask for your favourite pen.
Step 6: If pen is available, then go to step 6 otherwise go to step 9.
Step 7: Give money to the shopkeeper.
Step 8: Keep the purchased pen safely.
Step 9: Go back home.
Step 10: Ask for any other brand of pen.
Step 11: Go to step 6.
Step 12: End.
Example 2: Complete the algorithm to find sum and product of three numbers.
Step 1: Start.
Step 2: Read (Input) the three number as "a","b","c" from the user.
#Algorithmic Intelligence 101

