This file contains my matric IEB Information Technology Data Validation Task completed in the year 2022. I received 100% for this task and 94% average for Information Technology on my matric certificate.
It consists of ALL the required information needed to obtain 100% for the task. I centered my ...
1. Image of GUI before Data is entered
2. Fields
3. Test Plan and evidence
4. Code
5. Summary of Code
6. Additional Errors
7. Image of GUI when all data is correct
2
,1. Image of GUI before data is entered
3
, 2. Appendix A.1
Field Type of GUI Reason for GUI Data validation Reason for Data
Component Component validation
1. The user inserts their A JTextField component The user can enter any Prescence check The user must have a
name
name as a String is used to input data name
The data is unique; thus,
txtName: String the user needs to type the Length check the name must be
data into the textfield.
Single text input is
atleast 1 character long
obtained. and not longer than 20
characters
Type check the name can be letters,
numbers and all special
characters
2. The user inserts the A JTextField component The user can enter any Prescence check The user must insert a
number. Allows for a single
number of tickets they is used to input data input of a digit. number
wish to buy to Plett
Rage as an Integer The data is unique; thus, Type check The number must be
the user needs to type the
data into the textfield.
numerical (made up by
txtNumTickets: Integer integers)
Length check The number must be
atleast 1 character long
and not longer than 20
characters
Range Check The number inputted
must be atleast 1
3. The user selects their A DatePicker component The DatePicker component Range check The date cannot be
allows the user to select a
date of birth as Date is used date from a calendar (on before 1900
the arrow)
dpkDate: Date Range check The date cannot be
The range automatically
grey's out the invalid dates,
after the current date
preventing the user from minus eighteen years
choosing an invalid date.
Allows user to type any
Prescence A date needs to be
date inputted
4. The user selects yes Two JRadioButton The radio buttons allow the Prescence Atleast one of the
user to select only one
or no as Boolean components together option from multiple buttons needs to be
with a button group options. selected
btnYes/btnNo: boolean Takes the choice in as a
boolean (true or false).
Type check Only a boolean can be
inputted
4
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through EFT, credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying this summary from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Hein19. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy this summary for R100,00. You're not tied to anything after your purchase.