Computer Science 101 Quiz H Name ______________________ 1. The correct way to access a green pixel in the input image is: a. in_image[3 * inrow * incols + 3 * incol + 3] b. in_image[3 * inrow * incols + incol + 1] c. in_image[3 * inrow * incols + 3 * incol + 1] d. in_image[3 * incol * inrows + 3 * inrow + 1] 2. Suppose int inrows = 400, int outrows = 800, and int row = 100; What is the value of the expression: row / outrows * inrows a. 200 b. 50 c. 0 3. Correct way to write out the grayscale pixel data is: a. fwrite(out_image, 3, outrows * outtcols, stdout); b. fwrite(out_image, 1, outrows * outcols, stdout); c. fwrite(stdout, 3, outrows, outcols, out_image); 4. The correct way to access a gray pixel in the output image is: a. out_image[3 * row * outcols + col] b. out_image[row * outcols + col] c. out_image[col * outrows + row] d. out_image[3 * row * outcols + 3 * col]