Unit 1 - Using Objects and Methods Vocab

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

1/58

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

59 Terms

1
New cards

Sofware engineer

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

2
New cards

Algorithm

A finite set of instructions that accomplish a task

3
New cards

Sequencing

Defines an order for when steps in a process are completed

4
New cards

Class header

Consists of hte class keyword and thename of the class

5
New cards

comment

a text note to explain or annotate the code and is ignored when the program is run

6
New cards

source code

a collection of programming commands

7
New cards

syntax

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

8
New cards

syntax error

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

9
New cards

attribute

a characteristic of an object

10
New cards

behavior

an action that an object can perform

11
New cards

class

a programmer defined blueprint from which objects are created

12
New cards

object

an instance of a class

13
New cards

object oriented programming

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

14
New cards

constructor

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

15
New cards

Instantiate

to call the constructor to create an object

16
New cards

dot operator

used to call a method in a class

17
New cards

method

a named set of instructions to perform a task

18
New cards

argument

the specific value provided when a method or construcor is called

19
New cards

parameter

defines the type of value to recieve when a method or constructor is called

20
New cards

string literal

a sequence of characters enclosed in quotation marks ( ““ )

21
New cards

Inheritance

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

22
New cards

subclass

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

23
New cards

superclass

a class that can be extended to create subclasses

24
New cards

tester class

the class that contains the main method and from where the programstarts running

25
New cards

method signature

consists of a name and parameter list

26
New cards

return

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

27
New cards

return type

the value returned before a method completes its execution and exits

28
New cards

void

specifies that a method should not have a return value

29
New cards

code review

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

30
New cards

commit

an operation which saves the latest changes of the code and represents a snapshot of a project

31
New cards

documentation

written desciprtions of the purpose and functionality of code

32
New cards

postcondition

a condition that must always be true just after execution of a code segment

33
New cards

precondition

a condition that must always be true just before the execution of a code segment

34
New cards

programming style

a set of guidelines and best practices for formatting program code

35
New cards

data type

the format of the data that can be stored in a variable

36
New cards

declaration

giving a name and data type to a variable

37
New cards

variable

a container that stores a value in memory

38
New cards

constructor signature

the first line of the constructor which includes the public keyword, theconstrucor name, and any parameters

39
New cards

default value

a predefined value that is used by a program when the user does not provide a value

40
New cards

actual parameter

the value t oassing to the formal parameter

41
New cards

call by value

copying the value of the actual parameter to the construcotr’s formal parameter

42
New cards

formal parameter

the value to be passed to a constructor or method

43
New cards

local variable

a variable declared and accessible within a specific block of code

44
New cards

overloading

defining two or more constructors or methods with the sam ename but different signatures

45
New cards

parameterized constructor

a constructor that has a specific number of arguents to be passed to assign values to an object’s instance variables

46
New cards

state

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

47
New cards

application program interface ( API ) 

a library of preweritten classes

48
New cards

library

a collection of methods or reusable components of code

49
New cards

assignment

using the assignment operator ( = ) to initialize or change the value stores in a variable

50
New cards

initialization

giving a starting value to a variable using the assingment operator ( = ) . 

51
New cards

primitive type

a basic data type that Java predifines

52
New cards

reference type

a data type that contains a pointer to the memory location of an object

53
New cards

componud assingment operator

shortcut syntax to perform an operation on both operands and assignthe result into the variable on the left

54
New cards

compound expression

a combination of expressions

55
New cards

concatenation

when two string s are joined together

56
New cards

expression

a combination of data and operators that evaluates to a single value

57
New cards

operand

the data that is operated on

58
New cards

truncate

to cut off data from the end

59
New cards

constant

a variable whose value cannot be changed once it has been assigned