0% found this document useful (0 votes)
5 views1 page

OOP (S2) Assignment1

This document outlines the first assignment for the CS1141 Object Oriented Programming Lab at Capital University of Science and Technology. Students are required to create a structure for student data and implement CRUD operations, with specific instructions for submission and penalties for late submissions or cheating. The assignment includes creating a menu-driven program to manage student records and requires screenshots of outputs to be submitted in a Word file.

Uploaded by

iatewindysburger
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

OOP (S2) Assignment1

This document outlines the first assignment for the CS1141 Object Oriented Programming Lab at Capital University of Science and Technology. Students are required to create a structure for student data and implement CRUD operations, with specific instructions for submission and penalties for late submissions or cheating. The assignment includes creating a menu-driven program to manage student records and requires screenshots of outputs to be submitted in a Word file.

Uploaded by

iatewindysburger
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Capital University of Science and Technology

_
Department of Computer Science
CS1141 - Object Oriented Programming Lab
ASSIGNMENT NO. 1
Semester: Spring 2025 Max Marks: 10
Instructor: Arooba Sadaqat
Assigned Date: 12-03-2025 Due Date: 10-03-2025
Name: Reg. No.
Instructions:
• Cheating Cases will result in ZERO marks.
• There will be 5 MARKS Deductions for Late submissions.
• Take Screenshots of Output and attach it in word file. Submit Final word File with your
Name and Reg. No as (Name_RegNo).

Question No.1 [Marks: 10]

Create a structure of students with some attributes i.e S_ID, S_name, S_regno, S_cgpa etc.
Then Implement following 5 functions (Known as CRUDS operations which means
CREATE, READ, UPDATE, DELETE, SEARCH operations):

1. addAStudent
2. updateAStudent
3. deleteAStudent
4. searchAndDisplayAStudent
5. displayAllstudents

After that, create an array of 5 student in main function. Create a menu in main function to
enable user to select and perform the operations we created above. Program must not exit
until and unless user wants to do so.

Sample Output:
Main Menu
---------------
Press 1 to add a Student.
Press 2 to update a Student.
Press 3 to delete a Student
Press 4 to search and display a Student
Press 5 to display all Student Press e to exit the program

You might also like