Science CBT Practice App
About This Project
The Science CBT Practice App is an offline Android application designed to simulate a JAMB Computer-Based Test (CBT) experience for science students. Users enter a valid JAMB registration number, choose their science subject combination, and complete timed examinations using a familiar CBT interface. The application requires no internet access, databases, or external APIs — all questions and answers are stored locally using JSON files.
Key Features
- Offline functionality — no internet required
- JAMB registration number validation
- Multiple science subject combinations
- Timed examination with countdown timer
- CBT-style interface similar to real JAMB
- Instant score calculation and result display
- Question navigation (next, previous, marked for review)
- Practice mode and timed exam mode
How It's Built
Set Up Android Project
Create a new Android project in Android Studio using Java. Set up the project structure with activities, adapters, and model classes.
Design the Database Schema
Create SQLite tables for subjects, questions, options, and user responses. Alternatively, store questions as JSON files in the assets folder.
Build the Registration Screen
Create an activity where users enter their JAMB registration number. Validate the format and store it locally for session use.
Create Subject Selection
Build a screen listing available science subject combinations (e.g., Physics, Chemistry, Biology, Mathematics). Allow users to select their preferred combination.
Implement the Exam Interface
Build a CBT-style exam screen with question display, four option buttons, navigation (next/previous), and a countdown timer. Store selected answers in memory.
Add Timer Functionality
Implement a countdown timer using Android's CountDownTimer class. Auto-submit the exam when time expires.
Build Result Screen
Calculate the score by comparing user answers with correct answers from the JSON file. Display the result with the number of correct answers, wrong answers, and percentage.
Polish UI/UX
Style the app to mimic the real JAMB CBT interface. Use appropriate colors, fonts, and layouts for a familiar experience.
Need Help With This Project?
Building a CBT or exam practice app for your school or organization? We can help!