Save
Computer science
Topic 2 - Data
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
Tristan
Visit profile
Subdecks (2)
Hexadecimal
Computer science > Topic 2 - Data
5 cards
Cards (10)
Binary Shifts
:
Logical Shift
: Moves
bits
left or right, padding with 0s.
Arithmetic Shift
: Preserves the sign bit (used for
signed numbers
).
Sound Representation
Amplitude
: Height of the wave (loudness).
Sample
Rate: Number of samples per second (measured in Hz).
Bit
Depth
: Bits per sample (affects quality).
Sample
Interval: Time between samples.
Representing sound
A)
Value
B)
Time
C)
Sample interval
D)
Amplitude
E)
Bit depth
5
Bitmap Images
Pixels: Images consist of tiny squares of color (
pixels
).
Resolution
: Number of pixels in
width
×
height
.
Color Depth
: Number of
bits
per pixel (e.g.,
8-bit
= 256 colors).
File size calculation:
File size =
Resolution
* Colour
depth
*
Number
of pixels
See all 10 cards