Note:
- For Vietnamese version of this README, please refer to README.vi.md
- For detailed development guidelines in English, see DEVELOPMENT.md
- For detailed development guidelines in Vietnamese, see DEVELOPMENT.vi.md
Project Repository: @TeoSushi1014/examapp
This application manages and processes multiple-choice exams. Each question in the exam includes:
- Question content
- Answer A content
- Answer B content
- Correct answer (A or B)
-
Create Multiple Choice Exams
- Create new exams with multiple questions
- Input from keyboard
- Save to
*.TTN
format files
-
Read and Take Exams
- Read exam content from
*.TTN
files - Allow users to take the exam
- Check and display results
- Read exam content from
-
File Processing
- Read
*.TTN
files - Remove excess whitespace from questions and answers
- Save changes back to the original file
- Read
-
Question Comparison
- Check if two questions are identical
- Compare based on content, answers, and correct answer
noidung
: Question contentdapAnA
: Answer A contentdapAnB
: Answer B contentdapAnDung
: Correct answer (A or B)
nhap()
: Input question from keyboarddocfile()
: Read question from fileghifile()
: Write question to filekiemtra()
: Check user's answerxuat()
: Display questiongiongnhau()
: Compare two questions for similarity
-
Required Files for Submission
- Screenshot of application execution
- Source code archive
-
Student Information
- Display student ID and name at program start
- Run the application
- Choose from the menu options:
- Create new exam
- Read and take exam
- Edit exam file (remove excess whitespace)
- Check for duplicate questions
- Exit program
-
Class Implementation
- Implement
CauhoiTN
class with all required properties and methods - Ensure proper file handling for
*.TTN
format
- Implement
-
Menu System
- Implement user-friendly menu interface
- Handle all user inputs appropriately
-
File Operations
- Implement proper file reading and writing
- Handle whitespace removal correctly
-
Testing
- Test all features thoroughly
- Verify correct answer checking
- Ensure proper duplicate question detection