Twa kɔ nsɛm atitiriw so
Log in
Sign up for FREE
arrow_back
Laabri

A2 - Unit 19 CS - Starter

star
star
star
star
star
Last updated about 1 year ago
4 Nsɛmmisa
6
Asemmisa {{asɛmmisaAhyɛnsode}}
1.

Explain what is meant by the terms:

a) stack

b) queue

c) linked list.

6
Asemmisa {{asɛmmisaAhyɛnsode}}
2.

a) Describe how it is possible to implement a stack using an array.

b) Describe how it is possible to implement a queue using an array.

c) Describe how it is possible to implement a linked list using an array.

5
Asemmisa {{asɛmmisaAhyɛnsode}}
3.

Write pseudocode to search an array of twenty numbers using a linear search.

5
Asemmisa {{asɛmmisaAhyɛnsode}}
4.

Write pseudocode to sort an array that contains twenty numbers using a bubble sort.