Unit 22 Event Driven Programming Solutions-Btechnd

Task-4

AC4.1 Critically review and test an event driven programming solution provided

Critical Review and Test of developed Event Driven Programming: After developing the proposed event driven programming solution for the application we have reviewed all form for expected results.
Our review report are as follows:
Login Form: Login form is displaying as splash screen at application startup. All users must have passed through through login form to use the application. After reviewing the login form we found that all event handlers are working fine for the login form.
Presenter Form: Presenter from is used to add a presenter user in the application. Here user can register new presenter, edit existing presenter and delete existing presenter. After reviewing the presenter form we found that all event handlers are working fine for the form.
User Form: User form is used to add new user (Clerk) in the application. Here user can register new presenter, edit existing presenter and delete existing presenter. After reviewing the presenter form we found that all event handlers are working for the form.
Presentation Dates Form: Presentation dates form is use to add presentation dates for the club. It is used to set schedule of presentations with dates. It provides functionality to add, edit and remove presentation dates. It is also displaying a list of all presentation dates scheduled for presentations. After review we found that all event handlers are working for the form.
Presentation Schedule Form: This form provides functionality to schedule presentation dates for a presenter. This form provides a list box (List of presentation dates) using which presentation schedule of a presenter can be specified. User can only set four presentation dates for a particular presenter. After review we found that all event handlers are working for the form.
Add Marks Form: This form provides functionality to add marks for all presentations of a presenter. As per the assignment instructions we have provided 4 scores for each presenter and entered marks can’t be more than 25. After review we found that all event handler and error checking are working for form.

AC4.2 Analyze actual test results against expected results to identify discrepancies in implementation.

Analysis of actual test results against expected results
After critical review and test of event driven functionality we have made some test cases to be sure that all major buttons are working properly or not.
After these test cases we can be sure that our application can handle all input errors and can produce effective output.
We have made following test cases for the application:

S.N.Testing CriteriaExpected ResultActual result
1Login Button Check on Login screen1. Display error message for invalid login

2. If username and password is valid then logged-in user into the application.

1. Displaying message on invalid data or invalid username and passwords.

2. If username and password is valid then providing access of the application to the user.

2Register Button on presenter formDisplay Register Presenter dialog to the user.It is displaying Register presenter dialog to the user
3Edit button on presenter form.Provide editable access to the user for selected presenter.It is providing editable access to the user for selected presenter.
4Delete Button on presenter formDelete selected presenter.It is deleting selected presenter
5Add, Edit and Remove Button on Users Form1. Add button displays add user screen.

2. Edit Button provides editable access for selected user.

3. Remove Button removes selected user.

1. It is displaying add user screen.

2. Providing editable access to selected user.

3. Removing selected user.

6Schedule Presentation FormProvide functionality for selection of at most 4 presentation dates.Providing functionality for selection of at most 4 presentation dates.

AC4.3 Evaluate independent feedback on the developed event driven program solution for the club and make recommendations for improvements

Feedback and Recommendation:  During the evaluation of this application is thoroughly tested and executed for various input and test cases. After evaluation we found that all of its features are according to the criteria given in the assignment and all features are working properly.
There is some minor suggestions from our tutor regarding form validation, I have corrected that after it there was no negative feedback.

AC4.4 Create onscreen help to assist the users of the computer program you created for the club.

User Documentation: Here is the step-by-step instructions for using the application:

  • On application startup login form is displayed to the user:

Unit 22 Event Driven Programming Solutions-Btechnd
(Figure: Login Interface)
Here user can login in the application. While login user must specify his role (User Type).

  • Interface after login: Following interface is displayed to the user after login.
  • Menus of the application: Application can be used via event driven menus. Application menus are as follows:

         Manage Menu: It provides all management tasks for the application.
unit 20 event driven assignment
Presentations Menu: It provides all tasks related to the presentations.
unit 20 event assignment
Results Menu: It provides options for managing and display of marks of presenters.
unit 20 event assignment

  • How to add, edit and delete presenters: To manage presenters please select “Presenters” option in “Manage” menu.

unit 20 image 40

Here click on register button to register new presenter.

To edit an existing user select username form the left hand side list and click on “Edit” button.
unit 20 event driven solution

To delete a presenter select username from left hand side list and click on “delete” button.
unit 20 image 44

  • How to add, edit and delete users of the application: To add, edit and delete users of the application please select “Users” option in “Manage” menu.

Application displays a form to add/edit/delete users.
Click on “Add” button to add new user.
unit 20 image 45

