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 Wayground
10 questions
PCEP Section 1E: Perform Input/Output console operations

Quiz
•
12th Grade
12 questions
Python Variables Quiz

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

Quiz
•
10th Grade - University
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
17 questions
Tracing Loops in Java

Quiz
•
12th Grade
15 questions
Recursion in Java

Quiz
•
11th - 12th Grade
8 questions
PYTHON

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

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade