Computing Homework
ValidationandVerification
Explainwhatthe difference between ValidationandVerificationisandwhyitisused
Findan example of each,take ascreenshotandexplain.
Programmingtask
Create a programme to ask the userto entera word.If the wordhas more than 20 characters or 0
characters enteredgive anerrormessage.
1) Firstdesign a flowchartand explainthis
2) Create the Code
3) Create a testtable and testthe code (youshouldhave at least3 differenttests)
4) Extendyourcode
5) Annotate onyourcode using#
6) Evaluate yourcode,what’sgoodabout itand whatcouldbe improved.Whatpractical uses
doesyourcode have?
Sample code
Sample test table
Testnumber Purpose of test Testdata ExpectedResult
Each test should have
a numberto identify
it.
Whatis it that you are
checking?Are you
checking the
validation of an input,
or whethera loop
terminatesat the right
point?
What data will you
use?Thisshouldbe
markedas typical (T),
boundary(B) or
erroneous(E).
What youthinkshould
happen?

Computing homework validation

  • 1.
    Computing Homework ValidationandVerification Explainwhatthe differencebetween ValidationandVerificationisandwhyitisused Findan example of each,take ascreenshotandexplain. Programmingtask Create a programme to ask the userto entera word.If the wordhas more than 20 characters or 0 characters enteredgive anerrormessage. 1) Firstdesign a flowchartand explainthis 2) Create the Code 3) Create a testtable and testthe code (youshouldhave at least3 differenttests) 4) Extendyourcode 5) Annotate onyourcode using# 6) Evaluate yourcode,what’sgoodabout itand whatcouldbe improved.Whatpractical uses doesyourcode have? Sample code Sample test table Testnumber Purpose of test Testdata ExpectedResult Each test should have a numberto identify it. Whatis it that you are checking?Are you checking the validation of an input, or whethera loop terminatesat the right point? What data will you use?Thisshouldbe markedas typical (T), boundary(B) or erroneous(E). What youthinkshould happen?