
Java Programming Quiz
Authored by Gouthami Reddy
Engineering
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who developed Java and when?
James Gosling, 1991
Bjarne Stroustrup, 1985
Guido van Rossum, 1995
Dennis Ritchie, 1972
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is not a Java buzzword?
Robust
Secure
Platform Dependent
Object-Oriented
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of an int in Java?
2 bytes
4 bytes
8 bytes
Depends on OS
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Output of the code below? int a = 5, b = 2; System.out.println(a / b);
2.5
2
3
Compilation Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Correct way to declare an array in Java?
int arr[] = new int[5];
int arr = int[5];
arr[] = new int[5];
array int arr[5];
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this print? int[] nums = {1, 2, 3}; System.out.println(nums[1]);
1
2
3
Compilation Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Output of this code? int x = 10; x += 5 * 2; System.out.println(x);
20
30
25
15
Access all questions and much more by creating a free account
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
15 questions
BugBlitz
Quiz
•
University
9 questions
Natural Language Processing Quiz-1
Quiz
•
University
9 questions
Sem III- OOP Module 4 (2024-25)
Quiz
•
University
15 questions
Codigo
Quiz
•
University
10 questions
DataScience - 10
Quiz
•
University
15 questions
RoboRover
Quiz
•
University
15 questions
TECH WHIZ
Quiz
•
University
10 questions
Pseudocodigo y PSeInt
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Engineering
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University