
OOP Java Basics

Quiz
•
Information Technology (IT)
•
University
•
Hard
Fritzgerald Imperial
Used 4+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Java bytecode?
Machine code for Java applications
A compiled version of Java that runs on the JVM
A scripting language used by Java
The high-level Java source code
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a primitive data type?
int
float
String
boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of a byte in Java?
4 bits
8 bits
16 bits
32 bits
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about Java arrays?
Arrays can hold only objects
Arrays have a dynamic size by default
Arrays store elements of the same data type
Arrays do not allow duplicate values
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default value of an uninitialized int variable in a Java class?
0
null
undefined
-1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the Java compiler "javac" do?
Translates Java code into machine code
Converts Java source code into bytecode
Runs Java programs
Converts bytecode into machine code
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of System.out.println(10 / 5)?
2.5
2
2.0
2.25
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
prgramming

Quiz
•
6th Grade - University
17 questions
JavaQ1

Quiz
•
University
18 questions
Codean - Java Rekursi

Quiz
•
University
15 questions
Understanding Java Classes and Inheritance

Quiz
•
University
20 questions
Test Android

Quiz
•
University
10 questions
Quiz 4

Quiz
•
University
12 questions
Mastering Java Collections Framework

Quiz
•
University
12 questions
Викторина для ИТ специалистов

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 Information Technology (IT)
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