A developer is testing a login form that requires a username (4-12 characters) and a password (minimum 8 characters including at least one number). (a) Comp...

Assessment: Information and Communication Technology 0417 | Paper 1 Mock 01 | Theory Subject: Information and Communication Technology - 0417

Question 1 Report

A developer is testing a login form that requires a username (4-12 characters) and a password (minimum 8 characters including at least one number).

(a) Complete the test table below with appropriate test data. [6]

TestFieldTest dataType of test dataExpected result
1UsernameNormal
2UsernameExtreme
3UsernameAbnormal
4PasswordNormal
5PasswordExtreme
6PasswordAbnormal

Answer Details

(a) Completed test table for a login form (username: 4-12 characters; password: minimum 8 characters with at least one number):

TestFieldTest dataTypeExpected result
1UsernameJSmith7 (7 characters)NormalAccepted: the username is 7 characters, which is within the valid range of 4-12. [1]
2UsernameABCD (4 characters)Extreme (boundary)Accepted: the username is exactly 4 characters, which is the minimum valid length. [1]
3UsernameAB (2 characters)AbnormalRejected with an error message: the username is only 2 characters, which is below the minimum of 4. [1]
4PasswordSecure99pass (12 characters, contains numbers)NormalAccepted: the password is 12 characters long and contains numbers, meeting both requirements. [1]
5PasswordPasswor1 (8 characters, contains one number)Extreme (boundary)Accepted: the password is exactly 8 characters (minimum length) and includes at least one number. [1]
6Passwordpassword (8 characters, no numbers)AbnormalRejected with an error message: the password does not contain at least one number, failing the validation rule. [1]

Download The App On Google Playstore

Everything you need to excel in your exams

Green Bridge CBT Mobile App
Personalized AI Learning Chat Assistant
200,000+ Exam Questions Across IGCSE, JAMB, WAEC & NECO
Over 3,900 Lesson Notes
Offline Support - Learn Anytime, Anywhere
Green Bridge Timetable
Literature Summaries & Potential Questions
Track Your Performance & Progress
In-depth Explanations for Comprehensive Learning