Software Design

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/46

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.

47 Terms

1
New cards

Stack

a region of memory available to a running program. It

stores information about methods that are currently being executed

along with the values of their local variables.

2
New cards

Heap

a region of memory available to a running program that is

set aside for dynamic allocation.

3
New cards

Logic error

an error that causes a program to do the wrong thing

4
New cards

Run time error

an error that is identified by the Java Virtual

Machine (JVM) during the execution of a program

5
New cards

Compile time error

an error in the syntax of the program that is

identified by the compiler

6
New cards

Bug

a problem in a computer program

7
New cards

exception

a special type of object in Java that represents an

unexpected or unwanted event

8
New cards

file

a persistent record of data on a computer system

9
New cards

file system

a layer of abstraction used by the operating system to

manage and organize the data and instructions on the computer

10
New cards

file path

provides a way to identify a file by traversing the file

system. Components of a path are separated with a special path

separator character

11
New cards

absolute path

provides a (unique) way to identify a file by

traversing the file system starting from the root.

12
New cards

relative path

provides a way to identify a file relative to a working

directory (location)

13
New cards

text file

a file whose contents should be interpreted as text

14
New cards

binary file

a computer file whose contents should be interpreted as

something other than text

15
New cards

Inheritance

a mechanism that allows for writing common code in one

class and sharing it across several related classes

16
New cards

method overriding

when a child class replaces a method that it

inherited from a parent with its own implementation

17
New cards

method overloading

when the same method name is used for several

methods that differ in their parameter lists

18
New cards

Polymorphism

the occurrence of something (e.g., a method) in

several different forms

19
New cards

data structure

a programming construct that is used to store and

organize information in some way

20
New cards

class method

a method in a class that has the static modifier

21
New cards

class variable

a variable declared at class scope with the static modifier; because the variable has class scope, it cna be used anywhere within the class

22
New cards

class constant

a class variable whose declaration includes the final modifier, which indicates that the variable can only be assigned to once

23
New cards

algorithm

is a step by step procedure that is used to solve a specific problem

24
New cards

pseudo code

a simplified programming language that is used to provide a high level description of an algorithm

25
New cards

object

a container that stores related pieces of information of potentially different types

26
New cards

class

a container for related data and methods

27
New cards

instance variable

a non-static varible declared at class scope

28
New cards

constructor

a method that is used to instantiate (build, create) a new instance (object) of the class

29
New cards

encapsulation

the idea or restricting access to internal components

30
New cards

array

a contiguous segment of memory used to store multiple elements of the same type

31
New cards

control structure

a programming construct that can modify the control flow, typically by selecting one of the several possible paths to follow or repeating a sequence of statements

32
New cards

search

the process of looking for an element within a collection of elements

33
New cards

linear search

a search process that inspects each element in a collection in a sequential fashion, one at a time

34
New cards

control flow

is the order in which individual statements in a program are executed

35
New cards

method

a named block of instructions. the block can be run by using the name of the method in a method invocation

36
New cards

void method

a method whose returnType is the keyword void. Such methods do not produce any output, and instead are typically called for their effects (ex. printing a message)

37
New cards

non-void method

is a method whose returnType is an actual data type (ex. int, string). Such methods produce (return) an output when called

38
New cards

scope

the region of code in which the variable may be used

39
New cards

javadoc comment

a special block comment associated with a method that describes the inputs to and/or outputs from the method

40
New cards

method overloading

when the same method name is used for several methods that differ in their parameter lists

41
New cards

while loop

allows for the repeated execution of a group of statements while a specified condition is true, with execution stopping once the condition is false

42
New cards

definite loop

a loop in which the number of repetitions is known by the programmer prior to execution of the loop

43
New cards

indefinite loop

is a loop where the programmer does not know the number of repetitions prior to the execution

44
New cards

infinite loop

a loop that runs forever

45
New cards

one way conditional statement

allows for the execution of a group of clause statements if a specified condition is true

46
New cards

two way conditional statement

allows for the execution of one group of statements if a condition is true, and another group of statement if the condition is false

47
New cards

nested conditional

a conditional that includes additional conditional statements inside of its if and/or else bodies