Nimra Aftab - S2 - A
Nimra Aftab - S2 - A
Nimra Aftab - S2 - A
Lahore Campus
Sessional II - Examination
Course Title: Data Structure and Algorithm Course Code: CSC211 Credit Hours: 4(3,1)
Course Instructor/s: Dr. Farrukh Zeshan Programme Name: BS Software Engineering
Semester: 4th Section: Date: Dec. , 2020
Time Allowed: 75 Mins Maximum Marks: 20
Student’s Name: Reg. No. BSE- /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);
};