Programming Basics

Java and OOP Concepts
Java Compilation Process
Low-Level Computing
100

A reusable block of code that performs a specific task.

What is a function?

100

A programming style based on creating objects that contain data and behaviors.

What is object-oriented programming?

100

The program that translates Java source code into an intermediate form.

What is the Java compiler?

100

A human-readable representation of machine instructions using mnemonics.

What is assembly language?

200

A data type used to store sequences of characters like words or sentences.

What is a string?


200

The process of hiding complex details and only showing essential features.

What is abstraction?


200

The platform-independent instructions created after compiling Java code.

What is bytecode?


200

The binary instructions executed directly by the CPU.

What is machine code?


300

A data type that can only store two values: true or false.

What is a boolean?

300

Protecting data by keeping it inside an object and controlling access to it.

What is encapsulation?

300

The software layer that runs Java bytecode on any device or operating system.

What is the JVM?

300

Partially compiled files that contain machine code but aren’t fully linked yet.

What are object files?

400

A variable type that stores decimal numbers with double precision.

What is a double?

400

A mechanism where one class can reuse and build upon another class’s code.

What is inheritance?

400

The files generated by the Java compiler that contain bytecode.

What are class files?


400

The temporary working memory where programs store data during execution.

What is RAM?

500

A structure that repeats code while a condition is true.

What is a loop?

500

The ability of one method or object to behave differently depending on context.

What is polymorphism?

500

The part of the JVM responsible for actually running the bytecode instructions.

What is the execution engine?

500

Requests made by programs to get services from the operating system.

What are OS calls?