Download presentation
Presentation is loading. Please wait.
Published byWidyawati Hermawan Modified over 6 years ago
1
The Characteristics and Uses of a Software Program
By Kyle Clifford 24/11/2018 Unit 12: Software Development
2
Event Driven Programming
Event driven programming is a program responds to a user input that’s why It can be written using a procedural approach examples of events are click ,double click , mouse movement and many more. Click (Event) Click (Event) GUI GUI (Graphical User Interface) this an interface that can be used by a human so that they can interact with a program or electrical device. Examples of this is your mobile phone which has a touch screen with a keyboard. 24/11/2018 Unit 12: Software Development
3
Unit 12: Software Development
Colours of code Blue = is a command used by the user Green = User input comments Aqua= Objects or properties Black = Code input by programmer Red = Text used in between quotation marks 24/11/2018 Unit 12: Software Development
4
The purpose of the first program
The purpose is to produce a printed out copy of multiplication Input your name Input a number 1 to 20 User can view there product before printing using print preview This program’s purpose is to help students understand how printing can be used in VB.Net, I know this by how basic and how it only focus’s on the print feature. 24/11/2018 Unit 12: Software Development
5
Unit 12: Software Development
First Program First starting the program Program with data input I call this the “First Program” as its given name is “Using Print Documents” being poorly named this means the code is lazy or that this was used to show an example of how to use code to print out copy's of information to be used in a different program It also allows you to put your name on the print out by using the text box and typing your name. This is an event driven program is used to print out multiples of a number from 1 to 20 chosen by the user. 24/11/2018 Unit 12: Software Development
6
Unit 12: Software Development
The result from the program The end product of the program can work out the times table from 1 to 20 24/11/2018 Unit 12: Software Development
7
Unit 12: Software Development
The code used The start of the code used and my explanation of what each bit does 24/11/2018 Unit 12: Software Development
8
Unit 12: Software Development
Validation Gives limitations to the program what the user can input by limiting characters to 20 for the name and number. Validation puts restrictions on what the user inputs but its not there to stop you its there to make sure its correctly input so that its not a waist of time. It also stops you form being able to type numbers were there should be letter or in reverse. It’s a very unique tool and is very helpful. 24/11/2018 Unit 12: Software Development
9
Unit 12: Software Development
Variables Global variable Local variable Global variable always start at the top of a project before any sub-routine and they can be linked to through out the code in any of the other sub-routine’s Local variable can only be accessed in that sub-routine and no other. The program uses a lot of variables global and local these are used to tell the program what data type you want that specific variable to be e.g. string, integer… it does not have many arrays but that’s ok you don’t always need them. Local variables Local variable can only be accessed in that sub-routine and no other so if I tired to open the above variables in another sub-routine it would have no idea what it is, that’s why this local variable for the font style and size is located in its own sub-routine. Arrays Arrays are variables which store more than one value 24/11/2018 Unit 12: Software Development
10
Unit 12: Software Development
Sub-routines Subroutines are used to separate code In to specific category's Its split into category's so the software knows what action to take for a certain event What happens if I don’t enter a name? There are a different sub-routines other than private sub but as the program did not use any others so I left them out. This is a sub-routine its started by using the tag “Private Sub” and ended with the tag “End Sub”. Subroutines are used to separate code In to specific category's so code only when it if a certain event happens this is used in the first program so that the code is not confusing and so that the program will know what to do if some thing happens . This would then trigger a popup to say “you must enter a name before continuing ” 24/11/2018 Unit 12: Software Development
11
Unit 12: Software Development
Toolbox Tool box is a very useful tool to create the layout of your program. In the design they use buttons, labels menu strip, group box and text box. Tool box is a very useful tool to create the layout of your program a shame It was used poorly for this program. They are simple to use but a little more complicated to code depending on what you want them to do. The “TextBox” is used to allow the user to input valid information into the form, the “GroupBox” is used to section out parts of the form so that is neater and easier for the user to find features for that area of the form, the “MenuStrip” is used to create tabs at the top of the program so that any features or extras that are not on the form can be found there it also is a familiar look to what a windows program would look like, “Label” is used to help the user navigate the form by tell them what each feature is, “Button” this is used to preform certain tasks but only if the user chooses this function also has a text feature on the front to tell the user what it does. 24/11/2018 Unit 12: Software Development
12
Unit 12: Software Development
Quality No minimize, maximize or close button. Will confuse user. Bad name for the program. Default colours and has not customized it. Badly named labels. This program is easy and simple to use a bit boring on the eyes as the developer has used default colours and has not customized it (except the red button) ,but it all works and its fast and fluent when it runs know errors or crashers and does what its set out to-do which is to out print a page of specific time tables from 1-20 The labels are ladled badly and need improvements the name of the program as well is very bad cause the user will wonder what it is , the code is laid out very well but maybe needs more explanation on what certain bits do in the comments just so other so if there is a change to your design or an error its easy to improve or fix. Fast and fluent when it runs know errors or crashers. 24/11/2018 Unit 12: Software Development
13
Strengths and Weaknesses
Easy and simple to use Validation(character limit) Good code layout is very clean and easy to read Menu strip is very useful The design is boring and plain Needs better label names Better program name needed to identify the program No help button on menu strip Name feature seems pointless (the program would perform the same without the name feature and would be easier to code ) Strengths Easy simple to figure out, the validation always told me what was wrong, the layout of the code was nice I knew what every part was and what it did and the menu strip allowed me to close the program. Weaknesses The design is small and has no collaborating colours, the labels are poorly used or not very in-depth for example “number” what number? My phone number? “name” who's name? my name? my neighbours name?, the name of the program like the labels is poorly named “Using PrintDocuments” what does this mean, and it has a name feature it seems like bad idea as the print out will only be used once an seems like a waste of time. 24/11/2018 Unit 12: Software Development
14
Unit 12: Software Development
Splash screen This is the splash screen for “Jane’s Sawmill” this is used to show the developer of the program and allows the program to load correctly. Splash screens are used for a display while the program loads Timer The splash screen is paired with a timer the timer is user set so it can be set to what ever time the user selects, some code is used to tell what form should display next. Splash screens are used in many programs like most of the Microsoft office programs. 24/11/2018 Unit 12: Software Development
15
Unit 12: Software Development
Jane’s Sawmill This is an invoice calculator. You type in your price and pick your date hit process and brings up your totals It also show s the discount of being early with payments. Invoice calculator 24/11/2018 Unit 12: Software Development
16
Purpose of Jane’s Sawmill
To help organize someone's invoice for a user To calculate the date of payment Make sure it is paid on date The purpose of “Jane’s Sawmill” is to show the discount on a invoice for paying it early it uses the date and a calendar to work out how many days are left or how many days have passed on your invoice. The code used, the notes does not like the colours for the code so I included a picture on the slide 'Examine the value in the variable intDaysDifference to determine how much discount to award Select Case intDaysDifference Case Is > 14 'This means that the discount awarded will be the maximum 10% intDiscountRate = 10 lblPaymentDateDifference.Text = "You are paying the invoice " & intDaysDifference & " days early." Case Is > 0 'This means that the discount awarded will be 5% intDiscountRate = 5 If intDaysDifference > 1 Then Else lblPaymentDateDifference.Text = "You are paying the invoice " & intDaysDifference & " day early." End If Case Is = 0 intDiscountRate = 0 lblPaymentDateDifference.Text = "You are paying the invoice on time." Case Else 'This means that no discount will be awarded If intDaysDifference = -1 Then lblPaymentDateDifference.Text = "You are paying the invoice " & (intDaysDifference * -1) & " day late." lblPaymentDateDifference.Text = "You are paying the invoice " & (intDaysDifference * -1) & " days late." End Select 24/11/2018 Unit 12: Software Development
17
Unit 12: Software Development
Examples Late Early This show no discount because of it being late. If you look at the left example it shows the discount of being early and the amount of days its early by but right one shows no discount and how late it is. This shows a 10% discount rate of being early. 24/11/2018 Unit 12: Software Development
18
Unit 12: Software Development
Discount code Calculates the percentage of the discount This is the amount that is discounted in GBP This is the discount formula it is very neatly laid out so that I could navigate the code easier and find key features for my PowerPoint, without this I would have had to read all the code and label it in sections myself This shows the final price in a GBP currency 24/11/2018 Unit 12: Software Development
19
Unit 12: Software Development
Date and Calendar This program uses a date and calendar code in a very unique way for the user to select there date’s. Date and Calendar uses a few calculations to find out the days left for discount the program then takes the date selected and finds how many days are left or passed 24/11/2018 Unit 12: Software Development
20
Unit 12: Software Development
Help form The help form is very helpful to find out what this program is used for as it’s not the simplest thing to figure out. I was glad to find this in the menu strip as I explained what this program was based upon and how It’s useful. The help form is a very useful feature to a program if anyone is confused they can look for the help button on the “MenuStrip” and this would help the user. 24/11/2018 Unit 12: Software Development
21
Strengths and Weaknesses
Had a menu strip Splash screen informs the user of who created it Help button on menu strip Runs very fast and efficiently Helps you plan your invoice dates Not very appealing Difficult to know what it was on first glance Bad choice of colours No minimize or maximize button The close button was located in the menu strip Has default logo Only for invoices Strengths Has nice laid out menu strip, the splash screen informs the user of the creator also makes it look more professional like it’s a windows program or something and allows the program to load, help button was useful to find out a bit more about the program, if I had an invoice this would be very helpful as its very good for planning. Weaknesses the layout is all squished together and there is no way of making the program bigger or smaller ,on first glance it is not difficult to know what it is but then I found the help screen and that helped a lot , The colours are horrible and plain ,no close button on right side of the program was really confusing and the logo was the default logo from visual basic could be confused with a new project, the program can be only used for invoice this seem like a waste of a good program it could be better by have setting on what else it could do. 24/11/2018 Unit 12: Software Development
22
Unit 12: Software Development
Errors I found First program Jane’s Sawmill This program had no errors that I noticed. The day at the top always says Monday no matter what day it is. 24/11/2018 Unit 12: Software Development
23
prjPrinting - Microsoft Visual Studio
24/11/2018 Unit 12: Software Development
24
prjPrinting - Microsoft Visual Studio
24/11/2018 Unit 12: Software Development
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.