Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS301 Data structures ASSIGNMENT No.3 Fall Semester 2012 Due Date 19-11-2012
#1



CS301 Data structures ASSIGNMENT No.3 Fall Semester 2012 Due Date 19-11-2012


Assignment No. 03
SEMESTER Fall 2012
CS301- Data Structures
Total Marks: 20

Due Date: 19/11/2012
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 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.

Note: Use ONLY Dev-C++ IDE.
Objective
The objective of this assignment is

o To make you familiar, Programming with the Linked list and Queue data structures.


For any query about the assignment, contact at
GOOD LUCK
Marks: 20

Consider the scenario that the customers of a bank are depositing their utility bills in the banks standing in a row outside.
The bank serves its customer on first come first serve strategy, in order to automate this scenario the Queue data structure is well suitable to use, therefore,
Write a C++ program which store customer names and their ages in the Queue, while the Queue must implement as a linked listed internally, it should be clear that the first node (Customer) in the Linked list will be the front of the Queue while the last node (Customer) in the linked list will be the Back (rear) of the Queue, for example,


The program should implement the following operations of Queue data structure,
1. Add_Customer() : add a new customer in the queue
2. Remove_Customer() : Remove or serve a customer from the Queue
3. Get_FrontCustomer() : Just show the Customer name that will serve(remove) next, or means customer at the front.
4. Display_Q() : Show all Customer names and ages currently present in the Queue
5. GetQsize() : Show the number of customer currently present in the Queue.

Sample Output:
Please look the .GIF file.
Lectures Covered: This assignment covers Lecture # 01-10
Deadline: Your assignment must be uploaded/submitted at or before. 19/11/2012



Attached Files
.rar   AssignmentNo.03.rar (Size: 141.84 KB / Downloads: 234)

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CS301 Assignment # 4 Due Date: 02-Feb-2016 Vuhelper 0 2,320 02-03-2016, 05:38 PM
Last Post: Vuhelper
  CS703 – Advanced Operating Systems Assignment No.3 solution January 2016 Vuhelper 0 5,905 01-23-2016, 09:58 PM
Last Post: Vuhelper
  CS601 Data Communication Assignment No. 03 Solution 23rd January 2016 Vuhelper 1 1,926 01-23-2016, 06:09 PM
Last Post: Vuhelper
  CS403 Assignment No. 03 Solution 23rd January 2016 Vuhelper 2 1,162 01-23-2016, 03:18 PM
Last Post: Vuhelper
  CS506 Web Design and Development Assignment no 3 Solution 3rd January 2016 Vuhelper 0 2,240 01-23-2016, 03:16 PM
Last Post: Vuhelper
  CS724 Software Process Improvement Assignment No 01 Solution 20th January 2016 Vuhelper 0 1,964 01-20-2016, 06:26 PM
Last Post: Vuhelper
  CS711 Software Design Assignment No 01 Solution Due Date Feb 12, 2016 Vuhelper 0 1,661 01-20-2016, 06:24 PM
Last Post: Vuhelper
  CS709 Formal Methods for Software Engineering Assignment No 01 Solution January 2016 Vuhelper 0 1,795 01-20-2016, 06:22 PM
Last Post: Vuhelper
  cs703 assignment no 3 Solution 20th January 2016 Vuhelper 0 1,698 01-20-2016, 06:20 PM
Last Post: Vuhelper
  CS704 Assignment No. 01 Solution January 2016 Vuhelper 0 4,795 01-20-2016, 06:19 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)