Algorithms with Block Coding Class 6 Notes

Share Now

Algorithms with block coding help students understand how programs work using simple step-by-step instructions. Block coding makes learning programming fun, visual, and easy for Class 6 students.

Algorithms with Block Coding Class 6 Notes

What is a flowchart?

A flowchart is a diagram that shows the step-by-step plan to solve a problem or complete a task. The flowchart helps to convert a complex problem to an easy-to-understand method using shapes and arrows.

This flowchart is made up of shapes like boxes, diamonds, parallelograms, circles, and ellipses connected by arrows. Each shape acts as a step in the solution, and the arrows represent the direction of flow among the steps.

Symbols used in a flowchart

Symbols used in a flowchart

Benefits of using a flowchart

Some of the benefits of using a flowchart are

  • The flowchart shows step-by-step logic in a simple and visual way to solve the problem.
  • Complex problems become easier to understand when broken into shapes and arrows.
  • Serves as a blueprint for the code you will write.

What is a pseudocode?

Pseudocode is a simple and informal method for writing algorithms using simple, human-comprehensible language. Pseudocode does not have any syntax like a flowchart. Pseudocode also helps to make the bridge between human thinking and programming logic, focusing on the steps rather than syntax.

Activity: Profit and loss with flowcharts and pseudocode

The following flowchart helps to visualize the decision-making process step by step of profit or loss.

Profit and loss with flowcharts

The following pseudocode helps to visualize the decision-making process step by step of profit or loss.

Profit and loss with pseudocode

Getting started with block coding

What is Microsoft MakeCode?

Microsoft MakeCode is a framework that helps to make programming fun and interactive. Microsoft MakeCode is for beginners who are new to coding. MakeCode is a block-based programming model where you can drag and drop blocks instead of writing syntax.

Note: Minecraft is just one of the platforms for block coding. You can use many similar platforms available online for block coding, like Scratch (https://scratch.mit.edu/), Code.org (https://code.org/), etc.

1. Select a word from column A and place it in a cell on column B such that its definition matches in cells of column C

Select a word from column A and place it in a cell on column B such that its definition matches in cells of column C

Below is a flowchart to calculate profit and loss. Answer questions 2 to 4 based on the flowchart.

Profit and loss with flowcharts

1. Jyoti owns a toy shop. She bought a toy for Rs 325 and sold it for Rs 375. Which one from below is correct?
a. She made a loss of Rs. 50.
b. She made a profit of Rs. 50.

Show Answer ⟶
b. She made a profit of Rs. 50.

2. Raju buys a pen for Rs 15, and after some time, he sells it for Rs 10. Which one from below is correct?
a. He made a loss of Rs. 5.
b. He made a profit of Rs. 5.

Show Answer ⟶
a. He made a loss of Rs. 5.

3. Ram buys a table for Rs 500; he sells it for Rs 550. Which one from below is correct?
a. He made a loss of Rs. 50.
b. He made a profit of Rs. 50.

Show Answer ⟶
b. He made a profit of Rs. 50.

4. Which of the following is not an advantage of a flowchart?
a. Efficient coding
b. Systematic testing
c. Improper documentation
d. Better communication

Show Answer ⟶
c. Improper documentation

5. The following box denotes.

1

a. Initialization
b. Decision
c. Input/Output
d. Connectors

Show Answer ⟶
c. Input/Output

6. What is a flowchart?
a. A specific programming language
b. A text-based way of designing an algorithm
c. A bullet point list of instructions
d. A diagram that represents a set of instructions

Show Answer ⟶
d. A diagram that represents a set of instructions

7. What shape represents the start and end of a flowchart?
a. Square
b. Diamond
c. Oval
d. Circle

Show Answer ⟶
c. Oval

8. What is a pseudocode?

    Answer: Pseudocode is a simple and informal method for writing algorithms using simple, human-comprehensible language. Pseudocode does not have any syntax like a flowchart. Pseudocode also helps to make the bridge between human thinking and programming logic, focusing on the steps rather than syntax.

    9. What are the benefits of using flowcharts?

      Answer: The benefits of using a flowchart are

      • The flowchart shows step-by-step logic in a simple and visual way to solve the problem.
      • Complex problems become easier to understand when broken into shapes and arrows.
      • Serves as a blueprint for the code you will write.

      10. What is a flowchart?

        Answer: A flowchart is a diagram that shows the step-by-step plan to solve a problem or complete a task. The flowchart helps to convert a complex problem to an easy-to-understand method using shapes and arrows.

        11. Below is a flowchart on how to calculate if a number is even or odd. Write the corresponding pseudocode for the problem.

        Below is a flowchart on how to calculate if a number is even or odd. Write the

        Note: Modulus operator (%) is used to find the remainder of two number.

        Answer:

        Start
        Input Num1
        If Num1 % 2 == 0 Then
            Print "Num1 is an even number"
        Else
            Print "Num1 is an odd number"
        End If
        Stop

        12. The below pseudocode prints “Above average marks” if the average marks in three subjects are greater than 75. If average marks are less than or equal to 75, then it prints “Below average marks”. Draw the corresponding flowchart for the problem.

        3

        Answer:

        2

        Disclaimer: We have provide you with the accurate handout of “Algorithms with Block Coding Class 6 Notes“. If you feel that there is any error or mistake, please contact me at anuraganand2017@gmail.com. The above CBSE study material present on our websites is for education purpose, not our copyrights.

        All the above content and Screenshot are taken from Coding Code 910A Class 6 CBSE Textbook, CBSE Sample Paper, CBSE Old Sample Paper, CBSE Board Paper and CBSE Support Material which is present in CBSEACADEMIC website, NCERT website This Textbook and Support Material are legally copyright by Central Board of Secondary Education or NCERT. We are only providing a medium and helping the students to improve the performances in the examination. 

        Images and content shown above are the property of individual organisations and are used here for reference purposes only. To make it easy to understand, some of the content and images are generated by AI and cross-checked by the teachers. For more information, refer to the official CBSE textbooks available at cbseacademic.nic.in.

        cbseskilleducation.com

        Leave a Comment