Which of the following code segments is the proper declaration of a constant?
Warm Up - CAI711

Quiz
•
Computers
•
11th - 12th Grade
•
Easy
Ayesha Abdullah
Used 28+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Name = “Hamad”
let name = “Hamad”
var name = “Hamad”
name : “Hamad”
let “Hamad” = name
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is ignored by the playground and does not affect how your code run?
Functions
Loops
Comment
Variables
Constants
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
let x = 2
let y = 3
let z = 4
let result = (x + y) * z
What is the value of result after running the above code?
12
14
16
18
20
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Explain why would the below statement show an error?
Print(“ This Exam is Easy”)
Braces are to be placed around the text instead of brackets
The text should be surrounded by single quotes.
Print keyword should start with a small p.
Square brackets should be placed around the text.
The Println keyword should replace the Print keyword
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the below code segment?
let coursecode = 74
print ("Welcome to App Development course code CSC\(coursecode) ")
coursecode = 75
Welcome to App Development course code CSC74
Welcome to App Development course code CSC\74
Welcome to App Development course code CSCcoursecode
Welcome to App Development course code CSC75
Code will return an error message
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following signs is used for multiplication?
+
x
*
$
^
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an assignment in programming?
I. // Update the variable value
II. let numberOfSodas = 7
III. 4 + 6 + 9
I only
II only
III only
I and III only
I, II and III
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Hangman Game - Programming Questions

Quiz
•
7th - 11th Grade
10 questions
Android Studio Basic

Quiz
•
12th Grade
15 questions
Quiz on String

Quiz
•
12th Grade
14 questions
1.1.5 CSE Iteration and Loops

Quiz
•
9th - 12th Grade
15 questions
Javascript

Quiz
•
10th - 12th Grade
15 questions
Python Programming 1: print, strings, variables, casting

Quiz
•
9th Grade - University
15 questions
Code.org Quiz2

Quiz
•
7th Grade - University
11 questions
Understanding AppSheet: Advantages and Disadvantages

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade