Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 30

A Project Report

On
Slam book generation system
A
Dissertation
Submitted in the Partial Fulfillment of the
Academic Requirements
for the Award of the Degree of

BACHELOR OF TECHNOLOGY
IN
ELECTRONICS AND COMMUNICATION
ENGINEERING
By
1)ABHIGNA NARAGANI (19RH1A04F8)
2) NAYINI AKANKSHA (19RH1A04G0)

Under the Esteemed guidance of


Name of the Internal Guide
Designation

DEPARTMENT OF HUMANITIES & SCIENCES

MALLAREDDY ENGINEERING COLLEGE FOR WOMEN


(Autonomous Institution-UGC, Govt. of India)
Accredited by NBA & NAAC with ‘A’ Grade, UGC, Govt. of India
NIRF Indian Ranking–2018, Accepted by MHRD, Govt. of India
Permanently Affiliated to JNTUH, Approved by AICTE, ISO 9001:2015 Certified Institution
AAAA+ Rated by Digital Learning Magazine, AAA+ Rated by Careers 360 Magazine, 6th Rank CSR
Platinum Rated by AICTE-CII Survey, Top 100 Rank band by ARIIA, MHRD, Govt. of India
National Ranking-Top 100 Rank band by Outlook, National Ranking-Top 100 Rank band by Times News Magazine
Maisammaguda, Dhulapally, Secunderabad, Kompally-500100
2019 – 2020

______________________________________________________________________________
CERTIFICATE

This is to certify that this is the bonafied record of the project titled
“Slam book generation system” submitted by

ABHIGNA NARAGANI (19RH1A04F8)


NAYINI AKANKSHA (19RH1A04G0)

of First year B.Tech, in the partial fulfillment of the requirements for the degree of
Bachelorof Technology in Electronics and Communication Engineering during the
year 2019-2020. The results embodied in this project report have not been
submitted to any otheruniversity or institute for the award of any degree or
diploma.

Project Coordinator Head of Dept


Y.MADHAN REDDY Prof. CH.KUSUMA KUMARI

(Asst.professor)
ACKNOWLEDGEMENT

We feel ourselves honored and privileged to place our warm salutation to ourcollege
Malla Reddy Engineering College for Women and department of Computer Science &
Engineeringwhich gave us the opportunity to have expertise in engineering and profound
technical knowledge.
We would like to thank our Project co-coordinators Mr.Y.MADAN REDDY for their
kind encouragement and overall guidance in viewing this program a good asset. With profound
gratitude,
We express our heartiest thanks to Mrs. CH KUSUMA KUMARIHead of the
Department,H&Sfor encouraging us in every aspect of our project.
We wish to convey gratitude to our Principal Dr.Y.MADHAVEE LATHA, for
providing us with the environment and means to enrich our skills and motivating us in our
endeavor and helping us realize our full potential.

With Regards and Gratitude

ABHIGNA NARAGANI (19RH1A04F8)


NAYINI AKANKSHA (19RH1A04G0)
DECLARATION

We hereby declare that the project entitled “SLAM BOOK GENERATION SYSTEM
"submitted to Malla Reddy Engineering College for Women(UGC-AUTONOMOUS),
affiliated to Jawaharlal Nehru Technological University, Hyderabad for the award of the
Degree of Bachelor of Technology inELECTRONICS and COMMUNICATION
Engineering is a result of original research work done by us.
It is further declared that the project report or any part thereof has not been previously
submitted to any University or Institute for the award of degree or diploma.

ABHIGNA NARAGANI (19RH1A04F8)


NAYINI AKANKSHA (19RH1A04G0)
ABSTRACT

SLAM BOOK GENERATION system Project report deals with all


kind of friends details, their personal information, college details, family
details, friends, batches and their future related details too. It tracks all
the details of a student from the day one to the end of his course which
can be used for all reporting purpose, tracking of attendance, progress
in the course, completed semesters years, coming semester year
curriculum details, exam details, project or any other assignment
details, final exam result; and all these will be available for future
references too.

Our program will have the databases of the keeper of the book starts
by posing a question (which may be on any subject) and the book is
then passed round for each contributor to fill in their own answer to
the question.

Web-based slam book sites have attracted controversy for hosting


virtual slam books in which individuals or organizations are targeted for
criticism that constitutes bullying or defamation.some point to slam
books as the analog precursor to anonymous trolling and negative
social interactions on Twitter and Facebook.Slam books can also exist in
virtual formats.

This program can facilitate us explore all the activities happening


