Java Basics
Quiz
•
Other, Computers
•
Professional Development
•
Practice Problem
•
Hard
SrinivasaRao SrinivasaRao
Used 98+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which four options describe the correct default values for array elements of the types indicated?
1, 2, 3, 4
1, 3, 4, 5
2, 4, 5, 6
3, 4, 5, 6
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of these lists contains only Java programming language keywords?
class, if, void, long, Int, continue
try, virtual, throw, final, volatile, transient
goto, instanceof, native, finally, default, throws
strictfp, constant, super, implements, do
byte, break, assert, switch, include
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which will legally declare, construct, and initialize an array?
int [] myList = {"1", "2", "3"};
int [] myList = (5, 8, 2);
int myList [] [] = {4,9,7,0};
int myList [] = {4, 3, 7};
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is a valid keyword in java?
interface
string
Float
unsigned
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which three are legal array declarations?
2, 3, 4
2, 4, 5
1, 2, 4
All are correct.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which three are valid declarations of a float?
1, 2, 4
2, 3, 5
1, 3, 6
2, 4, 6
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the numerical range of a char?
-128 to 127
-(215) to (215) - 1
0 to 32767
0 to 65535
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Games Tebak-tebakan
Quiz
•
7th Grade - Professio...
20 questions
WCD_Khnadwa
Quiz
•
Professional Development
20 questions
BG Chapter 13
Quiz
•
Professional Development
20 questions
Revision Test
Quiz
•
Professional Development
20 questions
Weeb prudence
Quiz
•
7th Grade - Professio...
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
20 questions
Ẩm thực đường phố Việt
Quiz
•
Professional Development
20 questions
Harmoni 22-24 Feb 2023
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd 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
