Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 42 pages
Presentation

GCSE AQA Computer Science Complete Revision Notes

Document preview thumbnail
Preview 4 out of 42 pages

This document contains all of the notes needed for you to ace your GCSE AQA Computer Science exams and are all ordered inline with the specification.

Content preview

GCSE AQA COMPUTER
SCIENCE
COMPLETE NOTES


SPECIFICATION:

1. Fundamentals of algorithms- page 2

2. Programming- page 5

3. Fundamentals of data representation- page 8

4. Computer systems- page 18

5. Fundamentals of computer networks- page 32

6. Ethical, legal and environmental impacts of digital technology on wider society,
including issues of privacy- page 41




1

, FUNDAMENTALS OF ALGORITHMS:
REPRESENTING ALGORITHMS

What is an algorithm?
An algorithm is a sequence of steps that can be followed to complete a task.

A computer program is an implementation of an algorithm & that an algorithm is not a
computer program.

What is abstraction?
Abstraction involves removing unnecessary detail from a problem so that you can focus
on the essentials.

EXAMPLE:

All maps- Maps just show a representation of some relevant real world information

What is decomposition?

Decomposition involves breaking down a large problem into smaller sub-problems.

Then the sub-problems can be broken down further until each small task is manageable

ADVANTAGES:

- The problem becomes easier to solve when it consists of a number of small
subtasks or modules
- Some modules may be reusable in other programs, saving development time in
the future
- A team of programmers can work together with each person tackling a different
module




2

,SEARCHING ALGORITHMS
What is linear search?

This is a simple algorithm used to find a value in a list of data. The algorithm runs as
follows:

1. Identify a search term.
2. Look at the first item in the list.
3. Compare the item with the search term.
4. Is the current item the same as the search term? If so, the item has been
found. If not, move to the next item.
5. Repeat from step two until the last item in the list has been reached.
6. If the end of the list has been reached and the search term has not been
found, then the search term is not in the list and the algorithm can stop.


EXAMPLE: This algorithm could be used to search the following list for the number 1:


3, 2, 4, 1, 5


The algorithm would produce:


3, 2, 4, 1, 5 (1 compared to 3 - not found)

3, 2, 4, 1, 5 (1 compared to 2 - not found)

3, 2, 4, 1, 5 (1 compared to 4 - not found)

3, 2, 4, 1, 5 (1 compared to 1- found)



What is binary search?

Values need to be in ORDER

The algorithm runs as follows:

1. Start by setting the counter to the middle position in the list.
2. If the value held there is a match, the search ends.
3. If the value at the midpoint is less than the value to be found, the list is
divided in half, the lower half of the list is ignored and the search keeps to
the upper half of the list.


3

, 4. Otherwise, if the value at the midpoint is greater than the value to be found,
the upper half of the list is ignored and the search keeps to the lower half of
the list.
5. The search moves to the midpoint of the remaining items. Steps 2 through 4
continue until a match is made or there are no more items to be found.


EXAMPLE:This algorithm could be used to search the following list for the number 7:


1, 2, 3, 4, 5, 6, 7, 8, 9, 10

In a trace table, this would look like:




What is the difference between binary and linear search?

- Linear search is best used when the data is not in order, or for smaller lists.
- However, when the list is much longer and the data is in order, it is far more
efficient to calculate the indexes needed to perform a binary search




4

Document information

Study
School year
200
Uploaded on
August 23, 2021
Number of pages
42
Written in
2021/2022
Type
Presentation
Person
Unknown
$12.48

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
priyajohal09
5.0
(3)
Sold
11
Followers
3
Items
3
Last sold
11 months ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions