IsAP Flashcards
1
Q
REST stands for
A
Representational State Transfer
2
Q
what is an Idempotent request?
A
A request that is safe to do over and over
a GET request is safe because it doesn’t change the database
a DELETE request is safe because once the original data is deleted (on the first request), nothing else will be deleted if you keep running the exact same Delete request
3
Q
What is an envelope?
A
v
4
Q
What is a Collection?
A
f
5
Q
import test def distance(x1, y1, x2, y2): return 0.0
test.testEqual(distance(1, 2, 1, 2), 0)
A
import test def distance(x1, y1, x2, y2): return 0.0
test.testEqual(distance(1, 2, 1, 2), 0)
6
Q
How many digits to the right of the decimal point does test.testEqual check?
A
testEqual checks 5 digits to the right of the decimal point