Swift - Learn to Code 1 - Functions

Swift - Learn to Code 1 - Functions

7th Grade

10 Qs

quiz-placeholder

Similar activities

Ice Breaking

Ice Breaking

7th Grade

12 Qs

Computer vocabulary

Computer vocabulary

KG - 12th Grade

11 Qs

Non-Islamic Music

Non-Islamic Music

7th Grade

10 Qs

Year 10 Humanities - Online Sales

Year 10 Humanities - Online Sales

5th - 12th Grade

13 Qs

Prefix, Suffix, Root Vocabulary Quiz #36

Prefix, Suffix, Root Vocabulary Quiz #36

7th - 12th Grade

10 Qs

sports

sports

KG - Professional Development

15 Qs

Rules of PolitiCraft

Rules of PolitiCraft

6th - 12th Grade

10 Qs

Riddles

Riddles

KG - University

10 Qs

Swift - Learn to Code 1 - Functions

Swift - Learn to Code 1 - Functions

Assessment

Quiz

Other

7th Grade

Practice Problem

Easy

Created by

Tyler Ludgate-Brand

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Functions are groups of tasks.

True

False

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If tying your shoes was a function the code would look like this:

Media Image
Media Image

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

______ is the act of composing commands, code structures, and algorithms to create a computer application.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You used composition to make Byte turn right. Which composition would make Byte turn right?

TURNRIGHT!!

turnLeft()

turnLeft()

turnLeft()

turnAround()

He can't turn right.

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

A named set of commands that can be run whenever needed is called a ________.

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

To define a function, you need to enter a set of commands between the { and } curly braces to give it its behaviour.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Functions can be used instead of repeating a pattern of commands.

True

False

Access all questions and much more by creating a free account

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

Already have an account?