Swift Review from Commands to Types

Swift Review from Commands to Types

7th - 8th Grade

20 Qs

quiz-placeholder

Similar activities

Lists and Loops in Python

Lists and Loops in Python

7th - 11th Grade

15 Qs

Swift Programming Review 1

Swift Programming Review 1

8th - 12th Grade

15 Qs

Quarter 3 Test

Quarter 3 Test

7th Grade

20 Qs

Iterative statements python

Iterative statements python

8th Grade

15 Qs

For Loops Code.org/ Lessons 6-10 (Flocabulary)

For Loops Code.org/ Lessons 6-10 (Flocabulary)

6th - 8th Grade

25 Qs

loops in python

loops in python

6th - 8th Grade

15 Qs

End of year quiz: Small Basic

End of year quiz: Small Basic

7th Grade

20 Qs

Lists and Loops in Computer Science

Lists and Loops in Computer Science

7th - 11th Grade

15 Qs

Swift Review from Commands to Types

Swift Review from Commands to Types

Assessment

Quiz

Computers

7th - 8th Grade

Medium

Created by

Melissa DeMull

Used 6+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The definition of a command: to give a specific _______.

action

answer

path to follow

cookie

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which 1 of the following is a correctly written command in Swift?

if onGem()

func turnRight()

var gems = 3

turnLeft()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name given to how we write commands in Swift?

camelHump

catStretch

catYawn

camelCase

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following uses correct camelCase?

wakeup()

GetDressed()

brushTeeth()

Eatbreakfast()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name for a group of commands that are put together?

Command Group

Function

Variable

Conditional

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is this a correctly written function?


func turnRight() {

turnLeft()

turnLeft()

}

Yes

No

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are these called: { }

Brackets

Fancy braces

Curly braces

Parentheses

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?