5.1Loops in Swift

5.1Loops in Swift

4th Grade

26 Qs

quiz-placeholder

Similar activities

Review Test Lesson 1- 8 Code.org Course D

Review Test Lesson 1- 8 Code.org Course D

3rd - 4th Grade

24 Qs

computer science

computer science

KG - Professional Development

23 Qs

Google Docs and Scratch

Google Docs and Scratch

4th Grade

25 Qs

Scratch

Scratch

3rd - 5th Grade

29 Qs

Fifth/Fourth Grade Coding Quiz

Fifth/Fourth Grade Coding Quiz

4th - 5th Grade

24 Qs

SLR26 - Big O Notation

SLR26 - Big O Notation

4th - 12th Grade

26 Qs

scratch programming

scratch programming

4th - 5th Grade

25 Qs

Computer Science Vocabulary (PLTW)

Computer Science Vocabulary (PLTW)

1st - 5th Grade

22 Qs

5.1Loops in Swift

5.1Loops in Swift

Assessment

Quiz

Computers

4th Grade

Easy

Created by

Dipak Mondal

Used 9+ times

FREE Resource

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of loop would you use to play your favorite song 3 times?

for loop

forever loop

until loop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of loop would you use for flying your Flappy character until the space key is pressed?

for loop

forever loop

until loop

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of loop would you use to keep a digital clock running?

for loop

forever loop

until loop

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A piece of code that you can call whenever you want it.
Function
For loop
Command

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is coding?

Repeated actions in the program

Algorithmic thinking skills

Telling a ​computer what to do.

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to turn a switch on?

toggle()

activateSwitch()

toggleSwitch()

onSwitch()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For loops can be useful for

fastening a handle made of rope

running a block of code over and over for a set number of times

encircling an object

keeping a privileged group informed

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?