WJEC A-Level Computer Science 601-5345-3
Hardware: Architecture, Memory and Storage
Networks and Data Transmission
Logic Gates and Boolean Algebra
Data Representation and Data Types
Data Structures
Organisation of Data: Files and Records
Database Systems
The Operating System
Algorithms and Programs
Principles of Programming
Systems Analysis
Software Engineering and Program Construction
Types of Software System
Practical Programming
Data Security and Integrity
Computing, Society and the Law
Advanced Data Structures and Logic
Recursion, Sorting and Searching
Programming Paradigms and Translators
System Design and Human-Computer Interaction
Software Engineering Tools and Professional Practice
Advanced Architecture and Assembly Language
Communication Networks and File Organisation
Number Representation and Floating Point
Databases and Distributed Systems
Operating System Management
Software Systems and Applications
Data Security, Cryptography and Attack
Communication Networks and File Organisation
Lowest-cost routing
- 3 things to know
- A2 Unit 4
Overview
Network represented as, for the purposes of routing, algorithm used to find a lowest-cost route and first step of Dijkstra's algorithm.
What you need to know
Answer each one before you reveal it.
What is a network represented as, for the purposes of routing?
What can the weight on an edge represent?
Questions from this subtopic
Each one with the model answer underneath.
- 1
What is a network represented as, for the purposes of routing?
Model answer
A graph whose nodes are the routers or sites and whose weighted edges are the links between them.
- 2
What can the weight on an edge represent?
Model answer
Any cost being minimised — distance, monetary cost, delay, or the reciprocal of bandwidth.
- 3
What is a routing algorithm for?
Model answer
Finding the path of least total cost between two nodes of the network.
- 4
Name an algorithm used to find a lowest-cost route.
Model answer
Dijkstra's shortest path algorithm.
- 5
State the first step of Dijkstra's algorithm.
Model answer
Set the start node's distance to zero and every other node's to infinity, and mark all nodes unvisited.
- 6
State the step Dijkstra's algorithm repeats.
Model answer
Take the unvisited node with the smallest distance, and for each of its neighbours replace that neighbour's distance if going via the current node is shorter.
Other ways to work this
The same content, four other ways.
What is inside Levo
Six ways to work the same material.
Every question in Communication Networks and File Organisation, on a schedule.
Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.