11-27 Data Types in Java
Quiz
•
Computers
•
8th Grade - University
•
Medium
Joshua Willis
Used 16+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a primitive data type?
double
Integer
String
List
Number
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a reference data type?
int
double
char
String
boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type should you use for decimals?
int
double
char
String
boolean
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type should you use for true and false?
int
double
char
String
boolean
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which best describes primitive data types in Java?
Primitive data types point to an object.
Primitive data types are rarely used in Java.
String is a primitive data type.
Primitive data types are the most basic building blocks of all code generated in Java.
Primitive data types are data types used by cave people to write code.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which best describes reference data types in Java?
Reference data types point to an object.
Reference data types are rarely used in Java.
boolean is a reference data type.
Reference data types are the most basic building blocks of all code generated in Java.
Reference data types are found in the boring section of the library.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int x;
/* What is the correct description of the code segment? */
The variable x has been declared as an int.
The variable x has been initialized as an int.
The variable x has been instantiated as an int.
The variable x has been referenced as an int.
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String str;
/* What is the correct description of the code segment? */
The variable str has been declared as a String.
The variable str has been initialized as a String.
The variable str has been instantiated as a String.
The variable str has been referenced as a String.
Similar Resources on Wayground
10 questions
SISTEM KOMPUTER KLS 9
Quiz
•
9th Grade
10 questions
Penilaian Harian-1, Pemrograman Berorientasi Objek (PBO)
Quiz
•
12th Grade
10 questions
Asesmen Diagnostik Informatika XI
Quiz
•
10th Grade
10 questions
Node.js
Quiz
•
University
10 questions
Software Testing
Quiz
•
University
10 questions
C++ Array Quiz
Quiz
•
University
10 questions
Testas: Saugesnis internetas
Quiz
•
11th Grade
11 questions
Ethical Issues of I.T.
Quiz
•
7th - 8th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
