wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Basic Programming Concepts

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What is an iterative programming structure?

a)

loop

b)

if/else

c)

algorithm

d)

flowchart

2.

Each time through a loop is called a(n)...

a)

step

b)

iteration

c)

condition

d)

variable

3.

What is a list of steps to finish a task?

a)

algorithm

b)

command

c)

property

d)

condition

4.

What is part of a program that does not work correctly?

a)

bug

b)

sequence

c)

command

d)

algorithm

5.

A statement that a program checks to see if it is true or false. If true, an action is taken. Otherwise, the action is ignored.

a)

condition

b)

program

c)

command

d)

flowchart

6.

Statements that only run under certain conditions.

a)

conditional

b)

iteration

c)

algorithm

d)

bug

7.

A loop that continues to repeat while a condition is true

a)

repeat

b)

loop

c)

condition

d)

while loop

8.

What is a diagram that represents an algorithm?

a)

flowchart

b)

pseudocode

c)

conditional execution

d)

iterative programming structure

9.

Simplified notation that resembles a formal programming language

a)

pseudocode

b)

condition

c)

flowchart

d)

algorithm

10.

Programming a loop inside another loop is called...

a)

nested loops

b)

harnessed loops

c)

coupled loops

d)

repeating loops

11.

How can a programmer make a sequence of code more efficient?

a)

use a loop

b)

write it in pseudocode

c)

put it in a flowchart

d)

only use simple commands

12.

To run a program that will make decisions, a programmer should use

a)

conditional statements

b)

pseudocode

c)

complex tasks

d)

iterations

13.

How many times does the loop need to repeat?

a)

2

b)

3

c)

4

d)

5

14.

Select all the terms that relate to iterative programming structures.

a)

loop

b)

repeat

c)

if/then

d)

iteration

e)

true/false

15.

Select all the terms that relate to conditional execution

a)

loop

b)

repeat

c)

if/else

d)

iteration

e)

true/false