Professional Documents
Culture Documents
COMSATS University Islamabad Lahore Campus: Sessional II - Examination
COMSATS University Islamabad Lahore Campus: Sessional II - Examination
Lahore Campus
Sessional II - Examination
Credit
Course Title: Data Structure and Algorithm Course Code: CSC211 4(3,1
Hours:
)
Course Programme
Dr. Farrukh Zeshan BS Software Engineering
Instructor/s: Name:
Semester: 4th Section: Date: Dec. , 2020
Time
75 Mins Maximum Marks: 20
Allowed:
BSE-
Student’s Name: Reg. No.
/LHR
Important Instructions / Guidelines:
● Attempt all questions.
struct node
{
int num;
node * next;
};
class LinkList
{
private:
node * start;
public:
constructAnOrderedList (node *orderedList1, node * orderedList2);
};
struct flightInfo
{
int flightId;
int fuel;
};
class PriorityQueue
{
private:
flightInfo FlightQueue[size];
int tail;
int front;
public:
DeQueueFlighFacingEmergency(int FlightNumber);
};