Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
46 views20 pages

Grade5 Workbook Term1 Answers

Uploaded by

amadosensei640
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)
46 views20 pages

Grade5 Workbook Term1 Answers

Uploaded by

amadosensei640
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/ 20

INDEX

TERM 1
GRADE 5

Unit No Date Topic Signature

1 Computational thinking and programming


1.1 Assigning variables
1
1.2 Using Operators
1.3 Selection
1.4 Planning solutions
1.5 Object Interaction
1.6 Creating user friendly programs
1.7 Using selection with a physical device
PORTION 1.1 ASSIGNING VARIABLES

Q#1: FILL IN THE BLANKS

1. Algorithms are the set of _____________________. ( instructions)


2. Loops means _________________________. (repetition)
3. We can use variable to store _________________________. (data)
4. The numbers and words we use in our algorithm are called _______________.
(values)
5. In programming, a variable is like a _______ where you can keep information. (box)
6. To store a value in a variable, you use the _______ sign. (=)

Q#2: TRUE/ FALSE

1. Variables can only store one item of data at a time. ( True)


2. Loops make algorithm more efficient. (True)
3. A count-controlled loop repeats instructions unlimited. ( False)
4. Variable name need to be meaningful. (True)
5. For using a variable, we don’t need to assign a value to variable. ( False)
6. To assign the variable age to the value 9, we say: Set Age to 9. (True)

Q#3: CHOOSE THE CORRECT OPTION

1. We can use variable to store data that _____________


(a) Can Change (b) cannot change
(c) Depend on the condition (d) none of these
2. A __________________ is when we give a value to a variable to store.
(a) Data (b) Algorithm
(c) Variable assignment (d) Statement
3. What involves repeating steps until a condition is met?
(a) Branching (b) Looping
(c) Selecting (d) Triggering
4. What is the primary purpose of variable in programming?
(a) To store and manage data (b) To execute code repeatedly
(c) To create user interfaces (d) to compile code into machine language

Prepared by Ms. Safa Marwa (ICT Teacher)


Islamiya English School
5. Which of the following can be stored in a variable?
(a) Number (b) Word
(c) List of items (d) All of the above

Q#4: ANSWER THE FOLLOWING

Move forward

Turn right

Move forward

Turn left

Move forward

Turn right

Move forward

Turn left

Move forward

Turn right

Move forward

Turn left

Move forward

Turn right

Move forward

Turn left

REPEAT 4
Move forward
Turn right
Move forward
Turn left

Prepared by Ms. Safa Marwa (ICT Teacher)


Islamiya English School
Number and word

Number

Word

Number

Word

Number

Word

Katy Juan Meena

9 10 9

Happy Happy Happy


birthday, Katy birthday, Juan birthday,
You are 9. You are 10. Meena
You are 9.

Prepared by Ms. Safa Marwa (ICT Teacher)


Islamiya English School
Write an algorithm to assign My Favorite place in UAE.

Set MyFavouritePlace to ___________

Say MyFavouritePlace

Prepared by Ms. Safa Marwa (ICT Teacher)


Islamiya English School
PORTION 1.2 USING OPERATORS

FILL IN THE BLANKS

1. ____________ is the use of numbers in calculations and counting. (Arithmetic)


2. To carry out arithmetic, we need to give a clear _____________ to follow.
(instructions)
3. _________________ are the symbols we use to do mathematical calculations.
( Arithmetic operators)
4. Values can be number or ___________. (Word)
5. Comparison operator allows us to compare _________ values. (two)
6. In the code Name = Sarah, the variable is _____________ (Name)

CHOOSE THE CORRECT OPTION

1. We can use arithmetic operators with ________________ to perform calculations in


