Apple Swift Coding I - Lesson 1 - 6

Apple Swift Coding I - Lesson 1 - 6

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

CSS

CSS

9th Grade - University

25 Qs

LE BASI DEL LINGUAGGIO

LE BASI DEL LINGUAGGIO

11th Grade

30 Qs

Python GCSE

Python GCSE

10th Grade

27 Qs

Programming Language II Concepts

Programming Language II Concepts

10th Grade

25 Qs

Python Basics-01

Python Basics-01

9th - 12th Grade

32 Qs

Review Python

Review Python

12th Grade

25 Qs

Python - Coding Interpretation

Python - Coding Interpretation

9th Grade

35 Qs

HTML, CSS & JS

HTML, CSS & JS

11th - 12th Grade

25 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?