Computer Science AS OCR
-
1-1-structure-and-function-of-the-processor as5 主题
-
1-2-types-of-processor as3 主题
-
1-3-input-output-and-storage as2 主题
-
2-1-systems-software as8 主题
-
2-3-software-development as5 主题
-
2-4-types-of-programming-language as4 主题
-
3-1-compression-encryption-and-hashing as3 主题
-
3-2-databases as3 主题
-
3-3-networks as8 主题
-
3-4-web-technologies as13 主题
-
html as
-
css as
-
css-styling as
-
javascript as
-
variables-and-constants-in-javascript as
-
outputs-in-javascript as
-
selection-in-javascript- as
-
for-loops-in-javascript- as
-
while-loops-in-javascript- as
-
strings-in-javascript- as
-
operators-in-javascript- as
-
nested-statements-in-javascript as
-
functions-and-procedures-in-javascript as
-
html as
-
4-1-data-types as8 主题
-
4-2-data-structures as4 主题
-
4-3-boolean-algebra as1 主题
-
5-1-computing-related-legislation as4 主题
-
5-2-moral-and-ethical-issues as9 主题
-
6-1-thinking-abstractly as3 主题
-
6-2-thinking-ahead as1 主题
-
6-3-thinking-procedurally as3 主题
-
6-4-thinking-logically as2 主题
-
6-5-thinking-concurrently as2 主题
-
7-1-programming-techniques as9 主题
-
8-1-standard-algorithms-and-big-o-notation as8 主题
abstraction-and-reality-in-computational-thinking- as
Exam code:H046
The difference between abstraction and reality
What is the difference between abstraction and reality?
-
The real world is very complex and has many, many variables that factor into problems
-
An aerial view of a city with all of its roads, junctions and streets forms the basis of reality when travelling from point A to point B. Roads weave and turn and may have different governing laws depending on location, such as maximum speed limits or no left turnings

A street view of a city showing roads, junctions and streets
Source: Google Maps
-
When travelling by vehicle, the greenspace and buildings of a city are usually unnecessary detail. When creating a useful map of a city, these elements can be removed, leaving only roads and junctions

An abstracted street view, with all buildings and greenspace removed
Source: Google Maps
-
Quick and efficient travel has always been a considerable problem, usually done by humans using maps. Computers however can process routes much quicker but require a suitable map to calculate these routes
-
To provide a usable map to a computer, the map must be abstracted. After removing unnecessary detail, such as greenspace and buildings, a simplified representation of a map can be created
-
All junctions can be represented by graph nodes and each road is represented as an edge or arc between each junction. Elements such as no left turnings can be represented by directed edges or arcs. The distance between each junction can be represented by an appropriate weight on each arc or edge
-
The final product is a graph to which graph theory and algorithms such as Dijkstra’s shortest path or A* search can be applied to

A further abstracted street view, showing a collection of labelled and connected junction nodes
-
Apps such as Google Maps or Uber use abstracted maps such as this to calculate the shortest routes from a starting point to a destination. Other factors such as traffic, roadworks and weather conditions can also be factored in, enabling more accurate calculations
-
The final abstracted map above has removed all elements that do not impact or affect the finding of the shortest distance between two points
Responses