Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 1 out of 2 pages
Exam (elaborations)

Code HS || PRACTICE QUESTIONS WITH CORRECT ANSWERS!!

Document preview thumbnail
Preview 1 out of 2 pages

What is data abstraction? correct answers The process of simplifying complicated data into manageable chunks Which of the following are examples of encoding information? correct answers Representing fast food meals as numbers on the menu. For example a number 1 represents a hamburger. Assigning a numeric value to every area of a region, for example zip codes in the United States Assigning a number to every character of the alphabet so we can represent sentences as series of simple digits. What is the number base of the binary number system? correct answers 2 In the binary value 1002, what is the place value of the 1? correct answers 4s place How many possible values can be created with only 2 bits? correct answers 4 How many bits are used to encode a character according to the ASCII encoding scheme? correct answers 8 bits (ex: encodes 'A') What is a pixel? correct answers A single tiny dot, or square, of color in a digital image. What is the value of 9F16 in binary? correct answers What is the value of F16 in decimal? correct answers 15(10) What are the 3 color channels that make up a pixel according to the RGB color scheme? correct answers Red, Green, and Blue What is the range of values (expressed in decimal) that each color channel can have? correct answers (0)10 - 255(10) Which of the following pixels has a color value of #ff0000 (expressed in hexadecimal) correct answers (Red Pixel) Which of the following instructions would brighten a pixel? Assume R is the red value of the pixel, G is the green value, and B is the blue value. correct answers R = M(R + 50, 255); G = M(G + 50, 255); B = M(B + 50, 255); Which of the following describes the instructions for a general image filter? correct answers Given an image: for every (x, y) coordinate in the image

Content preview

Code HS || PRACTICE QUESTIONS WITH CORRECT
ANSWERS!!
What is data abstraction? correct answers The process of simplifying complicated data into
manageable chunks

Which of the following are examples of encoding information? correct answers Representing
fast food meals as numbers on the menu. For example a number 1 represents a hamburger.

Assigning a numeric value to every area of a region, for example zip codes in the United
States

Assigning a number to every character of the alphabet so we can represent sentences as series
of simple digits.

What is the number base of the binary number system? correct answers 2

In the binary value 1002, what is the place value of the 1? correct answers 4s place

How many possible values can be created with only 2 bits? correct answers 4

How many bits are used to encode a character according to the ASCII encoding scheme?
correct answers 8 bits
(ex: 0100 0001 encodes 'A')

What is a pixel? correct answers A single tiny dot, or square, of color in a digital image.

What is the value of 9F16 in binary? correct answers 1001 11112

What is the value of F16 in decimal? correct answers 15(10)

What are the 3 color channels that make up a pixel according to the RGB color scheme?
correct answers Red, Green, and Blue

What is the range of values (expressed in decimal) that each color channel can have? correct
answers (0)10 - 255(10)

Which of the following pixels has a color value of #ff0000 (expressed in hexadecimal)
correct answers (Red Pixel)

Which of the following instructions would brighten a pixel? Assume R is the red value of the
pixel, G is the green value, and B is the blue value. correct answers R = Math.min(R + 50,
255);
G = Math.min(G + 50, 255);
B = Math.min(B + 50, 255);

Which of the following describes the instructions for a general image filter? correct answers
Given an image:
for every (x, y) coordinate in the image

Document information

Uploaded on
May 19, 2025
Number of pages
2
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$8.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ProPerfomer
3.8
(84)
Sold
443
Followers
322
Items
8859
Last sold
2 months ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions