Swift Review from Commands to Types

Swift Review from Commands to Types

7th - 8th Grade

20 Qs

quiz-placeholder

Similar activities

COMPUTER TEST

COMPUTER TEST

1st - 7th Grade

20 Qs

A2 Computing SQL

A2 Computing SQL

8th Grade

17 Qs

Физика и информатика

Физика и информатика

8th Grade

15 Qs

IT (data, viruses and more)

IT (data, viruses and more)

8th Grade - Professional Development

20 Qs

SensorOne Quiz 2 - Digital Systems- TE4-7DI

SensorOne Quiz 2 - Digital Systems- TE4-7DI

7th Grade

20 Qs

Standard Linux Commands

Standard Linux Commands

1st - 10th Grade

20 Qs

Y7 Autumn Term 1 Review 2021-2022

Y7 Autumn Term 1 Review 2021-2022

7th Grade

17 Qs

Revision 8

Revision 8

5th - 8th Grade

18 Qs

Swift Review from Commands to Types

Swift Review from Commands to Types

Assessment

Quiz

Computers

7th - 8th Grade

Practice Problem

Medium

Created by

Melissa DeMull

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?