Object-Oriented Design and Decision Structures

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/20

flashcard set

Earn XP

Description and Tags

These flashcards cover key terms and concepts related to Object-Oriented Design and Decision Structures in Computer Science, particularly for the CS-201 course.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

21 Terms

1
New cards

Class

A blueprint or template for creating objects that specifies fields and methods.

2
New cards

Object

An instance created from a class containing data and procedures.

3
New cards

Instance

A specific object created from a class.

4
New cards

Method

A procedure or behavior that can be performed by an object.

5
New cards

Field/Attribute

Data contained in an object.

6
New cards

UML Class Diagram

A diagram used to represent the classes and their relationships in object-oriented design.

7
New cards

Accessor Method

A method that retrieves or accesses data from an object.

8
New cards

Mutator Method

A method that modifies or mutates the value of an object's field.

9
New cards

Static Variable

A variable that is shared among all instances of a class.

10
New cards

Instance Variable

A variable that is unique to each instance of a class.

11
New cards

Conditional Operator

A ternary operator that provides a shorthand method for expressing a simple if-else statement.

12
New cards

Switch Statement

A control statement that allows variable testing against multiple values.

13
New cards

Logical Operators

Operators that connect two or more relational expressions to alter or combine their logic.

14
New cards

Nested IF Statement

An if statement placed inside another if statement to test multiple conditions.

15
New cards

Scanner Class

A class used to read input from various sources, primarily user input from the keyboard in Java.

16
New cards

DecimalFormat Class

A class used to format numbers to specific patterns, such as decimal places.

17
New cards

Ternary Operator

An operator that takes three operands and is used to create concise conditional expressions.

18
New cards

IF-ELSE Statement

A control structure that executes one block of statements if a condition is true, and another block if it is false.

19
New cards

Relational Operators

Operators used to compare two values, returning true or false based on the comparison.

20
New cards

Instance Method

A method that is called on an object and has access to instance variables.

21
New cards

Static Method

A method that belongs to a class rather than any specific instance; it can be called without creating an object.

Explore top flashcards