Sequences, selections, and loops - GCFGlobal (9)

Sequences, selections, and loops - GCFGlobal (9)

Assessment

Passage

Computers

8th Grade

Practice Problem

Easy

Created by

Debra Morgan

Used 2+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the three basic programming structures mentioned in the text?

Sequences, selections, and loops

Variables, functions, and arrays

Classes, objects, and methods

Inputs, outputs, and processes

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a sequence in programming?

A series of actions completed in a specific order

A random set of actions performed simultaneously

A single action repeated multiple times

A decision-making process in code

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an example of a sequence we do every day?

Morning routine

Evening walk

Watching TV

Playing games

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main difference between a sequence and a selection?

Sequences are random, selections are ordered

Sequences follow a specific order, selections ask a question

Selections are random, sequences ask a question

Selections follow a specific order, sequences are random

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the example given, what should you do if you find you are out of toothpaste?

Use a different toothbrush

Add it to your shopping list

Brush without toothpaste

Use mouthwash instead

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of a loop in programming?

To perform a task once and stop

To ask different questions each time

To repeat a task until a certain condition is met

To avoid asking any questions

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the example of hammering a nail, what do you do if the nail is not all the way in?

Stop hammering

Hammer the nail again

Ask a different question

Remove the nail

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?