php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS301 Data Structures assignment no 1 spring 25 October 2011
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#14
It is required to make a list of students registered in Data Structures course. To achieve this functionality, develop a C++ program and use linked list to store student ids and names.
[FONT=&quot]Each node in the linked list will contain three items: student id, student name, pointer to next node.[/FONT]

[FONT=&quot]When the program starts, it should display the following menu:[/FONT]
[FONT=&quot]1- [/FONT][FONT=&quot]Enter student information[/FONT]
[FONT=&quot]2- [/FONT][FONT=&quot]Search student by ID[/FONT]
[FONT=&quot]3- [/FONT][FONT=&quot]Search student by Name[/FONT]
[FONT=&quot]4- [/FONT][FONT=&quot]Delete student information[/FONT]
[FONT=&quot]5- [/FONT][FONT=&quot]Print all students[/FONT]
[FONT=&quot]6- [/FONT][FONT=&quot]Quit[/FONT]
[FONT=&quot]Sample Run:[/FONT]
[FONT=&quot]1- [/FONT][FONT=&quot]Enter student information[/FONT]
[FONT=&quot]2- [/FONT][FONT=&quot]Search student by ID[/FONT]
[FONT=&quot]3- [/FONT][FONT=&quot]Search student by Name[/FONT]
[FONT=&quot]4- [/FONT][FONT=&quot]Delete student information[/FONT]
[FONT=&quot]5- [/FONT][FONT=&quot]Print all students[/FONT]
[FONT=&quot]6- [/FONT][FONT=&quot]Quit[/FONT]
[FONT=&quot]Enter your choice: 1 (Suppose user entered 1)[/FONT]
[FONT=&quot](Now the details of Student will be entered)[/FONT]
[FONT=&quot]Student ID: bc080400001 (Suppose user entered bc080400001)[/FONT]
[FONT=&quot]Student Name: Ahmad (Suppose user entered Ahmad)[/FONT]
[FONT=&quot](If user enters an ID that is already in the list, a message should be displayed “Already in the list.”)[/FONT]

[FONT=&quot](Main menu will be displayed again)[/FONT]
[FONT=&quot]1- [/FONT][FONT=&quot]Enter student information[/FONT]
[FONT=&quot]2- [/FONT][FONT=&quot]Search student by ID[/FONT]
[FONT=&quot]3- [/FONT][FONT=&quot]Search student by Name[/FONT]
[FONT=&quot]4- [/FONT][FONT=&quot]Delete student information[/FONT]
[FONT=&quot]5- [/FONT][FONT=&quot]Print all students[/FONT]
[FONT=&quot]6- [/FONT][FONT=&quot]Quit[/FONT]
[FONT=&quot]Enter your choice: 2 (Suppose user entered 2)[/FONT]
[FONT=&quot]Student ID: bc080400001 (Suppose user entered bc080400001)[/FONT]
[FONT=&quot](Now the details of Student will be displayed)[/FONT]
[FONT=&quot]Student ID: bc080400001[/FONT]
[FONT=&quot]Student Name: Ahmad[/FONT]
[FONT=&quot](If user enters an ID that is not in the list, a message should be displayed “Record not found.”)[/FONT]

[FONT=&quot](Main menu will be displayed again)[/FONT]
[FONT=&quot]1- [/FONT][FONT=&quot]Enter student information[/FONT]
[FONT=&quot]2- [/FONT][FONT=&quot]Search student by ID[/FONT]
[FONT=&quot]3- [/FONT][FONT=&quot]Search student by Name[/FONT]
[FONT=&quot]4- [/FONT][FONT=&quot]Delete student information[/FONT]
[FONT=&quot]5- [/FONT][FONT=&quot]Print all students[/FONT]
[FONT=&quot]6- [/FONT][FONT=&quot]Quit[/FONT]
[FONT=&quot]Enter your choice: 4 (Suppose user entered 4)[/FONT]
[FONT=&quot](Now it will ask to enter ID to be deleted)[/FONT]
[FONT=&quot]Student ID: bc080400001 (Suppose user entered bc080400001)[/FONT]
[FONT=&quot](Student record with this ID will be deleted.)[/FONT]

[FONT=&quot](Main menu will be displayed again)[/FONT]
[FONT=&quot]1- [/FONT][FONT=&quot]Enter student information[/FONT]
[FONT=&quot]2- [/FONT][FONT=&quot]Search student by ID[/FONT]
[FONT=&quot]3- [/FONT][FONT=&quot]Search student by Name[/FONT]
[FONT=&quot]4- [/FONT][FONT=&quot]Delete student information[/FONT]
[FONT=&quot]5- [/FONT][FONT=&quot]Print all students[/FONT]
[FONT=&quot]6- [/FONT][FONT=&quot]Quit[/FONT]
[FONT=&quot]Enter your choice: 5 (Suppose user entered 5)[/FONT]
[FONT=&quot](Now it will print all students’ information. Suppose there were three students in the list, so it will print: )[/FONT]
[FONT=&quot]Student ID Student Name[/FONT]
[FONT=&quot]------------- ---------------------[/FONT]
[FONT=&quot]bc080400001 Ahmad[/FONT]
[FONT=&quot]bc080200010 Ali[/FONT]
[FONT=&quot]mc070400002 Hassan[/FONT]
Reply


Messages In This Thread
CS301 Data Structures assignment no 1 spring 25 October 2011 - by makyle - 11-02-2011, 07:38 PM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support