0% found this document useful (0 votes)
2 views

Class VI Supplementary Notes on Block Coding

Make Code Arcade is a free platform by Microsoft for creating retro-style video games using block-based coding, designed for beginners. It covers fundamental programming concepts such as printing messages, creating variables, performing arithmetic operations, and swapping values. The platform offers a user-friendly interface and built-in simulator, making it ideal for students and hobbyists to learn coding.

Uploaded by

Soham Das
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Class VI Supplementary Notes on Block Coding

Make Code Arcade is a free platform by Microsoft for creating retro-style video games using block-based coding, designed for beginners. It covers fundamental programming concepts such as printing messages, creating variables, performing arithmetic operations, and swapping values. The platform offers a user-friendly interface and built-in simulator, making it ideal for students and hobbyists to learn coding.

Uploaded by

Soham Das
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Supplementary Notes on Block Coding

CLASS VI
1. Introduction to Make Code Arcade
Make Code Arcade is a free, web-based platform developed by Microsoft that allows users to create retro-
style video games using block-based coding. It is designed for beginners and is ideal for students,
educators, and hobbyists.
Key Features:
 Drag-and-drop coding blocks for ease of use.
 Built-in simulator for testing games.
 Transition options to JavaScript or Python for advanced coding.
Getting Started:
1. Visit Make Code Arcade.
2. Click on "New Project" to start building your project.
3. Choose the Blocks interface to begin coding with drag-and-drop tools.

2. Printing "Hello, World!"


The "Hello, World!" program is a classic first step to learning any programming language.
Steps:
1. Open a new project.
2. Drag the “on start” block from the "Loops" section onto the workspace.
3. Navigate to the "Game" category, select the splash block, and place it inside the on-start block.
4. In the text field of the splash block, type "Hello, World!".
5. Press the play button to see the message displayed in the simulator.
3. Making a Variable
Variables are used to store information that can change during the program.
Steps:
1. Go to the "Variables" section and click on "Make a Variable".
2. Name your variable
3. Drag the set [variable] to [value] block into the workspace.
4. Assign a value to the variable (e.g., a number or a string).
4. Performing Arithmetic Operations
The blocks in the "Math" category allow you to perform addition, subtraction, multiplication, and
division.
Steps:
i. Use the set [variable] to block from the "Variables" section.
ii. Drag an arithmetic operator block (e.g., +, -, *, /) from the "Math" category into the value slot.
iii. Connect the numbers or variables you want to use in the operation.
Example:
 Create two variables, x and y, from the "Variables" section.
 Set x to pick random 10 to 20 and y to pick random 0 to 10 from the "Math".
 Splash sum, difference, product, and quotient one by one by pressing A in the gamepad

5. Sum of N Numbers
To calculate the sum of the first n numbers.
Steps:
 Create two variables: N and S.
 Set N to any number (Ex: 5).
 Set S to (N * (N + 1)) / 2 using arithmetic blocks.
 Use splash to display “Sum of first N numbers: [S]”.
6. Swapping Values of Variables x and y Without Using a Third Variable
 Step 1: Create two variables: x and y.
 Step 2: Assign random values to x and y using the Set x to and set y to block
 Step 3: Use arithmetic operations to swap the values:
o x = x + y (sum of x and y).
o y = x - y (new y becomes the original x).
o x = x - y (new x becomes the original y).
 Step 4: Use the splash block to display the swapped values:
o "Value of x: " + x
o "Value of y: " + y

Conclusion
Make Code Arcade provides a user-friendly platform for learning programming concepts through fun and
engaging projects. It sets the foundation for programming, from printing "Hello, World!" to performing
arithmetic operations and building logic-based programs.

You might also like