Download presentation
Presentation is loading. Please wait.
Published byMarcus Carson Modified over 9 years ago
1
Sanjay Johal
2
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.
3
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.
4
What each codes means and repents Blue=command tells visual studios what to do Black= user defined Red= is the text which will show in the buttons and group boxes ect Green=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.
5
Purpose First 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
6
Coding of the first program Shows coding for the group box They also used the color blue.
7
subroutines of the first piece of code Subroutines are loops which repeat itself
8
basic string handling of the first code
9
Validation of the first piece of code
10
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
11
Strengths and weakness of program 1 Strengths -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
12
Second piece of code purpose 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.
13
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
14
Splash screen Program name Created date Programmers name
15
Coding for the timer The timer is used to set a certain amount of seconds for the splash screen to be displayed.
16
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
17
Help section This program gives a help tab which you may visit and it tells you what to do.
18
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
19
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
20
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
21
Data types Visual studios uses data types like: String- it is like integer but its text rather than numbers Boolean- a value which is either true or false -Integer is a whole number visual studios doesn’t expect decimal numbers
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.