5.1Loops in Swift

5.1Loops in Swift

4th Grade

26 Qs

quiz-placeholder

Similar activities

Revision scratch activity - Af

Revision scratch activity - Af

4th Grade

27 Qs

Computer Pretest1(Arduino Grade8_t1)

Computer Pretest1(Arduino Grade8_t1)

3rd Grade - University

25 Qs

Computer Coding Basics

Computer Coding Basics

1st - 11th Grade

26 Qs

Computer Science Vocabulary Review

Computer Science Vocabulary Review

3rd - 5th Grade

24 Qs

Parts of a Computer

Parts of a Computer

KG - University

21 Qs

Coding and Using Code.Org

Coding and Using Code.Org

3rd - 4th Grade

22 Qs

Elliott Computer Science Quiz 1

Elliott Computer Science Quiz 1

4th - 5th Grade

23 Qs

Scratch - Conditional Statement

Scratch - Conditional Statement

1st - 5th Grade

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