SLR 8 - Basic Programming Concepts - Part Two

SLR 8 - Basic Programming Concepts - Part Two

8th Grade

10 Qs

quiz-placeholder

Similar activities

LESSON 6: ALGORITHMIC INTELLIGENCE GRADE 8

LESSON 6: ALGORITHMIC INTELLIGENCE GRADE 8

8th Grade

10 Qs

Python - Printing, Variables and Syntax

Python - Printing, Variables and Syntax

8th Grade

10 Qs

Y8 Hwk 4: Subroutines

Y8 Hwk 4: Subroutines

8th Grade

11 Qs

Flowchart

Flowchart

1st - 9th Grade

10 Qs

Python Fundamentals

Python Fundamentals

8th Grade

12 Qs

Python - For Loop

Python - For Loop

8th Grade

12 Qs

Algorithms and Flowol

Algorithms and Flowol

7th - 8th Grade

13 Qs

Python Revision

Python Revision

7th - 9th Grade

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