Data Flashcards
(31 cards)
What are
bits?
binary digits
Why is
binary used for computers?
because it represents the state of the transistors that make up a computer
What is the equation for the
number of binary patterns that can be produced by a group of n bits?
2^n
What does the
ASCII character encoding system do?
assigns numerical values to textual data
Defne
pixel.
picture element
What is the equation for the
place value of the MSB of a binary number?
2^(n-1)
What is an
overflow error?
when the result of an addition is too large to fit into the allocated amount of storage
What can
overflow errors do?
cause programs to crash or produce unreliable/incorrect results
What is the difference between
arithmetic shifts and logical shifts?
(right)
arithmetic shifts preserve the value in the MSB
Why was
hexadecimal created?
because it is difficult for humans to remember and manipulate long binary patterns, and it’s easy to make mistakes when writing long strings of binary, and making sense of them is challenging
hexadecimal makes this easier
Define
character set.
the defined list of characters recognised by a computer’s hardware and software
How many
bits does ASCII use?
and what does it stand for?
7 bits
American Standard Code for Information Interchange
What is the negative of
ASCII?
as it only uses seven bits, it cannot generate enough binary patterns to represent all the letters and symbols in common use across the world
What are the
alternatives to ASCII?
(2)
extended ASCII
Unicode
What is a
bitmap?
a digital image composed of a matrix of tiny blocks of colour called pixels
What is
resolution measured in?
pixels per inch (ppi)
What is
pixelation?
when the resolution is too low, and the individual pixels are visible
Define
colour depth.
the number of bits used to encode the colour of each pixel
What is the equation for
file size of a bitmap image?
width x height x colour depth
How does
amplitude affect sound?
larger amplitude -> louder sound
How does
frequency affect sound?
larger frequency -> higher pitch
Define
sampling rate.
and what is this measured in?
the number of sound samples taken per second
Hz (1 cycle per second)
How does
sampling rate affect sound?
larger sampling rate -> more accurate digital representation
Define
bit depth.
(in terms of sound)
the number of bits used to encode each sound sample