Question Four a) Write a Python program to create a Tkinter-based login form with input fields for user ID and password. b) Write a Python program that implements a temperature converter application using Tkinter allowing users to convert between Celsius and Fahrenheit. c) Write a class called Password manager. The class should have a list called old passwords that holds all of the user's past passwords. The last item on the list is the user's current password. There should be a method called get password that returns the current password and a method called set password that sets the user's password. The set password method should only change the password if the attempted password is different from all the user's past passwords. Finally, create a method called is correct that receives a string and returns a boolean True or False depending on whether the string is equal to the current password or not. d) Write a class called Time whose only field is a time in seconds. It should have a method called convert to minutes that returns a string of minutes and seconds formatted as in the following example: if seconds is 230, the method should return '5:50'. It should also have a method called convert to hours that returns a string of hours, minutes, and seconds formatted analogously to the previous method.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter11: Advanced Inheritance Concepts
Section: Chapter Questions
Problem 8RQ
icon
Related questions
Question

answer should avoid using AI and should be basi and please explain

Question Four
a) Write a Python program to create a Tkinter-based login form with input fields for user ID and
password.
b) Write a Python program that implements a temperature converter application using Tkinter
allowing users to convert between Celsius and Fahrenheit.
c) Write a class called Password manager. The class should have a list called old passwords that holds
all of the user's past passwords. The last item on the list is the user's current password. There should
be a method called get password that returns the current password and a method called set password
that sets the user's password. The set password method should only change the password if the
attempted password is different from all the user's past passwords. Finally, create a method called
is correct that receives a string and returns a boolean True or False depending on whether the string
is equal to the current password or not.
d) Write a class called Time whose only field is a time in seconds. It should have a method called
convert to minutes that returns a string of minutes and seconds formatted as in the following
example: if seconds is 230, the method should return '5:50'. It should also have a method called
convert to hours that returns a string of hours, minutes, and seconds formatted analogously to the
previous method.
Transcribed Image Text:Question Four a) Write a Python program to create a Tkinter-based login form with input fields for user ID and password. b) Write a Python program that implements a temperature converter application using Tkinter allowing users to convert between Celsius and Fahrenheit. c) Write a class called Password manager. The class should have a list called old passwords that holds all of the user's past passwords. The last item on the list is the user's current password. There should be a method called get password that returns the current password and a method called set password that sets the user's password. The set password method should only change the password if the attempted password is different from all the user's past passwords. Finally, create a method called is correct that receives a string and returns a boolean True or False depending on whether the string is equal to the current password or not. d) Write a class called Time whose only field is a time in seconds. It should have a method called convert to minutes that returns a string of minutes and seconds formatted as in the following example: if seconds is 230, the method should return '5:50'. It should also have a method called convert to hours that returns a string of hours, minutes, and seconds formatted analogously to the previous method.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT