
Java Programming Quiz

Quiz
•
Engineering
•
University
•
Medium
Gouthami Reddy
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Fundamentos del Diseño Web

Quiz
•
University
10 questions
Java Array Mastery

Quiz
•
University
15 questions
Quiz Master's 2.0

Quiz
•
University
13 questions
Mastering OOP Concepts in Java

Quiz
•
University
10 questions
Java Basics

Quiz
•
University
12 questions
Polymorphism Quiz

Quiz
•
University
9 questions
Repaso Rapido java programa

Quiz
•
University
14 questions
Python Syntax Quiz

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 Engineering
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