Computer Science For First Examination In 2021 9618 · 19

19.1 Algorithms

13 questions in this subtopic. Open a question to solve it and check the official answer.

Reset
2025 May-June · Paper 32 · Q10

Algorithms · 4 marks · official answer ready

10 Identify the two main protocols that form Transport Layer Security (TLS) and state the purpose of each. Protocol 1 .............................................................…

2025 May-June · Paper 33 · Q10(a)

Algorithms · 1 mark

10 (a) State the purpose of the A* and Dijkstra’s algorithms. .....................................................................................................................…

2025 May-June · Paper 33 · Q10(b)

Algorithms · 2 marks · official answer ready

(b) Outline the difference between the A* and Dijkstra’s algorithms. ..............................................................................................................…

2023 October-November · Paper 32 · Q8

Algorithms · 5 marks · official answer ready

8 Calculate the shortest distance between the Start and each of the destinations in the diagram using Dijkstra’s algorithm. Show your working and write your answers in the table p…

2023 May-June · Paper 31 · Q2(b)

Algorithms · 2 marks · official answer ready

(b) Describe the purpose of both the A* algorithm and Dijkstra’s algorithm. .......................................................................................................…

2023 May-June · Paper 31 · Q9(b)

Algorithms · 4 marks · official answer ready

(b) Identify two benefits and two drawbacks of quantum cryptography. Benefit 1 ....................................................................................................…

2023 May-June · Paper 33 · Q2(b)

Algorithms · 2 marks · official answer ready

(b) Describe the purpose of both the A* algorithm and Dijkstra’s algorithm. .......................................................................................................…

2023 May-June · Paper 33 · Q9(b)

Algorithms · 4 marks · official answer ready

(b) Identify two benefits and two drawbacks of quantum cryptography. Benefit 1 ....................................................................................................…

2021 May-June · Paper 11 · Q6(c)

Algorithms · 1 mark · official answer ready

(c) INPUT x IF NOT(x = "Red" OR x = "Yellow" OR x = "Blue") THEN OUTPUT "Invalid" ENDIF ...........................................................................................…

2021 May-June · Paper 13 · Q6(c)

Algorithms · 1 mark · official answer ready

(c) INPUT x IF NOT(x = "Red" OR x = "Yellow" OR x = "Blue") THEN OUTPUT "Invalid" ENDIF ...........................................................................................…

2021 May-June · Paper 31 · Q5(a)

Algorithms · 5 marks · official answer ready

5 (a) Calculate the shortest distance between the base and each of the other towns in the diagram using Dijkstra’s algorithm. Show your working and write your answers in the table…

2021 May-June · Paper 32 · Q5(a)

Algorithms · 5 marks · official answer ready

5 (a) Calculate the shortest distance between the base and each of the other towns in the diagram using Dijkstra’s algorithm. Show your working and write your answers in the table…

2021 May-June · Paper 33 · Q5(a)

Algorithms · 5 marks · official answer ready

5 (a) Calculate the shortest distance between the base and each of the other towns in the diagram using Dijkstra’s algorithm. Show your working and write your answers in the table…