{ "@context": "https://schema.org", "@type": "Organization", "name": "Brainscape", "url": "https://www.brainscape.com/", "logo": "https://www.brainscape.com/pks/images/cms/public-views/shared/Brainscape-logo-c4e172b280b4616f7fda.svg", "sameAs": [ "https://www.facebook.com/Brainscape", "https://x.com/brainscape", "https://www.linkedin.com/company/brainscape", "https://www.instagram.com/brainscape/", "https://www.tiktok.com/@brainscapeu", "https://www.pinterest.com/brainscape/", "https://www.youtube.com/@BrainscapeNY" ], "contactPoint": { "@type": "ContactPoint", "telephone": "(929) 334-4005", "contactType": "customer service", "availableLanguage": ["English"] }, "founder": { "@type": "Person", "name": "Andrew Cohen" }, "description": "Brainscape’s spaced repetition system is proven to DOUBLE learning results! Find, make, and study flashcards online or in our mobile app. Serious learners only.", "address": { "@type": "PostalAddress", "streetAddress": "159 W 25th St, Ste 517", "addressLocality": "New York", "addressRegion": "NY", "postalCode": "10001", "addressCountry": "USA" } }

Chapter 2 Flashcards

(30 cards)

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
exceptional situation
unusual event dectectable by software or hardware
26
unchecked exception
exception that does not need to be handled can happen anywhere in code (ex: div by zero or array out of bounds)
27
inheritance of interface
when a class inherits an interface it gets its requirements
28
can have multiple inheritance?
Yes as many as you want, however you can only extend one class
29
30
module
mathematical like equations or classes