You are on page 1of 8

MORGAN STATE UNIVERSITY

DEPARTMENT OF CIVIL ENGINEERING

SPRING 2017 CEGR 307 TEAM PROJECTS

Attendance system

Advisor (Dr. Kadir Aslan)

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.

 Week 1 (01/31/2019 – 02/07/2019)


In this week Dr. Aslan give us a choose to choose three subjects for our project and explain
each of them to him. Then Dr. Aslan will choose one of the topics that we find to make our
project in this topic. The first topic was about the Attendance system. In this project the student
won’t enter the class until he swipes his Student identification card. The door will open, and he
will be marked attend. It will save time for the doctor instead of passing the attendance or saying
the names. Also, it will prevent cheating that did it some student by marked his friend attend.
The second topic was about checking the driver information by scan the car plate. For example,
someone take a picture of the car plate and by an App it will show him that the owner for that car
is violent or not, of course without showing his name. Then the person who took thepicture have
a chance to send a report to the police or not. This project helps the police to get or know the
violators faster. this happen by the Civilians. For the last project, it was about the car’s safety.
When the driver deviates from the road path or approached more than a meter from the vehicle in
front of him, it will give him a caution by vibration, the seat will vibrate to let him know that he
might do an accident. This project will help by saving more life and decrees the accidents,
especially for the drivers who use their phones!
Dr. Aslan choose for our group to do the attendance system project. And work for a proposal
for this project for the next week and present it to the class.

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)

Dr. Aslan Suggestion


 Create 50 random numbers of student ID with 8 digits

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.

 Week 4(02/21/2019 – 02/28/2019)


Dr. Aslan Suggestion
 Create the 50 random students ID numbers in the M-file
 Save the numbers in Excel fi

Week 5 (02/28/2019 – 03/07/2019)

Dr. Aslan Suggestion


 Make the command window ask to swipe the card and check if he attend or not

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

week 6(03/07/2019 – 03/14/2019)


Dr. Aslan Suggestion
 Make a popup menu for the attendance system

Week 7 (03/14/2019 – 03/28/2019)


Dr. Aslan Suggestion
 Make 2 check list: one that show the correct ID numbers that is one of the 50
ID’s numbers.
 the other one for the incorrect numbers that entered if its more than 8 digits of
less or not between the 50 ID’s number.

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.

You might also like