BIT1C013 Introduction to Programming Individual Assignment August 2025 Session

University Mahsa University (MU)
Subject BIT1C013 Introduction to Programming

MAHSA University – FACULTY OF ENGINEERING, BUILT ENVIRONMENT & IT

Assignment brief

     
Program : Bachelor of Information Technology (Hons)
Module Name : Introduction to Programming
Code : BIT1C013
Assignment : Individual

Assignment submission guideline:

A hard copy of the assignment signed by student with faculty cover sheet attached. Also, assignment must be submitted in Microsoft word format or Pdf format to the submission assignment provided on CAMU.

Your lecture notes will give you the basic framework ONLY of the ideas, theories and concepts you will need to complete the assignment. These notes will therefore NOT be sufficient on their own. You will need to make use of the required reading, extra references and any other material you come across in the course of researching your assignment. Only academic references are accepted.

Late Submission

For any late submission without any good reasons, thus comply to the rules as per mention below:

  • day late: 5 marks will be deducted from the mark achieved by the student
  • to 9 days late: a further 5 marks will be deducted from the mark achieved by the student for each day the work remains unsubmitted

10 days late: a mark of zero will normally be recorded

Non-submission of work

Non-submission of work without extenuating circumstances will be counted as a non- submission and marked as zero.

Editorial/Presentation guidelines

Font size Size 12
Font style Times New Roman
Headings Size 12 bold
Margins 4cm Left margin

2.5 cm top, bottom, and side margins

Spacing 1.5 lines spacing
Colour Depends on your report
Pagination Individual pages must be numbered – bottom of page and centre
Justify Justify text in the document
Table Table caption must be placed on top of the table

Table caption font is Times New Roman, size 10, Italic

Table number font is Times New Roman, size 10, bold

Within table font is Times New Roman, size 10

 

Figure Figure caption must be placed on the bottom of the figure

Figure caption font is Times New Roman, size 10, Italic

Figure number font is Times New Roman, size 10, bold

Within Figure (Axis) font is Times New Roman, size 10

 

 

Reference IEEE template (Not older than 2012)

Assignment Submission due date Final submission: 3 November 2025 (Monday)

Assignment must be submitted through the submission link provided on CAMU.

Marking

This assignment counts for 30% of your total mark.

Are You Searching Answer of this Question? Request Malaysian Writers to Write a plagiarism Free Copy for You.

Assignment description

This individual assignment is part of a continues assignment that carries 30% of the overall percentage for the courses. It addresses the course outcomes as shown below.

Course outcome Programme outcome
CO3: Analyze small to medium scale problems and develop solutions using functions. PO8
CO4: Understand and use basic program control constructs of sequence, selection and iteration. PO1

Details of the task 

A Nice Cafe wants a program to calculate the total cost of items purchased by customers. The restaurant sells three items with fixed prices as follows (use constants in your program):

  • Latte (Item L): RM12 each
  • Sandwich (Item S): RM18 each
  • Muffin (Item M): RM7 each

Requirements:

  1. Construct a C++ program that fulfills the following requirements:

Use functions to:

  • Input the quantity of each item purchased (with validation).
  • Calculate the cost of each item based on its quantity and price.
  • Calculate and return the total cost of all items purchased.
  • (Optional bonus) Apply a member discount of 10% if the user selects “Member = Y”.
  1. Use sequence (normal steps), selection (if/else or switch for member Y/N), and iteration (loop to process multiple transactions until user chooses to exit).
  2. Display a clear receipt showing:
    • Quantities and line costs for L, S, M
    • Subtotal
    • Any discount (if applicable)
    • Final Total (RM)

Note: You should use at least three functions: one for input, one for calculations, and one for displaying the output.

  1. Draw a flowchart illustrating input, validation, calculations (including optional discount decision), and output. The flowchart should also show the loop that handles repeated transactions.
  2. Your C++ code should demonstrate creativity and clean structure: well-named variables, constants for prices, modular functions, and comments. Your report should discuss the system design, including the flowchart, the choice of control structures, and how your functions divide the work.

Example Output:

Case 1: Single Transaction (No Discount)

Enter quantity of Latte (>= 0): 1

Enter quantity of Sandwich (>= 0): 2

Enter quantity of Muffin (>= 0): 3

Are you a Nice Cafe member? (Y/N): N

————–Receipt ——————-

Latte (RM12) x 1 = RM12

Sandwich (RM18) x 2 = RM36

Muffin (RM7) x 3 = RM21

Subtotal: RM69

Final Total: RM69

——————————————-

Process another transaction? (Y/N): N

Thank you for using the Nice Cafe Order System! Goodbye!

Case 2: Multiple Transactions with Validation + Discount

Enter quantity of Latte (>= 0): -2

Invalid input! Please enter a non-negative number.

Enter quantity of Latte (>= 0): 2

Enter quantity of Sandwich (>= 0): 1

Enter quantity of Muffin (>= 0): 0

Are you a Nice Cafe member? (Y/N): y

—————— Receipt ——————

Latte (RM12) x 2 = RM24

Sandwich (RM18) x 1 = RM18

Muffin (RM7) x 0 = RM0

Subtotal: RM42

Member Discount (10%): -RM4.20

Final Total: RM37.80


Process another transaction? (Y/N): X

Invalid input! Please enter ‘Y’ or ‘N’: Y

Report

You must produce a report that includes:

  1. A flowchart of the program and screenshots of the output.
  2. The full source code.
  3. All files (report and source code) should be compressed into a single ZIP file and uploaded to CAMU.

What you should hand in

You should submit a single ZIP file containing the documents and upload it to CAMU.

Get Solution of this Assessment. Hire Experts to solve this assignment for you Before Deadline.

Assignment Rubric

Name:             ______________________________

Student ID: ______________________________

Criteria     Criteria Description   Marks
1 2 3 4 5
Very Poor Poor Satisfactory Good Very Good
Program Execution Program does not compile or crashes frequently. Program compiles but has major errors or crashes. Program compiles but may have some minor issues. Program compiles and runs smoothly with no runtime errors. Program executes flawlessly, handles all edge cases.  
Correct

Output

No output or completely incorrect results. Produces partial or mostly incorrect results. Produces mostly correct results, with some errors. Output is correct for most test cases, with only minor mistakes. Produces correct output for all test cases.  
Design of the

Process Flow

Process flow is unclear, incomplete, or lacks structure. Basic process flow with limited clarity and organization. Adequate process flow, but lacks

optimization or detail.

Process flow is welldesigned, showing

logical and structured steps.

Excellent process flow with clear,

creative, and logical design.

 
Documentation No documentation or extremely limited explanation. Minimal documentation,

lacks clarity in key areas.

Adequate documentation,

explains most key aspects.

Well-documented, clearly explains code and logic. Exceptionally welldocumented, thorough

explanation of code, logic, and design choices.

 
Code Quality

& Creativity

Poor coding style: inconsistent naming, no functions, hard to read. Limited structure, minimal use of

functions, weak readability.

Adequate coding style with some functions and organization. Good coding practices: modular functions,

meaningful variable names, mostly readable.

Excellent coding practices: clean,

modular, efficient, and creative solutions.

 
     

Total Marks: _______ / 25 x 100 = ____________

 

‘END OF QUESTIONS’

Stuck in Completing this Assignment and feeling stressed ? Take our Private Writing Services.

Get Help By Expert

Struggling with your BIT1C013 Introduction to Programming task at MAHSA University? Our Malaysia-based experts can help you code clean, functional C++ programs and design logical flowcharts that impress your lecturer. From program execution to detailed documentation — we cover it all. Get online assignment  help today from Assignment Helper MY — your trusted home for academic excellence in programming assignments across Malaysia.

Answer

Recent Solved Questions

Online Exam & Assignment Writing Services
Orders

70841+ Orders Delivered

Star Rating

4.9/5
5 Star Rating

Confidential & Secure Assignment Help For

Group Assignment Help

Online Exam -Test & Quiz

Cheapest Price Quote

Diploma & Certificate Levels

Semester & FYP Papers

Summative & Individual

GBA & Reflective

Last Minute Assistance

Sample Assignment Download

BCM643 Contract Management UITM Assignment Sample Malaysia
The BCM643 Contract Management for Construction Projects course at UITM focuses on providing students with essential knowledge and skills in effectively administering and managing construction projects. With a particular emphasis…
Business
ELC231 Integrated Language Skills III Assignment Answer Malaysia
The ELC231 Integrated Language Skills III course is designed to help you develop your English language skills in the context of academic study. The course is organized into four language…
Education

UP TO 15 % DISCOUNT

Instant Paper Writing Services by Native Malaysia Writers

Plagiarism Free Solutions
100% Original Work
24*7 Online Assistance
Native PhD Experts
Hire a Writer Now