0% found this document useful (0 votes)
23 views4 pages

Lab Assignment 3 A231

This document outlines the requirements for Lab Assignment 3 involving developing a cart module for a book purchasing mobile application called BookBytes. The cart module must [1] allow users to add, remove, and update books in their cart and [2] automatically calculate the total payable amount. Students must [1] develop the module using the specified technology stack, [2] provide screenshots and a video demonstrating the cart functionality, and [3] answer questions by showing code segments that implement key cart features like adding items, calculating totals, and updating quantities.

Uploaded by

ditooard.stu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views4 pages

Lab Assignment 3 A231

This document outlines the requirements for Lab Assignment 3 involving developing a cart module for a book purchasing mobile application called BookBytes. The cart module must [1] allow users to add, remove, and update books in their cart and [2] automatically calculate the total payable amount. Students must [1] develop the module using the specified technology stack, [2] provide screenshots and a video demonstrating the cart functionality, and [3] answer questions by showing code segments that implement key cart features like adding items, calculating totals, and updating quantities.

Uploaded by

ditooard.stu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

STIW2044: Mobile Programming

Semester A231
School of Computing, CAS, UUM

FRONT COVER

Lab Assignment 3
Name Click or tap here to enter text.

Matric No Click or tap here to enter text.

YouTube Presentation Click or tap here to enter text.


Link

Phone Number Click or tap here to enter text.

GitHub Link Click or tap here to enter text.

Submission Date Click or tap to enter a date.

Acknowledgment I hereby signed and acknowledge that the


following works are from my effort in submitting
this document. If found otherwise, severe action
such as marks deduction or removal from the
assignment can be taken against me.
Digital Signature

Students Picture

Email (book purchase) Click or tap here to enter text.

Digital key (book purchase) Click or tap here to enter text.

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

BookBytes (User) Module description

Project: BookBytes (Buyer App)


Phase 1: Cart Module
a. Objective:
 To design and implement cart modules that manage items in a user's cart.
 To enable users to add, delete, and update books in their cart.
 To automatically calculate the total payable amount for the books in the cart.
b. Scope:
 Insert data into the cart from the details screen: Transfer selected book
information from the book's details screen to the cart for potential purchase.
 Load and display data from the cart: Retrieve and showcase all books
currently residing in the cart.
 Delete cart item: Remove a specific book from the cart, adjusting the total
accordingly.
 Update cart quantity: Modify the number of copies of a book within the cart,
reflecting the change in the total price.
 Calculate total: Compute the overall cost of all books within the cart, factoring
in quantities and individual prices from different sellers and include the
delivery price for each seller (RM10 each).

Instruction 1 – Develop the technology stack listed in (c).

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)

< your link here>


2. 2 Cart module Interface screenshots.
(1 Marks)

< your screenshots here>

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)

< your link here>

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>

You might also like