
6 - defensive design - mmd

Quiz
•
Computers
•
11th Grade
•
Hard
muhammad abdulmajeed
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of defensive design in programming?
To make programs run faster
To ensure programs function properly and prevent misuse
To increase the size of the program
To make programs look visually appealing
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is input sanitisation?
Checking if data meets certain criteria
Removing unwanted characters before processing
Ensuring data is within a specified range
Checking data against a table of acceptable values
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of input validation?
Removing unwanted characters
Checking if an email address contains an "@" symbol
Deleting unnecessary files
Formatting text to be bold
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the function formatName() do in the example provided?
It formats the file name to uppercase
It removes unwanted characters "(" and ")" from the file name
It checks the length of the file name
It adds a prefix to the file name
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which validation check ensures that data has been entered?
Range check
Presence check
Format check
Length check
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a common way that programs confirm the identity of a user before allowing access to certain features?
Using passwords
Asking security questions
Sending a verification email
Using biometric data
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one method to increase the security of a password-based authentication system?
Use strong passwords
Share passwords with others
Use the same password for all accounts
Write passwords on paper
Create a free account and access millions of resources
Similar Resources on Wayground
34 questions
CFU 5.1 - Algorithms & Programming Language

Quiz
•
9th - 12th Grade
30 questions
AP CSP Programming Basics

Quiz
•
10th - 12th Grade
37 questions
AP CSA Review Set #1

Quiz
•
9th - 12th Grade
30 questions
Python Introduction

Quiz
•
9th - 11th Grade
34 questions
Python Dictionary

Quiz
•
11th - 12th Grade
31 questions
GCSE Programming Fundamentals

Quiz
•
11th Grade
40 questions
C++ Programming

Quiz
•
9th - 12th Grade
34 questions
N5 Computing Science: Software Evaluation

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade