Computing Engineering and Science Assessment Brief

University University Of South Wales (USW)
Subject Computer Science

Event Driven Programming – Assignment Brief

Module Title: Event Driven Programming

Module Code: CS2S564

Module Leader/Tutor: Alun King / Dr. Shiny Verghese

Assessment Type: Practical Coursework – 1

Weighting: 50%

Submission Date: 01/11/2024 (by 23:59)

Return Date: 20 Working days from the submission date.

Assignment Description

This assignment requires you to produce and test a Visual Studio C# program to simulate a vending machine. The program must meet certain functionality requirements as outlined below. You’ll also participate in a Peer Assessment Demo/Interview process. The marking criteria provides guidance, but the highest marks (65%+) are awarded based on programming quality and attention to detail.

Program Requirements

The program must provide the following functionality:

  • A single form with all functionality within one form (message boxes are optional).
  • Four product buttons displaying items available for purchase, including images, name, and price.
  • A series of coin buttons representing available payment options, with a coin slot for dragging coins.
  • Product buttons add items to a listbox</>, displaying purchased items.
  • A total label to display the total of all purchased products.
  • A checkout button which disables product buttons and enables coin buttons for payment.

After Clicking Checkout

  • Once checkout is clicked, no more changes can be made to the products, but coins can be dragged to pay.
  • Dragging a coin to the coin slot will deduct the appropriate amount from the total.
  • Once fully paid, the change will be displayed in a label or message box, and the machine will reset for a new order.
  • The Cancel button will clear the order and prompt the user for confirmation before resetting.

Optional Features (Bonus)

  • Products can be dragged out of the listbox to remove them from the order.
  • The program can create a text file storing purchase details for record-keeping.
  • If a user buys more than one of a product, the listbox will display a quantity instead of repeated product names.
  • A helpful label displaying the last action taken by the user.

Report & Submission Guidelines

The program itself accounts for part of the marks. To achieve full marks, your submission should include the following:

  • Design Document: Include a photo or drawing of your program design.
  • Test Table: Include a table with evidence of testing conducted to verify functionality.
  • Source Code: Copy and paste your source code (avoid screenshots) into the report.

File Naming Convention: _CS2S564_assignment_one_report

Submission Instructions

Submit all code and documentation as a zip file via Blackboard. Be sure to allow enough time for the upload process!

Peer Assessment

After submitting, you’ll be invited to a peer assessment session via Teams. During this recorded session, you’ll demonstrate your program for 5 minutes and answer questions for 5 minutes. Peer feedback will account for 10% of your grade. Ensure to fill out the feedback form as an observer!

Learning Outcomes Assessed

  1. Demonstrate an understanding of event-driven GUI application technologies.
  2. Apply these technologies in the design, development, and testing of GUI applications.

Marking Criteria/Rubric

Marking Criteria Fail Pass Merit Distinction
Application Poor application or barely attempted Basic features with some faults Good features, some optional ones attempted All features working with attention to detail
Report Detailing Design & Implementation No documentation or tests Basic design and testing with minimal comments Good design and testing with source code included Detailed design, substantial testing with well-commented code

Submission Details

Submit your work through Blackboard. Ensure you’ve zipped and submitted your Visual Studio project folder, and arranged your Peer Assessment group.

Late Submission & Extensions

Refer to University policies for late submissions and extensions. If you miss the deadline, check the late submission guidelines.

Peer Assessment Scoring

Your peer feedback will be scored out of 10. Based on the responses and demonstration quality, feedback will be collected and averaged.

 

Do You Need Assignment of This Question

If you’re struggling with your Event Driven Programming assignment or any programming task, Our Assignment Help Services can guide you through the process. From coding help to writing a report, we provide comprehensive assistance to ensure your success. Contact us today for expert programming help!

Answer
img-blur-answers