0% found this document useful (0 votes)
11 views15 pages

Programming

The Attendance Monitoring System is a computer application designed to automate the recording and management of student attendance, replacing traditional methods that are often inefficient. It features a menu-driven interface for recording and viewing attendance, with logs stored in a text file, but has limitations such as lack of database integration and single-user operation. The document includes project description, algorithms, flowcharts, source code, and sample output.

Uploaded by

Shannyn Suarez
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views15 pages

Programming

The Attendance Monitoring System is a computer application designed to automate the recording and management of student attendance, replacing traditional methods that are often inefficient. It features a menu-driven interface for recording and viewing attendance, with logs stored in a text file, but has limitations such as lack of database integration and single-user operation. The document includes project description, algorithms, flowcharts, source code, and sample output.

Uploaded by

Shannyn Suarez
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

TANAUAN INSTITUTE, INC.

COLLEGE DEPARTMENT

BACHELOR OF SCIENCE IN COMPUTER SCIENCE

ATTENDANCE MONITORING SYSTEM

A Project in

CC 102 FUNDAMENTALS OF PROGRAMMING

By:

Students Name
(in alphabetical order)

Course, Year and Section

Date

1
2
Table of Contents

Title Page No.

Title Page 1

Table of Contents 2

Project Description 3-4

Algorithm/Pseudocode 5-6

Program Flowchart 7-8

Source Code 9-11

Output of the System 12

3
PROJECT DESCRIPTION

The Attendance Monitoring System is a computer-based application designed to


efficiently record and manage student attendance. Traditional attendance methods, such as
manually writing names or calling roll, are often time-consuming, error-prone, and difficult to
maintain. This system automates the process, ensuring accuracy, speed, and easy access to
records.

Scope of the System

Recording student attendance digitally

Storing attendance logs permanently in a text file

Viewing previously recorded attendance

Operating on a single-user console application

Using system date and time for accurate logging

Features / Functionalities

1. Record Attendance – Users can input a student’s name and the system automatically records
the current date and time.

2. View Attendance Records – Users can display all previous attendance entries.

3. Menu-Driven Interface – Simple interface with options to record attendance, view records, or
exit.

4. Data Storage – Attendance logs are stored in `[Link]`, allowing permanent storage.

5. Automatic Timestamping – System captures date and time using the computer clock.

Limitations of the System

1. No Database Integration – The system uses a text file, limiting advanced data management.

2. No Authentication – Any user can access or record attendance.

4
3. No Editing / Deleting – Records cannot be modified or removed once saved.

4. Single User Only – Cannot handle multiple concurrent users.

5. No Analytics – Cannot compute attendance percentages or generate reports.

6. Duplicate Names – Does not check for repeated entries or ID verification.

5
ALGORITHM/PSEUDOCODE

START

DO

Display menu:

1 – Record Attendance

2 – View Attendance

3 – Exit

Input choice

IF choice = 1 THEN

Call RecordAttendance()

ELSE IF choice = 2 THEN

Call ViewAttendance()

ELSE IF choice = 3 THEN

Exit program

ELSE

Display “Invalid Choice”

LOOP until choice = 3

END

Record Attendance Algorithm

1. Ask user for student name

2. Get current system date and time

3. Open “[Link]” in append mode

4. Write student name + date + time

6
5. Close file

6. Display success message

View Attendance Algorithm

1. Open “[Link]” for reading

2. IF file exists THEN display all lines ELSE display “No records found”

3. Close file

7
PROGRAM FLOWCHART

┌─────────────┐

│ START │

┌────────▼────────┐

│ Display Menu │

┌───────▼────────┐

│ User Choice? │

┌────────────▼┐ │

│Record │ │

│Attendance │ │

┌──────▼───────┐ │

│ Write to File │ │

┌──────▼───────┐ │

│ View Records │ │

┌──────▼──────┐ │

8
│ Exit? │◄─────┘

│Yes

┌──────▼──────┐

│ END │

└──────────────┘

9
SOURCE CODE

#include <iostream>

Using namespace std;

String getDateTime() {

Time_t now = time(0);

Char* dt = ctime(&now);

Return string(dt);

Void recordAttendance() {

String name;

[Link]();

Cout << “\nEnter Student Name: “;

Getline(cin, name);

Ofstream file(“[Link]”, ios::app);

If (!file) {

Cout << “Error opening file!\n”;

Return;

File << “Name: “ << name << “ | Time: “ << getDateTime();

[Link]();

10
Cout << “Attendance recorded successfully!\n”;

Void viewAttendance() {

Ifstream file(“[Link]”);

String line;

Cout << “\n======= Attendance Records =======\n”;

If (!file) {

Cout << “No attendance records found.\n”;

Return;

While (getline(file, line)) {

Cout << line << endl;

Cout << “=================================\n”;

[Link]();

Int main() {

Int choice;

11
While (true) {

Cout << “\n========== Attendance Monitoring System ==========\n”;

Cout << “1. Record Attendance\n”;

Cout << “2. View Attendance\n”;

Cout << “3. Exit\n”;

Cout << “Enter your choice: “;

Cin >> choice;

Switch (choice) {

Case 1:

recordAttendance();

break;

case 2:

viewAttendance();

break;

case 3:

cout << “Exiting system… Goodbye!\n”;

return 0;

default:

cout << “Invalid choice. Please try again.\n”;

12
OUTPUT OF THE SYSTEM

========== Attendance Monitoring System ==========

1. Record Attendance

2. View Attendance

3. Exit

Enter your choice: 1

Enter Student Name: Monkey

Attendance recorded successfully!

========== Attendance Monitoring System ==========

1. Record Attendance

2. View Attendance

3. Exit

Enter your choice: 2

======= Attendance Records =======

Name: Monkey | Time: Tue Dec 02 14:52:08 2025

13
FINAL PERMIT

14
Note: Requirements for proper documentation

1. Margins:

Top, right, bottom – 1 inch

Left – 1.5 inches

2. Font size – 12

3. Font style – Times New Roman or Arial

4. Paragraph / line spacing – double

5. Paragraph alignment – justify

6. Paper Size – short

7. Page Number – is on lower right corner

15

You might also like