📗 [1 points] (SU23M2Q4, S23M2Q5) Which of the following is a correct query string for route data that produces dict(flask.request.args) = {"name": "A", "id": "1"} IP:5000/data?name=A&id=1 IP:5000/data?name="A"&id=1 IP:5000/data?name=A,id=1 IP:5000/data?name="A",id=1
📗 [1 points] (SU23M2Q5, S22M2Q7, F22M2Q13, F21MQ13) If a flask app has the following routes, what does the app print when a user visits home.html of the site?
Ignore the order the letters are printed: X, Y, Z X, Z Y, Z Z
📗 [1 points] (SU23M2Q6) Which of the following image format should I use for a plot so that I can display it at high-resolution on an arbitrarily large screen? SVG PNG JPEG GIF
📗 [1 points] (SU23M2Q7) Suppose the total number of visits to version A and version B pages are fixed, say at 100 and 100. Which of the following will result in the smallest p-value for an A/B test? 75 clicks on A, 25 clicks on B 50 clicks on A, 50 clicks on B 75 clicks on A, 50 clicks on B 25 clicks on A, 50 clicks on B
📗 [1 points] (SU23M2Q9, S23M2Q6, F22M2Q5) What is the click-through rate of version A?
-
click
no-click
Version A
1
2
Version B
3
4
1/3 1/2 3/4 2/3
📗 [1 points] (S22M2Q3, F22M2Q7) When analyzing three contingency tables from an A/B test, scipy.stats.fisher_exact(df) returns 0.001 for table 1, 0.01 for table 2, and 0.1 for table 3. At a threshold for significance of 5 percent, for how many tests do we have statistically significant evidence that B has a different click-through-rate than A? 0 1 2 3
📗 [1 points] (SU23M2Q10, S23M2Q8, S23M2Q16, S22M2Q17, F22M2Q15) Where should we specify the "Retry-After" value for a specific route? status code query string request header response header
📗 [1 points] (S23M2Q4, S22M2Q10) What URL should be visited to get the page that displays "aaa"?
📗 [1 points] (new) Suppose the click-through information of four versions of the same page is summarized in the following table, and the UCB (upper confidence bound) algorithm is used to select the version to visit, which version will be visited next?
Version
LCB
CTR
UCB
A
0.4
0.5
0.6
B
0
0.4
0.8
C
0.1
0.3
0.5
D
-0.3
0.2
0.7
A B C D
📗 [1 points] (new) How many of the following visual encodings are more suitable for categorical data columns over ordinal data columns: (1) size, (2) shape (style), (3) color value (lightness or brightness), (4) color hue. 1 2 3 4