[go: up one dir, main page]

0% found this document useful (0 votes)
8 views1 page

Validating and Verifying - Answers

The document discusses the validation and verification of email addresses, providing examples of correct and incorrect formats. It describes various validation methods including presence checking, existence checking, length checking, and format checking. Additionally, it highlights where validation and verification occur in a provided code snippet.

Uploaded by

Abdul Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Validating and Verifying - Answers

The document discusses the validation and verification of email addresses, providing examples of correct and incorrect formats. It describes various validation methods including presence checking, existence checking, length checking, and format checking. Additionally, it highlights where validation and verification occur in a provided code snippet.

Uploaded by

Abdul Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Validating and Verifying

Circle which of the following email addresses are in the correct format:

bignerd123@awesomemail.com bignerd123.awesomemailcom

snakeye@funnyserver mntyPython@slithermail.it

Describe each of the following validation methods:

presence checking: making sure that something has been entered

existence checking: making sure that data exists on a database

length checking: making sure that the data is not too short or long

format checking: making sure that data is in the correct form

On the code snippet below, show where validation has been used, and where verification is used:

email = “”
validation
while email == “”:
email = input(“Enter email address:”)

print(“Please verify your email:”) verification


print(“You entered:”, email)

visit twinkl.com

You might also like