Search Header Logo

Swift - Learn to Code 1 - Commands

Authored by Tyler Ludgate-Brand

Computers

7th Grade

Used 2+ times

Swift - Learn to Code 1 - Commands
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Writing code allows you to create your own instructions for your device to carry out. Select ALL of the activities below that require following instructions.

Following a recipe

Building a Lego set

Drawing a picture

Putting a drone together

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Code that tells an application to perform a specific action is called a...

instruction

command

program

switch

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

To make Byte do anything you need to tap ___ My Code.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the proper code to make Byte move forward one space and collect a gem.

moveForward() collectGem()

moveForward()

collectGem()

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the correct code to solve this problem?

move Forward()

move Forward()

move Forward()

collect Gem()

moveForward()

moveForward()

collectGem()

moveForward()

goUpstairs()

moveForward()

collectGem()

moveForward()

moveForward()

moveForward()

collectGem()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statements are true?

Closed switches are off

Open switches are on

Closed switches are on

Open switches are off

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The code to toggle a switch is:

ToggleSwitch()

toggleswitch()

toggleSwitch()

Toggleswitch()

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?