OOPDS C++ Projecf
OOPDS C++ Projecf
Trimester 1-2022/2023
Project
Data Structure Programming Language
1. Deadline
To be submitted by 5:00PM on Monday of Week 15 of the trimester.
3. Grouping
To be done in a group of 3 to 4 students in any Tutorial Section, STRICTLY NO COPYING from other
groups. You are required to register your group on MMLS latest by 5:00pm Monday 7th of November,
2022.
Check if ptr reached the end of list isEnd <PTR Name> <res>
if end → res = true otherwise false
check if full setting <bool var> to isFull <DS Name> <bool var>
true otherwise to false
check if empty setting <bool var> isEmpty <Ds Name> <bool var>
to true otherwise to false
Queue Add item to queue Push <Q Name> <value|var>
pop an item from the queue Pop <Q Name>
DS Type = return the front of the queue front <Q Name> <var>
Queue return the back of the queue back <Q Name> <var>
check if full setting <bool var> to isFull <Q Name> <bool var>
true otherwise false
check if empty setting <bool var> isEmpty <Q Name> <bool var>
to true otherwise false
Data type
Integer data type integer
Float or double data type real
Boolean data type bool
Pointer data type pointer
Some examples and their expected output are given too. More examples will be discussed in the class
and the extra lectures given every Tuesday and Friday from 8-10PM.