0% found this document useful (0 votes)
17 views7 pages

Lab Assessment

The document outlines a project for the course ENAP 150: Computer Algorithms and Programming, due on May 7, 2024. Students are tasked with developing a C++ prototype for an online shopping platform, which includes functionalities for item selection, cart management, and checkout with donation options. The project is graded out of 8 marks based on four specific questions related to programming constructs and algorithm implementation.

Uploaded by

faresalking95
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)
17 views7 pages

Lab Assessment

The document outlines a project for the course ENAP 150: Computer Algorithms and Programming, due on May 7, 2024. Students are tasked with developing a C++ prototype for an online shopping platform, which includes functionalities for item selection, cart management, and checkout with donation options. The project is graded out of 8 marks based on four specific questions related to programming constructs and algorithm implementation.

Uploaded by

faresalking95
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/ 7

Course Code: ENAP 150

Course Title: Computer Algorithms and Programming

Semester: Spring Academic Year: 2023-2024

Assessment Instrument: Project Due Date: 7-May 2024

Course Instructor: Dr. Mohammad Sami Zitouni Duration: 60 minutes

College/Department: College of Engineering and IT

This instrument assesses the following Course Learning Outcomes (CLO):


CLOs Course Learning Outcomes (CLO)* Question Marks
s
1 Use the fundamental programming constructs. Q1 /2
2 Solve computing problems using flowcharts and pseudo Q2 /2
codes.
3 Implement algorithms using programming concepts. Q3 /2
4 Develop computer program to solve problems using Q4 /2
functions.
Total /8
*Linkages to Program Outcomes and Concentration Outcomes are provided in the Syllabus.

Question Q1 Q2 Q3 Q4 Total

Grade

Out of 2 2 2 2 8

Student Name: Bitanya Belay Demissie

Student ID No: s0000003958


Project Description: [Total 8 Marks]

You have been hired by a hypermarket chain as a program developer. The


chain plans to deploy an online shopping platform. Hence, your first job is to
use C++ to write a prototype. This prototype program should be able to do
the following:

Q1) [2 Marks]
Prompt the customer to start shopping or to exit from the program.
If the customer chooses to start shopping, a list of grocery items should
be displayed to choose from. Each item should have a different price,
for example:

1- Milk (6 AED)
2- Fruit (14 AED)
3- Bread (25 AED)

Q2) [2 Marks]
After choosing an item, the customer should be asked to confirm whether he
wishes to add it to his cart or not. If he adds it to the cart, the total sum
should be updated.

Q3) [2 Marks]
After the customer has chosen to add the item to the cart or otherwise, he
should be prompted as to whether he wishes to continue shopping or to
proceed to checkout.

Q4) [2 Marks]
If the customer wants to checkout, ask if he wishes to donate to charity, the
donation amount (5 AED) should be added to the final bill.
The final bill should include a tax amount (10% of the total) and the amount
of charity donated, if any. Make sure to display the final bill amount.

 You need to implement at least one function in your program. For


example, a function to find the final bill amount.
Sample output:

Program
Output

You might also like