0% found this document useful (0 votes)
141 views42 pages

Project Booklet For Coding Curriculum: Grade Vi

This flowchart represents the steps to determine if a present can be opened based on the person's birthday: (1) Input the person's birthday month and date, (2) Input today's date, (3) Check if today's date and month match the birthday, (4) If it matches then the

Uploaded by

manan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
141 views42 pages

Project Booklet For Coding Curriculum: Grade Vi

This flowchart represents the steps to determine if a present can be opened based on the person's birthday: (1) Input the person's birthday month and date, (2) Input today's date, (3) Check if today's date and month match the birthday, (4) If it matches then the

Uploaded by

manan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 42

PROJECT BOOKLET FOR

CODING CURRICULUM
GRADE VI

Volume 1.0
TABLE OF CONTENTS
Getting Started With Block Coding ....................................................................1
Addition Using Block Coding ............................................................................6
Dynamic Backgrounds .................................................................................. 15
The Remainder Problem ................................................................................ 20
Building A Music Player ................................................................................ 25
A Tale Of Two Villages ................................................................................... 28
How To Make A Cup Of Coffee ........................................................................ 34
Open Present Only If It’s Your Birthday ............................................................ 36
Buying Book Online...................................................................................... 38
References .................................................................................................. 40

I
Getting Started With Block Coding

GETTING STARTED WITH BLOCK CODING


Chapter: Algorithms with Block Coding
Problem Statement: It’s a common practice to display a hello message when we start
to learn to code. Let us learn on how to display a “Hello World” message using Microsoft
MakeCode.

Learning Outcome:

• You will learn how to run your first program using block coding in MakeCode
• Get familiar with MakeCode arcade platform

Solution:
Microsoft MakeCode is a framework for creating interactive and engaging programming
experiences for those new to the world of programming.

MakeCode Arcade is one of the platforms to perform block-based programming.


Using arcade, solution to a problem statement can be implemented using various
categories of blocks and the results can be seen side by side on the same screen.
Open the URL https://arcade.makecode.com in your favorite web browser.

1|Page
Getting Started With Block Coding

2|Page
Getting Started With Block Coding

3|Page
Getting Started With Block Coding

4|Page
Getting Started With Block Coding

Congratulations, you have created your first block code program!

5|Page
Addition Using Block Coding

ADDITION USING BLOCK CODING


Chapter: Variables using block coding

Problem Statement: Using different mathematical functions is very important when


learning how to code. In this activity we will learn how to implement addition operation
using block coding.
Learning Outcome:
• You will learn on how to use a mathematical operator in block coding
• You will learn how to use functions and variables
Solution:
An addition arithmetic operation is used to add the values stored in two variables. Like
the way we add values in mathematics, we can store values in different variables and
perform an additional operation. The addition of these variables is displayed as an
output of the program.
For example, performing add operation on a variable "a" holding value "3" and a variable
"b" holding value "4" will result in an output "7".
We will use variables to solve this problem
First, create a new project called “Learning arithmetic operations”. Once you create your
project, you should see the editor below

6|Page
Addition Using Block Coding

7|Page
Addition Using Block Coding

8|Page
Addition Using Block Coding

9|Page
Addition Using Block Coding

10 | P a g e
Addition Using Block Coding

11 | P a g e
Addition Using Block Coding

12 | P a g e
Addition Using Block Coding

13 | P a g e
Addition Using Block Coding

Likewise, you can perform all other mathematical operations in this platform
and get the required output.

14 | P a g e
Dynamic Backgrounds

DYNAMIC BACKGROUNDS
Chapter: Control with Conditionals

Problem Statement: Create dynamic backgrounds using in MakeCode editor using


conditional statements. Find if a number is between by 5 and 20 and then change the
background color in MakeCode editor.
These are the steps which needs to be followed:
• If a number is between 5 and 20 then set the background color to green else set
the background color to yellow.
Learning Outcome:

• You will learn how to use conditional statements in block coding.


• You will learn how to use variables
• You will also learn on how to use logical operators
Solution: Let us now see how we can create dynamic backgrounds in MakeCode editor.
First, create a new project as shown below.

15 | P a g e
Dynamic Backgrounds

Follow the following steps to complete the exercise.

16 | P a g e
Dynamic Backgrounds

17 | P a g e
Dynamic Backgrounds

18 | P a g e
Dynamic Backgrounds

19 | P a g e
The Remainder Problem

When you change the height to 10 the loop will go inside the if condition as the height
is greater than 5 AND less than 20.The background color will change to green.
So, what did we learn from this project?

You have now learnt how to create conditional statements. What do you think will the
output of the code be if you change the height to 15?
That is correct! The background color changes to green as height is greater than 5 AND
less than 20.

THE REMAINDER PROBLEM


Chapter: Control with Conditionals

Problem Statement: Using nested conditional statements find if a number is divisible


by 2 or 3 and then change the background color in MakeCode editor.
These are the steps which needs to be followed:

• If a number is divisible by both 2 and 3 then set the background color to red
• If a number is divisible by 2 but not 3 then set the background color to orange
Learning Outcome:

• You will learn how to use nested conditional statements in block coding.
• You will learn how to use variables
• You will also learn on how to use logical operators

20 | P a g e
The Remainder Problem

Solution: Follow the steps to do this activity

21 | P a g e
The Remainder Problem

22 | P a g e
The Remainder Problem

23 | P a g e
The Remainder Problem

Result

You can now change the value of the number to 6 and check if the background of the
controller changes. The background should change to red for numbers that are divisible
both by 2 and 3. It should change to orange for numbers that are divisible by 2 but not
by 3.

