IsAP Flashcards

1
Q

REST stands for

A

Representational State Transfer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

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

What is an envelope?

A

v

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

What is a Collection?

A

f

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

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