
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
IA QUIZ 1
Quiz
•
University
10 questions
APP R1
Quiz
•
University
15 questions
Programming in C
Quiz
•
University
10 questions
OOP_1
Quiz
•
University
15 questions
Servlet Wipro
Quiz
•
University
14 questions
Quiz Análise Estrutural II
Quiz
•
University
11 questions
ข้อสอบหน่วยที่1
Quiz
•
University
10 questions
Internal Lab Quiz-1 CSECS
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Engineering
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University