Sunteți pe pagina 1din 23

Diabetes Detection System

Submitted To:

Dr. Ch. Ram Mohan Reddy

(Assistant Professor)

Submitted By:
Keerthana Bhushan SN (1BM19MCA22)
Department Of Computer Application

BMS College of Engineering


CERTIFICATE

This is to certify that the project entitled “Diabetes detection system”


carried out is a bonafide work done by Keerthana Bhushan
SN(1BM19MCA22)and is submitted in partial fulfillment of the
requirements for the award of the Master of Computer Applications
(MCA).

Signature of Supervisor:
Name of Supervisor:
Dr. Ch. Ram Mohan Reddy
Date:
ACKNOWLEDGEMENT

It gives us a great sense of pleasure to present the report of the MCA


AAT Project undertaken during MCA first year. This project would
never have seen the light of the day without the help and guidance that
we have received.
Our heartfelt thanks to Dr. B. V. Ravishankar, Principal of BMSCE
and Dr.K.Vijaykumar, Head of Dept of MCA for providing us with an
encouraging platform to develop this project, which helped us in
shaping our abilities towards a constructive goal. We owe a special
debt of gratitude to Dr. Ch. Ram Mohan Reddy for his constant
support and guidance throughout the course of our work. His
sincerity, thoroughness and perseverance have been a constant source
of inspiration for us. He has showered us with all his extensively
experienced ideas and insightful comments at virtually all stages. Last
but not least, we acknowledge our friends for their contribution to
the completion of the project.

Keerthana Bhushan SN
CONTENTS

1 Abstract 1

2 System Requirements 1

3 UMLdiagrams(usecase,Activity,Class) 2

4 Coding 5

5 Screenshots 9

6 Conclusion 12

7 Bibilography 12
1.Abstract

Diabetes detection system (DDS) is a project that is capable of detecting potential


diabetes based on question-answer based techniques. This project enables the user to
stay aware about the symptoms that they have that may lead to diabetes, without
having to see the doctor.

Using all these symptoms a user can make the best use of this project and take all the
precautionary measures to avoid diabetes. In this version of DDS is a project
developed using turbo c ++, which helps people to detect whether they are in type1,
type2 or an healthy patient.

2.System Requirements
HARDWARE AND SOFTWARE REQUIREMENTS

Hardware:

Processor: Intel core i3-4005U CPU@1.70GHz 1.70GHz

RAM:4.00GB

System type: 65bit OS, x64-based processor.

Software:

Operating system: Windows 10

Ide: Turbo C++

Department of Computer Applications,BMSCE Page 1


UML

UML: Use case

DIABETES DETECTION SYSTEM

Enter personal info


If the person is
diabetic

Analysis of the info

Customer Developer

Redirects the details

Announce the results

Department of Computer Applications,BMSCE Page 2


Department of Computer Applications,BMSCE Page 3
Department of Computer Applications,BMSCE Page4
CODE
#include<iostream.h>
#include<stdio.h>
#include<conio.h>
#include<ctype.h>
#include<dos.h>
#include<graphics.h>
#include<process.h>
class diabetes

{
private:
char name[40];
float age;
int wt;
float ht;
char sex;
char *s;
public:
void welcome_screen(void);
void getvalue(void);
void getlevel1_symptoms(void);
void getlevel2_symptoms(void);
void getlevel3_symptoms(void);
int analyse_symptoms(int);
char display_message(int,int);
};

Department of Computer Applications,BMSCE Page 5


{
char ch,choice,cho;
//int m,n=2;
float m;
int n=1;
if(choice=='Y')
{
++n;
dts.getlevel3_symptoms();
m=dts.analyse_symptoms(n);
cho=dts.display_message(n,m);
cho=toupper(cho);
if(cho=='Y')
{
++n;
dts.getlevel3_symptoms();
m=dts.analyse_symptoms(n);
choice=dts.display_message(m,n);
}
}
}
}
void diabetes::welcome_screen()
{
clrscr();
gotoxy(23,7);
textcolor(BLUE);
cputs("********* W E L C O M E ********* " );
gotoxy(25,9);

Department of Computer Applications,BMSCE Page 6


{
sound(2000);
delay(120);
nosound();
gotoxy(x,14);
//puts("D O N E B Y : ");
gotoxy(x,16);
//puts("K E E R T
gotoxy(43,18);

void diabetes::getvalue()
{
clrscr();
textcolor(WHITE);
gotoxy(20,8);
cputs(" P E R S O N A L I N F O R M A T I O N");
gotoxy(25,10);
cputs("N A M E :");
gotoxy(25,12);
cputs("A G E :");
gotoxy(25,14);
cputs("W E I G H T :");
gotoxy(25,16);
cputs("H E I G H T :");
gotoxy(25,18);

Department of Computer Applications,BMSCE Page 7


cputs("VISION (I(IMPAIRMENT),/N(NORMAL)");

gotoxy(64,12);
cin>>s[i];
s[i]=toupper(s[i]);
++i;
gotoxy(3,14);
cputs("URINE SUGAR(P(PASSIVE)/A(ACTIVE);");
gotoxy(64,14);
int diabetes::analyse_symptoms(int n)
{
int i=0;
int count=0;
int result=0;
switch(n)
{
case 1: if(s[9]=='D' )
result=-1;
else
if(s[5]=='P'&& s[6]=='P' && s[7]=='H')
result=-1;
else
{
for(i=0;i<10;i++)
{
if(s[i]=='H'||s[i]=='P'||s[i]=='D'||s[i]=='I')
count++;
}

Department of Computer Applications,BMSCE Page8


ScreenShots

Department of Computer Applications,BMSCE Page9


Department of Computer Applications,BMSCE Page10
Department of Computer Applications,BMSCE Page11
Conclusion
The project DDS uses QA techniques, in order make it easier for the user to detect
about their disease, these techniques can be combined with real time data with to make
real time devices for the health care applications. These devices will eliminate need of
human involvement at larger pace and will give inculcate the better results with less
errors.

Biblography:
http://www.faadooengineers.com/threads/26690-Complete-project-on-diabetes-detection-in-C-language

https://cpp-project.blogspot.com/2013/04/diabetes-detection-computer-science-c.html

http://umpir.ump.edu.my/id/eprint/6988/1/CD7681.pdf

Department of Computer Applications,BMSCE Page12


s
Department of Computer Applications,BMSCE Page19

S-ar putea să vă placă și