
[igCS] Image Representation
Presentation
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
Andy tsui
Used 11+ times
FREE Resource
17 Slides • 16 Questions
1
by Andy tsui
2
Get Notebook ready
3
Multiple Select
What are the two methods for representing negative integers?
Two's Complement
One's Complement
Sign and Magnitude
Random placement
4
Multiple Choice
Which one is more commonly used in computer?
Sign and magnitude
Two's Complement
5
Multiple Choice
1011 is a 4-bit two's complement binary number, it must be:
Positive
Negative
6
Multiple Choice
What is the value of 1011 (4-bt 2's complement)?
5
-5
3
-3
7
​
8
Multiple Choice
What is the value of 1001 (4-bt 2's complement)?
7
-7
1
-1
9
Multiple Choice
What is the value of 1000 0011 (8-bt 2's complement)?
3
-3
-125
125
10
Multiple Select
Standard ASCII code is.... (choose all applies)
7-bit coding
Represents English Alphabets
Contains European accents
Including Non-printable characters
8-bit encoding
11
Fill in the Blanks
What is the name of the text encoding that includes all characters from (almost) every language?
Type answer...
12
Understand how and why a computer represents an image, including the effects of the resolution and colour depth
13
Computer image is represented by grid of small "dots"
Those dots are called "Pixel" (stands for Picture Element)
Each pixel contains one single color
Pixels are organized in rectangular grid
14
Resolution is defined by number of pixels in an image
Usually written as width x height
The higher resolution
=> more pixels for an image
=> better image quality (smoother)
15
Black and White image
https://studio.code.org/s/csp1-2021/lessons/7/levels/2
16
Multiple Choice
What is the Resolution of the "A" you created?
3x5
8x8
2x6
10x10
17
Fill in the Blanks
How many, in total, pixels in the "A" we created?
Type answer...
18
All colors in computer is composed of 3 basic colors:
Red, Green and Blue
Mixing the basic color results in different colors you can see
19
3-Bit Color
https://studio.code.org/s/csp1-2021/lessons/8/levels/2
20
Each pixel in an image contains one single color
The number of bits used in each color is called Color Depth
Higher Color Depth =>
More distinct colors can be displayed in a picture / screen
Color-depth compared on Grayscale only
21
Black and White (only) image
Note it is different from the black and white in everyday life referring to
Each pixel contains 1 bit only
The total size (storage) of the image is:
width x height x 1 bits (color depth)
22
Multiple Choice
How many total pixels in the smiling face shown?
32
64
96
48
23
Fill in the Blanks
Calculate the size of the image, in terms of number of bits
Type answer...
24
We usually use 8-bit (or 1 byte) depth to store grayscale image (so called black and white photo)
The size of the image is given by:
width x height x 8 bits (color depth) ... or simply
width x height x 1 Bytes
25
Multiple Choice
Given an 8-bit grayscale image of 100 x 50 resolution, calculate the size of the image.
5000 Bytes
4000 Bytes
5000 bits
1000 Bytes
26
Multiple Choice
How many different shades from white to gray to white, can be displayed in 8-bit grayscale? (in other word, how many distinct number can represented by 8-bit)
256
8
16
128
27
6-Bit Color
https://studio.code.org/s/csp1-2021/lessons/8/levels/4
28
8 Bit Color depth can also use in colored image
Nowadays mainly used in Animated GIF format (gif only allows 8 bit)
Since there's only 256 distinct color, gif is not very good in displaying smooth shades like photo, but works better in illustrations
29
We use 8-bit per basic color for each pixel, which means:
8 x 3 = 24 bits
By adjusting the amount of each basic color, nearly ALL color can be displayed (more than 16 Million distinct colors)
In Website, we use
#RRGGBB format to define color
30
Nowadays most of our photos are 24-bit
The storage size is given by:
width x height x 24 bits or..
width x height x 3 Bytes
31
Fill in the Blanks
How many bits per pixel in a true color RGB image?
Type answer...
32
Multiple Choice
What is the size of the a 24-bit color depth, 100 x 50 pixel image?
15000 Bytes
15000 bits
5000 bits
5000 Bytes
33
Image quality is defined by
Resolution, pixel count of the image
Color depth, number of bits to store distinct color value
Image file size is calculated by:
Width x Height x Color Depth
by Andy tsui
Show answer
Auto Play
Slide 1 / 33
SLIDE
Similar Resources on Wayground
27 questions
Standard Deviation & Dispersion
Presentation
•
9th Grade
25 questions
I Have a Dream
Presentation
•
9th Grade
26 questions
DISEÑO DIGITAL
Presentation
•
9th Grade
29 questions
Unit 6 Review
Presentation
•
9th Grade
22 questions
Evolution Review
Presentation
•
9th Grade
26 questions
Digital vs Analog Signals
Presentation
•
8th Grade
29 questions
EMPTECH WEEK 7
Presentation
•
KG
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade