Question: CSS 2 2 0 Module 1 Homework Module 1 Submission: - This document with answers to given questions - Two python programs created for Part
CSS Module Homework
Module Submission:
This document with answers to given questions
Two python programs created for Part a and b
Download the following Python programs:
allPermutations.py
allPermutationsSetLength.py
allCombinationsSetLength.py
allCombinationsUnsorted.py
allCombinationsWithRepition.py
Before executing each one, predict what the output will be
Part : For each one, record your predicted outcome and the observed outcome.
Python Program Predicted Observed
allPermutations.py
allPermutationsSetLength.py
allCombinationsSetLength.py
allCombinationsUnsorted.py
allCombinationsWithRepition.py
Part : You are creating a password generator that will create all possible passwords meeting a certain criterion. To do this you will edit the Python program allPermutationsSetLength.py to print out all possible passwords for the following criteria:
a Password must be characters long. Can be comprised of any arrangement of numbers and letters. How many potential passwords can be created? Explainshow your work.
b Password must be characters long. Can be comprised of any arrangement of numbers, letters, and the following four special characters $ How many potential passwords can be created? Explainshow your work.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
