
Apple Swift Coding I - Lesson 1 - 6
Computers
9th - 12th Grade
Used 45+ times

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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?