Unit 1: Object-Oriented Programming - Vocabulary Flashcards


Set Details Share
created 1 year ago by AMAC0672
1 view
This set contains all of the vocabulary terms found within Unit 1: Object-Oriented Programming.
show moreless
Page to share:
Embed this setcancel
COPY
code changes based on your size selection
Size:
X
Show:

1

Software Engineer

A person who designs, develops, and tests software for home, school, and business use

2

Class Header

Consists of the class keyword and the name of the class

3

Integrated Development Environment (IDE)

A software application for writing, compiling, testing, and debugging program code

4

Software

A collection of instructions that is run by a computer

5

Source Code

A collection of programming commands

6

Syntax

The rules for how a programmer must write code for a computer to understand

7

Syntax Error

A mistake in the code that does not follow a programming language's syntax

8

Attribute

A characteristic of an object

9

Behavior

An action that an object can perform

10

Bug

An error in the code

11

Class

A programmer-defined blueprint from which objects are created

12

Constructor

A block of code that has the same name as the class and tells the computer how to create a new object

13

Debugging

Finding and fixing problems in an algorithm or program

14

Instantiate

To call the constructor to create an object

15

Object

An instance of a class

16

Object-Oriented Programming

An approach to creating and using models of physical or imagined objects

17

Package

A collection of similar classes

18

State

The attributes of an object that are represented by its instance variables

19

Procedural Abstraction

Allows a programmer to use a method by knowing what the method does even if they do not know how the method was written

20

Void Method

A method that performs an action but does not return a value

21

Argument

A value passed to a method or constructor when the method or constructor is called

22

Dot Operator

Used to call a method in a class

23

Method

A named set of instructions to perform a task

24

Parameter

A variable in the method or constructor signature that defines the type of value to receive when the method or constructor is called

25

boolean

A primitive data type that can be either true or false

26

if Statement

A conditional statement that only executes when the condition is true

27

Condition

Determines whether or not to execute a block of code

28

Conditional Statement

A statement that only executes when a condition is true

29

Logic Error

An error that occurs when the code runs but does not do what was expected

30

Return

To exit a method and go back to the point in the program that called it with the requested value or information

31

super Keyword

A keyword used to refer to the superclass

32

Constructor Signature

The first line of the constructor which includes the public keyword, the constructor name, and the values to specify when an object is created

33

Inheritance

An object-oriented programming principle where a subclass inherits the attributes and behaviors of a superclass

34

Subclass

A class that extends a superclass and inherits its attributes and behaviors

35

Superclass

A class that can be extended to create subclasses

36

Method Signature

Consists of a name and parameter list

37

Code Review

The process of examining code and providing feedback to improve the quality and functionality of the program

38

Comment

A text note that is ignored by the compiler to explain or annotate the code

39

Documentation

Written descriptions of the purpose and functionality of code

40

Programming Style

A set of guidelines for formatting program code

41

while Loop

A control structure which executes a block of code repeatedly as long as a condition is true

42

Algorithm

A set of instructions to solve a problem or accomplish a task

43

Control Structure

A conditional or iteration statement which affects the flow of a program

44

Efficient

Getting the best outcome with the least amount of waste

45

Infinite Loop

A loop where the Boolean expression always evaluates to true

46

Iteration Statement (loop)

A control structure that repeatedly executes a block of code

47

Pseudocode

A plain language description of the steps in an algorithm

48

NOT ( ! ) Operator

A logical operator that returns true when the operand is false and returns false when the operand is true

49

if-else Statement (Two-Way Selection Statement)

Specifies a block of code to execute when the condition is true and a block of code to execute when the condition is false

50

Logical Operator

An operator that returns a Boolean value

51

Concatenation

Joining two strings together

52

Method Decomposition

The process of breaking a problem down into smaller parts to write methods for each part

53

Edge Case

A bug that occurs at the highest or lowest end of a range of possible values or in extreme situations

54

Redundant Code

Code that is unnecessary

55

Inheritance Hierarchy

Where a class serves as a superclass for more than one subclass

56

Open Source Code

Code that is freely available for anyone to use, study, change, and distribute