UNIVERSITI TEKNOLOGI MARA (MELAKA)
Kampus Jasin
FACULTY OF COMPUTER &
MATHEMATICAL SCIENCES
FUNDAMENTALS OF ALGORITHM DEVELOPMENT(CSC118)
MINI PROJECT
TEAM MEMBERS : 1)1. MUHAMMAD
Ahmad AdamLUQMAN HAKIMHakim
2. Luqman BIN RUZLAN
2) MUHAMMAD NIZAM BIN YUSUF
3)3.NORHAFIFY
No!a"# Nor abidin
BIN NOR ABIDIN
GROUP : M3CS110/1A
PROJECT TITLE : Project On Book Shop
LECTURERS NAME : Madam Zainab binti Othman
CONTENTS
Title Pages
Contents 1
Introductions 2-3
Objective 4
Documentation:
1) Pseudocode 58
2) Flowchart 9 - 10
Conclusion 11
Disclaimer 12
MICROSOFT OFFICE USER 1
INTRODUCTIONS
First and foremost, we would like to thanks our coordinator @ Lecturer Madam
Zainab bt Othman in anticipation, who has provide and guide us thoroughly
with this project as one of the key curricular of Fundamentals Of Algorithm
Development [CSC118]. This project was started on 7 March 2016. Our team
has decided to choose Project on Bookstore as our project. The name given
to our bookstore is FND Bookstores.
Our team consists of:
Muhamad Luqman Hakim bin Ruzlan
Ahmad Adam
Muhammad bin Adnan
Nizam bin Yusuf
NorHafify bin Nor Abidin
We have explored the ways on how system in bookstores works efficiently.
During conducting this project, we have found several new efficient ways on
how electronic bookstores operates independent ly yet efficiently via the
implementation of system. Its extremely vital to implement the usage of
electronic system these days mainly in bookstores to assist yet ease the process
of bookkeeping and tracing.
During conducting the project, we had utilized the internet as a platform in
seeking for information and guide in completing this project. Also, as the
primer motive of this project is to train students to independently but also to
instill cooperation spirit among members, during the process we have worked
closely with other groups on knowledge-sharing basis to seek out help and
knowledge on several matters.. No Plagiarism has taken place during the
process though. The writing process of the project has taken into action
beginning on 9th March 2016.
Since this project was based on Fundamental Of Computer Problem Solving
[CSC128] Project, we have to first write lines of codes for our CSC128 project
MICROSOFT OFFICE USER 2
pre-conducting this project. Surely, we have encountered several issues during
developing the program itself. For instance, the problem on how to arrange
and classify books according to their genre and title. Another major problem
we encountered was during determining on how to apply the concept of
functions.
MICROSOFT OFFICE USER 3
OBJECTIVE
This vital reason this project is conducted is purposely to :
i) To sell books in an efficient manner.
ii) Create a system which allows users to search and purchase a book
based on category, author and genre.
iii) Maintaining record of Sales and Purchase (S&P) besides assisting in
payment system.
iv) Develop a system in which can efficiently and effectively stores and
process information and bookkeeping
v) Solving problems regarding bookkeeping and managing bookstores.
vi) Improve the usability and efficiency of bookstores systems.
MICROSOFT OFFICE USER 4
PSEUDOCODE
Start
Set respond = c , respond2 = y, respond3 = Y
Set total1=0, total2=0, total3=0, total4=0, total5=0, total6=0, totalAll=0
While (respond == C or respond ==c)
Display Enter your choice
Read num
If (num == 1)
While(respond3 == y or respond == Y)
Call bookMenu()
Display Book No. :
Read bNum
Display Quantity :
If(bNum == 1)
Display Cooking Book
total1 = 36*quantity
Display The price is RM
Read total1
Else if(bNum == 2)
Display Novel
total2 = 19*quantity
Display The price is RM
Read total2
Else if(bNum == 3)
Display Text book
Total3 == 11*quantity
Display The price is RM
Read total3
Else if(bNum == 4)
MICROSOFT OFFICE USER 5
Display Documentary
Total4 = 67*quantity
Display The price is RM
Read total4
Else if(bNum == 5)
Display Fiction
Total5=14.50*quantity
Display The price is RM
Read total5
Else if(bNum == 6)
Display Non fiction
Total6 = 8*quantity
Display The price is RM
Read total6
Else
Display Invalid Book No.
Endif
Endif
Endif
Endif
Endif
Endif
Endif
Display Buy other books?
Read respond3
totalAll = total1+total2+total3+total4+total5+total6
Display The total price is RM
Read totalAll
Else if(num == 2)
While(respond == y or respond == Y)
Call bookMenu()
Display Enter the book no. to search:
Read bookN
MICROSOFT OFFICE USER 6
If (bookN == 1)
Display The book is in the Skills section
If (bookN == 2)
Display The book is in the Novel section
If (bookN == 3)
Display The book is in the Education section
If (bookN == 4)
Display The book is in the History section
If (bookN == 5)
Display The book is in the Fiction section
If (bookN == 6)
DisplayThe book in NonFiction section
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
Display Search for other book? (Yes = Y , No = N)
Read respond2
Endwhile
Else
Display Exit(E) or Continue (C)? :
Read respond
Endif
Display Thank You For Shopping At FNB Book Store!!
Display Please Come Again
End
MICROSOFT OFFICE USER 7
Submodule bookMenu()
Display ***WELCOME TO FNB BOOK STORE***
Display 1. Purchase Books
Display 2. Search Books
Display 3. Exit
Return
Submodule bookMenu()
Display No || Title || RM
Display =================
Display 1. Cooking = 36.00
Display 2. Novel = 19.00
Display 3. Text Book = 11.00
Display 4. Documentary = 67.00
Display 5. Fiction = 14.50
Display 6. Non Fiction = 8.00
Return
MICROSOFT OFFICE USER 8
start
quantity
total1= total2= total3= total4= total5 = total6 = totalAll = 0
as
No
respond=c
Yes end
display Enter your choice :
display Exit(E) or
continue(C)?:
read choice
display total1
No
No Yes Yes
num =1 num =2 respond2=y bookMenu() A
Yes
respond3=y
No
Yes
display Book No.
read quantity
Yes
bNum=1
display Cooking Book total1=36*quantity display The price is RM
display total1
No
Yes
bNum=2
display Novel total2=19*quantity display The price is RM
No
display total2
Yes
bNum=3
display Text Book total3=11*quantity display The price is RM
No
display total3
Yes
bNum=4
display Documentary total4=67*quantity display The price is RM
display total4
No
Yes
bNum=5
display Fiction total5=14.50*quantity display The price is RM
display total5
No Yes
bNum=6
display Non-Fiction total6=8*quantity display The price is RM
No display total6
display Invalid Book no.
display Buy other book(s)? (yes-Y,no-N) :"
display The total price is RM
read respond3 totalAll=total1+total2+total3+total4+total5+total6 display totalAll
as
read respond display Do you want to continue?
A
display Enter the book no. to search
read book
Yes
bookN=1 display The book is in the Skills section
No
Yes
bookN=2 display The book is in the Novel section
No
Yes
bookN=3 display The book is in the Education section
No
Yes
bookN=4 display The book is in the History section
No Yes
bookN=5 display The book is in the Fiction section
No Yes
bookN=6 display The book is in the Non-Fiction section
No
display Search for other book(s)? (Yes-Y,No-N)"
read respond2
PROJECT CSC 118 - 10 -
CONCLUSION
As per conclusion, the project has tremendous implications on ourselves.
The critical decision making involved in solving this project has helped to
nurture and develop critical thinking skills. For instance, we are now able to
solve many complex problem regarding algorithm development. We are now
capable of designing function based algorithm.
Hitherto, this projects has helps in broadening our view and perspective on the
matters of key developing programs. We know know how important it is for
system to be seriously implemented in our daily lives for efficiency.
We would like to address a compliance and millions of regards and
thanksgiving for the party that had guide us in completing this project as one
of the key curricular of MOE, mainly our project coordinator @ Lecturer,
Madam Zainab binty Othman and not to be forgotten, our team mates. Thanks
a million.
PROJECT CSC 118 - 11 -
~ THE END ~
Ahmad Adam, Hafifi, Luqman Hakim.
PROJECT CSC 118 - 12 -