Mobile Class Attendance System (Mobcas) : Mathematical Sciences and Informatics Journal
Mobile Class Attendance System (Mobcas) : Mathematical Sciences and Informatics Journal
Roslah Arsad
Faculty of Computer and Mathematical Sciences, Universiti Teknologi MARA, Perak Branch Tapah Campus,
Malaysia
[email protected]
Corresponding Author:
Nurul Hafizah Zainal Abidin,
Faculty of Computer and Mathematical Sciences,
Universiti Teknologi MARA, Perak Branch, Tapah Campus
Perak, Malaysia
Email: [email protected]
1. Introduction
Educators encountered new challenges when classes were transformed from face-to-face
into online and distance learning. One of the challenges is to ensure that all students to attend the
class on the schedule time. The best approach to get full attendance in class is by using a
mechanism that can notify the student absenteeism. In most of universities in Malaysia, monitoring
student absenteeism is a compulsory to avoid the students being barred of their final examination.
Lecturers can utilize many software tools to support the online teaching and learning
implementation. As for examples, many of them are commonly used Google Classroom[1], Google
Meet[2] and Microsoft Team[3]. Nevertheless all of these tools are merely depending on email
account without any connection to the registered student database. It created a difficulty for the
2. Literature Review
Development of mobile application (mobile apps) technologies is a significant project due to
the high demanding needs. Mobile apps typically available through several application distribution
platforms or application store and operated by the owner of the mobile operating system such as
App Store distributed by iTunes, Google Play distributed by Google and BlackBerry App World
distributed by BlackBerry. A mobile platform or mobile operating system (OS) is a set of programs
that runs on a computer or mobile devices. Mobile OS are seen in smartphones powered by the
Apple’s iOS, Google’s Android, BlackBerry OS, Microsoft’s Windows Phone, and many more[6]. IOS
was developed by Apple Inc and this operating system distributed exclusively for Apple hardware
such as iPhone, iPod and iPad. Apple products gives a good feeling and exclusivity and not become
sluggish in performance even after installing apps but most of the mobile apps for IOS are not free.
Meanwhile, Windows Mobile OS developed by Microsoft Corporation used for PCs, mobile devices,
and Xbox. The advantages of Windows Mobile OS is its convenience to be used by many type of
users. Blackberry OS is an operating system developed by BlackBerry Ltd and only support for
Blackberry devices. The advantages of Blackberry are easy typing because most blackberry still use
QWERTY keyboard, very fast and snappy. However, Blackberry has major problem with the battery
life, application support and associated with complex development platform for mobile
applications[7]. Application development on the Android OS, IOS and blackberry requires different
approaches, programming languages and has different methods of app publication[8]. However, the
most flexible approaches and widely acceptances by mobile apps users is Android OS[9].
Recently, a variation of attendance system have been introduced with different kinds of
attractive features and technologies. Researchers in [10], presents the design and architecture of
mobile application for student attendance that was integrated with mark management system. The
system need to be integrated with marking management as the attendance percentages need to be
calculated with the students final grading. Different in the mobile attendance system proposed by
[11], the researhers incorporated image recognition technology to automate the attendance records
by recognizing the students’ face. Similarly, based on image processing technology, bio-metric
fingerprint authentication for Android based attendance vigilance system has been developed in [12].
As to get parents involvement in their child’s school attendance, mobile application with SMS
gateway has been developed by researchers in [13]. Furthermore, by using a combination of QR
code and GPS technology, a location-aware of event attendance system has been implemented for
speeding up the process of taking students’ attendances in the Universiti Teknikal Malaysia
(UTEM)[14]. Firebase database in cloud was used to manage the attendance information of this
system. There are several database platforms suitable for mobile apps can be used other than
Firebase such as SQLite, Oracle Database Lite and MySQL. Firebase is more powerful for updating
data in realtime but MySQL is more flexible to works on many programming languages including
PHP, PERL, C, C++ and JAVA as well as useful and efficient to handle a large databases[15].
90
3. Methodology
The research process is separated into four phases: data collection, design and
development, implementation, and evaluation. The first phase was to collect the data set of degree
students in UiTM Tapah, detail of classes and lectures.
The second phase involved two important tasks namely the database design and the
application development. MySQL Database has been used as the database platform as it is
compatible with Android Studio for the mobile apps platform. Next development was the mobile
application interfaces. A function to calculate the percentage of student absenteeism has been
incorporated in the application.
After completing the application development, three important tasks were implementation
and functional test. The first testing was to ensure that the function to record the students'
attendance is correctly stored in the mobile application and the second testing is verify the
correctness of the percentage of student absenteeism. Figure 1 presents the flowchart of the
MobCAS that show each important process.
To use this system, users need to log in their lecturer ID and password for authentication. If
the authentication process failed, the system is unable to open the next interface. Then, next
interaface will appear to allow users to select class group and subject. The users can turn-in their
attendance for the allocation time slot and view the attendance list. At the same time, the system
will calculate the percentages of absenteeism, which also can be viewed by the users. Figure 2
shows the proceses of viewing absenteeism results.
91
Figure 2. Percentage of Students’ Flow Chart
The MobCAS system was evaluated by conducting a survey on users who were degree
students and a few of lecturers as to measure the system usability and to verify the accuracy of
absenteeism function.
92
Figure 3. Database structure of MobCAS
93
The course Table store information about all subjects registered taken by the degree
students in UiTM Tapah. This table consists course code and course name as shown in Figure 6.
The timelist table lists all of the available learning durations based on the learning schedule as shown
in Figure 7.
The student_register table (refer Figure 8) stores information about students, courses, and
groups. Each student can enrolled more than one subjects, each with its own group or class. The
table provides the information required by the standard attendance form, such as the date and time,
lecturer information, and information on absent or present students. The list of pupils, however,
cannot be displayed in this table due to the (many to many) relationship. A bridge table was created
to address this issue. The table of present_absent as in Figure 9 used to store information about
students that are either absent (2) or present(1).
94
Figure 8. Example of data in student_register table
95
Figure 10. MobCAS main windows
If the lecturer chooses Fill Attendance, they need to select the course and group as shown
in Figure 12. In order to alter a student's status (present/absent) in the class, the lecturer must insert
a probable time, and click one by one until the end of the list of students. Before the next page to be,
96
the information regarding attendance, such as date, time, and lecturer ID will be stored in the
database, indicating that the data for the class had been generated. Meanwhile, if View Percentage
was chose, users need to select the group and course. A list of students with their percentage of
attendance based on subject can be viewed as shown in Figure 13. After 14 weeks of study, if a
student's attendance does not surpass 80%, it is regarded unacceptable, and the student can be
warned.
97
3.4 Connection between Database and MobCAS
A connection between the external database and MobCAS is important to ensure that the
system can be deployed. Therefore JSON (JavaScript Object Notation) parser has been used to
support the communication between the PHP and JAVA programs. Figure 14 depicts a segment of
the JAVA codes in an Android application.
This codes is to allow the PHP codes (Refer Figure 15) to retrieve data from the phpMyAdmin
database. The PHP file uses Structure Query Languate (SQL) commands to connect, read and
manipulate data in the database. Data from the database will be transmitted to MobCAS using the
PHP codes as illustrated in Figure 16. The JAVA codes to accept data from a PHP file and to be
displayed in the MobCAS application are presented in Figure 17.
Figure 15. PHP codes to connect and retrieve data in the database
98
Figure 16. Information retrieved From the Database Wait for Java Response
99
Strongly Agree
30%
Agree
60%
Disagree
10%
Based on their experienced on using the MobCAS application, most of the users were not
having problem in installing the application on their Android device. All the functions provided by the
system have works very good and information can be displayed fast. Therefore, as seen in Figrue
18, majority of them found that the system is useful and believed that the system is acceptable.
5. Conclusion
The MobCAS provides a paperless solution in collecting student’s attendance which can
minimize the misplaced attendance sheet. The automated student presence’s percentage also helps
the lecturers to observe their students attendance. However, there is a limitation where the lecturer
needs to clicks the student’s name sequentially to record the attendance. For future work, new
functions may be added in the system such as the student details or their academic report. It is also
suggested that there is a connection between the MobCAS and the current web portal of academic
system in UiTM.
Acknowledgment
The authors gratefully acknowledge the Universiti Teknologi MARA (UiTM), Perak branch for giving
the authors the opportunity, support, and facilities to carry out this research project.
References
101