
Java Quizathon

Quiz
•
Computers
•
University
•
Medium
Keerthi GJ
Used 2+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is wrong with the following Java variable declaration?
int 1stNumber = 23;
There is no data type called 'int'
Variable names can not start with a digit
Variable names can not contain digits
Number 23 can not be stored in an int
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Following set of data items are to be stored about a student
a. Students name
b. Students current age in years
c. Students weight in kg
d. Students gender
Which of the following data types will match best with these
a. String
b. int
c. String
d. String
a. String
b. float
d. int
d. int
a. String
b. int
c. float
d. boolean
a. String
b. int
c. float
d. char
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following data is the 'smallest' data type that can be used to hold the 'distance between Earth to Mars' in km.
(Average distance between Earth and March is 234,460,000 km)
byte
int
long
short
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of the following code?
x is 0
x is 1
x is 2
x is 3
x is 4
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Java is a
Procedure Oriented Language
Structure Oriented Language
Object_Oriented Language
Machine Language
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The name of the following should be the file name in Java
Object Name
Variable Nam
Class Name
Array Name
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The name of the following should be the file name in Java
Object Name
Variable Nam
Class Name
Array Name
Create a free account and access millions of resources
Similar Resources on Wayground
45 questions
Event Driven Handouts 1 & 2

Quiz
•
University
45 questions
Reviewer COMP 20083 - Object Oriented Programming Quiz 1

Quiz
•
University
47 questions
PPS TEST 4

Quiz
•
University
50 questions
selenium mock test - 02/05/19 - 12:21

Quiz
•
University - Professi...
50 questions
Midterm Examination

Quiz
•
University
53 questions
Java Fundamentals Challenge

Quiz
•
University
50 questions
UTS PEMROGRAMAN MOBILE

Quiz
•
University
48 questions
Java Quiz_1

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University