0% found this document useful (0 votes)
52 views17 pages

Thakur Polytechnic Diploma in Computer Engineering

This document is a certificate of completion for a micro project done by a group of 5 students - Yug Jain, Manish Jangid, Sanskar Javalekar, Aum Jha, and Yash Jogle - for their Programming in C subject. It certifies that the students have successfully completed the micro project as prescribed in the curriculum. The acknowledgement section thanks the various people who helped the students complete the project, including their guide and principal. The index lists the contents of the project report, which includes the rationale, methodology, and outputs of designing a college database management system using C programming.

Uploaded by

12vipul gupta
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)
52 views17 pages

Thakur Polytechnic Diploma in Computer Engineering

This document is a certificate of completion for a micro project done by a group of 5 students - Yug Jain, Manish Jangid, Sanskar Javalekar, Aum Jha, and Yash Jogle - for their Programming in C subject. It certifies that the students have successfully completed the micro project as prescribed in the curriculum. The acknowledgement section thanks the various people who helped the students complete the project, including their guide and principal. The index lists the contents of the project report, which includes the rationale, methodology, and outputs of designing a college database management system using C programming.

Uploaded by

12vipul gupta
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/ 17

THAKUR POLYTECHNIC

DIPLOMA IN COMPUTER ENGINEERING

FYCO A
SEMESTER 2 (2022-2023)

SUBJECT: PROGRAMMING IN C

54.Yug Jain
55.Manish Jangid
56.Sanskar Javalekar
57. Aum Jha
58. Yash Jogle

GUIDED BY – MS. KADAMBARI PATIL


Maharashtra State Board of Technical Education

Certificate of Completion of Micro Project

This is to certify that the following group of students Roll.no. 54 to 58 of 2nd Semester
of Diploma in COMPUTEER ENGINEERING of institute, THAKUR
POLYTECHNIC (Code: 0522) have successfully completed the Micro Project
satisfactory in subject in – Programming in C (22226) for the academic year 2022-
2023 as prescribed in the curriculum.

Names of the members, roll numbers & enrollment numbers.

Sr. No. Names Enrollment No.


54 Yug Jain 2205220403
55 Manish Jangid 2205220406
56 Sanskar Javalekar 2205220410
57 Aum Jha 2205220412
58 Yash Jogle 2205220414

Place: Mumbai
Date:

Subject Teacher Head of Department Principle


ACKNOWLEDGEMENT

We feel immense pleasure in submitting this report on “Make a snake and ladder
game using C Programming.” While submitting this report, we avail this
opportunity to express our gratitude to all those who helped us in completing this
task. Heading the list with our own honorable Principal Dr.S.M. Ganechari who
is the beginner of our inspiration. We owe our deep gratitude and also very
thankful to our guide Ms. Kadambari Patil, Ms. Vaishali Rane (HOD-CO) and
Mrs., Pratibha Lotlikar, FY In charge who has proven to be more than just a
mere guide to us. Apart from bringing to us what can be joy of successful
completion of this project was only possible due to her guidance and co-
operation without which this work would never have been completed. Finally,
we wish to express our deep sense of respect and gratitude to each and every
staff member who has helped us in many ways and also our parents who have
always bared with us in any critical situation and to all others, sparing their time
and helping us for completion of this project in whatever way they could. And
lastly, we are grateful to each other member of our group.

THANK YOU!
INDEX

Sr. Description
No.
(Part 1) Micro Project Proposal.
1 Aim/Benefits of the Micro Project.
2 Course Outcomes Addressed.
3 Proposed Methodology.
4 Action Plan.
5 Resources Used.

(Part 2) Micro-Project Report.


1 Rationale.
2 Aims/Benefits of the micro project.
3 Course Outcomes Addressed.
4 Literature Review.
5 Actual Methodology.
6 Actual Resources Used.
7 Outputs of the micro project.
8 Skills Developed/ Learning Outcomes.
9 Application of the micro project.
1. Aim/Benefits of the Project
Micro-Project can also help students to develop skills specific to collaborative
efforts, allowing students to tackle more complex problems then they could do
on their own.

 Delegate the roles and responsibilities.


 Share diverse perspectives.
 To study and build a college database management using C.
 To develop additional skills integral to the future, such as critical thinking
