Search Header Logo

Swift playground Quiz 3

Authored by Paul Plonowski

Computers

11th - 12th Grade

Used 55+ times

Swift playground Quiz 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Commands have no spaces between words and always end with:

colon

parentheses

spaces

semicolons

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What best describes an algorithm?

A step-by-step series of operations

Only calculations that use advanced mathematics

The computer equivalent of rhythm

The same thing as an identifier

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

By writing commands you give instructions to do something. Which command sequence is formatted correctly?

collectGem()

moveForward()

collect Gem ()

move Forward ()

(moveForward)

(collectGem)

moveForward() collectGem()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is conditional code?

A command block

A command which will only run if it is false

A command which will only run of it is true

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Boolean?

A value that can be true or false

A value that can only be true or false

A value which can only be true

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

AND (&&) statements are only true if...

One of more conditions are true

Two conditions are true

All conditions are false

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a logical operator

And

If

Not

Or

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?