Spring 2024 - CS301 - 1
Spring 2024 - CS301 - 1
01
Total Marks: 20
SEMESTER Spring 2024
Due Date: 29-April, 2024
CS301- Data Structures
Instructions
Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit (zero marks) if:
o The assignment is submitted after the due date.
o The submitted code does NOT compile.
o The submitted assignment is other than .CPP file.
o The submitted assignment does NOT open or file is corrupted.
o The assignment is copied (from other student or ditto copy from handouts or internet).
Uploading instructions
For clarity and simplicity, you are required to Upload/Submit only ONE .cpp file.
GOOD LUCK
Marks: 20
You are required to implement a simple Shopping List Manager using ArrayList data structure. The program
must meet the following requirements.
Note: Don’t use ArrayList Built in library for assignment development. You must follow the following program
structure for naming and to build the program. Otherwise, you will get ZERO marks.
Program Structure:
Class: ShoppingList
Attributes:
1. Items[100] : string
2. ItemCount: int
Default Function:
1. main()
Sample Output:
Lectures Covered: This assignment covers Lecture # 1-4.
Deadline: Your assignment must be uploaded/submitted at or before, 29-April, 2024.