program.
(a) Variables (b) Constants
(c) Symbols (d) functions
2. ________________ means that a user provide data to a computer.
(a) User input (b) user output
(c) Both a and b (d) None
3. Comparison operators are used to create __________________
(a) values (b) data
(c) Conditions (d) flowchart
4. Which of the following operators is used for addition in most programming
languages?
(a) + (b) –
(c) * (d) /
5. Which operator would you use to compare two values to see if they are not equal?
(a) == (b) =
(c) <= (d) !=
6. Which symbol is commonly used to assign a value to a variable in most programming
languages?
(a) == (b) =
(c) <= (d) !=
Prepared by Ms. Safa Marwa (ICT Teacher)
Islamiya English School
TRUE/ FALSE

1. A variable name must start with a number in most programming languages. (False)
2. The statement x = x + 1 increments the value of x by 1. (True)
3. You can use spaces in variable names in most programming languages. (False)
4. To assign the value 10 to a variable named score, you use the statement score = 10.
(True)
5. A value can be change during programming. (True)
SweetcornAmount =3
ANSWER THE FOLLOWING
CarrotAmount =37
1. Write the output of the following algorithm.
BeansAmount =30
1. Set sweetcornAmount to 1+2
2. Set CarrotAmount to 5+2
3. Set BeansAmount to 20+10

2. Write the algorithm of the following arithmetic operations

7+ 6 =13

1. Set FirstNumber to 7
2. Set SecondNumber to 6
3. Set Result to FirstNumber + SecondNumber

Prepared by Ms. Safa Marwa (ICT Teacher)


Islamiya English School
PORTION 1.3 SELECTION

FILL IN THE BLANKS

1. __________________ is the order in which code and instructions are carried out.
(Sequence)
2. _________________ statements have a condition and instructions to carry out only if
that condition is true. (selection statements )
3. IF statements are a type of _____________ statements. (selection)
4. ___________ block means to decide which instruction to carry out next. (condition)
5. Algorithm can produce different outputs based on different ___________. (inputs)

CHOOSE THE CORRECT OPTION

1. ___________________ is where the code or instructions are being repeated.


(a) Loop (b) Iteration
(c) Sequence (d) Both a and b
2. What does an if statement do in programming?
(a) Repeats code multiple times (b) Choose code based on the condition
(c) Combines value (d) define variable
3. Which statement is used to test a condition and execute code based on the result?
(a) repeat (b) switch
(c) If (d) define
4. Programs can store user inputs in variables to use in _____________.
(a) Loop (b) conditions
(c) calculations (d) None of these
5. Indefinite loop means _____________.
(a) Forever loop (b) Countable loop
(c) iterations (d) All of these

TRUE / FALSE

1. Sequence lets our algorithms and programs decide what to do next. (False)
2. Sequences are used to repeat a block of code multiple times. (False)
3. The execution of a sequence always ends with a loop. (False)
4. In an if-else statement, the else block is optional. (True)

Prepared by Ms. Safa Marwa (ICT Teacher)


Islamiya English School
5. An if statement can be used to perform different actions based on different conditions.
(True)

ANSWER THE FOLLOWING

1. Write a simple algorithm for an activity you do in your daily life that depends on a
condition being true or false. (model answers are shown on page 46)
2. Read the following IF THEN ELSE statement.
i. IF time equal to morning
ii. THEN say “Good Morning”
iii. ELSE
iv. Say “Good Afternoon”
v. Say “ How are you”?

What will you say if the condition is True? (Good Morning)

What will you say if the condition is False? (Good Afternoon)

What will you say if the condition is whether True or False? (How are you?)

Prepared by Ms. Safa Marwa (ICT Teacher)


Islamiya English School
PORTION 1.4 PLANNING SOLUTIONS

FILL IN THE BLANKS

1. A loop inside another loop is known as _____________ loop. (nested)


2. We use __________________ to break problems down into smaller parts.
(decomposition)
3. We can use ___________________ by removing instructions that repeat. (Loop/
iterations)
4. A __________ describes the sequence of steps or operations performed to achieve a
desired result in a program. (process)
5. In a flowchart, an arrow denotes the __________ of control flow from one step to the
next. (direction)

CHOOSE THE CORRECT OPTIONS.

1. We use __________________ to help understand the purpose of instructions.


