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

Grade 6 Workbook - Questions

Uploaded by

Abdul Wasay
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)
13 views

Grade 6 Workbook - Questions

Uploaded by

Abdul Wasay
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/ 14

Page 1 of 22

INDEX

Unit No Date Topic Signature

1 Computational thinking and programming


1.1 Planning flowcharts
1.2 Programming constructs
1.3 Sub-routines
1.
1.4 Planning programs

Page 2 of 22
Grade 6 Workbook
1.1 Planning Flowcharts
I Choose the correct answers:

Q1: What is a flowchart?

• a) A type of computer program


• b) A graphical representation of an algorithm
• c) A hardware component of a computer
• d) A programming language

Q2: Which of the following is NOT a step in creating a flowchart?

• a) Identify the problem


• b) Draw the shapes
• c) Write a code
• d) Arrange the steps in sequence

Q3: In a flowchart, what does the direction of the arrows indicate?

• a) The speed of the process


• b) The flow of the process
• c) The color of the shapes
• d) The size of the shapes

Q4: What shape is commonly used to represent the start or end of a flowchart?

• a) Rectangle
• b) Diamond
• c) Oval
• d) Circle

Q5: Which shape is used in a flowchart to represent a decision point?

• a) Rectangle
• b) Diamond
• c) Circle
• d) Triangle

Q6: Which shape is used to represent a process or action in a flowchart?

• a) Oval
• b) Rectangle
• c) Diamond
• d) Arrow

Page 3 of 22
Q7: In a flowchart, if a process box says "Add 2 to the number," and the input is 5, what will the
output be after this step?

• a) 7
• b) 3
• c) 10
• d) 5

II Fill in the Blanks:

1. A is a choice you make after thinking about the options.


2. shape appears at the beginning and end of the flowchart.
3. are the arrows shows the order of the flowchart.
4. We can use flowcharts to make
5. A shape is used to process the flowchart

III True or False:

1. Parallelogram shape is used to represent a process or action in a flowchart


2. A circle shape is used in a flowchart to represent a decision point.
3. The arrows show the order of the flowchart
4. People use more complex flowcharts and algorithms to predict things in real life.

IV Match the Following:

1. Rectangle Beginning and End

2. Oval Process

3. Diamond Connector

4. Arrows Decision

Page 4 of 22
V Fill the table with its description:

Shapes Name Description

Start or End

Connectors

Input or Output

Process

Decision

VI Question and answers:

Q1: Explain what a flowchart is and how it is used to represent algorithms.

Q2: Describe the process of converting an algorithm into a flowchart.

Page 5 of 22
1.2 Programming Constructs

I Choose the correct answers:

Q1: What is a sequence in programming?

• a) A random order of instructions


• b) A specific order in which instructions are executed
• c) A repeating loop
• d) A conditional statement

Q2: Which of the following best describes selection in programming?

• a) Repeating a set of instructions


• b) Choosing between different actions based on a condition
• c) Executing instructions in order
• d) Storing data

Q3: What is iteration in programming?

• a) Writing code once and never using it again


• b) Repeating a set of instructions multiple times
• c) Storing variables
• d) Creating user interfaces

Q4: Which of the following is an arithmetic operator?

• a) +
• b) =
• c) >
• d) &&

Q5: In the expression 5 * 3, what does the * symbol represent?

• a) Addition
• b) Subtraction
• c) Multiplication
• d) Division

Q6: What will be the result of the expression 10 / 2 in an algorithm?

• a) 5
• b) 2
• c) 20
• d) 0

Page 6 of 22
Q7: Which of the following is NOT a data type in programming?

• a) Integer
• b) String
• c) Color
• d) Boolean

II Fill in the blanks:

1. Finding and fixing errors in the code is called


2. , and is essential for creating an
interactive program.
3. can use different data types to store and process user input.
4. data type would you use to store the user's name.
5. data type is best suited for storing a person's age.

III True or false:

1. Boolean data type would you use to store the value True or False
2. Iteration means writing code once and never using it again.
3. Repeating a set of instructions best describes selection in programming
4. A Conditional statement is one way to use selection.
5. A Variable is a named memory location that stores values or data in the program.

IV Match the following:


1. Arithmetic Operators Repetition

2. Iteration Order

3. Comparison Operators >, <, =

4. Sequence Making Decision

5. Selection +, -, *, /

V Answer the following questions:

Q1: Explain the concepts of Sequence in programming with examples.

Page 7 of 22
Q2: Explain the concepts of Selection in programming

Q3: Explain the concepts of Iteration in programming.

Q4: Why are sequence, selection, and iteration important in programming?

