Java Basics

Quiz
•
Other, Computers
•
Professional Development
•
Hard
SrinivasaRao SrinivasaRao
Used 93+ times
FREE Resource
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
Similar Resources on Wayground
20 questions
C CODE MASTER A

Quiz
•
Professional Development
25 questions
debug quiz part 2

Quiz
•
Professional Development
20 questions
CodeMonkey

Quiz
•
1st Grade - Professio...
28 questions
Java Chapter 4 Review Questions

Quiz
•
Professional Development
20 questions
Module 1 Exercise (Python)

Quiz
•
Professional Development
20 questions
PLC

Quiz
•
12th Grade - Professi...
23 questions
Sec+ Extra Study

Quiz
•
Professional Development
20 questions
Python

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development