How many 5 character passwords can be made using the letters A through Z?

EXAMPLE 1.5.4
The password for Gomer's e-mail account consists of 5 characters chosen
from the set {g, o, m, e, r} . How many arrangements are possible, if the password has no repeated characters?

SOLUTION

If the password contains no repeated characters, then forming a password involves nothing other than arranging the five characters of the set {g,o,m,e,r}. The number of ways to arrange 5 objects is 5 factorial
5 factorial = 120

There are 120 possible passwords.

How many 5-character passwords are possible if a password may have repeated characters?

SOLUTION

This is not a permutation [arrangement] problem, because it is possible to have repeated elements within one of these passwords. We can't use the permutation problem to solve this problem, so we will use the Fundamental Counting Principle.
In order to form a password, we need to make five decisions.

i. Choose first character: 5 options
ii. Choose second character: 5 options
iii. Choose third character: 5 options
iv. Choose fourth character: 5 options
v. Choose fifth character: 5 options
According to the Fundamental Counting Principle the number of outcomes is

[5] times [5] times [5] times [5] times [5] = 3125.

There are 3125 possible passwords, if a password may have repeated characters.

Questions and answers

There are some simple rules that you must follow when changing your password:

  1. Your password must be at least 10 characters long.
  2. Remember that UPPERCASE letters are different from lowercase letters [for example, A is treated as different from a].
  3. It must contain at least one character that is not a letter, such as a digit.

The following special characters can be used in passwords changed using the My IT Account facility:

curly brackets{ }        round brackets[ ]     square brackets[ ]hash#
colon, semi-colon: ;caret^comma,full-stop.question mark?exclamation mark!bar or pipe|ampersand&underscore_backtick`tilde~at@dollar$percent%slash and backslash/ \ arithmetic symbols =+-* single and double quotes " '

The following characters are also permitted:

  • Uppercase [A-Z] and lowercase [a-z] English alphabet characters
  • Digits 0-9
  • spaces

The following are permitted, but may cause problems on some systems:

  • 'greater than': >
  • 'less than': 

Chủ Đề