Swift Review from Commands to Types

Swift Review from Commands to Types

7th - 8th Grade

20 Qs

quiz-placeholder

Similar activities

Grade 7 - QBASIC Quiz

Grade 7 - QBASIC Quiz

7th Grade

15 Qs

Quiz_1_G7_Python _2024_2T

Quiz_1_G7_Python _2024_2T

7th Grade

20 Qs

Makecode Intro.

Makecode Intro.

5th - 7th Grade

15 Qs

Swift Coding Quiz 1

Swift Coding Quiz 1

6th - 8th Grade

22 Qs

Python -Iteration (loops)

Python -Iteration (loops)

7th - 12th Grade

20 Qs

Year 7 Computing Revision Quiz

Year 7 Computing Revision Quiz

7th Grade

20 Qs

Sphero

Sphero

6th - 8th Grade

20 Qs

Python - Loops & Lists

Python - Loops & Lists

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?