Java Basics
Java Compilation
OOP Concepts
Programming & Data
Computer Systems
100

What data type can only have two possible values: true or false?

Boolean

100

What program translates Java source code into bytecode?

Java Compiler

100

What programming style organizes programs using objects and classes?

OOP (Object-Oriented Programming)

100

What programming structure repeats a block of code multiple times?

Loop

100

What type of memory temporarily stores information while a computer is running?

RAM

200

What is used to store a sequence of characters, such as a person's name?

String

200

What is the intermediate code created after Java source code is compiled?

Bytecode

200

What concept protects data by keeping it together with the methods that operate on it?

Encapsulation

200

What access modifier restricts access to members within their own class?

Private

200

What part of the JVM executes bytecode through interpretation or just-in-time compilation?

Execution Engine

300

What data type is used to store decimal numbers with double precision?

Double

300

What files contain compiled Java bytecode and end with .class?

Class Files

300

What concept allows one class to receive properties and methods from another class?

Inheritance

300

What access modifier allows members to be accessed from other classes?

Public

300

What virtual machine allows Java bytecode to run on different operating systems?

Java Virtual Machine (JVM)

400

What is a reusable block of code that performs a specific task?

Function

400

What is the binary language that a computer's processor directly understands?

Machine Code

400

What concept allows one method or object to take different forms or behave differently?

Polymorphism

400

What concept hides complicated programming details and shows only essential information?

Abstraction

400

What are requests made by programs to the operating system to access services such as files and input/output?

O.S. Calls