Lab Assignment 3 A231
Lab Assignment 3 A231
Semester A231
School of Computing, CAS, UUM
FRONT COVER
Lab Assignment 3
Name Click or tap here to enter text.
Students Picture
1
STIW2044: Mobile Programming
Semester A231
School of Computing, CAS, UUM
Lab Assignment 3
Given date: 7/1/2024.
Submission date: 14/1/2024
10 Marks
2
Develop the module using the application described above.
1. GitHub link to your project (Don’t set it as private). Include server-side directory and
SQL export statement file into the project directory. (Don’t set as private)
(1 Marks)
3. YouTube video link (Don’t set it as private). Recorded video presentation that shows
the cart are functionals. (Don’t set as private)
(1 Marks)
Instructions 2 – Once instruction 1 is completed answer all the following questions. The
following questions will only count and check if the above full source code and video are
available. Your answers should only come from your code. Only shows the required
code segment and any additional codes added to the answer will consider as the wrong
answer.
1. Show code segment from the details page where the book quantity is checked first
before the book is added to the cart. (show only the required operation).
(1 Marks)
<your answer here>
2. Show the code segment that calculates the total number of items in the cart. (show
only the required operation)
(1 Marks)
<your answer here>
3. Show your SQL statement to load cart items (show only the required operation).
3
(1 Mark)
<your answer here>
4. Show your backend scripts that implement update book quantity from the cart table.
Make sure the item quantity is available first before add or remove operations. (show
only the required operation)
(2 Mark)
<your answer here>
5. Show widget code segment from the cart screen where the delete dialog method is
called (show only the required operation)
(1 Mark)
<your answer here>
6. Describe the steps required to calculate total price including delivery when two or
more sellers are involved in the transaction.
(1 Mark)
<your answer here>