+ All Categories
Home > Documents > Sanjay Johal. Introduction(1.1) In this PowerPoint I will be explaining : The purpose of the code...

Sanjay Johal. Introduction(1.1) In this PowerPoint I will be explaining : The purpose of the code...

Date post: 14-Dec-2015
Category:
Upload: marcus-carson
View: 214 times
Download: 1 times
Share this document with a friend
21
Unit 12 software development Sanjay Johal
Transcript

Unit 12 software development

Sanjay Johal

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

Coding of the first program Shows coding for the group box

They also used the color blue.

subroutines of the first piece of code Subroutines are loops which repeat itself

basic string handling of the first code

Validation of the first piece of code

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

Splash screenProgram name

Created date

Programmers name

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

Help section

This program gives a help tab which you may visit and it tells you what to do.

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

Data typesVisual studios uses data types like:String- it is like integer but its text rather than numbersBoolean- a value which is either true or false -Integer is a whole number visual studios doesn’t expect decimal numbers


Recommended