2.3 Defensive Design

2.3 Defensive Design

20 Qs

quiz-placeholder

Similar activities

Week 10 - Quiz - IS04

Week 10 - Quiz - IS04

KG - University

22 Qs

Fundamentals of Computing 1-Final Exam (2025)

Fundamentals of Computing 1-Final Exam (2025)

KG - University

21 Qs

Cyber Security - Threats

Cyber Security - Threats

KG - University

20 Qs

Conditional Statements Quiz

Conditional Statements Quiz

University

15 Qs

NCCE Student Knowledge Questions - programming

NCCE Student Knowledge Questions - programming

KG - University

22 Qs

B' Sec Java Programming Quiz-2(II B.Tech II SEM )

B' Sec Java Programming Quiz-2(II B.Tech II SEM )

KG - University

18 Qs

The French Revolution TEST review !

The French Revolution TEST review !

KG - University

22 Qs

23.3 "Napoleon Forges an Empire" Quiz - CP

23.3 "Napoleon Forges an Empire" Quiz - CP

9th - 12th Grade

21 Qs

2.3 Defensive Design

2.3 Defensive Design

Assessment

Quiz

others

Hard

Created by

Alice Adlam

Used 11+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is not a method for ensuring a program is robust?
Keeping passwords safe
Data Validation
Authentication

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is code indented?
To group together a function
The code does not use a { syntax and indentation is used instead
To make it easier to read
All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is data validation?
Checking that the data entered is wrong
Checking that the data entered is correct
Checking that the data entered is sensible or reasonable

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these authentication methods is most secure?
Password
Password and username
Key Card
2 factor authentication

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is these IS NOT an example of validation?
Checking the number entered is 2 digits
Asking a user to type in a number
Use of a Lookup table
Use of a presence check

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a range check do?
Checks data across a range of numbers
Checks the data is within an acceptable range
Sorts numbers into ascending order
Checks that the data is in the correct format

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a program runs it asks the user to enter their first name. Which is an example of Valid data?
00000
Sarah
Sarah J0n3s
Sarah Jones

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?