(a) algorithm (b) comments
(c) decomposition (d) both a and b
2. When solving a problem using computers, it helps to decompose the problem into
input, processes, conditions and output.
(a) input and output (b) processes and conditions
(c) Both a and b (d) None of these
3. In a flowchart, which symbol is typically used to represent a decision-making step,
where a condition is evaluated?
(a) Rectangle (b) Diamond
(c) Oval (d) Parallelogram
4. Which of the following is the primary purpose of an input in a computer program?
(a) To display results (b) To store intermediate data
(c) To receive data or instructions from the user (d) To perform calculations
5. What is the final result produced by a program called?
(a) Input (b) Output
(c) Process (d) Iterations

Prepared by Ms. Safa Marwa (ICT Teacher)


Islamiya English School
TRUE/ FALSE

1. We can use iteration to create efficient algorithms. (True)


2. Decomposition is the process of combining multiple tasks into a single, complex task.
(False)
3. Efficiency in a program refers to how quickly and resource-effectively it performs its
tasks. (True)
4. A flowchart uses ovals to denote processes or actions. (False)
5. Algorithms are only used in computer programming and have no application in
everyday problem-solving. (False)

ANSWER THE FOLLOWING QUESTIONS

1. What does sequence, iterations and selection means?


Sequence is the order in which instructions run in algorithms.
Selection means choosing in commands to run.
Iteration or loop means repeating something.
2. Define decomposition. Present an algorithm of setting an alarm on your digital clock
or phone, decompose your program in input, process, conditions and output.
Decomposition is when we break a problem down into smaller parts that are
easier to understand and simple to solve.
For algorithm refer page 72 in book

Prepared by Ms. Safa Marwa (ICT Teacher)


Islamiya English School
Prepared by Ms. Safa Marwa (ICT Teacher)
Islamiya English School
PORTION 1.5 OBJECT INTERACTION

FILL IN THE BLANKS

1. A ____________ is a set of joined blocks of code that makes one complete section of
a scratch program. (script)
2. In computing, ___________ is a thing or person that has its own shape and has
different behaviors. (Object)
3. In programming, an _________________ is when two or more objects communicate
together. (interaction)
4. The types of sub-routine are called ______________. (broadcast)
5. Objects that communicate with each other to achieve a task are said to be
____________. (interrelated)

TRUE/ FALSE

1. Triggers tell different scripts when to run. (True)


2. When objects are interrelated, it means they are connected. (True)
3. An event listener is used to send messages to other objects. (False)
4. A request sent from one object to another is a way for objects to communicate and ask
for actions. (True)
5. A message passed between objects can include a request for the receiving object to
perform an action. (True)

CHOOSE THE CORRECT OPTION

1. A ________________ is a set of instructions that describes how to perform one


particular task.
(a) Script (b) Triggers
(c) Sub-routine (d) All of these
2. In scratch, objects are the __________________ and _______________.
(a) sprites and stages (b) Variables and events
(c) motion and control (d) sounds and operators
3. When different objects need to work together to finish a task, what is this called?
(a) Teamwork (b) fighting
(c) separating (d) ignoring

Prepared by Ms. Safa Marwa (ICT Teacher)


Islamiya English School
4. What is it called when one object sends a message to all other objects at once?
(a) Shouting (b) Broadcasting
(c) Hiding (d) ignoring
5. What happens when one object sends a message to another object in a computer
program?
(a) They forget each other (b) They talk to each other
(c) They stop working (d) They start fighting

ANSWER THE FOLLOWING QUESTIONS

1. Read the below algorithm and answer the following questions.


// Instructions for Ball object
DEFINE PassBall
Move ball from one player to another player

// Instructions for Player object


DEFINE PlayerMovement
IF Keypress equal to P
THEN Player pass ball
CALL PassBall

What instructions will run if P key pressed?

Line 3: Move ball from one player to another player. (This is the PassBall sub-routine,
which is called when the p button is pressed.)

What other actions made by the player will affect the ball?

Shooting the ball; dribbling the ball; throwing the ball in from the sidelines.

Prepared by Ms. Safa Marwa (ICT Teacher)


