Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Visual
Programming. Assignment
Contents
1 Introduction 1
4 Assessment Criteria 3
4.1 Learning Outcomes . . . . . . . . . . . . . . . . . . . . . . . . 3
4.2 Merit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
4.3 Distinction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1
1 Introduction
This assignment is it two parts.
Part one requires that you produce a Visual Basic (VB) application, which
we will call the VB Maths Solver. The application presents a choice of math-
ematics problem solvers and provides an interface for one of them. You are
not required to write any VB code that implements any of these mathemat-
ics problem solvers. You should produce evidence of a preliminary design,
using suitable techniques, such as wireframes and story boards. The design
may show the forms required, the components they contain and their rel-
ative behaviour. In addition, a suitable test plan should be produced and
utilized to identify and if possible correct semantic errors. A list of the task
requirements is given in Section 2 below.
Part two, described in Section 3 below, requires you to produce a de-
scription of the use of the debugging feature available from Visual Studio in
relation to a VB application that will be made available to you.
You must ensure that you refer to the formal Cavendish College
assessment criteria (attached) before submitting your work.
4. The user ID’s validity should be queried from a database (The path
to which will be specified later) using suitable connection and SQL
methods available from VB methodologies such such as Data Access
Objects (DAO) or Active(-X) Data Objects (ADO).
6. Each element in the list of solvers should be selectable using for example
a set of Command Buttons with suitably named labels, or, Option
Buttons with a single submit Command Button.
8. Selecting the quadratic equation solver will result in a new Form that
will act as the interface for the parameters a,b,c. It is essential that
the data entered by the user has a suitable numeric format and that
the value of a is non-zero. You may use the VB function IsNumeric()
on the string entered from the data entry text boxes to test whether
valid data is input, only then should the value of a be checked.
10. Based on the example given in class write a short description explaining
why it may be desirable, for numeric data, to remove spaces from data
input strings before using the VB function IsNumeric(). You should
consider using a suitable CType (VB type conversion) function prior to
testing the value of a.
2
11. Write a short description of how an existing quadratic equation solver
may be called from your VB application and therefore remove the need
to implement the solver in your VB application.
• From the Solver Selection Form choose and submit: Test Equation.
4 Assessment Criteria
4.1 Learning Outcomes
1. Use Visual Objects
3
(b) Use appropriate design techniques to produce an application that
can be modified. Task: 5
(c) demonstrate appropriate planning before development Tasks: 1,
2, 12.
4.2 Merit
M1.1 Effective judgements have been made. 1
4.3 Distinction
D1.1 Self Critisism of approach has taken place 1