You are on page 1of 51

Computer Science Internal Assessment

Name of Candidate: Kadrien Stewart

Candidate Number: 1000131537

Center Name: Calabar High School

Center Number: 100013

Subject: Computer Science

Teacher: Atheena Nugent

Territory: Jamaica
1

Acknowledgement
Firstly I would like to thank the almighty God for providing me with the strength and
determination to see this Internal Assessment through to its completion. I would also like to
thank my teacher Ms. Atheena Nugent for providing me with the knowledge that I needed in
order for me to complete this assignment. And I would like to thank my parents for being the
driving force behind all my school work.
2

Table of Content
❖ Introduction………………………………………………………………………………4
❖ Problem Definition…………………………………………………………………...…..5
❖ Narrative………………………………………………………………………..………...6
❖ Functional Requirements…………………………………………………………………8
❖ Non-Functional Requirements………………………………………………………..…10
❖ Pseudocode……………………………………………………...…………………….....12
❖ C Program………………………………………………………………………………..20
❖ Screen Shots…………………………………………………………..…………………31
➢ Welcome Screen……………………………………………………………...….31
➢ Main Menu Screen……………………………………………………...……….31
➢ Login…………………………………………………………………………….32
■ Successful User Login………………………………………...…………32
■ Unsuccessful User Login
➢ Sign Up Page……………………………………………...……………………..34
■ Confirmation of Password……………………………………...…….….35
● Correct Password…………………………………….……….….35
● Incorrect confirmation of Pasword…………………..……….….35
➢ Exit………………………………...………………………………………….…36
➢ Home Screen……………………………………………..……………………...36
■ Profile………………………………………………………..…...……...37
■ Services………………………………………………………...………..37
● Flea shot…………………………………………………………38
● Check Up…………………………………...………………..….38
● Ultrasound…………………………………...……………...…..39
● Dental Work…………………………………..……………...…39
● Radiology And Laboratory Tests……………………….…...….40
● X Rays……………………..……………………………………40
● Appointment Date Made Screen…………………..……………41
■ Logout Screen…………………………………………..…………...….41
3

❖ Test Plan and Test Results……………………………………………...……………….43


➢ Structured Chart…………………………………………………………………46
❖ Technical Documentation …………………………………………………..……….….47
❖ User Documentation……………………………………….………………...……….…48
❖ Conclusion……………………………………………………………...………...….….50
4

Introduction
The Healthy Furry Friends clinic website is a computer program designed using the C
programming language. It was designed to eliminate the stressful and long process that pet
owners have to go through everytime that their pet’s need to be brought in to the vet for check
ups, illnesses or other reasons. Throughout this project, a full dissection of the program is done
that encapsulates the different ways in which a program can be represented. These include a
Pseudocode and a Narrative. Also found in this project is the full code along with screenshots of
the different outputs that will be displayed throughout the program. A test plan was also
constructed that lists all the variables used, their data types, their purpose, the expected results to
be obtained when used, and the actual results obtained.
5

Problem Definition
The ‘Healthy Furry Friends’ is an animal clinic located at 08 Magnolia Street Kingston
10. It was founded by Mr. Donald Jenkins On march 15th 1976. The phone number of the clinic
is 1888-345-6000. It is currently managed by Mr. Jenkins and his daughter Sara Jenkins. The
clinic offers a variety of animal services such as: Flea shots, checkups, ultrasounds, dental work,
grooming and baths, radiology and laboratory tests and x-rays.

To schedule any of these services, a pet owner has to go through a very long process of
filling out forms repeatedly by hand with information such as: owners name, pet’s name, pets
age, reason for visit and so on. And all of this is just to make an appointment. Pet owners find
this system very stressful and time consuming and some of them are even concerned because of
the waiting time after the form is filled out. They are concerned because what if their pet needs
immediate medical attention and so forth.

A program should be created where the pet owners can access a one time form online or
through an app where they sign up and register their pet and after that there will be a page that
shows various appointment days and options as to which service you would like to apply for
which would give back an almost instantaneous reply and date to which the pet owner can come
in.

After inputting the various information the program should show you pets current
medical history and all the days in which you must bring it in for checkups.
6

Narrative
Upon opening the website a loading screen with the phrase ‘Welcome to Healthy Furry
Friends Animal Clinic!’ will appear in the center of the screen. After a three second wait. The
screen will switch to a login page with three options: 1) Login, 2) sign up, 3) exit. Upon opening
login, the user will be directed to a login page containing two input sections: 1) user name, 2)
password. The user will be prompted to enter a username which is ‘client’ and a password which
is ‘petclinic’. If either of these are entered incorrectly a message saying “You have entered an
invalid username”, the screen will then clear and the user will be prompted to re enter the
username. The same will be done if the password is incorrect. If both the password and username
are entered correctly the screen will clear and the home screen will appear.Upon opening sign
up, the user will be directed to a page containing 10 input options: 1) your first name, 2) your last
name, 3)email, 4)username, 5)your age, 6) pet’s name, 7) what type of animal is your pet is, 8)
your pet’s age, 9) create password, Clicking the exit option will clear the screen, display the
message “Goodbye” and stop the code..

After signing up or logging, the user will be directed to a new screen. After a 3 second
delay, the home screen will be displayed containing the Clinic’s name at the top. Along with the
three options which are: 1)profile, 2)services and 3)logout. The user will be prompted to select
either one. Upon selecting the profile option the user will be transferred to a page displaying all
their information except for passwords. The page will then close after 20 seconds and return to
the homescreen. After choosing services, the page will clear and display all the services that the
clinic provides.Choosing any service will bring the user to the appointment date page which
displays two or one dates that the appointments can be set for that month. Choosing an
appointment date will display the message “Appointment Made” which will then clear and then
the home screen will reappear. After choosing the logout option the user will be brought to a
page displaying the message “Are you sure you want to logout?” and below that there will be
two options to choose from: 1)yes and 2)no. Choosing yes will clear the screen and display the
message “Goodbye” and stopping the code, while choosing no will bring the user back to the
home screen.
7

Functional Requirements

Welcome screen The program must display a welcome


message with the clinic’s name in it once the
program is run.

Main Menu The program must give the user the choice to
select one of the three: login, signup and exit.

login The program must allow the user to login into


the system with the given username and the
given password.

Signup The program must allow the user to input all


their information such as their name,
username, email, age, pet’s name, pet’s age
and password into the system and also to
make a profile for the user in the system.

Exit The program must end when the user chooses


this option.

Homescreen The program must give the user the choice to


choose one of the three options available:
profile, services and logout.

Profile The program must allow all the user’s


information to be shown except for
passwords.
8

Services The program must give the user the option to


select any one of the services that the clinic
provides.

Flea Shot The program must give the user one or two
dates in which they can set an appointment for
that service.

Checkup The program must give the user one or two


dates in which they can set an appointment for
that service.

Ultrasound The program must give the user one or two


dates in which they can set an appointment for
that service.

Dental Work The program must give the user one or two
dates in which they can set an appointment for
that service.

Radiology and Laboratory Tests The program must give the user one or two
dates in which they can set an appointment for
that service.

Xray The program must give the user one or two


dates in which they can set an appointment for
that service.

Logout The program must allow the user the choice to


logout or return to the homescreen if the
choice was a mistake.
9

Non-Functional Requirements

Welcome Screen The welcome screen must load immediately


after the program is run and must stay on the
screen for 6 seconds.

Main menu screen The program must load after the welcome
screen has been displayed for six seconds.

login Upon entering the wrong username or


password the program must prompt the user
of the error and allow them to reenter until
they are correct.

Sign Up After the user completes filling out the


information, the screen must display a
‘making you profile’ message and after nine
seconds must prompt the user to confirm their
entered password.

Exit The program must close four seconds after


this choice has been selected.

Homescreen This program must show after the user has


finished signing in or login in.

Profile This program must close after twenty seconds


of being selected.

Services This program must display all of the services


10

the clinic provides once selected.

Flea Shot This program must close and return to the


home screen three sends after the desired
appointment date has been selected.

Check Up This program must close and return to the


home screen three sends after the desired
appointment date has been selected.

Ultrasound This program must close and return to the


home screen three sends after the desired
appointment date has been selected.

Dental Work This program must close and return to the


home screen three sends after the desired
appointment date has been selected.

Radiology and laboratory Tests This program must close and return to the
home screen three sends after the desired
appointment date has been selected.

X Rays This program must close and return to the


home screen three sends after the desired
appointment date has been selected.

Logout This program must stop the Entire program


after it is confirmed that this is what the user
wants to do.
11

Pseudocode

Start
Create Structure
Declare fname[20], lname[20], email[40], username[15], petname[20], typepet[40],
password[30], conpassword[30] as character inside structure
Declare age, p_age, choice, choice2, choice3, choice4, choice5 as integer

Start of function for time delay


Sate function type void, (function name delay(declare a as type integer))
Declare add, time=a*100000000, i as integer
Start for loop
For(i=0;i<time;i++)
add*+i
add++
Add++
End For loop
End of function for time delay

Start of function for home screen


State function type void, function name homescreen
Write “Healthy Furry Friends Animal Clinic"
Write "1.Profile"
Write "2.Services"
Write "3.Logout"
Write "Enter A Choice: "
Read choice2
End of function for home screen

Write "Welcome to Healthy Furry Friends Animal Clinic!"


12

Write "MAIN MENU"


Write "1.Login"
Write “2.Sign up"
Write "3.Exit"
Write "Enter A Choice: "
Read choice

Start switch for choice


Start case 1
Start If
if(choice=1)
State User: as heading
Write "Enter your username: "
Read username
Start If
if(strcmp(username,"client")==0)
Write "Username Correct
End If
Else
Write "You have entered an invalid username"
Write "Please enter username again"
State goto User;
End Else
State Password: as heading
Write "Enter your password: "
Read password
Sart If
if(strcmp(password,"petclinic")==0)
Write "Password Correct"
End If
Else
13

Write"You have entered an invalid password"


Write "Please enter password again"
State goto Password;
End Else
End if
End Case 1

Start Case 2
Start If
if(choice==2)
Creae file with pointer *cp and file name(ClientProfile.txt) in write mode
Write “First Name: "
Read fname
Write "Last Name: "
Read lname
Write “Age: "
Read age
Write "Email: "
Read email
Write Username: "
Read username
Write "Pet's Name: "
Read petname
Write "Type of Pet: "
Read typepet
Write "Age of Your Pet: "
Read p_age
Write in file,” Client's Information\n"
Write in file, Full Name: “%s %s\n”,p1.fname, p1.lname
Write in file, Age: “%d\n”,age
Write in file, "%s\n",p1.email
14

Write in file,Username:” %s\n\n”,p1.username2


Write in file,”Pet's Information\n”
Write in file,Name: “%s\n”,p1.petname
Write in file,Animal: “%s\n”,p1.typepet
Write in file,Age: “%d\n”,p_age
Close FILE
Write "Password: "
Read password
Write "Please wait While We make your profile!"
State Confirm: as header
Write "Confirm Password: "
Read conpassword
Start If
if(strcmp(conpassword,password)==0)
Write "Password Confirmed!"
End If
Start Else
Write "Error!\nTry Again"
State goto Confirm
End Else
End If
End If
End Case 2

Start Case 3:
Start If
if(choice=3)
return 0;
End If
End Case 3
15

State Homescreen: as header


State homescreen function
Start switch for choice2
Start Case 1
Start If
if(choice2=1)
Write "Profile"
Declare newline[1000] as character variable
Declare exit as integer variable
State FILE pointer *cp
Open FILE "ClientProfile.txt", in reading mode
Start while loop
while(!feof(cp))
fgets(newline, 1000, cp)
puts(newline)
End If
End Case 1

Start Case 2
Start If
if(choice2=2)
Write "Services"
Write "1.Flea Shot"
Write "2.Checkup"
Write "3.Ultrasound"
Write "4.Dental Work"
Write "5.Radiology and Laboratory Tests"
Write "6.X Rays"
Write "Enter A Choice: "
Read choice3
Start If
16