between freinds, even we can get to know about the friends details ,
the current status of them, performance of their and upcoming events
of them. Queries can be generated based of vast options related to
freinds, even for the entire college
i

INDEX

S.No Title Page No


Abstract 1
1 Introduction 1
2 Requirements 2
3 Analysis 3
4 Design 4,5,6
5 Implementation 7-19
6 Testing 20
7 Output Screens 21-24
8 Conclusion 25
9 References 26
INTRODUCTION

The slam book generation system is at the heart of almost all activity relating to freinds and
their actions at Queen's. The sbs deals with the various different questions like their date of birth
,and some personal information . It deals with prospective freinds, through to enrolments, fees,
and registration. It also deals with exam results, graduation and statutory reports.
1.1 Purpose of SIS Project
The key objectives of the project are to:
o Books which would contain a person or teacher topic of some sort and was password
o around where other students would write mean or harshful comments about them.
o Easy to remember the names of all classmates and their details.
o Its bring back past memories
 Allow easy interface to, and seamless integration with, other key systems.
1.2 scope
The aim is to adopt a system that :
Provides a single, complete, integrated & authoritative source of information for all
management.

 If you are a tool and don't have a creative bone in your body, and can only post
things created by other people.
 Other friend can view and like the picture
 Online feature can be added.
Objectives:

The main objective of online slam book is to provide the ease to accesise the reviews of
youe peeps.
 Proper maintenance of friends record.
 No paper work is required.
 E-mail facility is also available.
 Reduce time consumption.
2. REQUIREMENTS

2.1 Hardware Requirements:

1. RAM 1GB
2. HARDDISK 80GB
3. PROCESSOR PENTIUM

2.2 Software Requirements:

1. Operating System: Windows 7


2. Turbo C IDE.

3. ANALYSIS PHASE
3.1 Introduction

This whole system is divided into different module.


They are
1. Add friendpage
2. Update page
3. Delete page
4. View page
5. Print page.

Add friend page


collects the following attributes values from the user.
Attributes are Name of person, DOB, zodiacsign, profession, email phone number.
And System places this information into the global variables.

Update Student information

This module allows the user to change the friend information.

Delete Student Information

This module allows the user to delete the page from the database.

View Student Database

This module allows the user to view friend details.

Print Student Information

This module allows the user to print friend details.

4. DESIGN PHASE
4.1 ALGORITHM
STEP 1:Enter the login and password .
If login=keehar and password=keehargoto step 2
Else repeat step 1 .If login is fail for 3 times then exit and goto step 8.
STEP 2:Display the menu to select the options using switch case
1)NEW goto step3
2)DELETE goto step4
3)UPDATE goto step5
4)DISPLAY goto step6
5)PRINT goto step7
6)EXIT goto step8
STEP 3:call function add() in which following information is entered-> name, zodiac sign,dob,
address and profession is input.After this call menu() and Goto step 2.
STEP 4:call function delete() in which following information is deleted->friend name,zodiac,dob
and profession is input.After this call menu() and Goto step 2.
STEP 5:call function update() in which following information is to updated by using following
options 1) Student name goto step 6
2) page nogoto step 7
3) zodiac signgoto step 8
4) dob goto step 9
5) professiongoto step 10
After completion call menu() and Goto step 2.
STEP 6:Updatenamegoto step 2
STEP 7:Updatepage number goto step 2
STEP 8:Updatedobgoto step 2
STEP 9:Updateprofession goto step 2
STEP 10:Updatezodiac signgoto step 2
STEP 11:call function display() in which following information is displayed-
>friendname,zodiacsign,dob, and profession is input.After this call menu() and Goto step 2.
STEP 12:call function print() in which following information is printed in printable format
->name,dob,zodiacsign,andprofession is input.After this call menu() and Goto step 2.
STEP 13:EXIT
STEP 14:Thank you message is display

4.2 FLOW CHART


MAIN

UPDATE DELETE VIEW PRINT


ADD
FRIEND DETAILS
ENTER LOGIN AND PASSWORD

no
yes
If login=KEEHAR&& password=*** ?
ccssdfhghgss
C<cc yes
Input name,sno,phone,address1,email and choice

Enter choice

Switch choice 8

Case 1: add() 1

Case 2: delete()
7 2
6
update()
Case 3: 3
Case 5: print() 5
Case 4: display()
4
Default:Invalid Choice
6
7
EXIT

1
Enter
name,zodiacsign,dob,profession

