Docsity

Computer science paper 2, Exams of Computer Science

Toggle sidebar
bg1
Computer Science GCSE - Paper 2
Save
Groups
Explain how sampling is
used to store audio
recordings
- Height is measured and converted to binary
- Sample taken at a regular interval (44,000 times per
second)
Define what is meant by
the term sampling
frequency
Number of samples taken per second
What are the effects of
increasing the sampling
frequency?
- The file size of the digital recording will be larger
- The quality of playback of the digital recording will
be better
Describe how bitmap
images are represented in
binary
- Images are made of pixels
- Each pixel is given a binary code which represents
the colour of that pixel
Explain why computers
represent data in binary
form
Computers consist of transistors which only have two
values
Describe one advantage
of using lossy
compression on an image
that will be used on a
website
File size is reduced so it is quicker to upload
Describe one
disadvantage of using
lossy compression on an
image that will be used on
a website
Quality of the image is reduced because data is lost
pf3
pf4

Partial preview of the text

Download Computer science paper 2 and more Exams Computer Science in PDF only on Docsity!

Computer Science GCSE - Paper 2

Save Groups

Explain how sampling is used to store audio recordings

  • Height is measured and converted to binary
  • Sample taken at a regular interval (44,000 times per second) Define what is meant by the term sampling frequency

Number of samples taken per second

What are the effects of increasing the sampling frequency?

  • The file size of the digital recording will be larger
  • The quality of playback of the digital recording will be better Describe how bitmap images are represented in binary
  • Images are made of pixels
  • Each pixel is given a binary code which represents the colour of that pixel Explain why computers represent data in binary form

Computers consist of transistors which only have two values

Describe one advantage of using lossy compression on an image that will be used on a website

File size is reduced so it is quicker to upload

Describe one disadvantage of using lossy compression on an image that will be used on a website

Quality of the image is reduced because data is lost

Describe two methods of translating high level code into machine code

  • Compiler translates code in one go
  • Interpreter translates code line by line

State what is meant by a logic error

An error that results an incorrect output

State what is meant by a syntax error

An error in the grammar of the program

Define what is meant by abstraction

Removing unnecessary detail and focusing on the important detail

Describe two examples of defensive design that should be considered when developing a program

  • Input sanitisation: removing unwanted data
  • Validation: checking whether input data should be allowed

Give the name of one searching algorithm that would be able to be used with this data

Linear search