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
10 questions
JS Practice Array & Function

Quiz
•
9th - 12th Grade
10 questions
AP CSP Review

Quiz
•
9th - 12th Grade
13 questions
APCSA Unit 3 Review

Quiz
•
9th - 12th Grade
15 questions
AP CSP Unit 4

Quiz
•
10th - 12th Grade
8 questions
PYTHON

Quiz
•
12th Grade
13 questions
Unit 4 AP CSA Review

Quiz
•
12th Grade
10 questions
Alghorithma

Quiz
•
12th Grade - University
10 questions
Unit 6

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University