Pelangi Primary Education Smart Plus Computing Science P5 TextBook samplebook

Page 1

BBRC5250_ComputingScienceP5_Final_CTP.pdf

1

15/1/2563 BE

16:10

BBRC5250

Literacy Skills

Communication Collaboration Critical Thinking Creativity

C

Primary Education Smart+

Information Literacy Media Literacy Technology Literacy

Learning Skills

M

Y

CM

MY

This series helps you to understand and apply computational thinking to solve daily problems in an orderly and systematic way.

CY

CMY

There are four parts in each book in this series: Solving daily problems using logical thinking and computational thinking Coding or writing simple computer programs

Prathomsuksa 5

K

Using ICT to collect, process and present data Evaluating information found online and using ICT safely

Based on the Basic Education Curriculum B.E. 2551 (Revised Edition B.E. 2560)

BBRC5250

885-87220-0315-9

8 858722 003159



885-87220-0315-9 First Published 2563

All rights reserved. No part of this publication may be reproduced, stored in any retrieval system or transmitted in any form or by any means without prior permission of Pelangi Publishing (Thailand) Co., Ltd. 2020

2019.13.01_01 CT TittlePage_P1-6.indd 5

20/1/2563 BE 10:26


Special features Extra relevant information helps in understanding the topic better.

Video-based information engages viewers and enhances learning experience.

Game-based learning incorporates problem solving and critical thinking skills.

Higher-order questions promote critical thinking skills.

Collaborative activities encourage students to learn from each other and foster teamwork.

Solving puzzles and brain-teasers helps to develop problem-solving skills and boost logical thinking.

? A summary helps students to identify the main ideas of the topic.

More practices enable students to reinforce their understanding of the topic.

Contents Chapter 1 Solving problems with logical thinking 1

ii

Chapter 2 Conditionals

13

Chapter 3 Data processing

32

Chapter 4 Internet

50

Let’s Play

74

Computing Science Prathomsuksa

5


Chapter

1

Solving problems with logical thinking

Arranging things

Mimi received a set of six hollow wooden dolls. They have different sizes and can be placed inside each other.

Now, Mimi wants to place them inside each other. How could Mimi do it correctly and fast? Should she first arrange the dolls?

If so, how should Mimi arrange them?

Visit this website to see how the hollow wooden doll set or Matryoshka is placed one inside another. http://tiny.cc/yyyygz


First, Mimi can either arrange the dolls based on their sizes in ...

...ascending order

...descending order

By arranging the dolls based on their sizes, Mimi can easily place the smallest doll into the doll next to it, and then into the doll next to it and so on.

Can we still manage to place them inside each other if we do not arrange them in order first? Surely we can still manage to do so. It might take a little bit longer as we will be searching for the next doll to put the doll or dolls. After moving into a new house, many boxes of different sizes are left behind. You need to pack the boxes to reduce the space taken up by them. How are you going to pack them without dismantling them?

We can use the ‘matryoshka way’ to pack our things for a trip or even for relocation. This will save some space.

2

Computing Science Prathomsuksa

5


We should use logical thinking whenever we are trying to solve a problem. Logical thinking is a way of thinking in a proper or disciplined manner that is based on facts and evidence. This will produce better solutions.

Here is a problem. There are many dirty plates and bowls in the sink. Your mother asks you to wash them and arrange them properly into the cupboard. How would you arrange the plates and bowls?

We can stack them based on their sizes. Plates and bowls of similar sizes can be stacked up together respectively.

Besides being neat and tidy, this arrangement allows us to grab the plates or bowls of the size we want quickly. Moreover, they are very stable and do not tumble easily.

How are the books in a library arranged? Are they arranged by their sizes too?

Chapter 1

Solving problems with logical thinking

3


The books in a library or a bookstore are usually arranged based on the genres or types. For example, there are sections for fiction and nonfiction. Therefore, if you are looking for books about cars or plants, then you should head over to the non-fiction section.

What will happen if the books are arranged based on their sizes? If so, we will need to know the size of the book we want before looking for it in the library or bookstore. Will this work? Why?

1 Get into groups of six. Design a wardrobe. Discuss how your team would arrange the clothes in the wardrobe. Are you going to arrange them by their sizes, colors, types or materials? Present your design. Explain your reasons.

4

Computing Science Prathomsuksa

5


Arranging steps to complete a task Have you helped your father to wash the car before? Are there any steps to follow?

These are the general steps to wash a car: 1. Wet the car thoroughly. 2. Apply soap and wash the car starting from the top. 3. Rinse the car with water. 4. Dry the car with a dry cloth. 5. Vacuum the inner part of the car. 6. Wipe the inner part of the car with a moist cloth.

What will happen if the sequence is altered as shown below? 1. Vacuum the inner part of the car. 2. Wipe the inner part of the car with a moist cloth. 3. Wet the car thoroughly. 4. Apply soap and wash the car starting from the top. 5. Rinse the car with water. 6. Dry the car with a dry cloth.

Chapter 1

Solving problems with logical thinking

5


