Chapter 2 Flashcards

1
Q

data abstraction

A

separation of data type’s locical properties from its implementation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

information hiding

A

the practice of hiding details within a module with the goal of controlling access to the details from the rest of the system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

abstraction

A

model that includes only the details essential to the viewer’s perspective

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

deallocate

A

return the storagge space for an object to the pool of free memory so it can be reallocated to new objects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

instantiation

A

creating a new object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

allocating

A

setting aside space in memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

data encapsulation

A

separation of the representation of data from the applications that use the data at a logical level

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

abstract data type

A

data type whose properties are specified independently of any particular implementation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

abstract methoid

A

methoid declared in a class or an interface without a method body

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

signiture

A

distinguishing features of a method heading (method name and parameters)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

overloading

A

repeated use of a method name with a different signiture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

software testing

A

process of executing a program with data sets designed to discover errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

unit testing

A

testing a class or method by itself

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

functional domain

A

set of vailid input data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

black-box testing

A

testing program/method based on the possible input values (treat code as “black box”)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

software validation

A

process of determining the degree to which software fulfills its intended purpose (is this the correct job for this task?)

17
Q

software verification

A

process of determining the degree to which a software fulfills its specifications (are we doing the job correctly and is it running right?)

18
Q

deskchecking

A

tracing an execution ofa design or program on paper

19
Q

walk-through

A

verification method done by a team to perform manual simulation

20
Q

inspection

A

a verification method done by a team to read the program and point out errors

21
Q

test plan

A

document showing test cases for program

22
Q

test driver

A

a program that calls operations of individual classes

23
Q

self-referential class

A

class that has instance varaibles to hold a reference to an object of the same class (can the class reference itself)

24
Q

collection

A

obj holds other objects

25
Q

exceptional situation

A

unusual event dectectable by software or hardware

26
Q

unchecked exception

A

exception that does not need to be handled can happen anywhere in code (ex: div by zero or array out of bounds)

27
Q

inheritance of interface

A

when a class inherits an interface it gets its requirements

28
Q

can have multiple inheritance?

A

Yes as many as you want, however you can only extend one class

29
Q
A
30
Q

module

A

mathematical like equations or classes