Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1password = "123456" | Apassword = generate_secure() | |
| 2password = "qwerty" | Bmin_length = 12 | |
| 3A strong password uses length, randomness and mixed characters | CAn example of a weak, easily guessable password | |
| 4Enforcing a minimum password length improves security | DA common weak password based on a keyboard pattern | |
| 5password = username | EThe mistake: setting the password equal to the username | |
| 6password = birthdate | FThe mistake: using a predictable personal detail as the password |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Weak password — A password that is short, common, or predictable, making it easy for attackers to guess or crack.password = "123456"min_length = 8if len(password) < min_length:def check_strength():is_weak = True