and time management.

2. Course Outcomes Addressed


 Write Simple ‘C’ programs using arithmetic expressions.
 Develop ‘C’ programs using control structure.
 Develop ‘C’ programs using arrays and structures.
 Develop/Use functions in C programs for modular programming approach.

3. Proposed Methodology
In order to complete this micro-project of Programming in C the procedure
that we will follow is given below.
 Collection of information.
 Coordination with necessary ethics.
 Group discussion.
 References from books and internet websites.
 Execution of project.
 Preparing report.
 Presentation of project.
 Project submission.
4. Action Plan

Sr.No. Details of Activity Planned start date Planned finish Name of


date responsible team
members

1. Information search 10/02/2023 16/02/2023 Yug Jain

2. Group Discussion 17/02/2023 22/02/2023 All members

4. Taking reference 23/02/2023 27/02/2023 Yug Jain

5. Executions 28/02/2023 09/03//2023 All Members

6. Compilation of 10/03/2023 18/03/2023 Yug Jain


reports
7. Presentation and 25/03/2023 31/03/2023 All members
report submission

5. Resources Required

Sr.No. Name of the Specifications Remark


resources/materials
1. Internet www.youtube.com Available
2. VS Code IDE Available

Name of student members


Yug Jain – 54
Manish Jangid – 55
Sanskar Javalekar – 56
Aum Jha – 57
Yash Jogle - 58

Miss Kadambari Patil


College Database Management System using C Programming.
1. Rationale:
C is a general-purpose computer programming language. It was created in the 1970s by Dennis
Ritchie and remains very widely used and influential. By design, C's features cleanly reflect the
capabilities of the targeted CPUs. C has the capabilities of an assembly language (low-level features)
with the feature of a high-level language so it is well suited for writing both system software and
application software. C is a highly portable language i.e. code written in one machine can be moved
to another which is a very important and powerful feature. Its closeness to the hardware, great
portability, and deterministic usage of resources makes it ideal for low-level development for such
things as operating system kernels and embedded software. This is the main reason why most parts
of Linux, Android, and Windows (especially kernels) are written in C.

2. Aim/ Benefits of the Micro project:


 Delegate the roles and responsibilities.
 Share diverse perspectives.
 To make students aware about C Programming.
 To study the keywords, identifiers, variable, constants, if. Else statements, loops and
input/outputs used in C Programming.
 To develop additional skills integral to the future, such as critical thinking and time
management.

3. Course Outcome Address


 Write Simple ‘C’ programs using arithmetic expressions.
 Develop ‘C’ programs using control structure.
 Develop ‘C’ programs using arrays and structures.
 Develop/Use functions in C programs for modular programming approach.

4. Literature Review
College database management systems are essential tools for educational institutions to
manage student information, course schedules, and other administrative functions. A
literature review shows that these systems can improve efficiency, data accuracy, and
decision-making processes. However, issues such as security and data privacy must be
carefully considered. Additionally, user training and system implementation can be
significant challenges. Overall, effective database management can enhance the overall
effectiveness of a college or university.
The design of the college database management system in C is simple and clean, making it
simple to learn, use and explore. Basic concept of C like
1)if-else statement - The if-else statement in C is used to perform the operations based on
some specific condition. The operations specified in if block is executed if and only if the
given condition is true.
2) void - It means “no type”, “no value” or “no parameters”, depending on the context. We
use it to indicate that: a function does not return value, a function does not accept parameters,
a pointer does not have a specific type and could point to different types.
3) printf - The printf() is a library function to send formatted output to the screen. The
function prints the string inside quotations. To use printf() in our program, we need to
include stdio.
4) scanf - The scanf() function reads data from the standard input stream stdin into the
locations given by each entry in argument-list. Each argument must be a pointer to a variable
with a type that corresponds to a type specifier in format-string.
5) for loop - A for loop is a repetition control structure that allows you to efficiently write a
loop that needs to execute a specific number of times.
6) switch statement - The is evaluated once and compared with the values of each label. If
there is a match, the corresponding statements after the matching label are executed. For
example, if the value of the expression is equal to, statements after are executed until is
encountered. If there is no match, the default statements are executed

5. Actual Methodology Followed:


Once the micro project title was disclosed, the given topic was divided into smaller subtopics
which then were sent to all the group members. Once the group members had received their
subtopics, the team members researched their sub topic and sent their respective data to the
team group for everyone to read and understand. This data was then be accumulated in a
report and submitted to Miss Kadambari Patil for correction.

6. Actual Resources Used:


Name of
Sr Specification Remarks
No
Resources
material
1 Internet www.youtube.com Available

2 VS Code IDE Available


7. Outputs of the Micro Project:
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include<windows.h>
#include<string.h>
void gotoxy(int, int);
void menu();
void add();
void view();
void search();
void modify();
void deleterec();
struct student
{
char name[20];
char mobile[10];
int rollno;
char course[20];
char branch[20];
};
int main()
{
gotoxy(15,8);
printf("<--:Student Record Management System:-->");
gotoxy(19,15);
printf("Press any key to continue.");
getch();
menu();
return 0;
}
void menu()
{
int choice;
system("cls");
gotoxy(10,3);
printf("<--:MENU:-->");
gotoxy(10,5);
printf("Enter appropriate number to perform following task.");
gotoxy(10,7);
printf("1 : Add Record.");
gotoxy(10,8);
printf("2 : View Record.");
gotoxy(10,9);
printf("3 : Search Record.");
gotoxy(10,10);
printf("4 : Modify Record.");
gotoxy(10,11);
printf("5 : Delete.");
gotoxy(10,12);
printf("6 : Exit.");
gotoxy(10,15);
printf("Enter your choice.");
scanf("%d",&choice);
switch(choice)
{
case 1:
add();
break;

case 2:
view();
break;

case 3:
search();
break;

case 4:
modify();
break;

case 5:
deleterec();
break;

case 6:
exit(1);
break;

default:
gotoxy(10,17);
printf("Invalid Choice.");
}
}
void add()
{
FILE *fp;
struct student std;
char another ='y';
system("cls");

fp = fopen("record.txt","ab+");
if(fp == NULL){
gotoxy(10,5);
printf("Error opening file");
exit(1);
}
fflush(stdin);
while(another == 'y')
{
gotoxy(10,3);
printf("<--:ADD RECORD:-->");
gotoxy(10,5);
printf("Enter details of student.");
gotoxy(10,7);
printf("Enter Name : ");
gets(std.name);
gotoxy(10,8);
printf("Enter Mobile Number : ");
gets(std.mobile);
gotoxy(10,9);
printf("Enter Roll No : ");
scanf("%d",&std.rollno);
fflush(stdin);
gotoxy(10,10);
printf("Enter Course : ");
gets(std.course);
gotoxy(10,11);
printf("Enter Branch : ");
gets(std.branch);
fwrite(&std,sizeof(std),1,fp);
gotoxy(10,15);
printf("Want to add of another record? Then press 'y' else 'n'.");
fflush(stdin);
another = getch();
system("cls");
fflush(stdin);
}
fclose(fp);
gotoxy(10,18);
printf("Press any key to continue.");
getch();
menu();
}
void view()
{
FILE *fp;
int i=1,j;
struct student std;
system("cls");
gotoxy(10,3);
printf("<--:VIEW RECORD:-->");
gotoxy(10,5);
printf("S.No Name of Student Mobile No Roll No Course Branch");
gotoxy(10,6);
printf("--------------------------------------------------------------------");
fp = fopen("record.txt","rb+");
if(fp == NULL){
gotoxy(10,8);
printf("Error opening file.");
exit(1);
}
j=8;
while(fread(&std,sizeof(std),1,fp) == 1){
gotoxy(10,j);
printf("%-7d%-22s%-12s%-9d%-12s%-
12s",i,std.name,std.mobile,std.rollno,std.course,std.branch);
i++;
j++;
}
fclose(fp);
gotoxy(10,j+3);
printf("Press any key to continue.");
getch();
menu();
}
void search()
{
FILE *fp;
struct student std;
char stname[20];
system("cls");
gotoxy(10,3);
printf("<--:SEARCH RECORD:-->");
gotoxy(10,5);
printf("Enter name of student : ");
fflush(stdin);
gets(stname);
fp = fopen("record.txt","rb+");
if(fp == NULL){
gotoxy(10,6);
printf("Error opening file");
exit(1);
}
while(fread(&std,sizeof(std),1,fp ) == 1){
if(strcmp(stname,std.name) == 0){
gotoxy(10,8);
printf("Name : %s",std.name);
gotoxy(10,9);
printf("Mobile Number : %s",std.mobile);
gotoxy(10,10);
printf("Roll No : %d",std.rollno);
gotoxy(10,11);
printf("Course : %s",std.course);
gotoxy(10,12);
printf("Branch : %s",std.branch);
}
}
fclose(fp);
gotoxy(10,16);
printf("Press any key to continue.");
getch();
menu();
}
void modify()
{
char stname[20];
FILE *fp;
struct student std;
system("cls");
gotoxy(10,3);
printf("<--:MODIFY RECORD:-->");
gotoxy(10,5);
printf("Enter name of student to modify: ");
fflush(stdin);
gets(stname);
fp = fopen("record.txt","rb+");
if(fp == NULL){
gotoxy(10,6);
printf("Error opening file");
exit(1);
}
rewind(fp);
fflush(stdin);
while(fread(&std,sizeof(std),1,fp) == 1)
{
if(strcmp(stname,std.name) == 0){
gotoxy(10,7);
printf("Enter name: ");
gets(std.name);
gotoxy(10,8);
printf("Enter mobile number : ");
gets(std.mobile);
gotoxy(10,9);
printf("Enter roll no : ");
scanf("%d",&std.rollno);
gotoxy(10,10);
printf("Enter Course : ");
fflush(stdin);
gets(std.course);
gotoxy(10,11);
printf("Enter Branch : ");
fflush(stdin);
gets(std.branch);
fseek(fp ,-sizeof(std),SEEK_CUR);
fwrite(&std,sizeof(std),1,fp);
break;
}
}
fclose(fp);
gotoxy(10,16);
printf("Press any key to continue.");
getch();
menu();
}
void deleterec()
{
char stname[20];
FILE *fp,*ft;
struct student std;
system("cls");
gotoxy(10,3);
printf("<--:DELETE RECORD:-->");
gotoxy(10,5);
printf("Enter name of student to delete record : ");
fflush(stdin);
gets(stname);
fp = fopen("record.txt","rb+");
if(fp == NULL){
gotoxy(10,6);
printf("Error opening file");
exit(1);
}
ft = fopen("temp.txt","wb+");
if(ft == NULL){
gotoxy(10,6);
printf("Error opening file");
exit(1);
}
while(fread(&std,sizeof(std),1,fp) == 1){
if(strcmp(stname,std.name)!=0)
fwrite(&std,sizeof(std),1,ft);
}
fclose(fp);
fclose(ft);
remove("record.txt");
rename("temp.txt","record.txt");
gotoxy(10,10);
printf("Press any key to continue.");
getch();
menu();
}
void gotoxy(int x,int y)
{
COORD c;
c.X=x;
c.Y=y;
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),c);
}
8. Skill Developed/ Learning outcome of the Micro Project:
In the complete duration of the micro project, each member of the team member has learned:

 To use different user defined function, to break a program into many simplified parts
to deal with and to make it easier to understand the codes too.
 To apply the file handling concepts in order to retrieve data enter by the user.
 To use minimum graphics as far as possible to make the program execute fast but also
user-friendly side by side.
 To use general concept of c language to develop a simple college database
management system which can help the user.

9. Applications of the Micro Project:

 Compatible as multi-purpose system.


 Use minimum graphics in database system as far as possible avoiding complex codes.
 Users preferring the database system.
 Beginners in computer programming can take hints via the mini project to boost up
their programming techniques.
 Can be brought in practice in training centers that offers basic programming courses.
 Simplicity and efficient is main fact that we get using the c language, so user can
execute snakes and ladders in each and every computer almost.
 Can be milestone for the programmers trying to learn to build projects in C.

Miss Kadambari Patil

You might also like