Islamiya English School
PORTION 1.6 CREATING USER-FRIENDLY PROGRAMS

FILL IN THE BLANKS

1. Programmers use _____________ and ___________ to make their code easier to


understand. (comments, variables)
2. ____________ gather information that helps to turn an idea into a great program.
(analyst)
3. ____________ designers make sure programs are user-friendly. (UX)
4. Content is the ________________ in a program. (information)
5. __________ creates a digital version of the image using design software.
( Graphic designer)

TRUE/FALSE

1. End users are the people who use your program when it is finished. (True)
2. Analyst help to create criteria for the program. (True)
3. Criteria need to be specific and measurable. (True)
4. Development means the ending part of program. (False)
5. Product testers use the program to make sure it works. (True)

CHOOSE THE CORRECT OPTION.

1. _____________ are standards used to judge if a program or project is successful.


(a) comments (b) variables
(c) analyst (d) Criteria
2. ______________ plan a solution to the problem using algorithms.
(a) Software developer (b) Graphic designer
(c) Product testers (d) Project managers
3. A _____________ keeps track of all the work to be completed.
(a) Software developer (b) Graphic designer
(c) Product testers (d) Project managers
4. The stage where the quality of program is judged is called _____________.
(a) Analysis (b) Design
(c) Testing (d) Evaluation

Prepared by Ms. Safa Marwa (ICT Teacher)


Islamiya English School
5. ___________ is the waste from electronic devices.
(a) Dust (b) Error
(c) E-waste (d) none of these

ANSWER THE FOLLOWING

1. What is meant by Algorithm?


Algorithm are set of instructions, written in specific order.
2. What do you mean by UX designer?
UX designer make sure programs are user-friendly. They start by drawing
designs for the menus, button and positioning of content.
3. Define project life cycle.
To decompose the process of making a program into different stages called
project life cycle.
4. Name the stages used to make a program.
The different stages of making a program are Analysis, Design, Development,
Testing and Evaluation.

Prepared by Ms. Safa Marwa (ICT Teacher)


Islamiya English School
PORTION 1.7 USING SELECTION WITH A PHYSICAL DEVICE

FILL IN THE BLANKS

1. We can create variables to store _____________. (values)


2. A ____________ is a statement that can be either true or false. (condition)
3. _____________ is a way of thinking or explaining in a sensible way. (Logic)
4. The if-else statement is used to execute one block of code if a condition is true, and
another block if the condition is __________ (False)
5. _____________ operators are used to compare relationship between values.
(comparison)

TRUE/ FALSE

1. Once variable is created, we can assign values to it. (True)


2. Logic are used to make decisions based on a set of rules. (True)
3. Computers can think for themselves. (False)
4. >, < and = sign are the arithmetic operators. (False)
5. To create selection statements we need a conditional statement. (True)

ANSWER THE FOLLOWING QUESTIONS

Which of the following questions could be conditions?

1. What color is your T-shirt?


Not a condition as you cannot answer yes or no.
2. Is dinner time at 6.00pm?
Condition as it can be answered yes or no.
3. Which button are you pressing?
Not a condition as you cannot answer yes or no.
4. Is the volume on?
Condition as it can be answered yes or no.
5. Look at below code.
CountA = 2
What should the variable CountA store for the condition to be True?
The value 2. Any other value will result in the condition being False

Prepared by Ms. Safa Marwa (ICT Teacher)


Islamiya English School
6. What the below program will do?

What input is being checked?


Button A
What is the name of the variable?
Count
What happens to the variable when button A is pressed?
The variable value increases by 1 each time button A is pressed
What will be displayed if you press button A three times?
The number 3 is displayed on the screen.

Prepared by Ms. Safa Marwa (ICT Teacher)


Islamiya English School
Video streaming failure
1 a To stream a video, Zara needs access to the internet.
b Zara can access the internet through wi-fi or a cellular network.
c Zara might not be able to stream a video if an internet connection
breaks.
d The broken internet connection could be that the server that the video is on loses power.

You might also like