Quiz Summary
0 of 11 questions completed
Questions:
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Results
Results
0 of 11 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 11
1. Question
Translation: What is the correct line of code that defines a translation matrix that shifts an image 10 pixels up and 20 pixels to the right?
CorrectIncorrect -
Question 2 of 11
2. Question
Translation: What is the correct line of code that defines a translation matrix that shifts an image 30 pixels down and 180 pixels to the left?
CorrectIncorrect -
Question 3 of 11
3. Question
Rotation: Positive values of theta (the angle we rotate an image by) will rotate an image:
CorrectIncorrect -
Question 4 of 11
4. Question
Rotation: Negative values of theta will rotate an image:
CorrectIncorrect -
Question 5 of 11
5. Question
Rotation: What is the correct line of code to construct a matrix that will rotate an image 177 degrees clockwise?
CorrectIncorrect -
Question 6 of 11
6. Question
Resizing: Modify the
resize.py
script to resize ourtrex.png
image to have a width of 66 pixels. What is the height that maintains the aspect ratio?CorrectIncorrect -
Question 7 of 11
7. Question
Resizing: Modify the
resize.py
script to resize ourtrex.png
image to have a height of 110 pixels. What is the width that maintains the aspect ratio?CorrectIncorrect -
Question 8 of 11
8. Question
Flipping: What is the correct line of code to flip an image horizontally?
CorrectIncorrect -
Question 9 of 11
9. Question
Flipping: What is the correct line of code to flip an image vertically?
CorrectIncorrect -
Question 10 of 11
10. Question
Cropping: I want to extract a rectangular region from my image starting at x=9, y=47 and ending at x=97, y=96. What is the correct line of code to perform this cropping?
CorrectIncorrect -
Question 11 of 11
11. Question
Cropping: Now, suppose I want to extract a second rectangular region from my image starting at x=1, y=48 and ending at x=80, y=69. What is the correct line of code to perform this cropping?
CorrectIncorrect