Prev: Q11, Next: Q13
Lecture notes of the week: W12



# QS12: Week 12 Survey Questions

📗 Enter your ID (the wisc email ID without @wisc.edu) here: and click (or hit the "Enter" key)
📗 Your answers are not saved when you refresh or close the browser. You could print the page: , solve the problems, then enter all your answers at the end.
📗 For all questions except for the last one, you can select one or more choices. You get the point for the question only if you selected all the correct choices.

📗 Question 0


📗 Question 1




📗 Question 2


📗 Question 3




📗 Question 4


📗 Question 5




📗 Question 6


📗 Question 7




📗 Question 8


📗 Question 9


# Grade


 ***** ***** ***** ***** ***** 

 ***** ***** ***** ***** *****

# Submission


📗 Please do not modify the content in the above text field: use the "Grade" button to update.


📗 Please wait for the message "Successful submission." to appear after the "Submit" button. If there is an error message or no message appears after 10 seconds, please email the instructor or make a Piazza post about it. You could submit multiple times (but please do not submit too often): only the latest submission will be counted.
📗 If there are problems with grading, please try Ctrl+F5 or Shift+F5 or Shift+Command+R or Incognito mode or Private Browsing to refresh the cached JavaScript.

📗 [1 points] In the fragment shader, which of the following expressions evaluate to 0.0?





None of the above.
📗 [1 points] In the fragment shader, which of the following expressions evaluate to 1.0?





None of the above.
📗 [1 points] If the following functions are sampled at t = 0, 1, 2, which ones will be aliases of (i.e. have the same sampled values as) Math.sin(t * Math.PI)?





None of the above.
📗 [1 points] In a fragment shader, if the value of v at the current pixel is 1.0 and the value of v at the pixel on the left is -1.0, on the right is 3.0, above the pixel is -2.0 and below the pixel is 4.0, which of the following are possible values of dFdx(v)? Assume the pixel to the left of the current pixel has a smaller x value.





None of the above.
📗 [1 points] In a fragment shader, if the value of v at the current pixel is 1.0 and the value of v at the pixel on the left is -1.0, on the right is 3.0, above the pixel is -2.0 and below the pixel is 4.0, which of the following are possible values of dFdy(v)? Assume the pixel above the current pixel has a smaller y value.





None of the above.
📗 [1 points] In the fragment shader, if dFdx(v) is 2.0 and dFdy(v) is -2.0, what is fwidth(v)?





None of the above.
📗 [1 points] [Correction] Which of the following lines transform the position of the light lp = vec3(1.0, 1.0, 1.0) in the scene coordinates to the camera coordinates in the vertex shaders (so that the light does not move with the camera)?
📗 Note: the answer is vec3(viewMatrix * vec4(lp, 1.0)), there is no need to multiply modelMatrix since the transformation for the vertices does not apply to the light position.





None of the above.
📗 [1 points] [Correction, last week's question was not clear] Which ones of the following evaluates to 1.0 in the shader? step(t, x) means x < t ? 0.0 : 1.0.





None of the above.
📗 [1 points] Please provide additional comments, questions, or feedback: 

📗 [1 points] Why are you submitting this survey?




Note: if you selected the third (please also email me) or forth choice, you only have to complete the last question.





Last Updated: May 07, 2024 at 12:22 AM