Do My Homework / Homework Help Answers / Coding Homework Help / finish my lab homework (codding)- information technology- IT 2750 - Scripting Fundamentals for Cybersecurity

finish my lab homework (codding)- information technology- IT 2750 - Scripting Fundamentals for Cybersecurity

Need help with this question or any other Coding assignment help task?

# IT 2750 - Lab 02 ___ #### Your Name: My Name #### S-Number: S0000000 ___ ### Assignment Description This week, we will be creating and running a Python script file that generates a password using uppercase letters, lowercase letters, numbers, and symbols. We will do this using concepts including if statements, loops, and functions. ### Lab Steps You will perform the following steps to complete the Week 1 lab: 1. Fetch the repository for the assignment and update your Name and S-Number in the Readme.md file 2. Review the generatePassword.py file and read the comments. Take note of the areas where I ask you to write or modify the code. 3. Watch the lab video (optional) if you would like some suggestions on how to go about this lab 4. Grab a Mountain Dew and write some code! 5. Test your code. Go back to Step 4 if something doesn't work. 6. Commit, push, and take a break! ### Lab Requirements 1. Python script successfully generates a random password using uppercase letters, lowercase letters, numbers, and symbols as chosen by the user (the user has the option to use any or all of these to generate the password) 2. To generate the password, the script asks the user for password length and whether or not to use each of the characters as defined in requirement 1. 3. The users responses are passed as arguments to a function generatePassword, a function that has parameters for each of those user responses. 4. That function uses if statement(s) and loop(s) to generate a new random password. Please see the code file for a hint on using Python's random class. 5. That function returns the newly generated password as a return value 6. The new password is displayed to the user ### Lab Rubric The lab will be graded using the following rubric. Total 10 points for the assignment. | Rubric Item | Novice | Competent | Proficient | |:---------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------------------------------------------:| | Submission Expectations (max 1pt) | Project was not committed to GitHub (0-0.5pt) | Project was partially committed to GitHub (0.5-1pt) | Project was fully committed to GitHub (1pt) | | Functional Expectations (max 9pt) | The code does not function nor does it follow all instructions. There are significant errors and the program cannot be run. Student did not adhere to the assignment. (0-6pt) | Most instructions were followed and there may or may not be an error that prevents the application from running. Student generally adhered the assignment. (6-9pt) | Instructions were followed. Code was well commented and understandable. There are no errors and the application runs as expected. (9pt) |
Additional Instructions:
lab-2---password-generation-Areej1992-master/README.md # IT 2750 - Lab 02 ___ #### Your Name: My Name #### S-Number: S0000000 ___ ### Assignment Description This week, we will be creating and running a Python script file that generates a password using uppercase letters, lowercase letters, numbers, and symbols. We will do this using concepts including if statements, loops, and functions. ### Lab Steps You will perform the following steps to complete the Week 1 lab: 1. Fetch the repository for the assignment and update your Name and S-Number in the Readme.md file 2. Review the generatePassword.py file and read the comments. Take note of the areas where I ask you to write or modify the code. 3. Watch the lab video (optional) if you would like some suggestions on how to go about this lab 4. Grab a Mountain Dew and write some code! 5. Test your code. Go back to Step 4 if something doesn't work. 6. Commit, push, and take a break! ### Lab Requirements 1. Python script successfully generates a random password using uppercase letters, lowercase letters, numbers, and symbols as chosen by the user (the user has the option to use any or all of these to generate the password) 2. To generate the password, the script asks the user for password length and whether or not to use each of the characters as defined in requirement 1. 3. The users responses are passed as arguments to a function generatePassword, a function that has parameters for each of those user responses. 4. That function uses if statement(s) and loop(s) to generate a new random password. Please see the code file for a hint on using Python's random class. 5. That function returns the newly generated password as a return value 6. The new password is displayed to the user ### Lab Rubric The lab will be graded using the following rubric. Total 10 points for the assignment. | Rubric Item | Novice | Competent | Proficient | |:---------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------------------------------------------:| | Submission Expectations (max 1pt) | Project was not committed to GitHub (0-0.5pt) | Project was partially committed to GitHub (0.5-1pt) | Project was fully committed to GitHub (1pt) | | Functional Expectations (max 9pt) | The code does not function nor does it follow all instructions. There are significant errors and the program cannot be run. Student did not adhere to the assignment. (0-6pt) | Most instructions were followed and there may or may not be an error that prevents the application from running. Student generally adhered the assignment. (6-9pt) | Instructions were followed. Code was well commented and understandable. There are no errors and the application runs as expected. (9pt) | lab-2---password-generation-Areej1992-master/generatePassword.py ####################################### # IT 2750 - Lab 02 # # Generate a secure password # # Author: Your name here # # S#: Your S-Number Here # ####################################### # Import libraries needed for this lab import random import string # Define a method generatePassword that: # - Has the following parameters: # + length -> int, length of password to be created # + upper -> bool, True means include uppercase letters, False means # do not include uppercase letters # + lower -> bool, True means include lowercase letters, False means # do not include lowercase letters # + numbers -> bool, True means include numbers, False means # do not include numbers # + symbols -> bool, True means include symbols, False means # do not include symbols # [You will have to define parameters in the function below - Remove this comment line placeholder!] def generatePassword(): # Create local variables for the set of characters that can be used # and the new password that will be returned from the function chars = "" newPassword = "" # Use if statements and the string.ascii_ constants to add the various # character sets to the local variable tracking what characters to be # used (https://docs.python.org/3/library/string.html, see "String # constants" for reference) # [Write code here - Remove this comment line placeholder!] # Create a loop (of any type) to add a random character from the set of # characters (hint: using random.choice(...)) to the new password # placeholder variable # [Write code here - Remove this comment line placeholder!] # Return the new password as the function's return value return newPassword # Print a welcome message print('====================================================') print('==== WELCOME TO THE ULTIMATE PASSWORD GENERATOR ====') print('====================================================') # Ask the user how long of a password they want # [Write code here - Remove this comment line placeholder!] # Ask the user if they want to use uppercase, lowercase, numbers # and symbols in separate input statements. Remember to properly # handle variable types! (hint: bool(...) converts to bool, # int(...) converts to int, str(...) converts to string) # [Write code here - Remove this comment line placeholder!] # Call the generatePassword function and pass in the user's choices # and display the return value to the user print('----------------------------------------------------') print('Generating password...') print('----------------------------------------------------') # [You will have to pass arguments into the generatePassword function below - Remove this comment line placeholder!] print("Your new password is: " + generatePassword()) print('====================================================')
There are no answers to this question.
Login to buy an answer or post yours. You can also vote on other others

Get Help With a similar task to - finish my lab homework (codding)- information technology- IT 2750 - Scripting Fundamentals for Cybersecurity

Related Questions

Similar orders to finish my lab homework (codding)- information technology- IT 2750 - Scripting Fundamentals for Cybersecurity
Popular Services
Tutlance Experts offer help in a wide range of topics. Here are some of our top services: