Computer Arts and Technological College
Computer Arts and Technological College
Computer Arts and Technological College
TABLE OF CONTENTS
Page
I.
2
II.
System... 3
III.
Problem... 4
IV.
System.5-6
V.
System. 7
VI.
Study.8
VII.
Scope and
IX.
IX.1 IX.2 IX.3 X.
Listing 24-36
XI.
..37
XI.1 XI.2 XI.3
XII.
Acknowledgement
46
I.INTRODUCTION
Mr. and Mrs. Mileton and Febe Gabia, together with Neville Muir, are the Founders and the developers of the school Fishermen of Christ Learning Center (FCLC). It is a school for the deaf and
mute people. This school aims to serve the deaf and train them in sign language, vocational skill and make them feel that they are still part of our society. FCLC was first built in Polangui,Albay in 1981. They were only renting the place and they have only 13 students, that is why the school never lasted a long time. In 1983, another FCLC was built in Batang,Ligao City which is now the main school. It is headed by the Executive-Director, Mrs. Richelda Ramos Luna. The school is under the Department of
Education (DepEd) and is a private/NGO school. This school offers 3 courses which are kindergarten, elementary and high school. They also have college but not yet formal. The school has another branch in Bariw,Malinao,Albay which was built in 1990.
Fishermen of Christ Learning Center had few students before, but in every enrollment the enrollees increase, that is why they are lacking in facilities like rooms, chairs, books, etc. They are still using library cards in borrowing books. Sometimes, some books are never returned to the library because of lost or misplaced library cards. FCLC still uses the manual system in accepting new enrollees. Sometimes it is hard for them to find the files of the students because of the numerous piles of the students records/documents.
Taking too much time in manually listing the files of the students using pencil or ball pen. Some records are accidentally lost or misplaced. Taking too much time finding the records of the students.
Enrollment System is software that can be used in taking some information needed in an enrollment, information such as name, last name, middle initial, address, grade level, gender and age of the students using the computer instead of putting it in folders.
Fishermen of Christ Learning Center will now use computerized system. Basically, the system is composed of five (5) modules namely, Add New Record, Delete Record, Search Record, Display Record, and Back to intro.
The Add New Record module in the program is used to enter records of a newly enrolled student. When the Add New Record is chosen, the program will allow the user to add record, and then it will prompt to
enter the Student name, last name, middle initial, address, grade level, gender and age. After entering the required information, the program will ask if you want to save it or not by pressing Y if yes and N if no. Then it will ask if you want another transaction to continue adding records.
The Delete Record module is for deleting the existing file that you entered in the Add New Record. The user must enter the name of the student that he/she wants to delete. If the code was found, the program will
ask if you want to delete the record. You have to choose Y if yes and N if no. If you choose Y, the program will show a message File deleted!. If you choose N, the program will show a message, File not deleted!
The Search Record module allows the user to search for existing files of the student. The user must enter the name of the student that he/she is looking for. If the code is found, it will give the user the information
that she needs such as the name, last name, middle initial, address, grade level, gender and age of the student. Then the program will ask if the user wants another transaction to continue searching for another record.
The Display Record module allows the user to see all the existing files of the students. It has 7 fields, which are the name, last name, middle initial, address, grade level, gender and age of the students.
If the Back to intro module is chosen, the program will go back to the introduction of the system.
To lessen the task and effort of user during listing the records of the students To monitor the records of the students.
To save some of the records of the students in the database for easy finding. To have an accurate record using computer.
Nowadays, computers are very useful to us now, especially in terms of business because it helps us to finish our works easily and lessen our efforts. Thats why I came up with this system to make every transaction easier with the help of computer. The idea of creating this system will be very useful to school in terms of enrollment because it will lessen their task and will provide an automated version of the usual manual transaction that is done in every enrollment.
The proposed system will just monitor the records or the files of the student if it is still exist. It will just provide the user some information and the list of the students records but not the general information.
It will not also tackle how many students of a particular grade level are enrolled.
The student name that should be entered must be in alphabet form (A-Z) and the parameter is 20.
The entry for student last name is in alphabet form (A-Z) and the parameter is 20.
3. Student M.I
The entry for student middle initial is in alphabet form (A-Z) and the parameter is 5.
4. Student address
In the student address, the entry is in alphabet form (A-Z), and the parameter is 20.
The entry for student grade level is in alphabet form (A-Z) and the parameter is 20.
6. Student gender
The entry for student grade level is in alphabet form (A-Z) and the parameter is 8.
7. Student age
In the student age, the entry may be in numeric and alphabet form, whether it is a letter or number it will still display the record.
Wrong Choice! if the user uses wrong character from Y and N upon saving and
Delete Record
Are you sure you want to delete the file?
[Y]es or [N]o?
File deleted! as encoding Y (Yes). File not deleted! as encoding N (No).
Wrong Choice! if the user uses wrong character from Y and N upon saving and asking for another transaction. Another transaction?[Y]es or [N]o? if you are going to continue deleting some files.
Search Record
Wrong Choice!- If the user chooses wrong character from Y and N when asking
for another transaction. Another Transaction?[Y]es or [N]o? if you are going to search for another file.
Display Record
[..>>>>next page]
Back to intro
When the letter E in the desired transaction is selected the program will go back to
Variable
Name
Description
Name of the student
Data Type
Char
Size
20
Range
A-Z
2 3 4 5
20 5 20 20
6 7
Gender Age
Char Char
8 5
Sta.Luisa de Marillac Desired Transaction [A]. Add New Record [B]. Delete Record [C]. Search Record [D]. Display Record ccccccc [E]. Back to intro
D
Select Choice:__
Sta.Luisa de Marillac Add Record Student name Student lastname D Student M.I Student Address :xxx :Racines :B :Polangui D
Sta.Luisa de Marillac Delete Record Enter student id to delete? xxx Are you sure you want to delete the file? [Y]es or [N]o? File Deleted! Another Transaction? [Y]es or [N]o?
Fishermen of Christ Learning Center Search Record Enter Student id: xxx
xxx
xxx Female
Bercilla
Garcia 10
Nabonton
F
Highschool
Sta.Cruz
Male
16
Elementary
D _____________________________________________________________________
[next page>>>>]
Display Record
Name
Lastname
M.I
Address
School level
Gender
Age
Test Cases
Case 1 Case 2 Case 3
OBJECTIVES
To check that the correct entry are in form of alphabet options (A-E) in the desired transaction or else it will display a message Invalid Choice!. To check that when choosing A in the desired transaction it will let you Add File. To check that when choosing B in the desired transaction it will let you Delete File.
Case 4 Case 5
To check that when choosing C in the desired transaction it will let you Search File. To check that when choosing D in the desired transaction it will let you Display File. To check that when choosing E in the desired transaction it will go back to the introduction of the system.
Case 6
:1 : To check for the correct entry of the options in the Desired Transaction. : Enter number 1 to test
Expected Test Result :If number 1 is entered, as it is not in a range within A-E, therefore the screen will display a message Invalid Choice! Actual Result Conclusion : As shown below : Succeeded. Invalid Choice message was displayed when the test data entered.
:2 : To check that when choosing A in the desired transaction it will let you Add File. :a
Expected Test Result :If you enter small or capital letter A, the program will go to the Add Record and allow you to add file. Actual Result : As shown below.
Conclusion
Test Case
:3
: To check that when choosing B in the desired transaction it will let you Delete the File. :b
Expected Test Result :If you enter small or capital letter B, the program will go to the Delete Record and allow you to delete file. Actual Result Conclusion : As shown below. : Succeeded. It lets you delete a record.
:4 : To check that when choosing C in the desired transaction it will let you Search File. :c
Expected Test Result :If you enter small or capital letter C, the program will go to the Search Record and allow you to search the file.
Test Case
:5
: To check that when choosing D in the desired transaction it will let you Display File. :d
Expected Test Result :If you enter small or capital letter D, the program will display all the name, lastname, M.I, address, grade level, gender and age of the student that were added in the system. Actual Result : As shown below.
Conclusion
Test Case
:6
: To check that when choosing E in the desired transaction it will go back to the introduction of the system. :e
Expected Test Result :If you enter small or capital letter E, it will display the introduction. Actual Result Conclusion : As shown below. : Succeeded. It displays the introduction of the system.
Status Successful
X. PROGRAM LISTING
#include<stdio.h> #include<conio.h> #include<string.h> #include<io.h>
void frame(); void menu(); void add(); void del(); void search(); void disp();
void another_page(); char studname[20],lastname[20],mi[5]; char address[20],gradelevel[20],gender[8]; char age[5]; char dem; char choice;
gotoxy(20,14);textcolor(15);cprintf("Fishermen of Christ Learning Center is a school for\n"); gotoxy(10,16);textcolor(15);cprintf("the deaf and mute people.This school aims to serve the deaf"); gotoxy(10,18);textcolor(15);cprintf("and train them in sign language and vocational skill.\n"); gotoxy(20,22);textcolor(15);cprintf("FCLC in Batang,Ligao City is the main school.It was\n"); gotoxy(10,24);textcolor(15);cprintf("headed by the Executive-Director,Mrs.Richelda Ramos Luna.");
gotoxy(10,26);textcolor(15);cprintf("This kindergarten,elementary,\n");
school
offers
courses
which
are
default:gotoxy(35,45);textcolor(RED);cprintf("Wrong choice..");
getch(); } }while(choice!=2); }
void menu()
case 'C': case 'c':search();break; case 'D': case 'd':disp();break; case 'E': case 'e':gotoxy(32,45);textcolor(RED);cprintf("You choose to exit");break;
gotoxy(20,24);textcolor(RED);cprintf("Student M.I
:");
gotoxy(20,26);textcolor(RED);cprintf("Student address :"); gotoxy(20,28);textcolor(RED);cprintf("Student grade level:"); gotoxy(20,30);textcolor(RED);cprintf("Student gender gotoxy(20,32);textcolor(RED);cprintf("Student age :"); :");
gotoxy(41,20);textcolor(RED);fflush(stdin);gets(studname);
gotoxy(20,34);textcolor(15);cprintf("Do You want to save??\n"); gotoxy(20,35);textcolor(15);cprintf("[Y]es or [N]o: "); scanf("%s",&dem); switch(dem) { case 'Y':
%s
%s
%s
gotoxy(34,36);textcolor(13+BLINK);cprintf("\nFile added!");break; case 'N': case 'n':gotoxy(34,36);textcolor(13+BLINK);cprintf("File not added!");break; default:gotoxy(33,36);textcolor(RED);cprintf("Wrong choice!");
getch(); }
char todelete[20];
fflush(stdin);gets(todelete); gotoxy(20,25);textcolor(15);cprintf("Are you sure you want to delete the file?\n"); gotoxy(20,27);textcolor(15);cprintf("[Y]es or [N]o??"); scanf("%c",&dem); switch(dem) {
continue;
} else {
fprintf(temp,"\n%s %s %s %s %s %s %s",studname,lastname,mi,address,gradelevel,gender,age); }
gotoxy(33,33);textcolor(13+BLINK);cprintf("File deleted!");break;
fp=fopen("D:\\Student.txt","r+");
char toFind[20];
gotoxy(30,12);textcolor(13);cprintf("---------------------");
gotoxy(20,26);textcolor(RED);cprintf("\nstudent address : %s",address); gotoxy(20,28);textcolor(RED);cprintf("\nstudent grade level: %s",gradelevel); gotoxy(20,30);textcolor(RED);cprintf("\nstudent gender gotoxy(20,32);textcolor(RED);cprintf("\nstudent age : %s",gender); : %s",age);
getch(); }
else {
continue;
case 'Y': case 'y':search();break; case 'N': case 'n':menu();break; default:gotoxy(33,43);textcolor(RED);cprintf("Wrong choice!");
int next=1;
gotoxy(4,18);textcolor(GREEN);cprintf(" "); gotoxy(5,19);textcolor(11);cprintf(" NAME LEVEL GENDER AGE "); LASTNAME M.I ADDRESS GRADE
gotoxy(32,44);cprintf("[.._next page]");
another_page(); }
}while(!feof(fp));
getch();
"); gotoxy(5,19);textcolor(11);cprintf(" NAME GRADE LEVEL GENDER AGE "); LASTNAME M.I ADDRESS
getch(); }
gotoxy(2,27);textcolor(1);cprintf("\n");
gotoxy(2,28);textcolor(1);cprintf("\n"); gotoxy(2,29);textcolor(1);cprintf("\n");
Normal Pentium machine with the following requirements: Minimum 4MB RAM Minimum 10MB of hard disk free space
The captured screen shown above shows the menu, which displays 5 options for the user to choose from. They are the Add New Record, Delete Record, Search Record, Display Record and Back to intro. Add New Record option allows the user to add new file, to choose this option, type A. Delete Record option allows the user to delete file, to choose this option, type B. Search Record allows the user to look or search for the existing file, to choose this option, type C.
Display Items allows the user to see all the list of files that are available; it shows the name, last name, M.I, address, grade level, gender and age, to choose this option, type D.
Back to intro allows the system to go back to the introduction. To choose this option, type E. The acceptable entry for this menu is from A-E. If the user entered character not in the option an Invalid Choice! message will prompt.
In entering letter A in the desired transaction, the program will let the user to Add Record of the student as shown below.
In choosing B in the desired transaction, the program will let the user to Delete Record of the student as shown below.
In choosing C in the desired transaction, the program will let the user to Search Record of the student as shown below.
In choosing D in the desired transaction, the program will display all the files that are available including the name, last name, middle initial, address, grade level, gender and age of the student as shown below.
If the user wants to go back to the introduction, just choose E in the desired transaction as shown below.
XII.CONCLUSION
I conclude that Ill accept all the comments, questions and suggestions about my whole system. As a whole, my system consists of five (5) modules. The user has to choose from the 5 options (A-E) from the desired transaction. Upon choosing A, it will allow you to input or add the details of the certain information that you are going to add in the record. If you choose B, it will let you Delete Record and ask you if you really want to delete the name that you inputted. You have to choose from Yes or No. If yes, the program will tell that the file was completely deleted. If you choose no, it will tell that file not deleted. Search Record option is
used if you want to look for specific details of the student. You just have to enter the name of the student, and then it will give you the details of that specific student. To prove that all the saved record are really saved, just choose letter D in the desired transaction, then the program will display all the list of the students that you have added.
Due to time necessity, I only has one Student Record module for students record. In the Display Record, the user might have a hard time looking for the specific file like the grade level of each student. It would be easier for the user if I have a separate record in every grade level in the display module.
XIII.ACKNOWLEDGEMENT
You will never succeed without the help of others. In making this document, I would like to extend my heartfelt gratitude to the persons who helped me in this project; to my parents who supported me financially and morally, who gave me strength and courage to finish my studies. And also to my instructors, Sir Jeff, who helped me in my program.
Checking for the errors of the program and giving me examples and advices on how and what should I do to make this system. To Maam Menguito, our English teacher who helped me checks my documentations grammars and guided us to make this documentation. I really appreciate all their efforts. And to my classmates who rendered their time and effort in undertaking this project and lastly to our Almighty God for the guidance, the knowledge and wisdom in the fulfillment of this project.