Input Sanitization and Validation Quiz

Input Sanitization and Validation Quiz

12th Grade

10 Qs

quiz-placeholder

Similar activities

Validation and Verification

Validation and Verification

12th Grade

7 Qs

Code.org Unit 2 - The Internet Review

Code.org Unit 2 - The Internet Review

9th - 12th Grade

15 Qs

Data Transmission

Data Transmission

10th - 12th Grade

11 Qs

Testing Software

Testing Software

9th - 12th Grade

9 Qs

Technical Terms - Internet (A-Z) - TCP

Technical Terms - Internet (A-Z) - TCP

12th Grade

10 Qs

Quiz 7 (11.08.2021)

Quiz 7 (11.08.2021)

1st - 12th Grade

10 Qs

ITGS: Introduction - What is ITGS

ITGS: Introduction - What is ITGS

9th - 12th Grade

12 Qs

A Level - 09 Communication Basics

A Level - 09 Communication Basics

12th Grade

13 Qs

Input Sanitization and Validation Quiz

Input Sanitization and Validation Quiz

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Mark Halfyard

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is input sanitization?

Converting the input to a different data type

Adding extra spaces to the input

Removing the input completely

Tidying up the input before using it as data for the next process

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is input sanitization important?

To tidy up the data and make it more user-friendly

To frustrate the user

To make the program crash

To add complexity to the program

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of validation?

To complicate the program

To ignore user input

To check data input by the user meets specific criteria or rules before processing

To make the program crash

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a type check in validation?

Checking if the data entered is in the correct format

Checking if the data entered is of the correct data type

Checking if the data entered is within range

Checking the length of the data entered

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a range check in validation?

Checking the length of the data entered

Checking if the data entered is within range

Checking if the data entered is in the correct format

Checking if the data entered is of the correct data type

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a presence check in validation?

Checking if the user entered any data at all

Checking if the data entered is within range

Checking if the data entered is of the correct data type

Checking if the data entered is in the correct format

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a format check in validation?

Checking the length of the data entered

Checking if the data entered is in the correct format

Checking if the data entered is of the correct data type

Checking if the data entered is within range

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?