Grade 12 STEM Technology TRB - Java and C++ Review Flashcards

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/56

flashcard set

Earn XP

Description and Tags

This document contains flashcards to help students review their lecture notes on Java and C++ programming.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

57 Terms

1
New cards

Java

A high-level programming language released in 1995 by Sun Microsystems, running on various platforms like Windows and Mac OS.

2
New cards

Object Oriented

Everything in Java is an Object.

3
New cards

Platform Independent

Java is compiled into platform-independent byte code.

4
New cards

Secure

Java's secure feature enables the creation of virus-free and tamper-proof systems.

5
New cards

Architecture-neutral

The Java compiler generates an architecture-neutral object file format.

6
New cards

Portable

Java is portable because it is architecture-neutral and has no implementation-dependent features.

7
New cards

Robust

Java focuses on compile-time error checking and runtime error checking.

8
New cards

Objects

States and Behaviors

9
New cards

Class

Template/blueprint that outlines behavior/state that an object supports.

10
New cards

Instance Variables

Each object has a collection of these variables unique to it.

11
New cards

main()

Java program processing starts from _ method.

12
New cards

Java Enums

Used to limit a variable's value to one of a few predefined options.

13
New cards

Access Modifiers

default, public, protected, private

14
New cards

Non-access Modifiers

final, abstract, strictfp

15
New cards

Object-Oriented Concepts

Object, Class, Instance, Method, Message Passing

16
New cards

Create

The new keyword in Java is used to new objects.

17
New cards

Constructor

A special method used to initialize objects when they are created.

18
New cards

No argument Constructors

A constructor that does not accept any parameters.

19
New cards

Parameterized Constructors

A constructor that takes one or more parameters.

20
New cards

Primitive Data Types in Java

byte, short, int, long, float, double, boolean, char

21
New cards

Variable

A type of named storage that programs can access.

22
New cards

Local Variables

Variables defined inside method, constructor or blocks.

23
New cards

Instance Variables

Variables declared in a class, but outside a method, constructor, or any block.

24
New cards

Class/Static Variables

Variables that are declared in a class but outside of a method, constructor, or block using the static keyword.

25
New cards

Access Modifiers in Java

default, public, private, protected

26
New cards

Java Modifiers

Keywords that modify class, method, variable.

27
New cards

Operator Precedence

The order in which terms in an expression are grouped.

28
New cards

Loop

A statement that executes a block of code multiple times.

29
New cards

Decision Making statements in Java

if, if…else, nested if, switch

30
New cards

Primitive data types used when working with Numbers

byte, int, long, double

31
New cards

Java Packages

Used to avoid naming conflicts, limit access, and to classify.

32
New cards

Exception Hierarchy in Java

Exception, RuntimeException, Errors

33
New cards

Catch

The try and catch keywords are used to ____ an exception.

34
New cards

Throws

Keyword that must be used to declare if a method does not handle a checked exception.

35
New cards

Finally

This block always executes, regardless of whether or not an exception occurs.

36
New cards

Inner Classes

Nested classes.

37
New cards

Inheritance

Mechanism through which one class inherits properties of another.

38
New cards

extends

keyword used to inherit a class's properties.

39
New cards

Subclass

This superclass reference variable can hold the _ object.

40
New cards

IS-A Relationship

A way of saying: This object is a type of that object.

41
New cards

HAS-A relationship

These connections are primarily based on consumption.

42
New cards

Overriding

Override the functionality of an existing method.

43
New cards

Polymorphism

An object's ability to take on multiple forms.

44
New cards

Abstraction

The ability to deal with ideas rather than occurrences.

45
New cards

Encapsulation

The mechanism for combining data and code into a single unit.

46
New cards

Interfaces

A contract between objects that specifies how they will communicate with one another.

47
New cards

Inheritance

The process through which one class inherits the properties of another is known as

48
New cards

POST and GET

Two data transmission types used with HTML Forms.

49
New cards
50
New cards
51
New cards
52
New cards
53
New cards
54
New cards
55
New cards
56
New cards
57
New cards