Date post: | 14-Dec-2015 |
Category: |
Documents |
Upload: | marcus-carson |
View: | 214 times |
Download: | 1 times |
Introduction(1.1)In this PowerPoint I will be explaining :
The purpose of the code for each of the two given programs, e.g. to carry out calculations, and explain the characteristics, including constructs and techniques being used within the program, e.g. variables and functions.
Introduction (1.2)Will also explain :the characteristics of both software programs and the constructs and techniques used, such as:
command words subroutines basic string handling basic file handling data structures event handling.And finally
review the quality of both programs, e.g. efficiency/performance, maintainability and usability.
What each codes means and repents Blue=command tells visual studios what to do Black= user definedRed= is the text which will show in the
buttons and group boxes ectGreen=a comment describes the code and
how it works to help with other codes further along . To start a comment you would need to add a apostrophe so visual basic knows what you would like the code to do.
PurposeFirst piece of code
Purpose of the first program is to show your times tables 1 to 20. This would help a wide range of people like children, students and adults .This program also made to show the print preview works in vb.net
The coding used for validation for program 1
The color red which is used in this piece of coding. Is being used for showing the user a error box, which will not allow the user to carry on.They also used the code “exit
sub” which ends the subroutines coding for that tool
Strengths and weakness of program 1Strengths -Shows you how they work out how many pages to print on the print preview page
Weakness • Only appeals for
certain age rate. • The first program
doesn’t have a help tab like the second does.
• The times tables only go up to 20
Second piece of codepurpose is to see how much discount you can get i.e if you pay the invoice ten days before its due you will get a 10% discount as its stated when clicking the help button on the piece of code .
Coding for he second program
This is the coding which shows the discount of the invoice if handed in few days early
It works out how many days are left and how much discount is rewarded
Coding for the timer
The timer is used to set a certain amount of seconds for the splash screen to be displayed.
This program shows the process and if you give it early you get a certain which is shown in the group box
What’s happening when entering data
This screenshot shows the users is 2 days late so he wont get discount
Tools which can be used
These are the tools used one the program-group box allows you to group labels and buttons together.-text box allows users to type in the box-buttons allows users to click on them to move on to the next stage
Commands Visual studios has lots commands which can
be used one of the main commands is “if not this its this” also known as the IF statement
Strengths and weakness of program 2
Strengths• Easy to use • You may access it many ways
and on lots different devices • good layout, the text and
labels are spaced out easier to look for things.
• Users cannot do irrelevant things like type numbers instead of letters.
Weakness• Software costs• The Picture is
irrelevant