Search Header Logo

2.3.1 Defensive Design

Authored by Mr Mayer

Computers

10th - 11th Grade

Used 8+ times

2.3.1 Defensive Design
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

27 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why does defensive design need to exist?

To stop people breaking stuff

To protect programs from being punched in the face

To punish computer misuse

To protect programs from being misused by users

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How is this programming being misused?

entering numbers into name

entering letters into name

entering symbols into name

entering cake into name

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How is this programming being misused?

Entering letters into age

Entering numbers into age

entering symbols into age

entering an invalid range

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How is this programming being misused?

Entering letters into properties

Entering numbers into properties

Entering a number that is too small

Entering an invalid range into properties

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What could be used to prevent this?

Whipping people that do this

Input validation

Input sanitisation

Input verification

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What's a black list?

A list which is black

A list of data not allowed into a program

A list of data allowed into a program

A list of data not allowed into a club/pub

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should NOT be in the black list for the field "name?"

Numbers

Symbols

Text

entries over 20 characters long

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?