SLR 8 - Basic Programming Concepts - Part Two

SLR 8 - Basic Programming Concepts - Part Two

8th Grade

10 Qs

quiz-placeholder

Similar activities

G8-Excel 1

G8-Excel 1

8th Grade

10 Qs

Basics of Computers

Basics of Computers

3rd - 10th Grade

10 Qs

1:1 Cart Procedures

1:1 Cart Procedures

KG - 12th Grade

10 Qs

Hari 3 - Kuis Coding & Perkenalan AI - Fitri Yanti

Hari 3 - Kuis Coding & Perkenalan AI - Fitri Yanti

1st - 12th Grade

12 Qs

KT thường xuyên Tin 7

KT thường xuyên Tin 7

6th - 8th Grade

10 Qs

AutoCAD w Brzesku \m/

AutoCAD w Brzesku \m/

1st - 12th Grade

10 Qs

Malware Quiz

Malware Quiz

KG - University

15 Qs

Networks 3

Networks 3

8th - 10th Grade

10 Qs

SLR 8 - Basic Programming Concepts - Part Two

SLR 8 - Basic Programming Concepts - Part Two

Assessment

Quiz

Computers

8th Grade

Practice Problem

Medium

Created by

Neil Stephens

Used 27+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?