Will we get a different result with this? The result will be almost the same. Cleaning the inner part of the car either before or after cleaning the outer part does not have much effect. Both parts can be cleaned at different sequences and each action does not affect the other action. Will the car be clean if the steps are jumbled a lot such as shown below? 1. Wet the car thoroughly. 2. Rinse the car with water. 3. Apply soap and wash the car starting from the top. 4. Dry the car with a dry cloth. 5. Wipe the inner part of the car with a moist cloth. 6. Vacuum the inner part of the car. The result will be different. Drying the car after washing it with soap and without rinsing it will cause scum to stay on the car, making the car not clean. We should vacuum the inner part of the car first before wiping it. Vacuuming process reduces the dust and therefore it makes our wiping task easier and more effective. In short, the sequence of steps in completing a task is important. There is logical explanation behind each step. If we jumble up the sequence, we might get a different result.

Why do we need to wet the car before applying the soap? Similarly, why do we need to wet our body before applying the soap?

6

Computing Science Prathomsuksa

5


2 During school holidays, Mother sets a few chores for her kids to do at home. They are: Collecting the dry clothes from the clothes line Making the bed Sweeping the floor Wiping the shelves Mopping the floor Hanging the clothes to dry on the clothes line Get into groups of five. If you were her kids, how would you sequence the chores? Discuss among your members. Present your sequence of the chores. Remember to include your reasons for your sequence.

Completing Sudoku Sudoku is a number puzzle, meant for a single player. Although it is about numbers 1 to 9, it is not about Mathematics. It is more about logic. 1

6

9

8 3

A cell

3

4

6

A block

2 1

1

3

A row 2

1

9 3

6

2

6 7

5

A column 9

8

2

9

5 3

6 2

3

7

In a classic Sudoku, it is made up of a grid of 81 cells with 9 blocks. Each block has 9 cells. The puzzle comes with some cells filled in with numbers as shown above. Chapter 1

Solving problems with logical thinking

7


We need to fill up the cells with numbers 1 to 9 once in every row, column and block. The numbers in red are the solution. 1

6

8

4

5

7

9

3

2

5

7

2

3

9

1

4

6

8

9

3

4

6

2

8

5

1

7

8

2

9

7

4

3

1

5

6

6

5

1

2

8

9

3

7

4

7

4

3

5

1

6

2

8

9

3

9

5

8

7

2

6

4

1

4

1

7

9

6

5

8

2

3

2

8

6

1

3

4

7

9

5

Look at the number 8 in the middle block. It appears once in its row, column and block. Each Sudoku puzzle has only one set of solution that can be reached using logical thinking. No guessing is required here.

1 4 2 3 There are many different types of Sudoku that have been developed. Some use colors, symbols and pictures instead of numbers. Some are simplified to only 16 cells with 4 blocks of 4 cells each.

8

Computing Science Prathomsuksa

5


Now, we will try to solve Sudoku with 16 cells. Analyze the puzzle below. Each row, column and block will have numbers 1 to 4 only. We will name the empty cells for our easy reference. 4

3

1

2

2

4

3

A

B

3

1

2

3

C

2

D

E

2

F

2

1

G

H

1

We will start with cell C. Look at cell C and its row. The row is missing 4.

1

2

3

4

3

1

2

D

E

2

1

C

So, cell C is 4.

Look at cells D and E. The columns are missing 3 and 4 respectively. So, cell D is 3 and cell E is 4. Now, you will get this.

4

3

A

B

1

2

3

4

3

4

2

F

2

1

G

H

Which cell should you try to solve next? Why?

Chapter 1

Solving problems with logical thinking

9


We should solve cell F next as it is the only missing number in that row. What is cell F? 4

3

A

B

1

2

3

4

3

4

2

1

2

1

G

H

Analyze cell A. In its row, 1 and 2 are missing. In its column, 2 is there.

4

3

A

B

Therefore, cell A is 1. When cell A is 1, we can find cells B and G. What are cells B and G? Finally, we can also solve cell H and the puzzle as a whole. 4

3

1

2

1

2

3

4

3

4

2

1

2

1

4

3

Try these Sudoku puzzles of 16 cells. Start with the easy level and then proceed to the hard level. http://tiny.cc/50s0gz

10

Computing Science Prathomsuksa

5


BBRC5250_ComputingScienceP5_Final_CTP.pdf

1

15/1/2563 BE

16:10

BBRC5250

Literacy Skills

Communication Collaboration Critical Thinking Creativity

C

Primary Education Smart+

Information Literacy Media Literacy Technology Literacy

Learning Skills

M

Y

CM

MY

This series helps you to understand and apply computational thinking to solve daily problems in an orderly and systematic way.

CY

CMY

There are four parts in each book in this series: Solving daily problems using logical thinking and computational thinking Coding or writing simple computer programs

Prathomsuksa 5

K

Using ICT to collect, process and present data Evaluating information found online and using ICT safely

Based on the Basic Education Curriculum B.E. 2551 (Revised Edition B.E. 2560)

BBRC5250

885-87220-0315-9

8 858722 003159



Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.