0..* has Shopping Cart + cartid + productID + quantity + dateAdded + addCartItem() + updateQuality() + viewCartDetails()

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

0..* has Shopping Cart + cartid + productID + quantity + dateAdded + addCartItem() + updateQuality() + viewCartDetails()

Post by answerhappygod »

0 Has Shopping Cart Cartid Productid Quantity Dateadded Addcartitem Updatequality Viewcartdetails 1
0 Has Shopping Cart Cartid Productid Quantity Dateadded Addcartitem Updatequality Viewcartdetails 1 (36.26 KiB) Viewed 26951 times
There are two important things to check for here.
Firstly they are required to provide all the MongoDB commands(e.g. db.collectionname.insert), rather than a JSON output of theirdatabase from MongoDB. Reduce their mark by one criteria ifthey don’t give all their MongoDB code. If the screenshots inthe report show all the code then that’s fine.
Secondly, and probably most importantly, it should be adocument store implementation. Many studentsdon’t understand this and simply replicate their relational design,i.e. one collection per table.
I am looking for them to have appropriately used nesteddocuments, arrays, and documents with different properties in thesame collection (to show they understand that it’s asemi-structured schema), and also removes the need to store nulldata.
0..* has Shopping Cart + cartid + productID + quantity + dateAdded + addCartItem() + updateQuality() + viewCartDetails() + checkOut() 1 Customer + customerName + address + email + credit Card Info + shippingInfo + accountBalance + register() + login() + updateProvile() 1 place 0..* Order + orderld + date Created + dateShipped + customerName + customerld + status + shippingld + placeOrder() -register. has User + userld +password + loginStatus + registerDate + verifyLogin() -has a- Shipping + shippingld + shipping Type + shipping Cost + shippingRegionld + updateShippingInfo() 1 Administrator + adminName + email + updateCatalog() Product + orderld + productid + productName + quantity + unitCost + sub Total + calcPrice()
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply