COMP102 - Computer Programming Mini Projects: 1 Important Dates
COMP102 - Computer Programming Mini Projects: 1 Important Dates
Mini Projects
Students are required to carry out one mini project for the course COMP 102. Each stu-
dent must work individually in the project. No more than 3 students may work on the
same project.
To avoid conflicts in project selection, all students are required to choose 3 preferred projects
from the provided list of projects and fill in the following form:
https://forms.gle/nmeVBxZmG1jjogHDA
If there are projects selected by more than 3 students, projects will be assigned to the stu-
dents based on their preferences.
At the end of the project, students will have to submit the following:
1. A short report explaining the project, and, containing screenshots of the output
2. Source code
Students will also have to demonstrate their project on the specified date.
1 Important dates
Project selection deadline July 2, 2021
Project submission deadline Aug 10, 2021
Project demo Aug 13-15, 202
2 Mini projects
1. Gregorian Calendar
Write a program to print Gregorian Calendar. Your program must ask the user to input
the desired year.
2. Periodic Table
Write a program to print the Periodic table.
1
4. Bus Ticket Reservation System
Develop a system for reserving bus tickets. The system must keep track of the available
buses and seats. Users must be able to reserve seats and cancel reservations.
7. Tic-tac-toe
Write a program that enables two players to play the Tic-Tac-Toe game.
8. ASCII art
Write a program to display three ASCII arts. Users must be able to select an art to
display.
9. Quiz
Write a program to generate a quiz. The quiz must be time-bound and contain multiple
choice questions. At the end of the quiz, the obtained score must be displayed. Quiz
history must be saved in a file for future reference.
2
15. Barchart
Write a program to draw a bar chart using ASCII characters.
16. Sampling
Write a program that reads a CSV file containing information about users (e.g. age,
gender, location etc.), then performs simple random sampling (i.e. randomly select a
subset of users), and saves the sample in a file. Your program must ask the sample size,
and provide the following two sampling schemes:
19. Imputation
Write a program that reads a CSV file containing some 2-dimensional data, and checks
if any data value is missing in the file. If data is missing, your program must perform
imputation (the process of replacing missing data with substituted values). Your program
must support the following imputation techniques:
3
N,N
Compute precision and recall using the following formula:
TP
Precision =
TP + FP
TP
Recall =
TP + FN
Where
T P = number of rows where Expected = Y and Actual = Y,
F P = number of rows where Expected = N and Actual = Y,
F N = number of rows where Expected = Y and Actual = N,
3 Requirements
• Your program must be interactive and contain the following:
– Menu
– Functions
– Command-line arguments
– Structures
– Arrays
4 Grading policy
Your program will be graded based on the following:
• Originality/creativity
• Design/readability
• Coding style
• Correctness
• Requirement satisfaction