Last answered:

27 Apr 2020

Posted on:

27 Apr 2020

0

Variation

Hello team,

I think below problem in the variation quiz has wrong answer.

Going back to the combination lock example from the lecture, imagine the correct code consisted of a single 4-letter word. However, this time the passcode only consists of the letters of “password”. How many possible passcodes are there?

4^8

incorrect8^4
7^4

4^7

I think Correct option is 8^4. The word 'Password' contains eight letters and correct code consisted of single 4-letters. thus it may be 8^4.

Correct me if I am wrong.

Link is :
https://learn.365datascience.com/courses/probability/variations-with-repetition

1 answers ( 0 marked as helpful)
Instructor
Posted on:

27 Apr 2020

0
Hey Adnan,    Thanks for reaching out!   Even though the word "password" consists of 8 letters, it only consists of 7 unique letters (double "s"). Hence, if the code is "rows" it doesn't matter which s we use since it's the same letter. Hence, we only have 7 letters to work with.    Best, 365 Vik

Submit an answer