0% found this document useful (0 votes)
28 views23 pages

Dsu Project 6

This microproject implements a student management system using a singly linked list data structure in C. The system allows users to create a student list by entering student details like roll number, name, and percentage. Users can then display the student list, insert new students at the beginning of the list, and search for students by roll number. The output demonstrates how to perform operations on a singly linked list like insertion, display, and search.
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)
28 views23 pages

Dsu Project 6

This microproject implements a student management system using a singly linked list data structure in C. The system allows users to create a student list by entering student details like roll number, name, and percentage. Users can then display the student list, insert new students at the beginning of the list, and search for students by roll number. The output demonstrates how to perform operations on a singly linked list like insertion, display, and search.
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

Shree Mouni vidyapeeth’s

Institute of Civil and Rural Engineering, Gargoti.


A

Micro Project Proposal Under the Course

“Data Structures Using C” (22317)


With title

“STUDENT MANEGEMENT SYSTEM”


Submitted by

1. Aarya Amol Sadalage.

2. Saurav Namdev Kumbhar.

3. Prutviraj Tanaji Patil.

4. Pranjal Balkrushna Savant .

In Partial Fulfillment of

Diploma in Computer Engineering

Department of Computer Engineering


(2021-22)
Shri Mouni Vidyapeeth’s
Institute of Civil & Rural Engineering, Gargoti (aided)

CERTIFICATE

This is to certify that Mr. /Mrs._____________________________


_________________ Roll No._______ of second year Diploma in Computer
Engineering.
He / She has successfully completed the Micro Project work
entitled________________________________________________________
In_______________________________________ for the academic year 2020-21
as prescribed in MSBTE curriculum.

Date: _______________ Enrollment No. ______________

Place: _______________ Exam Seat No. ______________


INSTITUTE OF CIVIL & RURAL ENGINEERING, GARGOTI
(Govt - Aided)

Year 2021-2022

CERTIFICATE

This is certify that the Micro project entitled "STUDENT MANEGMENT SYSTEM" under the
course of ”Data Structures Using C” submitted to the Institute of Civil and Rural Engineering,
Gargoti, in partial fulfilment of Diploma in Computer Engineering is a record of original work
done by Arya,Sourav,Pruthviraj,Pranjal during the period from 2021 - 2022 under my
supervision and guidance and it has not copied or submitted with other similar title by any
candidate in any Diploma college.

Head of the Department Signature of the Guide


Project Members

Sr. No Team Member Name Roll Sign


No.
1 Savant Pranjal Balkrushna 20

2 Sadalge Arya Amol 21

3 Kumbhar Sourav Namdev 22

4 Patil Pruthviraj Tanaji 23

1
INDEX

Sr.no Contents Page no.

1. Introduction

2. Program code

3 output

4.
Skill development

Page 2
Introduction:

We selected student management system using linked list


microproject using data structure in c in output of the project is for to
implementation of link list . User should enter student roll no ,name and
percentage and perform many task using singly linked list . Insert , display.
Insert at beginning , search . From this output user can successful
understood how to implement singly linked list .

Aim of Project :

1.To implement singly linked list.


2. Use of control statement.
3. To use various functions of c language.
4. To perform various operation on singly linked list

3
CODE:

#include<stdlib.h>
#include <stdio.h>
#include<conio.h>

void create();
void display();
void insert_begin();
void search();

struct student
{
int rollno;
char name[20];
int percentage;
struct student *next;
};
struct student *s=NULL,*tmp;
struct student *p,*s1;

void main()

Page 4
{
int ch;
clrscr();
do
{
printf("\n *************************** Welcome to
student list *************************** ");
printf("\n 1.Create student list \n");
printf("\n 2.Display student list \n");
printf("\n 3.Insert new student at the beginning of list
\n");
printf("\n 4.Search student\n");
printf("\n 5.Exit");

printf("\n------------------------------------------------------------------------
----\n");
printf(" Enter your choice:\t");
scanf("%d",&ch);
switch(ch)
{
case 1:
create();
break;

5
case 2:
display();
break;
case 3:
insert_begin();
break;
case 4:
search();
break;
case 5:
exit(0);
break;

default:
printf("\n Wrong Choice:\n");
break;
}
}
while(ch!=5);
}
void create()
{

Page 6
p=(struct student *)malloc(sizeof(struct student));
printf("\n Enter the rollno:");
scanf("%d",&p->rollno);
printf("\n Enter the student name:");
scanf("%s",p->name);
printf("\n Enter percentage:");
scanf("%d",&p->percentage);
p->next=NULL;
if(s==NULL)
{
s=p;
}
else
{
s1=s;
while(s1->next!=NULL)
{
s1=s1->next;
}
s1->next=p;
}
}
7
struct student *s1;

void display()
{
if(s==NULL)
{
printf("\n student list is empty:\n");
return;
}
else
{
s1=s;
printf("\n student in list are:\n");
while(s1!=NULL)
{
printf("roll no: %d \n",s1->rollno );
printf(" name of student:%s \n",s1->name);
printf(" percentage:%d \n",s1->percentage);

s1=s1->next ;
}

Page 8
}
}
void insert_begin()
{
p=(struct student*)malloc(sizeof(struct student));
printf("\n Enter new student rollno \t" );
scanf("%d",&p->rollno);
printf("\n Eter the name:");
scanf("%s",p->name);
printf("\nEnter percentage:");
scanf("%d",&p->percentage);
p->next =NULL;
if(s==NULL)
{
s=p;
}
else
{
p->next=s;
s=p;
}
}

9
void search()
{
int roll,found=0;
printf("\n enter the rollno of student which you want to
search:\n");
scanf("%d",&roll);
tmp=s;

while(tmp!=NULL)
{
if(roll==tmp->rollno)
{

found=1;
break;
}
tmp=tmp->next;
}
if(found==1)
{
printf("\n The student with studentroll %d is present in
list\n",roll);
printf("\n Student name: %s",tmp->name);

Page 10
printf("\n Student percentage: %d",tmp->percentage);

else
{
printf("\n student is not present in list");
}

11
OUTPUT:

*FOR MENU:

Page 12
*CHOICE FIRST OPTION:

13
Page 14
*CHOICE SECOND OPTION :

*CHOICE THIRD OPTION:


15
*CHOICE FOURTH OPTION:
(WHEN STUDENT IS PRESENT IN THE LIST)

Page 16
(WHEN STUDENT IS NOT PRESENT IN LIST)

*CHOICE FIVETH OPTION:


(EXIT FROM THE LIST)

17
Page 18
Skill development :

1. Improve the ability to work quickly with team


members.

2. Improve communication and presentation skill.

3. Improve ability creating array.

4. Improve ability to implement program of Student


management system.

19

You might also like