About the Book This coding book is supplementary to the main “Mel n Conji” content book. This book represents a 21st-century approach to learning coding concepts and developing computational thinking and problem-solving skills. To prepare students for the digital age, the curriculum is interwoven with well-thought-out concept graduation with real-life examples and practice problems.
Special Features • Illustrative approach: Concepts in coding and computer science are delivered through pictorial representations and learner-friendly approaches. • Learning through real-life examples: Age-appropriate examples that enable learners to relate to the concept and learn about the unknown from the known. • Extensive practice: Multiple practice scenarios to reinforce learnings. • Coding challenges: Includes projects through which learners can demonstrate their learning outcomes in coding and computer science.
About Uolo Uolo partners with K-12 schools to bring technology-based learning programs. We believe pedagogy and technology must come together to deliver scalable learning experiences that generate measurable outcomes. Uolo is trusted by over 10,000 schools across India, South East Asia, and the Middle East.
Singapore
|
Gurugram
CS_CB_Coding_ICSE_Grade1_Cover.indd All Pages
|
Bengaluru
|
hello@uolo.com �199
© 2024 Uolo EdTech Pvt. Ltd. All rights reserved.
NEP 2020 based
|
ICSE compliant
|
Technology powered
06/12/23 7:02 PM
ICSE Computer Science
Computer Science
BLOCK CODING I
ICSE_CODE_ORG CODING BOOKLET_LO_ED_FM_P1 - Copy.indd 1
12/5/2023 10:39:12 AM
Contents 1
Introduction to Coding
1
Block-based Coding Problem Solving
2 Exploring Code.org
9
3 Command and Sequence
17
Command
ii
CODE_ORG CODING BOOKLET_LO_ED_FM_P1.indd 2
11/28/2023 5:04:53 PM
1
Introduction to Coding
Do you like solving puzzles? Yes, right?
How do you solve a puzzle?
You need to put the pieces together in the right order.
Just like solving a puzzle, coding is putting the right instructions in the right order to tell the computer what to do.
An instruction means telling someone what to do. Coding language is the language used to give instructions to a computer. We use words to talk to each other.
But, a computer is a machine. It doesn’t understand our words. So, we use coding to talk to computers.
There are many different ways to code. One way is to use coding blocks. Each block is a different block which tells the instruction, like the computer to move an object upwards.
You can drag and drop the blocks together to make a code that tells the computer how to do something.
The coding language that uses blocks to give instructions is called Block-based coding.
1
CO24CB0101_P1.indd 1
11/16/2023 6:54:20 PM
Block-based Coding
Block-based coding is a visual computer language that uses colourful blocks. In block-based coding, you join blocks just like Lego.
Now, we need to think about what we want the computer to do for us. We use computers to help us solve problems. What is a problem?
Let’s try to understand what a problem is and how we can solve it.
Problem Solving
Imagine you are trying to find your friend’s house, but you don’t know how to get there. That is a problem!
A problem is something that we need to solve. Here are some ways you can follow to solve this problem: •
Ask someone for directions.
• Call your friend and ask him to tell you how to get to his house. •
50
PARKING
Use a map to find your way.
2
CO24CB0101_P1.indd 2
11/16/2023 6:54:21 PM
Let’s try another example.
Imagine you want to tie your shoes, but you don’t know how. The problem is that you don’t know how to tie your shoelace. What can be the solution?
You can ask your mother to help you.
The instructions your mother gives you on how to tie your shoelaces is the solution.
6
Hold each loop and pull to tighten.
Chapter 1 • Introduction to Coding
CO24CB0101_P1.indd 3
3
11/16/2023 6:54:24 PM
Do It Yourself 1A Help the kitty reach her home.
Chapter Checkup A
Fill in the Blanks. Hints
computer
solved
blocks
1 A problem is something that needs to be
.
2 Block-based coding is a visual computer language that uses colourful
.
3 Coding is the language used to give instructions to a
.
4
CO24CB0101_P1.indd 4
12/5/2023 5:49:40 PM
B
Tick () the Correct Option. 1
Shreya is hungry. Which of the following is the correct way to solve this problem?
a
2
b
c
Which of the following is the missing part of the puzzle?
a
Chapter 1 • Introduction to Coding
CO24CB0101_P1.indd 5
b
c
d
5
11/16/2023 6:54:25 PM
C
Who Am I? Find out who is in column A by matching it in column B. Column A
Column B
Problem
Solution
Solution
+
Problem
Block-based coding
D
Write T for True and F for False. 1 A computer is a machine. 2 Computers can understand our language. 3 Block-based coding uses blocks to give instructions.
6
CO24CB0101_P1.indd 6
11/16/2023 6:54:25 PM
E
Answer the Following. 1 What is a problem?
2 What is coding?
3 What is block-based coding?
F
Apply Your Learning. 1 Find the right way for the honey bee to reach its honeycomb.
Chapter 1 • Introduction to Coding
CO24CB0101_P1.indd 7
7
11/16/2023 6:54:26 PM
2 Join the dots in the order of the numbers to complete the picture. Then, colour it.
8
CO24CB0101_P1.indd 8
11/16/2023 6:54:26 PM
2
Exploring Code.org
In the previous chapter, we learned about what coding is. It is now time to start our coding journey.
We will learn to code on a platform called Code.org. Code.org is an educational platform to learn coding in a fun and engaging way. Let us learn how to solve coding puzzles in the Puzzle Code Studio of the Code.org platform. A tour of the Puzzle Code Studio
The Puzzle Code Studio includes four main parts, as shown in the given picture.
9
CO24CB0102_P1.indd 9
11/17/2023 11:50:23 AM
1
The play area is where the program will run.
2
The toolbox is the area that holds all the blocks needed to solve the puzzles.
3
orkspace is the area where you will drag the W blocks from the toolbox to code.
4
The instruction area holds the instructions to solve a puzzle.
But the puzzles we start with in this chapter will only have two parts: Instructions and Workspace.
10
CO24CB0102_P1.indd 10
11/17/2023 11:50:24 AM
We will start by solving jigsaw puzzles in the Puzzle Code Editor.
A jigsaw puzzle is like a game where you put pieces together to make a picture.
Did You Know? The first jigsaw puzzle was a map of Europe.
Puzzle 1
Scan the QR Code to open the activity.
Complete the picture of the elephant. 1
Read the instructions
2
Observe the missing part Observe the missing part of the elephant in the Workspace.
3
Place the missing part Left click the missing part.
Hold the button and drag the picture block to complete the picture.
Once the puzzle is completed, a sound will be played. You will also see a message, as shown below.
1
Chapter 2 • Exploring Code.org
CO24CB0102_P1.indd 11
X
11
11/17/2023 11:50:25 AM
Puzzle 2
Scan the QR Code to open the activity.
Make a picture of the house with the given picture blocks. 1
2
Read the instructions
Observe the house Observe the house image to be made in the Workspace.
3
Place the missing part
4
Complete the Picture
Left click the missing part.
Hold the button and drag the picture block to complete the picture.
Once the puzzle is completed, a sound will be played. You will also see a message, as shown below.
2
X
12
CO24CB0102_P1.indd 12
11/17/2023 11:50:26 AM
Scan the QR Code to open the activity.
Coding Challenge
Make a picture of a computer with the picture blocks.
Chapter Checkup A Fill in the Blanks. blocks
Hints
instructions
run
1
The play area is where your program will
.
2
The toolbox is the area that holds all the
needed to solve the puzzles.
3 4
is the area where you will drag the blocks from the toolbox to code. The instruction area holds the
Chapter 2 • Exploring Code.org
CO24CB0102_P1.indd 13
workspace
to solve a puzzle.
13
11/17/2023 11:50:27 AM
B Tick () the Correct Option. 1
Which of the following is the missing part of the puzzle?
? a
2
b
c
d
Which of the following is the missing part of the puzzle?
? a
b
c
d
14
CO24CB0102_P1.indd 14
11/17/2023 11:50:27 AM
C
Who Am I? A
B
Toolbox
Workspace
Play area
Instruction area
D
Write T for True and F for False. 1
The toolbox on Code.org holds instructions for a puzzle.
2
Code.org has an Instructions section to drag and drop blocks.
3
The Toolbox holds all the blocks you will need to solve the puzzles.
Chapter 2 • Exploring Code.org
CO24CB0102_P1.indd 15
15
11/17/2023 11:50:28 AM
E
F
Answer the Following. 1
Name any two parts of the Puzzle Code Studio.
2
Name the part of the Puzzle Code Studio where your program runs.
Apply Your Learning. 1
Match the correct pieces to complete the jigsaw puzzle.
2
Match the animals with their names. Animals
Names
16
CO24CB0102_P1.indd 16
11/17/2023 11:50:43 AM
3
Command and Sequence
Command
Sit
Look at the picture.
What is the man telling the dog to do?
The man is telling the dog to sit, right?
In coding, the instructions we give to a computer to do something are called commands. In block-based programming, the blocks are the commands.
We use the code blocks to give commands to a computer.
Let us learn about some of the command blocks and what they do. Block
To turn a character in a direction North or Up South or Down East or Right West or Left
Let us use these blocks and make the angry bird move to get to the pig. Scan the QR Code to open the activity.
Activity Follow the given steps:
1 Drag the East or Right Arrow
block and place it below when run
block in the workspace. 17
CO24CB0103_P1.indd 17
11/28/2023 5:03:21 PM
2 Again, drag one more East or Right Arrow previous block.
block and join it with the
3
The code is complete as shown below.
4
Click on the Run
6
A sound will be played and you will see the following message:
5
button in the Play Area.
The angry bird will move and get to the pig.
If you accidentally drag out a block you don’t need, just drag it back into the toolbox to delete it.
The Run button allows you to run the code in your workspace.
Reset button allows you to reset the workspace.
18
CO24CB0103_P1.indd 18
11/28/2023 5:03:22 PM
Do It Yourself 3A Select the correct option to help the angry bird get to the pig.
a
b
c
d
Sequence When we give more than one command in order, it is called a Sequence. Everything we do has a sequence, from getting ready for school to playing games or going to bed at night. Let us look at how a seed becomes a fruit. 1
Take a pot and fill it with soil.
3
With enough sunlight and water, the seed will sprout.
5
Then, the fruit will grow.
2
Put the seed in the pot and cover it with soil.
4
After a while, the plant will flower.
Chapter 3 • Command and Sequence
CO24CB0103_P1.indd 19
19
12/5/2023 5:51:08 PM
This sequence of a seed becoming a fruit cannot be changed. The seed will not grow into a fruit if the sequence is not followed. Similarly, to do anything in our day-to-day lives, we need a sequence of steps to do a task. But the sequence can be fixed or flexible. Fixed sequence : There is only one way to do the task. Flexible sequence : There can be more than one way to do the task. Let us understand the two by examples. Look at the picture. Is there more than one way to make the angry bird reach the pig? What type of sequence is this? Solution:
Fixed Sequence Only one way to do
Let us take another example. Look at the picture. Is there more than one way to make the angry bird reach the pig? What type of sequence is this? Solution:
2 1 3
1
2
3
Flexible Sequence More than one way to do the task.
20
CO24CB0103_P1.indd 20
11/28/2023 5:03:23 PM
Scan the QR Code to open the activity.
Coding Challenge
Help the angry bird catch the pig.
Do It Yourself 3B 1 Number the pictures in the correct sequence. a
b
Chapter 3 • Command and Sequence
CO24CB0103_P1.indd 21
21
11/28/2023 5:03:24 PM
Chapter Checkup A Fill in the Blanks. sequence
Hints
fixed
instructions
1
Commands are the
we give to a computer to do something.
2
When we give more than one command in order, it is called a
3
There is only one way to do a task in a
.
sequence.
B Tick () the Correct Option. 1
Which of the following is the missing step in the sequence?
?
a
2
b
c
d
Which of the following is the missing step in the sequence?
?
a
b
c
d
22
CO24CB0103_P1.indd 22
11/28/2023 5:03:26 PM
C
Who Am I? 1
Find all possible ways to help the dog get home.
Circle the correct type of sequence.
D
E
Flexible Sequence
Write T for True and F for False. 1
Flexible sequence means there is only one way to complete a task.
2
A sequence is a specific order of steps to do a task, and it cannot be changed.
3
The
block is used to move the character towards left or west.
Answer the Following. 1
What is a command?
2
What is a sequence?
3
What are the different types of sequence?
Chapter 3 • Command and Sequence
CO24CB0103_P1.indd 23
Fixed Sequence
23
11/28/2023 5:03:30 PM
F
Apply Your Learning. 1
Number the pictures to put them in the correct sequence.
2
Follow the steps to draw an elephant face in the space and colour it.
3
1
2
3
4
5
6
Which of the following codes can help the scrat reach the acorn?
a
b
c
d
24
CO24CB0103_P1.indd 24
11/28/2023 5:03:33 PM
4
What happens in the play area when we run this code?
a
Chapter 3 • Command and Sequence
CO24CB0103_P1.indd 25
b
25
11/28/2023 5:03:34 PM
About the Book This coding book is supplementary to the main “Mel n Conji” content book. This book represents a 21st-century approach to learning coding concepts and developing computational thinking and problem-solving skills. To prepare students for the digital age, the curriculum is interwoven with well-thought-out concept graduation with real-life examples and practice problems.
Special Features • Illustrative approach: Concepts in coding and computer science are delivered through pictorial representations and learner-friendly approaches. • Learning through real-life examples: Age-appropriate examples that enable learners to relate to the concept and learn about the unknown from the known. • Extensive practice: Multiple practice scenarios to reinforce learnings. • Coding challenges: Includes projects through which learners can demonstrate their learning outcomes in coding and computer science.
About Uolo Uolo partners with K-12 schools to bring technology-based learning programs. We believe pedagogy and technology must come together to deliver scalable learning experiences that generate measurable outcomes. Uolo is trusted by over 10,000 schools across India, South East Asia, and the Middle East.
Singapore
|
Gurugram
CS_CB_Coding_ICSE_Grade1_Cover.indd All Pages
|
Bengaluru
|
hello@uolo.com �199
© 2024 Uolo EdTech Pvt. Ltd. All rights reserved.
NEP 2020 based
|
ICSE compliant
|
Technology powered
06/12/23 7:02 PM