SLR 8 - Basic Programming Concepts - Part Two

SLR 8 - Basic Programming Concepts - Part Two

8th Grade

10 Qs

quiz-placeholder

Similar activities

Python while loop

Python while loop

8th Grade - University

13 Qs

Loops in Python

Loops in Python

8th Grade

12 Qs

KS3 - Selection, Iteration or Sequence

KS3 - Selection, Iteration or Sequence

KG - 12th Grade

9 Qs

8.7 BBC BASIC

8.7 BBC BASIC

6th - 8th Grade

15 Qs

Speed Typing Test with Coding Vocabulary

Speed Typing Test with Coding Vocabulary

3rd - 8th Grade

15 Qs

L4 Iteration

L4 Iteration

8th Grade

10 Qs

Programming in Python

Programming in Python

6th - 8th Grade

10 Qs

Q&A – Iteration & Count-Controlled Loops (Primary 4 – 4CT.02)

Q&A – Iteration & Count-Controlled Loops (Primary 4 – 4CT.02)

4th Grade - University

11 Qs

SLR 8 - Basic Programming Concepts - Part Two

SLR 8 - Basic Programming Concepts - Part Two

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Neil Stephens

Used 23+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is NOT a basic programming construct?

Selection

Subroutines

Iteration

Sequence

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an example of selection?

while x == 3:

print("yes!")

If x == 3:

print("yes!")

for x == 3:

print("yes!")

when x == 3:

print("yes!")

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an example of iteration?

for i == 5:

print(i)

if i == 5:

print(i)

if i in range (5):

print(i)

for i in range (5):

print(i)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an example of nested iteration?

while x is True:

for i in range(10):

print(i)

while x is True and i < 10:

print(i)

if i < 10:

if j > 5:

print(i)

for i in range(7):

if i < 5:

print(i)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does 'Sequence' mean?

Instructions are repeated in a pattern

Instructions are carried out in the correct order

Instructions are carried out in a random order

Instructions are selected based on a condition

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Some code is separated into chunks. These different blocks can be 'called' when needed. What are they?

Iteration

If blocks

While loops

Subroutines

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of these are benefits of using subroutines to structure code?

Select as many as needed.

Easier to code

Easier to debug

Easier to reuse

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?