CSE103 Mini Project Specification Spring2023
CSE103 Mini Project Specification Spring2023
Introduction
In this project, you are required to develop a C console program to demonstrate your skills of using basic
C programming constructs: selection statements (if-else, switch), loops (while, for, do-while), arrays,
structures (struct), and I/O functions (printf, scanf, etc.). You are only allowed to use the C programming
concepts and techniques taught in the CSE103 course.
1. GroupX_SimpleBookShop.c
The C program source code where GroupX will be replaced by the respective group number.
Example: Group1_SimpleBookShop, Group2_SimpleBookShop, and so on. Your program should
have sufficient comments to describe the code.
2. GroupX_Report.docx
A report where students are required to mention the tests conducted to validate the program.
The test report should include individual test cases, set of inputs, and respective output
screenshots of the program test runs. (Use Alt-PrtScrn to capture just the console window and
you can paste it into your Word document, or you can use Windows Snipping Tool). You should
thoroughly test your program and outline your testing plan and annotate your screenshots with
what you are testing.
You are required to submit your files by the due date using the "Mini Project Submission Link” on CSE103
Google Classroom.
Assignment specification
The Simple Book Shop project keeps track of records of books added by the user. It must keep the
following information for each book:
Your program must be able to keep track of 500 books in a single run. The program must contain the
following functions with their respective tasks.
showWelcomeMessage()
When called, this function should display the following welcome message:
showGoodByeMessage()
When this function is called, it must display the following goodbye message:
showMenuOptions()
When this function is called, it must display the following menu options. Your menu options must match
the menu numbers shown below.
showBooks()
This function must display all the books stored in the system as a list. It must display all the details for
each book: title, author name, price, and number of copies.
addBook()
When called, this function will take the details of a single book from keyboard as follows. It must show
appropriate messages when taking inputs from users.
searchBook()
When this function is called it will take the title of the book to search from keyboard and search the whole
list of the books in the system. If it finds the book title, it shows all the details of the book; otherwise, it
shows "Book not found" message.
showNumberOfBooks()
When called, this function will count the number of books in the system and show the number on the
screen.
main()
When the program is executed, firstly the main() function will display the welcome message, show
option menu to the user, and wait for input.
Depending on the user’s choice of options, main() should call appropriate functions (mentioned-above)
to perform the tasks.
When the user enters option 6, the program should terminate after showing the Goodbye message as
mentioned before.
Submission Deadline
12th May 2023 at 11:59 PM
Interview Date
13th May during Makeup Lab class.
Marking Rubric
Component Marks (out of 11)
Program Code (C file) 5
Report (DOCX or PDF file) 2
Interview or VIVA 4