
Apple - Learn to code (revision 1)
Authored by Craig Ellis
Computers
7th Grade
Used 27+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following values would be best represented with a constant?
Player name
Player level
Player score
Player location
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following would be best represented with a variable?
Name
Birthday
Age
Home address
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to declare a constant?
const
var
let
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to declare a variable?
const
var
let
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the value of myNumber at the end of the following code?
let x = 2
let y = 4
let z = 6
let myNumber = x + y + z
4
6
10
12
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the value of myNumber at the end of the following code?
let x = 2
let y = 4
let z = 6
let myNumber = (x + y) * z
12
24
36
42
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the operator called when it has an arithmetic symbol in front of the equals sign?
myScore += 100
Assignment operator
Compound assignment operator
Plus equals operator
Reset operator
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?