Q5: Describe the role of arithmetic operators in algorithms with examples.

Q6: How would you use arithmetic operators to create an algorithm that calculates the average
of three numbers?

Page 8 of 22
Q7: What are data types, and why are they important in programming? Provide examples.

Q8: What challenges might you encounter when developing a chatbot that uses different data
types?

Q9: How can you address the challenge when developing a chatbot that uses different data types?

Q10: Explain what a bug is in programming?

Page 9 of 22
1.3 Sub Routines
I Choose the correct answers:

1. What is one of the main advantages of using a sub-routine in an algorithm?

• A) It can only be used once in an algorithm.


• B) It makes the algorithm run faster.
• C) It can be reused multiple times within the same algorithm.
• D) It replaces all variables in the algorithm.

2. How can sub-routines be utilized in different algorithms?

• A) Sub-routines are specific to only one algorithm.


• B) Sub-routines can be shared and used across different algorithms.
• C) Sub-routines can only be used in mathematical algorithms.
• D) Sub-routines are always different for each algorithm.

3. What is essential when creating algorithms with more than one variable?

• A) Ensuring that variables are only used once.


• B) Understanding how the variables interact and are manipulated within the algorithm.
• C) Using variables only in the main routine.
• D) Avoiding the use of sub-routines.

4. How can variables be used in different algorithms?

• A) Variables must be defined uniquely for each algorithm.


• B) Variables can be reused across different algorithms if defined appropriately.
• C) Variables cannot be used in sub-routines.
• D) Variables are not necessary when using sub-routines.

5. When developing a quiz program that uses sub-routines and variables, what is a key
consideration?

• A) The program should avoid using variables.


• B) Sub-routines should only handle one part of the program.
• C) Sub-routines should be designed to handle different parts of the quiz, using variables to
store and manipulate data.
• D) Variables should be global and not used in sub-routines.

Page 10 of 22
II Fill in the blanks:

1. A sub-routine can be used times within the same algorithm.


2. Sub-routines can be shared and used across algorithms.
3. When creating algorithms with more than one variable, it is important to understand how the
variables with each other.
4. Variables can be across different algorithms if they are defined appropriately.
5. In a quiz program, sub-routines and variables are often used together to store and
data.

III True or False:

1. A sub-routine can only be used once in an algorithm


2. Sub-routines can be used across different algorithms.
3. When creating algorithms with more than one variable, understanding the interaction between
variables is not necessary.
4. Variables used in one algorithm cannot be reused in another algorithm.
5. In a quiz program, sub-routines are used to help structure the program and manage variables
efficiently.
6. When developing a program where two sprites interrelate, sub-routines are not needed.

IV Answer the following questions:

1. Explain the concept of a sub-routine.

2. Describe how sub-routines can be utilized across different algorithms.

Page 11 of 22
1.4 Planning Programs

I Choose the correct answers:

Q1: What is the first step in planning a program?

• a) Writing code
• b) Designing the user interface
• c) Defining the problem and requirements
• d) Debugging

Q2: Why is it important to plan a program before coding?

• a) To avoid bugs
• b) To make the code longer
• c) To ensure the program meets the user’s needs
• d) To practice typing

Q3: What is the game interface?

• a) The code behind the game


• b) The part of the game that the user interacts with
• c) The hardware used to play the game
• d) The final score of the game

Q4: Which of the following elements might be part of a game interface?

• a) Buttons and menus


• b) The game's source code
• c) The computer’s operating system
• d) None of the above

Q5: What is a prototype in the context of program development?

• a) A complete, finished product


• b) A preliminary version of a program
• c) A debugging tool
• d) A type of programming language

Q6: Why are prototypes useful in program development?

• a) They help identify and fix bugs early


• b) They reduce the need for user feedback
• c) They replace the final product
• d) They are only used by beginners

Page 12 of 22
II Fill in the blanks:

1. helps to identify and fix bugs in program development.


2. is the process of taking a complex problem and breaking it down
into smaller parts
3. Variables are used to store in a program.
4. are often used to implement user choice in programming
concepts.
5. People who work on programming that users don’t see are called

III True or False:

1. Debugging is the first step in planning a program.


2. The final score of the game is called Game Interface.
3. People who work on how programs look are called front-end developers.
4. A Prompt is a message on the screen that shows a program is waiting for input.

5. The value stored in a variable can change while a program runs

IV Answer the following Questions:

Q1: Why is planning important in programming, and what are the key steps involved in planning a
program?

Q2: What are the key steps involved in planning a program?

Page 13 of 22
Q3: Who are called Front-end and Back-end Developers?

Page 14 of 22

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy