SLR 8 - Basic Programming Concepts - Part Two

SLR 8 - Basic Programming Concepts - Part Two

8th Grade

10 Qs

quiz-placeholder

Similar activities

Y9 Intro to Python

Y9 Intro to Python

8th Grade

10 Qs

Python - Programming Constructs - KS3 Y9

Python - Programming Constructs - KS3 Y9

8th - 9th Grade

15 Qs

Flowol

Flowol

KG - University

10 Qs

Hour of Code ESL

Hour of Code ESL

6th - 8th Grade

14 Qs

Scratch Programming

Scratch Programming

1st - 12th Grade

13 Qs

Entry Level - Programming Techniques

Entry Level - Programming Techniques

8th - 9th Grade

13 Qs

Python

Python

7th - 8th Grade

12 Qs

Python Quiz - 6

Python Quiz - 6

6th - 8th Grade

10 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?