You are on page 1of 2

EASTWOODS Professional College of Science and Technology

Web Systems and Technologies (Back-End)


Prelim Exam

General Instruction:
Develop a Web Application using PHP, JavaScript, SQL, HTML, and CSS.

Tasks
Task 1: Create a database using the following schema: 20 points (Deduct 5 points every
mistake)
Database Name: e_logs
Database Table: logs
Columns:
id – PK AI Int
type – ENUM (In, Out)
first_name – VarChar (30)
middle_name – VarChar(30) Nullable
last_name – VarChar(30)
timestamp – Timestamp – Current Timestamp

Task 2: Log Form


- Create the Log Form using HTML and CSS
o Design – 20 points
o Code Construction – 30 points (Deduct 5 points every mistake)
- Fields
o Transaction Type – Selection (In or Out) - Required
o First Name - Required
o Middle Name – Nullable
o Last Name – Required

Task 3: Save Log Function


- Save logs to the database – 20 points
- Display errors – 10 points

Task 3: Display Logs


- Display Transaction Logs in a table with the following fields:
o # - number of rows
o Name – Including first, middle, and last name
o Transaction Type
o Timestamp – Format (F, d Y h:i:s A) E.g. March 28, 2023
o Action – Including Delete Button

Task 4: Delete Log


- Delete selected Log – 15 points
- Error display if deleted unknown record – 15 points
Task 5: Search Function
- Search on table using last_name – 20 points.

Submission:
1. Extract your database and save it in a folder name `data` along with your project files.
(Deduct 50 points if not complied)
2. Zip your folder and submit it our Moodle Prelim Submission Page.
3. Submission until April 1, 2023 11:59 PM

Good luck!

Prepare By: Percian Joseph C. Borja

You might also like