Search Header Logo

Defensive Design

Authored by Doug Wilson-Wardle

Computers

KG - University

Used 6+ times

Defensive Design
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is defensive design?

Contingency planning using validation, maintainable code and testing

Contingency planning for protection against malware

Contingency planning for protection against hackers

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of validation?

To ensure that data entered is sensible and possible

To ensure that data entered is correct

To ensure that the programmer has met all requirements

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does validation not do?

Ensure that data entered is of the right data type

Ensure that data is actually entered

Ensure that data entered is correct

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are validation techniques?

Presence check, length check, verification check

Presence check, format check, range check

Presence check, range check, verification check

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are part of maintainability?

Comments, indentation and verification

Comments, sensible variable names and verification

Comments, sensible variable names and indentation

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Cleaning up input data or removing unwanted data. E.g. removing special characters to prevent SQL injection

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Checking whether input data should be allowed. E.g. goals cannot be less than 0

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?