Hire Experts For Answers
Order NowRelated Study Services
- Homework Answers
- Coursework writing help
- Term paper writing help
- Writing Help
- Paper Writing Help
- Research paper help
- Thesis Help
- Dissertation Help
- Case study writing service
- Capstone Project Writing Help
- Lab report Writing
- Take my online class
- Take my online exam
- Do my test for me
- Do my homework
- Do my math homework
- Online Assignment Help
- Do my assignment
- Essay Writing Help
- Write my college essay
- Write my essay for me
DESCRIPTION
Posted
Modified
Viewed
20
# 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) |
Attachments
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('====================================================')
Explanations and Answers
0
No answers posted
Post your Answer - free or at a fee
NB: Post a homework question for free and get answers - free or paid homework help.
Get answers to: Finish My Lab Homework (Codding)- Information Technology- It 2750 - Scripting Fundamentals For Cybersecurity or similar questions only at Tutlance.
Related Questions
- Machine Learning Homework Assignments
- Engg*1500 Module 2: Circuit Applications: Solving Sles And Rref
- E/R Diagram, Sql Script And Front-End
- Control Theory Course Work Calculation Works
- Axisymmetric Model Of Pressure Vessel
- C Coding Assignment For Beginner
- Ms Excel Assisgements Open The File And The Request Are Written There
- Introduction To Computer Concepts Online Course – Spring 2023
- Inventory Management System - Need Help Fixing 1 File In Project
- Setting Up Hbase And Hadoop (Windows 10)
- Randomized Controlled Trial Of Photobiomodulation Wavelengths 650 Nm And 850 Nm For The Treatment Of Obesity
- Autodesk Cad Inventor - Revit
- Autodesk Revit / Inventor Cad.
- Minimising A Function That Contains Numerical Integration In Matlab
- Inventory Management System - Need Help Fixing 1 File In Project
- Inventory Management System - Need Help Fixing 1 File In Project
- Inventory Management System - Need Help Fixing 1 File In Project
- Java Point Class Coordinate To Store And Manipulate Location
- Javafx Project For An Inventory Management System - Need Help With 2 Files Programming An Error Popup.
- Introduction Of Myself To The Class Discussion Post
- Introduction Of Myself To The Class Discussion Post
- Bayesian Var Forecasting Using Matlab Code
- Javafx Project For An Inventory Management System - Need Help With 2 Files Programming An Error Popup.
- Javafx Project For An Inventory Management System - Need Help With 2 Files Programming An Error Popup.
- Javafx Project For An Inventory Management System - Need Help With 2 Files Programming An Error Popup.
- Matlab Modelling Interactions Between A Nanosecond Laser Source And Metal
- Data Science Assignments & Matplotlib
- Project Solely On Coding(C & C++), No Powerpoint Required.
- The Project Is Definitely Based On Php And Mysql.
- Intro To Arcgis; Mapping Food Disparities In The Us
- Yahtzee Python Project For College
- Logisim - Verilog - Cpu Design - Assembly Language
- Creating A Projectile Motion Simulator
- Final Project Web App . Supporting Story Map
- Final Project Web App . Supporting Story Map
- Write A Program That Determines The Cost Of A Dinner Bill Including Tax & Tip
- Machine Learning Homework - Undergrad Level
- Write A Program That Determines The Cost Of A Dinner Bill Including Tax & Tip
- Write A Program That Determines The Cost Of A Dinner Bill Including Tax & Tip
- Can I Get Help On This C++ Case Study?
- Matlab Solar Panels For Final Individual Project Home
- Comp Sci Assignment: Deep Learning
- Comp Sci Assignment: Deep Learning
- Help Creating A Java Tip Calculator
- I Need Help With A Pentest Lab. Thank You!
- In Attached Document Is Any Information For Solving
- Fluid Mechanics Matlab Assignment
- Programming Coursework Java Bluej
- Data Science Assignments Tip!!
- Using Arcgis Pro To Create A Land Suitability Map