Chapter 2 Flashcards Preview

241 > Chapter 2 > Flashcards

Flashcards in Chapter 2 Deck (30)
Loading flashcards...
1
Q

data abstraction

A

separation of data type’s locical properties from its implementation

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

3
Q

abstraction

A

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

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

5
Q

instantiation

A

creating a new object

6
Q

allocating

A

setting aside space in memory

7
Q

data encapsulation

A

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

8
Q

abstract data type

A

data type whose properties are specified independently of any particular implementation

9
Q

abstract methoid

A

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

10
Q

signiture

A

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

11
Q

overloading

A

repeated use of a method name with a different signiture

12
Q

software testing

A

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

13
Q

unit testing

A

testing a class or method by itself

14
Q

functional domain

A

set of vailid input data

15
Q

black-box testing

A

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

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