To edit an existing user select his name from left hand side list and click on “Edit” button.
unit 20 image 46

To Delete the user select username from left hand side list and click on “Delete” button.
unit 20 image 47

  • To schedule presentations first of all we have to add presentation dates. To add presentation dates select “Presentation Dates” option from “Presentation” menu.

Following dialog is displayed to the user.
unit 20 image 47
Here user can “Add”, “Edit” or “Remove” presentation dates.

  • To schedule presentation dates for a presenter, please select “Presentation Sessions” from “Presentation” menu.

Following dialog is displayed to the user.

unit 20 image 49
Here user can select presenter name from a drop down list and select his presentation dates.
User can select at most 4 presentation dates for a presenter.

  • To view schedule of a particular presenter select “View Schedule” option from “Presentation” menu.

Following form is displayed to the user:
unit 20 event driven
Here user can view schedule of any presenter by selecting presenter name from drop down list.

  • To add /update marks of a presenter please click on “Manage Marks” option from marks menu.

Following form is displayed to the user:
unit 20 image 51
Here marks of any presenter can be added or updated. Presenters can be selected from top drop down list.

  • To view results click on “View Results” option from “Marks” menu.

Following form is displayed to the user:
unit 20 image 53
here marks of any presenter can be viewed by selecting presenter name from drop down list.

  • To view a list of all certificates click on “View Certificates” option from “Marks” menu.

Following dialog is displayed to the user:
unit 20 image 53

Here a list of all certificates will be displayed to the user. User can also filter certificates by category (Gold, Bronze and Silver) from drop down list.
D1. Discuss why certain events are more suited for activating certain functions than others and provide 3 examples of specific events you will use for specific functions related to the case study.

Function specific events

We have applied event driven programming on every module of this application. We have used several events to provide just in time validation (Validate values while receiving input).
We have used just in time validation in Add Marks form.
As per assignment instructions we have following constraints while adding marks

  • Marks can’t  be more than 25 per session.
  • Marks must only be numeric values.

We have applied TextChange Event on the form fields to validate user input data while receiving input values.
We have displayed Message Boxes to notify users for invalid values.
Error Message when presentation marks are greater than 25.
unit 20 image 54

Error Message for invalid value such as a sting.
unit 20 image 55

D3. Produce a self evaluation on what went well or wrong with this assignment and how you did resolved problems in your programming You must also explain how you would develop the application further if you had more time and resources available

Self Evaluation: While developing this project we have faced minor problems in data validation and user authentication and event driven programming. But all of these problems are solved with the help of our tutor and reference books.
We can further develop this application with more enhanced visual features like option to add image for all presenters, their poster for presentation and use of icons in the application menus and button if we have more time.

References:

Event driven programming [Online]. [Accessed on 6 January 2015]. Available on world wide web: <http://en.wikipedia.org/wiki/Event-driven_programming>
Event
driven programming [Online]. [Accessed on 5 January 2015]. Available on world wide web: <http://www.technologyuk.net/computing/software_development/event_driven_programming.shtml>
Key features of
event driven programming [Online]. [Accessed on 7 January 2015]. Available on world wide web: <http://reece-burrows-media.blogspot.in/2013/11/key-features-of-event-driven-programming.html>
Event
driven programming [Online]. [Accessed on 6 January 2015]. Available on world wide web: <http://c2.com/cgi/wiki?EventDrivenProgramming>
Getting Started with Visual Basic [Online]. [Accessed
on 5 January 2015]. Available on world wide web: <http://msdn.microsoft.com/en-us/library/dd492171.aspx>
Microsoft Visual Studio 2013 Tutorials [Online]. [Accessed
on 7 January 2015]. Available on world wide web: <https://www.youtube.com/watch?v=uV1ck35qiG8>
VB .Net Tutorials [Online]. [Accessed
on 5 January 2015]. Available on world wide web: <http://www.tutorialspoint.com/vb.net/>
VB .Net – How to start programming [Online]. [Accessed
on 6 January 2015]. Available on world wide web: <http://howtostartprogramming.com/vb-net/>
Use Case Diagram [Online]. [Accessed
on 7 January 2015]. Available on world wide web: <http://en.wikipedia.org/wiki/Use_Case_Diagram>.Order Now

Leave a Reply

Your email address will not be published.

1 Step 1
GET INSTANT ASSIGNMENT HELP BY PHD EXPERTS FROM UNITED KINGDOM
keyboard_arrow_leftPrevious
Nextkeyboard_arrow_right