Apple Swift Coding I - Lesson 1 - 6

Apple Swift Coding I - Lesson 1 - 6

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

What i learned in computer science

What i learned in computer science

8th - 11th Grade

25 Qs

Intro to Programming Final Review

Intro to Programming Final Review

9th - 12th Grade

30 Qs

Edison Python Programming

Edison Python Programming

10th - 12th Grade

27 Qs

Code.org App Lab

Code.org App Lab

3rd - 9th Grade

25 Qs

Code.org: Web Development: Unit 2 Lessons 1 - 9

Code.org: Web Development: Unit 2 Lessons 1 - 9

6th - 9th Grade

25 Qs

Swift Playground

Swift Playground

5th Grade - University

28 Qs

python Function

python Function

12th Grade

26 Qs

CHAPTER - 4  Python libraries

CHAPTER - 4 Python libraries

12th Grade

27 Qs

Apple Swift Coding I - Lesson 1 - 6

Apple Swift Coding I - Lesson 1 - 6

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Used 45+ times

FREE Resource

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

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?