wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Basics of computer programming 6th

Total questions: 12

Worksheet time: 12mins

Name
Class
Date
1.

The previous image represents

a)

Flowchart

b)

Pseudocode

c)

Pie chart

d)

pseudocode and flowchart

2.

It is any program used to write instructions for a computer (making programs). Scratch is an example of it.

(a)  

3.

What is a conditional statement?

a)

a statement that’s only found in the code for games

b)

a statement that’s only found in one coding language

c)

a set of rules performed if a certain condition is met.

d)

a statement that runs no matter what is true

4.

Conditional statements use booleans; because tell computers to check if a condition is...

(a)  

5.

Sequence statement in programming corresponds to...

a)

following actions based on an asked question to figure out which path to take next.   

b)

A series of steps we do every day is a morning routine.

c)

it asks the same question over and over and over again, until a certain task is complete.

d)

None is correct

6.

Name_person is an example of (a)   , it is used in a program to hold specific data.

7.

A statement in code that only runs if certain requirements are met or in certain situations.

a)

criterion

b)

code

c)

pseudocode

d)

conditional

8.

When she programmed her robot assistant, Maddie wrote a

___

so that the robot would only carry an umbrella if there was a chance of rain.

a)

conditional

b)

code

c)

program

d)

variable

9.

This is a second alternative besides a flowchart any programming language can use to design a program. Pseint represents this option

(a)  

10.

What will a program do if both the if and else if conditions turn out to be false?

a)

go back and check the if condition again

b)

check the else if condition again

c)

move on to the else

d)

delete the if condition

11.

In this expression: Your grandma says, “If you help me fix my television, I’ll buy you some ice cream. Or else, I’ll tell your dad you didn’t help.” What is the condition that must be true for your grandma to buy you ice cream?

a)

your grandma telling your dad that you didn’t help

b)

you telling your dad that you didn’t help

c)

you buying ice cream

d)

None correct

12.

What will a computer do if the if condition turns out to be true?

a)

move on to the else

b)

carry out a specific action

c)

move on to the else if

d)

check again to see if the condition is false