Password Generator
In computer science class we had an assignment where we had to create an algorithm that can generate a custom, reproducible password that is uniquely different for any website using scratch code. The generator asks the user a few questions about the web page so that it could create the unique password. My password generator consisted of 3 questions that would generate a different password for the different websites. The first question asked for the user’s name with the first letter capitalized. The second question asked for the color of the logo of the site the user would like to generate a password for. The last question asked for the year the website was first published. The information was then stored into the variables, name, color and year. The program then tested if the 3rd number of the year was greater than 7, and if it tested true then the password would be arranged name, color and lastly the last two digits of the year. Else it would arrange the password color, name and the last two digits of the year.
I would say I used my self-directional skills to guide my learning and progress until completion throughout the assignment. This class is self-paced and done independently through project-stem.com. While writing my program I had to stay on track to complete it and create an efficient password generator.
I’m most proud of my idea for the password generator. I really liked the question I asked the user and how I changed the outcome based on their input. My favorite types of programs are ones that I get to customize and create code that I find entertaining.
I would say I used my self-directional skills to guide my learning and progress until completion throughout the assignment. This class is self-paced and done independently through project-stem.com. While writing my program I had to stay on track to complete it and create an efficient password generator.
I’m most proud of my idea for the password generator. I really liked the question I asked the user and how I changed the outcome based on their input. My favorite types of programs are ones that I get to customize and create code that I find entertaining.
I developed my self-directional skills by not depending on my partner for this assignment as well as coming up with my own ideas. My partner and I didn't do much exchanging of idea and we created a password generator based on our own preferences. It was difficult to come up with questions as well as an algorithm that would properly generate a different password for each site. It took some time and brainstorming before I could begin coding.
If I could do this assignment again, I would definitely make my password generator more complex. I feel that it was a bit too simple and lacked in certain areas. I would add more questions as well as more Boolean statements. Personally, it was a bit rushed as well so I would like to take more time and make the password generator produce a longer and harder to recreate password for the different sites.
I’ve worked with scratch before and have created a program that asks the user for answers/input to a few questions to create a certain outcome. For example, a couple units back, I created a talk show program where a sprite asked the user for the answer to 3 questions and based on the user’s input it would display a certain number of points. The points added up by Boolean statements that tested if the answer/input for the question was correct.
I hope to become a software engineer in the future so learning how to code certain programs and create algorithms similar to this will definitely be useful for future assignments and tasks.
If I could do this assignment again, I would definitely make my password generator more complex. I feel that it was a bit too simple and lacked in certain areas. I would add more questions as well as more Boolean statements. Personally, it was a bit rushed as well so I would like to take more time and make the password generator produce a longer and harder to recreate password for the different sites.
I’ve worked with scratch before and have created a program that asks the user for answers/input to a few questions to create a certain outcome. For example, a couple units back, I created a talk show program where a sprite asked the user for the answer to 3 questions and based on the user’s input it would display a certain number of points. The points added up by Boolean statements that tested if the answer/input for the question was correct.
I hope to become a software engineer in the future so learning how to code certain programs and create algorithms similar to this will definitely be useful for future assignments and tasks.