Search Header Logo

Apple Swift Coding I - Lesson 1 - 6

Computers

9th - 12th Grade

Used 45+ times

Apple Swift Coding I - Lesson 1 - 6
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which option uses more specific names?

dollarPerSandwich * customerCount

numberOfDollars * numberOfPeople

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an "assignment" in programming?

Giving a name to a particular value, such as: let numberOfSodas = 7

Describing a programming task in a comment, such as: // TODO: Update the sharing message

Running a calculation, such as: 4 + 6 + 9

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which line will be run?


// 10 – 8 +3


18 + 7 + 365

The first line

The second line

Both

Neither

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does it mean to "declare" something in programming?

To write a comment that explains your calculation

To write a hypothesis that you believe to be true

To set a requirement on a performance measurement

To give a name to something for the first time

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which option uses more specific names?

calculatedSpeed < anotherSpeed

currentSpeed <maximumSpeed

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is written in "camel case"?

FIRSTname

first_name

firstName

first.name(camel)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these are strings?

“9.99”

“100%”

Neither

Both A and B

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?