if(choice3==1)
Write "Flea Shot"
Write "1.Monday April 1, 2022"
Write "2.Thursday April 22, 2022"
Write "Enter A Choice: "
Read choice4
Start If
if(choice4<3)
Write "Appointment Made!!"
State goto Homescreen;
End If
End If
Start If
if(choice3==2
Write "Check Up"
Write "1.Monday April 15, 2022"
Write "2.Friday April 25, 2022"
Write "Enter A Choice: "
Read choice4
Start If
if(choice4<3)
Write "Appointment Made!!"
State goto Homescreen
End If
End If
Start If
if(choice3==3)
Write t\t\tUltrasound\n\n"
Write "1.tuesday April 6, 2022"
Write "2.Friday April 15, 2022"
Write "Enter A Choice: "
17

Read choice4
Sart If
if(choice4<3)
Write "Appointment Made"
State goto Homescreen
End If
End If
Start If
if(choice3==4)
Write "Dental Work"
Write "1.tuesday April 6, 2022"
Write "Enter A Choice: "
Read choice4
if(choice4<3)
Write "Appointment Made!!"
State goto Homescreen
Endif
End If
Start If
if(choice3==5)
Write "Radiology and Laboratory Tests"
Write "1.Saturday April 19, 2022"
Write "2.Wednesday April 20, 2022"
Write "Enter A Choice: "
Read choice4
Start If
if(choice4<3)
Write "Appointment Made!!"
State goto Homescreen;
End If
End If
18

Start If
if(choice3==6)
Write "tX Ray"
Write "1.Monday April 14, 2022"
Write "2.Thusrday April 30, 2022"
Write "Enter A Choice: "
Read choice4
Start If
if(choice4<3)
Write "Appointment Made!!"
State goto Homescreen;
End If
End If
End If
End Case 2

Start Case 3
Start If
if(choice2=3)
Write "Are you sure you want to logout?"
Write “1.Yes\n"
Write "2.No"
Write "Enter a Choice: "
Read choice5
Start If
f(choice5==1)
Write "Loging Out...."
Write "GoodBye!"
State return 0
Start If
if(choice5==2)
19

State goto Homescreen;


End If
End If
End Case 3
State return 0;
Stop
20

C Program

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

typedef struct Person


{
char fname[20], lname[20], email[40], username1[15], username2[15], petname[20],
typepet[40], password1[30], password2[30], conpassword[30];
}person;
int age, p_age, choice, choice2, choice3, choice4, choice5;
void delay(int a) //function for time delay
{
int add;
int time;
int i;
time=a*100000000;
for(i=0;i<time;i++)
{
add*+i;
add++;
add++;
}
}
void homescreen()//function for home screen
{
printf("\t\t\t<<<<Healthy Furry Friends Animal Clinic>>>>\n\n");//homescreen tittle
message
printf("1.Pofile\n");//shows client profile after signing up
printf("2.Services\n");//shows all the services provided by the clinic
21

printf("3.Logout\n\n");//logs user out of the program and closes it


printf("Enter A Choice: ");
scanf("%d",&choice2);
}

int main()//start of main program


{
person p1;
printf("\n\n\t\t\t\t<<<<Welcome to Healthy Furry Friends Animal Clinic!>>>>");//welcome
message
delay(6); //Delays the loading of the screen for six seconds
system("cls");//Clears screen
printf("\n\t\t\t<<<<MAIN MENU>>>>\n\n");//main menu tittle
printf("1.Login\n");//the user will log in here with the login username 'clien' and password
'petclinic'
printf("2.Sign up\n");//the user will sign in with all their information here
printf("3.Exit\n\n");//exits an closes program
printf("Enter A Choice: ");
scanf("%d",&choice);
switch(choice)//selecting options from the main menu screen
{
case 1:
system("cls");
if(choice==1)
{
delay(2);
User://give this point in the program a name 'user'
printf("Enter your username: ");
scanf("%s", &p1.username1);
if(strcmp(p1.username1,"client")==0)//compares the
required username with the one entered by user
{
printf("Username Correct\n\n");
}
22

else
{
printf("You have enetred an invalid username\n");
delay(3);
system("cls");
printf("Please enter username again\n");
goto User;// goes to the point in the program with
this name 'user'
}
Password:
printf("Enter your password: ");
scanf("%s",p1.password1);
if(strcmp(p1.password1,"petclinic")==0)//compares the
required password with the one entered by user
{
printf("Password Correct");
delay(2);
system("cls");
}
else
{
printf("You have enetred an invalid password\n");
delay(3);
system("cls");
printf("Please enter password again\n");
goto Password;
}
}
break;

case 2://for choosing option on the homescrren


system("cls");
if(choice==2)
{
23

FILE *cp=fopen("ClientProfile.txt", "w+");//creates file which will store all he information of the
user
printf("\nFirst Name: ");//registration fields
scanf("%s", p1.fname);
printf("\n");
printf("Last Name: ");
scanf("%s",p1.lname);
printf("\n");
printf("Age: ");
scanf("%d",&age);
printf("\n");
printf("Email: ");
scanf("%s",p1.email);
printf("\n");
printf("Username: ");
scanf("%s",p1.username2);
printf("\n");
printf("Pet's Name: ");
scanf("%s",p1.petname);
printf("\n");
printf("Type of Pet: ");
scanf("%s",p1.typepet);
printf("\n");
printf("Age of Your Pet: ");
scanf("%d",&p_age);
printf("\n");
fprintf(cp,"\t\t\t\tClient's Information\n");
fprintf(cp,"Full Name: %s %s\n",p1.fname, p1.lname);
fprintf(cp,"Age: %d\n",age);
fprintf(cp,"%s\n",p1.email);
fprintf(cp,"Username: %s\n\n",p1.username2);
fprintf(cp,"\t\t\t\tPet's Information\n");
fprintf(cp,"Name: %s\n",p1.petname);
fprintf(cp,"Animal: %s\n",p1.typepet);
24

fprintf(cp,"Age: %d\n",p_age);
fclose(cp);//closes file
printf("Password: ");
scanf("%s",p1.password2);
printf("\n\n\n\t\t\tPlease wait While We make your profile!");
delay(5);
system("cls");
printf("\n\n\n\n\n\t\t\t....");
delay(4);
Confirm:
system("cls");
printf("Confirm Password: ");
scanf("%s",p1.conpassword);
system("cls");
printf("\n\n\n\n\n\t\t\t....");
delay(3);
system("cls");
if(strcmp(p1.conpassword,p1.password2)==0)//compares the first
password the user entered to the second
{
printf("Password Confirmed!");
delay(4);
system("cls");
}
else
{
printf("Error!\nTry Agian");
delay(3);
goto Confirm;
}
break;

case 3:
if(choice==3)
25

{
system("cls");
printf("\n\n\n\t\t\t\tGood BYe!");
delay(4);
system("cls");
return 0;
}
break;
}
}
Homescreen:
homescreen();
switch(choice2)
{
case 1://user's profile view
system("cls");
if(choice2=1)
{
printf("\t\t\t\t<<<<Profile>>>>\n\n");//profile tittle message
char newline[1000];
int exit;
FILE *cp;
cp=fopen("ClientProfile.txt","r");//opens file for read mode
while(!feof(cp))
{
fgets(newline, 1000, cp);
puts(newline);
}
printf("Enter 1 to return to Homescreen: ");
scanf("%d",&choice2);
while(exit=1)
{
system("cls");
goto Homescreen;
26

}
fclose(cp);//closes file
}
break;

case 2://list of all the services that the clinic provides


system("cls");
if(choice2==2)
{
system("cls");
printf("\t\t\t\t<<<<Services>>>>\n\n");//services title message
printf("1.Flea Shot\n");
printf("2.Checkup\n");
printf("3.Ultrasound\n");
printf("4.Dental Work\n");
printf("5.Radiology and Laboratory Tests\n");
printf("6.X Rays\n\n");
printf("Enter A Choice: ");
scanf("%d", &choice3);
if(choice3==1)//flea shot appointment dates
{
system("cls");
printf("\t\t\t\t<<<<Flea Shot>>>>\n\n");
printf("1.Monday April 1, 2022\n");
printf("2.Thursday April 22, 2022\n\n");
printf("Enter A Choice: ");
scanf("%d",&choice4);
if(choice4<3)
{
system("cls");
printf("\t\t\t\tAppointment Made!!");
delay(3);
system("cls");
goto Homescreen;
27

}
}
if(choice3==2)//check up appointment dates
{
system("cls");
printf("\t\t\t<<<<Check Up>>>>\n\n");
printf("1.Monday April 15, 2022\n");
printf("2.Friday April 25, 2022\n\n");
printf("Enter A Choice: ");
scanf("%d",&choice4);
if(choice4<3)
{
system("cls");
printf("\t\t\t\tAppointment Made!!");
delay(3);
system("cls");
goto Homescreen;
}
}
if(choice3==3)//ultrasound appointment dates
{
system("cls");
printf("\t\t\t<<<<Ultrasound>>>>\n\n");
printf("1.tuesday April 6, 2022\n");
printf("2.Friday April 15, 2022\n\n");
printf("Enter A Choice: ");
scanf("%d",&choice4);
if(choice4<3)
{
system("cls");
printf("\t\t\t\tAppointment Made!!");
delay(3);
system("cls");
goto Homescreen;
28

}
}
if(choice3==4)//dental work appointment dates
{
system("cls");
printf("\t\t\t<<<<Dental Work>>>>\n\n");
printf("1.tuesday April 6, 2022\n\n");
printf("Enter A Choice: ");
scanf("%d",&choice4);
if(choice4<3)
{
system("cls");
printf("\t\t\t\tAppointment Made!!");
delay(3);
system("cls");
goto Homescreen;
}
}
if(choice3==5)//radiology and laboratory test appointment
dates
{
system("cls");
printf("\t\t\t<<<<Radiology and Laboratory
Tests>>>>\n\n");
printf("1.Saturday April 19, 2022\n");
printf("2.Wednesday April 20, 2022\n\n");
printf("Enter A Choice: ");
scanf("%d",&choice4);
if(choice4<3)
{
system("cls");
printf("\t\t\t\tAppointment Made!!");
delay(3);
system("cls");
29

goto Homescreen;
}
}
if(choice3==6)//exray appointment dates
{
system("cls");
printf("\t\t\t<<<<Xray>>>>\n\n");
printf("1.Monday April 14, 2022\n");
printf("2.Thusrday April 30, 2022\n\n");
printf("Enter A Choice: ");
scanf("%d",&choice4);
if(choice4<3)
{
system("cls");
printf("\t\t\t\tAppointment Made!!");
delay(3);
system("cls");
goto Homescreen;
}
}
}

break;

case 3://logout screen


system("cls");
delay(2);
if(choice2==3)
{
printf("\t\t\t\tAre you sure you want to logout?\n\n");
printf("1.Yes\n");
printf("2.No\n\n");
printf("Enter a Choice: ");
scanf("%d",&choice5);
30

if(choice5==1)
{
system("cls");
printf("\n\n\n\t\t\t\tLoging Out....");
delay(4);
system("cls");
printf("\n\n\n\t\t\t\tGoodBye!");
delay(2);
return 0;
}
if(choice5==2)
{
system("cls");
goto Homescreen;
}
}
break;

}
}//end of program
31

Screen Shots

Welcome Screen

Main Menu Screen


32

Login

Successful User Login

Unsuccessful User Login


33
34

Sign Up Page
35

Confirmation of Password

Correct Password

Incorrect Confirmation of Password


36

Exit

Homescreen
37

Profile

Services

Flea shot
38

Checkup
39

Ultrasound

Dental Work
40

Radiology and Laboratory Tests

X Rays
41

Appointment Date Made Screen

Logout Screen
42
43

Test Plan and Test Results

Variable Data Type Type Test Test Purpose of Expected Actual


Name Data Result Result

fname character Normal Entering To store the Accepted Accepted


under 20 user’s first
characters name

Incorrect Entering Not accepted Accepted


over 20
characters

lname character Normal Entering To store the Accepted Accepted


under 20 user’s last
characters name

Incorrect Entering Not Accepted


over 20 Accepted
characters

email character Normal Entering To store the Accepted Accepted


under 40 user’s email
characters

Incorrect Entering Not Accepted


over 40 Accepted
44

characters

username character Normal Entering To store the Accepted Accepted


under 15 user’s
characters username

Incorrect Entering Not Accepted


over 15 Accepted
characters

petname character Normal Entering To store the Accepted Accepted


under 20 user’s pet’s
characters name

Incorrect Entering Not Accepted


over 20 Accepted
characters

typepet character Normal Entering To store the Accepted Accepted


under 20 type of pet
characters that the use
has
Incorrect Entering Not Accepted
over 20 Accepted
characters

password character Normal Entering To store the Accepted Accepted


under 30 user’s
characters password

Incorrect Entering Not Accepted


over 30 Accepted
45

characters

conpassword character Normal Entering To confirm Accepted Accepted


under 30 the user’s
characters password

Incorrect Entering Not Accepted


over 30 Accepted
characters

age integer Normal Entering an To store the Accepted Accepted


integer user’s age

Incorrect Entering a Not Not


character Accepted accepted

p_age integer Normal Entering an To store the Accepted Accepted


integer age of the
user’s pet
Incorrect Entering a Not Not
character Accepted accepted

choice integer Normal Entering an To choose an Accepted Accepted


integer option in
Main Menu
Incorrect Entering a Not Not
character Accepted accepted

choice2 integer Normal Entering an To choose an Accepted Accepted


integer option in
home screen
Incorrect Entering a Not Not
character Accepted accepted
46

choice3 integer Normal Entering an To choose an Accepted Accepted


integer option on
services page
Incorrect Entering a Not Not
character Accepted accepted

choice4 integer Normal Entering an To choose an Accepted Accepted


integer appointment
date
Incorrect Entering a Not Not
character Accepted accepted

choice5 integer Normal Entering an To choose yes Accepted Accepted


integer or no on
Logout page
Incorrect Entering a Not Not
character Accepted accepted

Structured Chart
47

Technical Documentation

This program was created in order to make the process of seeing the veterinarian at an
animal clinic much quicker and easier for pet owners.The program also serves another purpose in
that it reduces crowding in the animal clinic and makes the scheduling of these appointments
much easier for the veterinarian.
The program will be used by the various pet owners to set appointment dates for the
services that they wish their pet to receive such as fea shots, the regular checkups or even as
extreme as an x ray
. The program functions as well as any other system in that it starts with a main menu
where it asks the user whether they would like to sign up, login or exit the program. If The User
wants to sign up, the program will inquire for the user’s information and then will ask for the
user to make a password. After signing up the user will be presented with the opportunity to view
their profile with all of their personal information, except for passwords, to be able to choose any
service that they require and make an make an appointment date on the days that are provided by
the program and it also gives the user the freedom to be able logout at any given time.
48

User Documentation

To make an appointment at the Healthy Furry Friends Animal Clinic via online is very easy. All
you have to do is follow these Steps.

❖ Step 1

Open the website. After opening the


website you will be greeted with a
welcome message which will then
take you to the Main Menu screen
where three options to either login,
sign up or exit will present itself.

❖ Step 2

Select the sign up option and you will be directed to


a page where you must put in the necessary
information.
49

❖ Step 3

After making your rprofile and confirming your password, you will then be directed to the
homescreen of the website where you will be given three options whether to view your
profile, see the services provided by the clinic or to logout of the website.

Choose the services option.

❖ Step 4

After choosing services, you will


be taken to a page containing all
the services that the clinic
provides.
Choose the service that you want.
Then choose one of the two
appointment dates that are present
for that service. Then your
appointment will be made.
50

Conclusion

Prior to the making of this program, the ‘Healthy Furry Friends Animal Clinic’ was
receiving daily complaints from the pet owners that came to see them about the atrocious wait
time, and there was an obvious decrease in the amount of clients they had over the years.
After the implementation of the program, there were considerably less complaints from
the pet owners who seemed to be happier and there was also an increase in the amount of clients
that the clinic had. Along with this, the clinic's time management was duly improved and pet
owners could come in and get their pets looked after with little to no wait time.

You might also like