1

Students submitting Assignments

ITE1004 Lab: Data Structures and Algorithms Lab Question 1

Students of a Programming class arrive to submit assignments. Their register numbers are stored in a LIFO list in the order in which the assignments are submitted. Write a program using an array to display the register number of the ten students who submitted first.

Register number of the ten students who submitted first will be at the bottom of the LIFO list. Hence pop out the required number of elements from the top so as to retrieve and display the first 10 students.
Low Level: Display the register number of the last submitted record [6 Marks] Middle Level: Display the register number of the ten students who submitted first [2 Marks] High Level: Should implement low level and middle-level modules + any query posed by faculty such as checking if a particular student has submitted the assignment or not [2 Marks]

Code

Please Comment Working if the code worked to you

If you have other working codes please comment the codes enclosing with <pre> and </pre> 🙂

Example: <pre> Your Code </pre>

C Code 

Follow for important news/announcements in VIT

C Code 

C Code 

The Above Codes are for reference only. It doesn't mean everyone to directly copy/paste those codes.

 

Click Here to Leave a Comment Below 1 comments
vitian - January 10, 2020

great work !!.
Thanks for uploading the DA

Reply

Leave a Reply: