Question
QUESTION 11 When instantiating a class and assigning the resulting object to a variable, what is the right side of the assignment called? a. The
QUESTION 11
-
When instantiating a class and assigning the resulting object to a variable, what is the right side of the assignment called?
a. The instantiator statement.
b. The creator statement.
c. The constructor statement.
d. The spawner statement.
1 points
QUESTION 12
-
Why is the conversion of an image to grayscale by simply computing the average of a pixel less than ideal?
a. The conversion does not take luminance into account.
b. The conversion will cause some areas of the image to be invisible
c. The conversion will make details that are red or green in color hard to see.
d. The conversion will still contain non-grayscale colors.
1 points
QUESTION 13
-
A black-and-white photograph contains more than just the black and white colors, but various shades of gray known by what term?
a. graymap
b. grayscale
c. grayshade
d. graycurve
1 points
QUESTION 14
-
Assuming you have an images module object named i, what method can you use to change the pixel at coordinate 238, 590 to red?
a. i.Pixel(238, 590, (0, 0, 255))
b. i.modPixel(238, 590, (255, 0, 0))
c. i.chgPixel(590, 238, (0, 255, 0))
d. i.setPixel(238, 590, (255, 0, 0))
1 points
QUESTION 15
-
Generally, an object's state is the set of values of its attributes at any given point in time.
True
False
1 points
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started