WEEK 1 - Java Fundamentals

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/43

encourage image

There's no tags or description

Looks like no tags are added yet.

44 Terms

1
New cards

What is Java?

A programming language used to create applications.

2
New cards

What is programming?

Writing instructions that a computer executes

3
New cards

What is source code?

Human-readable instructions written in a programming language.

4
New cards

What is a compiler?

Software that translates source code into another form.

5
New cards

What is bytecode?

Java's compiled instructions executed by the JVM.

6
New cards

What is the JVM?

Java Virtual Machine; executes Java bytecode.

7
New cards

What is the JDK?

Java Development Kit; tools for developing Java programs.

8
New cards

What is an IDE?

Software used to write, run, and debug code.

9
New cards

What is IntelliJ IDEA?

An IDE used to develop Java programs.

10
New cards

What is a class?

A blueprint defining an object's data and behavior.

11
New cards

What is an object?

An instance of a class.

12
New cards

What is a variable?

A named location that stores a value.

13
New cards

What is a data type?

Specifies what kind of value a variable can hold.

14
New cards

What is int?

A primitive type for whole numbers.

15
New cards

What is double?

A primitive type for decimal numbers.

16
New cards

What is boolean?

A primitive type holding true or false.

17
New cards

What is char?

A primitive type for a single character.

18
New cards

What is String?

A class representing a sequence of characters.

19
New cards

What is a statement?

An instruction executed by a program.

20
New cards

What is an expression?

Code that evaluates to a value.

21
New cards

What is an operator?

A symbol that performs an operation.

22
New cards

What is assignment (=)?

Stores a value in a variable.

23
New cards

What is equality (==)?

Compares primitive values or object references.

24
New cards

What is a condition?

An expression evaluated as true or false.

25
New cards

What is an if statement?

Executes code when a condition is true.

26
New cards

What is else?

Runs when the preceding if condition is false.

27
New cards

What is a loop?

Repeats instructions while conditions allow.

28
New cards

What is a while loop?

Repeats while its condition remains true.

29
New cards

What is a for loop?

A loop commonly used with a counter.

30
New cards

What is a method?

A named block of code that performs a task.

31
New cards

What is a parameter?

A variable declared in a method's parameter list.

32
New cards

What is an argument?

A value supplied when calling a method.

33
New cards

What is return?

Ends a method and optionally returns a value.

34
New cards

What is void?

Indicates that a method returns no value.

35
New cards

What is static?

Belongs to the class rather than an instance.

36
New cards

What is public?

Allows access from other classes.

37
New cards

What is private?

Restricts access to the declaring class.

38
New cards

What is main()?

The usual entry point for a Java application.

39
New cards

What is Scanner?

A class used to read and parse input.

40
New cards

What is a comment?

Text explaining code that Java ignores during execution.

41
New cards

What is a syntax error?

Code that violates Java's language rules.

42
New cards

What is a runtime error?

A problem occurring while a program executes.

43
New cards

What is a logic error?

Code runs but produces incorrect behavior or results.

44
New cards

What is debugging?

Finding and fixing problems in a program.