Computer Science

Welcome to a Computational Thinking (CT) Challenge



Abstract an Algorithm
Pseudo-Code

Sample Code in Python

Tkinter Code in Python
to display the UI below

Puzzle
Password Strength

You want to design a password facility for a website.
To protect user data, you want to guarantee all users set strong passwords.
You must first write a program in Python to take a string from the user and test its strength.
A strong password : one lowercase letter; ONE UPPERCASE; 1 digit; more than 7 characters.
To tackle this problem you should have studied for LOOPS.

analyse strength of a password

In the lesson on strings, the CT challenge asked you to incorporate your code in a Tkinter program. There is a similar one above. Execute it first.
Using your Password Strength code, can you incorporate it into the Tkinter program for a better UI?
__________________________________________________________________

Later in the course, we will return to this program. So file it away!!
At some later point you will translate your program to Javascript.
We will then develop the html/ccs behind this page to include the JS code for a fully operational facility.



The sandbox below can be used to run the sample Python code or to play around with your own ideas.
Be careful of certain limitations of online IDEs compared to those downloaded to your devices.