Beruflich Dokumente
Kultur Dokumente
Attendance system
Group Q8
Mubarak Alnajjar
Yousef Alazmi
Saad Almutairi
1
MORGAN STATE UNIVERSITY ................................................................................................ 1
ABSTRACT: ................................................................................................................................... 3
Problem statement: ........................................................................................................................ 3
Existing methods:........................................................................................................................... 3
Proposed work:............................................................................................................................... 3
Expected outcome: ......................................................................................................................... 3
Week (02/14/2019 – 02/21/2019) .................................................................................................. 4
Code: ..................................................................................................Error! Bookmark not defined.
Output:...............................................................................................Error! Bookmark not defined.
Expected outcome: ............................................................................Error! Bookmark not defined.
Week (02/21/2019 – 02/28/2019) ................................................................................................... 6
Code: ..................................................................................................Error! Bookmark not defined.
Output:...............................................................................................Error! Bookmark not defined.
Week (02/28/2019 – 03/07/2019) ......................................................Error! Bookmark not defined.
Explanation: ................................................................................................................................... 6
CODE: ...............................................................................................Error! Bookmark not defined.
For creating data and saving it: .......................................................Error! Bookmark not defined.
for check attendance: ........................................................................Error! Bookmark not defined.
OUTPUT: ....................................................................................................................................... 7
week (03/07/2019 – 03/14/2019) .................................................................................................... 7
CODE: ...............................................................................................Error! Bookmark not defined.
OUTPUT: ..........................................................................................Error! Bookmark not defined.
Week (03/14/2019 – 03/28/2019) ................................................................................................... 7
Code: ..................................................................................................Error! Bookmark not defined.
Output:...............................................................................................Error! Bookmark not defined.
Week (03/28/2019 – 04/04/2019) ......................................................Error! Bookmark not defined.
Conclusion: .................................................................................................................................... 8
2
ABSTRACT:
Problem statement:
The purpose of this project is to mark the attendance of the students efficiently, it makes
a system which opens the door of the class when the student enters its student ID on the system
and then it counts the attendance of the students. This system helps then to prevent the plagrism
of marking the attendance when student is absent.
Existing methods:
The existing method used in mostly school/colleges used the teachers register to mark the
attendance of the students using their name, but this method is old, time consuming and not very
efficient and it may distract the teaching process and there are a lot of problems in this method,
many students mark the attendance of other students who are absent but with using this method
no one can mark the attendance of other and this method is 100% accurate.
Proposed work:
In this project we want to build the system which is build using MATLAB tool and GUI.
The system has the data stored in it which has the name and ID numbers of all students and this
has buttons which take the ID of the student as inputs and then check the system for the data of
the system and then mark the attendance of the student and allow them to enter. The system is
build using MATLAB GUI, the GUI build has buttons and text editor to edit the ID number of
the students and then button to enter, then if the ID match with any of the existing ID of student
then it mark the attendance of the that student and show the output as they are marked and allow
them to enter the room. This system also keeps the record of the attendance of each system in its
record.
Expected outcome:
The expected result of this project is the system build using MATLAB GUI which takes
the input as student ID of the students, check the record of the student and then mark the output
of the student and then allow them to enter.
3
Introduction
Every Thursday we have a lab class of two hours. In this class we need to work for the
project by adding or editing codes. Also, Dr. Aslan our adviser sees our work and give feedback
and grade us every week depends of our work or what we did so far. Furthermore, Dr. Aslan give
us a suggestion to do next week. For all of this we need to write weekly report that show what
we did and get. The weekly report contains 1- number of the week and date. 2- The problem
3-discussion with Dr. Aslan. 4- codes 5-output/results 6-Dr. Aslan Suggestions.
4
Week 2 (02/07/2019 – 02/14/2019)
In this week, all the class should present their project proposal. We present our project
proposal about the attendance system. Then Dr. Aslan give us feedback about the proposal if its
good or not and then grade us for this week. Also, Dr. Aslan suggest generating a random
number of the students for next week work.
5
Week3(02/14/2019 – 02/21/2019)
We use the MATLAB to randomly create matrix which has 50 columns which represent 50
students and 4 rows each with 2 digits to represent the 8-digit number and in this way, we create
8 digit number.
The expected result of this project is the system build using MATLAB GUI which takes the
input as random 8 digit student ID of the students, check the record of the student and then mark
the output of the student and then allow them to enter.
Explanation:
In the MATLAB we have two files, one is for ‘randomIDs’ and other is
‘ATTENDENCE_SYSTEM’. The first code creates the random IDs of 8 digit for 50 students for
running loop for 50 times, the after creating these IDs it save it in an array, then for saving this
6
array to the excel file, we first add the location of the position where we want to add file and then
we create xlxs file named ‘IDs’ using the ‘xlxswrite’ function in a specified folder.
Then in the next code ‘ATTENDENCE_SYSTEM’ it ask the student to swipe the card, if it
swipe card then it takes the ID of the student and check it in excel file ‘IDs’ using the ‘xlxsread’
command and if it is present then it displays that ‘your attendance has been marked’ else it ask to
enter correct ID’
OUTPUT:
The output of this lab is excel file.
>> ATTENDENCE_SYSTEM
please swipe your card1
enter ID card number31595727
your attendance has been marked
7
Week 8 (03/28/2019 – 04/04/2019)
Dr. Aslan Suggestion
Create an M-file for the ID numbers
But a date for the popup menu that show todays date
Change the colors for the ID numbers
Conclusion:
The attendance system has been updated with the suggested revisions and the screenshots of the
system Interface has shown the proper working of the system.