BlackBox Programming Flashcards

1
Q

What is a Black Box

A

The person inputting knows what the output is, but they don’t know how the program achieved that output.

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

Precondition

A

A condition that must be true in order for the method to work as expected

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

Postcondition

A

A condition that is guaranteed to be true after a method is called, given that the preconditions were met

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

What does API stand for

A

Application Program Interface

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

What does an API do?

A

Allows applications to interact with another piece of software

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

Abstraction

A

Underlying code from software accessed from an API is not shown

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

Libraries

A

The collection of code that implements the API

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

Package

A

Group of related classes and interfaces, allow for easy access to classes that provide a certain type of functionality
Example: java.util package

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