Which of the following will properly declare an String named 'school' that has a value of "Millard North".
Variables Review

Quiz
•
Computers
•
12th Grade
•
Easy
Nichole Niebur
Used 7+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String school = "Millard North";
string school = "Millard North";
String school = 'Millard North';
String school = "Millard North"
Answer explanation
Did you notice the missing ;
2.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Declare an integer named 'x' that has a value of '15'
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Declare an boolean named 'x' that has a value of 'false'
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Declare an double named 'x' that has a value of '15'
Answer explanation
Remember doubles hold floating point numbers so 15 would be stored as 15.0
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Declare an char named 'x' that has a value of '5'
Answer explanation
Remember char uses single quotes ' '
not double quotes " "
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Declare an String named 'x' that has a value of '5'
Answer explanation
Remember char uses single quotes ' '
String uses double quotes " "
7.
LABELLING QUESTION
1 min • 1 pt
What are the values in a, b, and c after executing each of the following statemets?
Answer explanation
Remember Java run in order top to bottom, so once something has changed that is the new value.
Create a free account and access millions of resources
Similar Resources on Quizizz
8 questions
PYTHON

Quiz
•
12th Grade
10 questions
JS Practice Array & Function

Quiz
•
9th - 12th Grade
7 questions
Java Basics #2

Quiz
•
10th - 12th Grade
10 questions
STRING MANIPULATION (PYTHON)

Quiz
•
11th - 12th Grade
12 questions
Python Variables Quiz

Quiz
•
12th Grade
15 questions
Unit 8 - Searching and Sorting

Quiz
•
9th - 12th Grade
10 questions
CSI U5L2 - Sequence & Selection

Quiz
•
10th Grade - University
10 questions
Python Data types

Quiz
•
5th - 12th 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
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
45 questions
Week 3.5 Review: Set 1

Quiz
•
9th - 12th Grade