DATA STRUCTURES AND ALGORITHMS
GROUP ASSIGNMENT 1 (26/05/26)
Question 1 (Use Python or Java)
Create a Program that
1. Stores marks for 15 students in an array
2. Calculates :
a. Total Marks
b. Average Mark
c. Highest mark
d. Lowest Mark
3. Searches for a specific mark entered by the user. [30]
Question 2 (Use Python or Java)
Design a queue system for customers waiting in a bank.
Program requirements:
1. Add customers to the queue
2. Serve customers using FIFO.
3. Display all customers in the queue
4. Show the next customer to be served. [40]
Question 3
1. Write a pseudocode that implements the Insertion Sort to a given list of integers in
ascending order [15]
2. Define a stack and give three operations or functions that can be performed on a stack.
[15]