Record added
successfully
8
5.IMPLEMENTATION
#include<conio.h>
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
void menu();
void header();
void newaccount();
void add();
void login();
void search();
void display();
void deleted();
void update();
int ch,count=0,f=0;
char tid[10];
char uname[20]="keehar";
char pass[20]="keehar";
struct friends
{
char pg_no[10],name[20],hobby[20],prof[20],sign[10],dob[10];
}slam;
struct friends slam1={0};
void main()
{
login();
}
void login()
{
char un[10];
char ps[10];
header();
while(count<3)
{
printf("\nusername:");
scanf("%s",un);
printf("password:");
scanf("%s",ps);
if(strcmp(un,uname)==0&&strcmp(ps,pass)==0)
{
printf("MY SLAM BOOK");
menu();
}
else
{
printf("try again");
count++;
getch();
login();
}
}
if(count==3)
{
printf("ur attempts are over");
getch();
exit(0);
}
getch();
}
void menu()
{
header();
gotoxy(23,9);
printf("\n1.CREATE A NEW ACCOUNT");
gotoxy(23,10);
printf("\n2.ADD A NEW PAGE");
gotoxy(23,11);
printf("\n3.SEARCH A PAGE");
gotoxy(23,12);
printf("\n4.DISPLAY A PAGE");
gotoxy(23,13);
printf("\n5.DELETE A PAGE");
gotoxy(23,14);
printf("\n6.UPDATE A PAGE");
gotoxy(23,15);
printf("\n7.EXIT");
gotoxy(23,16);
printf("\nENTER UR WHAT U WANT");
scanf("%d",&ch);
switch(ch)
{
case 1:newaccount();
break;
case 2:add();
break;
case 3:search();
break;
case 4:display();
break;
case 5:deleted();
break;
case 6:update();
break;
case 7:exit(0);
}
getch();
}
void newaccount()
{
FILE *fp;
fp=fopen("student.txt","w");
printf("\n ONE NEW FILE CREATED SUCCESFULLY");
getch();
fclose(fp);
getch();
menu();
}
void add()
{
FILE *fp;
fp=fopen("friends.txt","a+");
if(fp==NULL)
{
printf("PAGE IS NOT CREATED");
getch();
exit(0);
}
printf("\n ENTER PAGE NUMBER");
scanf("%s",&slam.pg_no);
printf("\ENTER YOUR NAME");
scanf("%s",&slam.name);
printf("\n ENTER UR ZODIAC SIGN");
scanf("%s",&slam.sign);
printf("\n ENTER your PROFESSION");
scanf("%s",&slam.prof);
printf("\n ENTER YOUR HOBBIES");
scanf("%s",&slam.hobby);
printf("\n ENTER DATE OF BIRTH");
scanf("%s",&slam.dob);
fwrite(&slam,sizeof(slam),1,fp);
printf("\nNOW YOU ARE IN MY FRIENDS LIST");
getch();
fclose(fp);
menu();
}
void search()
{
FILE *fp;
fp=fopen("friends.txt","r+");
if(fp==NULL)
{
printf("PAGE IS NOT OPENED");
getch();
exit(0);
}
printf("ENTER UR DETAILS:");
scanf("%s",&tid);
while(fread(&slam,sizeof(slam),1,fp))
{
if(!strcmp(slam.pg_no,tid))
{
f=1;
printf("\n\t\t\tPAGE IS FOUND");
printf("\nPAGE NUM :%s",slam.pg_no);
printf("\nNAME :%s",slam.name);
printf("\nZODIAC SIGN :%s",slam.sign);
printf("\nPROFESSION :%s",slam.prof);
printf("\nHOBBIES :%s",slam.hobby);
printf("\nDATE OF BIRTH :%s",slam.dob);
printf("\n\n");
getch();
}}
if(f==0)
printf("\n\n\t\t\tPAGE is not FOUND");
getch();
fclose(fp);
menu();
}
void display()
{
FILE *fp;
fp=fopen("friends.txt","r+");
if(fp==NULL)
{
printf("PAGE IS NOT OPENED");
getch();
exit(0);
}
while(fread(&slam,sizeof(slam),1,fp))
{
if(strcmp(slam.pg_no,'\0'))
{
f=1;
printf("\nPAGE NUM :%s",slam.pg_no);
printf("\nNAME :%s",slam.name);
printf("\nZODIAC SIGN :%s",slam.sign);
printf("\nPROFESSION :%s",slam.prof);
printf("\nHOBBIES :%s",slam.hobby);
printf("\nDATE OF BIRTH :%s",slam.dob);
printf("\n\n");
getch();
}}
if(f==0)
printf("\n\n\t\t\tNO ACCOUNT");
getch();
fclose(fp);
menu();
}
void deleted()
{
FILE *fp;
fp=fopen("friends.txt","r+");
if(fp==NULL)
{
printf("PAGE IS NOT OPENED");
getch();
exit(0);
}
printf("ENTER UR PAGE NUMBER TO BE DELETED:");
scanf("%s",&tid);
while(fread(&slam,sizeof(slam),1,fp))
{
if(!strcmp(slam.pg_no,tid))
{
f=1;
printf("\n\t\t\tONE PAGE IS DELETED SUCCESSFULLY");

printf("\nPAGE NUMBER :%s",slam.pg_no);


printf("\nNAME :%s",slam.name);
printf("\nZODIAC SIGN:%s",slam.sign);
printf("\nPROFESSION :%s",slam.prof);
printf("\nHOBBIES:%s",slam.hobby);
printf("\nDATE OF BIRTH:%s",slam.dob);
printf("\n\n");
getch();
fseek(fp,ftell(fp)-sizeof(slam),0);
fwrite(&slam1,sizeof(slam),1,fp);
}}
if(f==0)
printf("\n\n\t\t\tPAGE is not FOUND");
getch();
fclose(fp);
menu();
}
void update()
{
FILE *fp;
fp=fopen("friends.txt","r+");
if(fp==NULL)
{
printf("ACCOUNT IS NOT OPENED");
getch();
exit(0);
}
printf("ENTER UR PAGE NUMBER TO BE UPDATED:");
scanf("%s",&tid);
while(fread(&slam,sizeof(slam),1,fp))
{
if(!strcmp(slam.pg_no,tid))
{
f=1;
printf("\nPAGE NUMBER :%s",slam.pg_no);
printf("\nNAME :%s",slam.name);
printf("\nZODIAC SIGN :%s",slam.sign);
printf("\nPROFESSION :%s",slam.prof);
printf("\nHOBBIES :%s",slam.hobby);
printf("\nDATE OF BIRTH :%s",slam.dob);
printf("\n\n");
getch();printf(" 1.PAGE NUM\n2.NAME\n3.SIGN\n4.ROFESSION\n5.HOBBIES\n6.DOB:");
printf("enter ur choice :");
scanf("%d",&ch);
switch(ch)
{
case 1:printf("enter new name");
scanf("%s",slam.name);
break;
case 2:printf("enter zodiac sign");
scanf("%d",&slam.sign);
break;
case 3:printf("enter profession");
scanf("%s",slam.prof);
break;
case 4:printf("enter your hobbies");
scanf("%s",slam.hobby);
break;
case 5:printf("enter your date ofbirth");
scanf("%s",slam.dob);
break;
}
fseek(fp,ftell(fp)-sizeof(slam),0);
fwrite(&slam,sizeof(slam),1,fp);
printf("\n\t\t\t PAGE IS updated SUCCESSFULLY");
}}
if(f==0)
printf("\n\n\t\t\tPAGE is not FOUND");
getch();
fclose(fp);
menu();
}
void header()
{
clrscr();
gotoxy(20,5);
textcolor(YELLOW);
cprintf("*******************************");
gotoxy(10,6);
textcolor(WHITE);
cprintf("@@@@@@@@@@@@@@@....MY SLAM BOOK....
@@@@@@@@@@@@@@");
gotoxy(20,7);
textcolor(YELLOW);
cprintf("********************************");
}
6. TESTING PHASE

6.2 Introduction
S.N Test case Test case Expected Result Obtained Status(Pass/Fai
o Name Description Result l)

1 Log_01 Enter the valid Log in success Log in filled


login and success
Password
2 Log_02 Enter the valid Log in success Log in not Not filled
login and successful
Password
3 Log_03 Enter the in Again enter valid Again filled
valid login and details enter
Password valid
details
4 Log_04 Enter the in Again enter valid Log in filled
valid login and details success
Password full
7 OUTPUT SCREENS
8 CONCLUSIONS

This slam book generation project will serve as a useful approach to many friends
through their information present in the slam book. update add, advanced search options
for the authorized person. It is a easily accessible way to contact friends. It reduces the
time taken by the user to add, update, delete, view& search the information.
Thus the project is the user friendly approach.
9. REFRENCES
1. C programming by Balagurusamy
2. Let us c by Yashwanthkanethkar
3. Google search engine.

You might also like