Image Processing

Image Processing

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Pixels get their color from a combination of which colors?

Media Image

Back

red green blue

2.

FLASHCARD QUESTION

Front

What does the following code do? Options: Makes a blue filter across the entire picture, Draws a blue rectangle that is 150 pixels high and 20 pixels wide, Draws a blue rectangle that is 150 pixels wide and 20 pixels high, Changes the pixel at (50, 200) and the pixel at (50, 70) to blue

Media Image

Back

Draws a blue rectangle that is 150 pixels high and 20 pixels wide

3.

FLASHCARD QUESTION

Front

What does the following code do?

Media Image

Back

Turns the last 100 columns blue

4.

FLASHCARD QUESTION

Front

What does len(img) represent in line 6?

Media Image

Back

The height of the image in pixels

5.

FLASHCARD QUESTION

Front

What does sum(img[r][c]) represent in line 8?

Media Image

Back

The total brightness of each pixel

6.

FLASHCARD QUESTION

Front

What is the alpha channel?

Back

A fourth byte that determines the transparency of a pixel in certain types of image files

7.

FLASHCARD QUESTION

Front

Given that img is a variable that represents a 2 dimensional array of pixels, what could be a possible value of img[12][1]?

Media Image

Back

[0, 80, 200]

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?