Save
...
OCR Comp Sci
Paper 1
Topic 3
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
Connor McKeown
Visit profile
Cards (168)
What is the purpose of
compression
in file storage?
To reduce the
storage space
required by a file
View source
Why is
compression
particularly important for sharing files over
networks
?
It increases the
number
of files that can be transferred in a given
time
View source
What is an example of an app that uses
compression
for file storage?
Google Photos
View source
How does downloading a
compressed
file compare to downloading the full version?
Downloading
a compressed file is
faster
View source
What are the two categories of compression?
Lossy compression
Lossless compression
View source
What happens to a file during
lossy compression
?
Some information is removed, potentially
degrading
quality
View source
What is a potential consequence of
lossy compression
on images?
It can result in a more
pixelated
image
View source
How does
lossless compression
differ from
lossy compression
?
Lossless compression reduces file size without losing any
information
View source
What can be done with a file after it has been
compressed
using
lossless compression
?
The original file
can be recovered from the compressed version
View source
How does
lossy compression
work with
audio files
?
It removes very high or
low frequencies
that are least noticeable
View source
Why can't you recover the original file from a
lossy
compressed
version?
Because some
information
is completely disregarded
View source
What does
RLE
stand for in compression methods?
Run Length Encoding
View source
How does
run length encoding
(
RLE
) work?
It replaces repeated values with one occurrence followed by the
count
View source
How would the string AAAAAABBBBBCCC be represented using
RLE
?
A6B5C3
View source
What is a limitation of
run length encoding
?
It doesn't offer great reduction if there's little
repetition
View source
What is
dictionary encoding
in
compression
?
Replaces frequently occurring data with an index
Compressed data is stored alongside a dictionary
Original data can be restored using the dictionary
View source
How does
dictionary encoding
reduce the size of a passage?
By replacing phrases with their corresponding
index
View source
What must be transferred alongside data compressed using
dictionary encoding
?
The dictionary
View source
What is the purpose of
encryption
?
To keep data
secure
during transmission
View source
What are the two types of encryption discussed?
Symmetric encryption
Asymmetric encryption
View source
In
symmetric encryption
, what do the sender and receiver share?
A
private key
View source
What is a
key exchange
in
symmetric encryption
?
A process where the
private key
is distributed between sender and receiver
View source
What is a risk associated with
symmetric encryption
?
If the
private key
is intercepted, communications can be decrypted
View source
How does
asymmetric encryption
differ from symmetric encryption?
It uses a
public key
and a
private key
View source
What is a key pair in
asymmetric encryption
?
A
public key
and a
private key
that are mathematically related
View source
What must someone do to send you a message using
asymmetric encryption
?
Find your
public key
View source
What happens when a message is encrypted with a recipient's
public key
?
Only the recipient's
private key
can decrypt it
View source
How can you prove that a message was sent by you in
asymmetric encryption
?
By encrypting it with your
private key
View source
What is
hashing
?
A process that turns an input (key) into a fixed size value (hash)
Uses
algorithms
called
hash functions
Output cannot be reversed to form the key
View source
Why is
hashing
useful for storing
passwords
?
Because the output cannot be
reversed
to gain the original password
View source
What is a
hash table
?
A data structure that holds
key-value pairs
Formed from a
bucket array
and a
hash function
Used for
constant time
data lookup
View source
How do
hash tables
achieve constant access times?
By using a
hash function
to store data in
buckets
View source
What is a
collision
in
hashing
?
When two
keys
produce the same hash
View source
What are some methods to overcome
collisions
in
hashing
?
Storing items together in a list or using a
second
hash function
View source
What characteristics should a good
hash function
have?
Low chance of
collision
and quick to
calculate
View source
Why should the output of a
hash function
be smaller than the
input
?
To ensure searching for the hash is faster than searching for the
key
View source
What is an
entity
in a
relational database
?
An entity is an item of interest about which information is stored.
View source
How does a
relational database
recognize differences between
entities
?
By creating different tables for each entity.
View source
What does an
entity relationship model
illustrate?
It shows
entities
and their relationships.
Example entities: Doctor and Patient.
Attributes
link tables together, e.g.,
DoctorID
.
View source
What are
attributes
in a
relational database
?
Attributes are characteristics of the
entity
; categories about which data is collected.
View source
See all 168 cards