YEAR 11 DIGITAL TECHNOLOGY
  • Computer Literacy
    • Basics
    • File Types
    • Compression
  • Animation
    • Adobe Illustrator >
      • Intro to Illustrator
      • Review of Illustrator Techniques
      • Illustrator - The Third
      • Advanced Illustrator
    • Adobe After Effects >
      • Basic Animation
      • Export to Youtube
      • Rigging
      • Animation Project
    • Project Documentation >
      • Purpose, Potential Users, Requirement and Specifications
      • Testing and Refinement
    • AS92005 - Develop a Digital technologies outcome
  • HTML/CSS Basics
    • HTML
    • CSS
    • Classes
  • Programming
    • Learn Basics - Variables and Prompts
    • If Statements
    • For Loops & Basic Arrays
    • While Loops & Functions
    • Robustness
    • Debugging
    • Skills Test
    • Testing and Documentation
    • Programming Assessment
  • HCI
    • AS92006 - HCI Exam
    • Introduction-Describe-Identify
    • Neilson's Heuristics
    • mātāpono Māori
    • Explaining Principles
    • Compare/Improvements
    • Practice Practice Practice
  • Data
    • Learn Excel
    • Learn Excel (Part Deux)
    • Practice Assessment
    • Practice Assessment 2 - police
    • Assessment
  • Freyberg Digital

Testing Expected, Boundary and Invalid input

In order to pass this assessment you need to show evidence of testing and debugging for expected input.

For Merit you need to show examples of testing and debugging boundary inputs.

For Excellence you need to show examples of testing and debugging invalid inputs.

Terms

Imagine your pirate boss was asking you how many pieces of Gold you stole. If you stole above 10 then he would congratulate you.
Expected input: Any input that is expected to be entered
Picture
Boundary Input
In the case of this program, Our boundary is 10-11 gold pieces. If they answer 10 it is on one side of the boundary. If they answer 11 it is on the other side.
Picture
Picture
Invalid Input
Testing for invalid input could be but is not limited to 3 different types of responses: Blank, data mismatch and out of bounds data.
Blank --> No response.
Data Mismatch -- > Entering a word rather then a number.
Out of bounds --> Entering a negative number or a number that is way too high.
Picture

Activity

Download and extract the file to the right.
testing-commenting_activities.zip
File Size: 1 kb
File Type: zip
Download File

1.) Download the file above, extract it open it in Visual Code
​2.) Open the One Note "Programming Testing" document
3.) Enter the values into the program in each testing log with what the expected output should be
4.) Debug the problems that arise.

Please Note: I have given you the values, and you need to show yourself fixing the issue. For every test that fails you will need to do another test to fix the issue.

Code Commenting - Describing Purpose

For the criteria for the assessment you will need to code comment according to the following criteria:
Achieved: documenting the program with comments.
Merit: T
esting and debugging the program to ensure it works on expected and boundary cases.

Activity: Classify the code
The file commenting.html has 3 snippets of code.

In your one note classify them as either "not achieved", "achieved" or "Merit"

​Explain why.
Powered by Create your own unique website with customizable templates.
  • Computer Literacy
    • Basics
    • File Types
    • Compression
  • Animation
    • Adobe Illustrator >
      • Intro to Illustrator
      • Review of Illustrator Techniques
      • Illustrator - The Third
      • Advanced Illustrator
    • Adobe After Effects >
      • Basic Animation
      • Export to Youtube
      • Rigging
      • Animation Project
    • Project Documentation >
      • Purpose, Potential Users, Requirement and Specifications
      • Testing and Refinement
    • AS92005 - Develop a Digital technologies outcome
  • HTML/CSS Basics
    • HTML
    • CSS
    • Classes
  • Programming
    • Learn Basics - Variables and Prompts
    • If Statements
    • For Loops & Basic Arrays
    • While Loops & Functions
    • Robustness
    • Debugging
    • Skills Test
    • Testing and Documentation
    • Programming Assessment
  • HCI
    • AS92006 - HCI Exam
    • Introduction-Describe-Identify
    • Neilson's Heuristics
    • mātāpono Māori
    • Explaining Principles
    • Compare/Improvements
    • Practice Practice Practice
  • Data
    • Learn Excel
    • Learn Excel (Part Deux)
    • Practice Assessment
    • Practice Assessment 2 - police
    • Assessment
  • Freyberg Digital