Swift - Learn to Code 1 - Functions

Swift - Learn to Code 1 - Functions

7th Grade

10 Qs

quiz-placeholder

Similar activities

Drones - Aerobatics

Drones - Aerobatics

6th - 8th Grade

10 Qs

Drill Review

Drill Review

6th - 8th Grade

15 Qs

Sprite Lab Quiz code.org

Sprite Lab Quiz code.org

4th - 8th Grade

10 Qs

Blockly Maze Quiz

Blockly Maze Quiz

7th Grade

10 Qs

Unit 1 Let's Create an App Assessment

Unit 1 Let's Create an App Assessment

6th - 8th Grade

14 Qs

Coding

Coding

5th - 12th Grade

14 Qs

Tynker Programming 301 Lesson 5: Conditional Loops Quiz

Tynker Programming 301 Lesson 5: Conditional Loops Quiz

7th - 8th Grade

10 Qs

VEXcode VR Unit 2 Test

VEXcode VR Unit 2 Test

7th - 8th Grade

10 Qs

Swift - Learn to Code 1 - Functions

Swift - Learn to Code 1 - Functions

Assessment

Quiz

Other

7th Grade

Easy

Created by

Tyler Ludgate-Brand

Used 4+ times

FREE Resource

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

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?