24 | P a g e
Building A Music Player

BUILDING A MUSIC PLAYER


Chapter: Loops with Block Coding

Problem Statement: Create a music player using loops in MakeCode by playing a music
tone repeatedly for n number of times.

Learning Outcome:

• You will learn how to use loops to repeat an operation using block coding.
Solution:

Follow the below steps so that you can create a music player using loops

25 | P a g e
Building A Music Player

26 | P a g e
Building A Music Player

When you click on the play for the above exercise that we created, you will hear the
music 10 times. The loop repeats itself 10 times (counter that we had set).

27 | P a g e
A Tale Of Two Villages

A TALE OF TWO VILLAGES


Chapter: Loops with Block Coding

Problem Statement: You are challenged to use the power of code to connect two villages
in Minecraft through some fun activities.

Learning Outcome:

• You will learn inclusion and empathy; you will develop compassion for your
neighbors.
• You will learn about collaboration and equity and adopt the diversity that makes
us all distinctive as they complete the activities.
Solution:

In this exercise, we will use basic coding concepts to bring two villages together in
Minecraft: Education Edition. You can setup Minecraft education edition from

https://education.minecraft.net/get-started

28 | P a g e
A Tale Of Two Villages

29 | P a g e
A Tale Of Two Villages

30 | P a g e
A Tale Of Two Villages

31 | P a g e
A Tale Of Two Villages

There are many other challenges that can be done. Let us do one more to help illagers
learn how to farm.

32 | P a g e
A Tale Of Two Villages

Refer https://education.minecraft.net/hour-of-code-2020 for the entire activity.

33 | P a g e
How To Make A Cup Of Coffee

HOW TO MAKE A CUP OF COFFEE


Chapter: Algorithms with Block Coding

Problem Statement: In this activity we will learn how to make a cup of coffee. There
are a few instructions which needs to be followed:

Step by step instructions:


1. Fill the kettle with water.
2. Turn on the stove.
3. Check to see if the water is boiling.
4. If the water is boiling then, add coffee powder.
5. If the water is not boiling, wait for the water to boil and then add the coffee
powder.
6. Turn off the stove
7. Strain the coffee in a cup
Referring to the above step by step instruction create a flowchart on how to make a cup
of coffee
Learning Outcome:

• You will learn how to create a flowchart using an algorithm.


Solution:
You have been asked to make a cup of coffee.

What we saw in the question is a step by step instruction to make a cup of coffee
Let’s now represent the instructions using a flowchart

34 | P a g e
How To Make A Cup Of Coffee

35 | P a g e
Open Present Only If It’s Your
Birthday

OPEN PRESENT ONLY IF IT’S YOUR BIRTHDAY


Chapter: Algorithms with Block Coding

Problem Statement: In this activity we will open a present/gift only if it’s your birthday.
These are the step by step algorithm which will decide if you can open a present or not:

Step by step algorithm:


1. Input your birthday (Month and date)
2. Input the present date
3. Check to see today’s date and month is equal to your birthday
4. If yes, then you can open the present
5. If no, then check again everyday till it’s your birthday
6. End

Using the above step by step algorithm, create a flowchart for the situation where you
can open a present only if it’s your birthday
Learning Outcome:

• You will learn how to create a flowchart using a step by step algorithm.
Solution:

You have been asked to draw a flowchart to open a present only if it’s your birthday
What we saw in the question was a step by step algorithm for the above situation
Let’s now represent the steps using a flowchart:

36 | P a g e
Open Present Only If It’s Your
Birthday

37 | P a g e
Buying Book Online

BUYING BOOK ONLINE


Chapter: Algorithms with Block Coding

Problem Statement: You need a book for a school activity, and you cannot find the
book in any nearby bookshops. Your parents have asked you to order the book online.
Make a step by step algorithm on how to order a book online and then create a flowchart
for the algorithm.
Learning Outcome:

• You will learn how to create a step by step algorithm on how to buy a book online
• You will also learn how to create a flowchart using the algorithm you write.
Solution:

You have been asked to make the algorithm and flowchart on how to order a book online
Step by step algorithm:

1. Go to a website
2. Are you a registered member?
3. If you are not a registered member, then sign up and then sign in the website
4. If you are a registered member, then sign in
5. Search for the book
6. Is the book available?
7. If the book is not available in this website, go back to step 1
8. If yes, Add to the cart
9. Review your order
10. Select the payment method
11. Enter the information, If the entered information is correct place order ,If not then
make changes and check if the information entered is correct and then place
order
12. End

You can add various steps in the flowchart like options for payment method, options for
shipping etc.
What we saw was a step by step algorithm for the above situation

Let’s now represent the steps using a flowchart

38 | P a g e
Buying Book Online

39 | P a g e
References

REFERENCES
Microsoft MakeCode Arcade. 2021. Microsoft MakeCode Arcade. [ONLINE] Available
at: https://arcade.makecode.com. [Accessed 23 February 2021]

Microsoft MakeCode for Minecraft. 2021. Microsoft MakeCode for Minecraft.


[ONLINE] Available at: https://minecraft.makecode.com. [Accessed 23 February
2021]

Microsoft. 2020. Hour Of Code 2020 | Minecraft: Education Edition. [Online]. [25
February 2021]. Available at: https://education.minecraft.net/hour-of-code-2020

Association for computing machinery (acm). 2016. CSPathsala. [Online]. [16 March
2021]. Available from: https://cspathshala.org

40 | P a g e

You might also like