Write a GUI that generates a multiplication or division table. A multiplication or division table is a useful tool for learning simple multiplication and division sums. The GUI is given below. Times table Enter the multiplieridivisor: Enter number of sums: Fil table Clear table Randomise Multiplication Division Figure 1. GUI The user can choose between doing multiplication or division using the Radio Buttons on the right The user should enter the multiplier or the divisor (depending on whether they have choose multiplication or

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Write a GUI that generates a multiplication or division table. A multiplication or division table is a useful tool for
learning simple multiplication and division sums. The GUI is given below.
Times table
Enter the multiplier divisor:
Times table
Enter the multipleridivisor:
1x3-3
2x3=6
3x3=9
4x3=12
5x3-15
6x3=10
7x3=21
8x3-24
Enter number of sums:
Fill table
Tips
Clear table
Randomise
Figure 1. GUI
The user can choose between doing multiplication or division using the Radio Buttons on the right
The user should enter the multiplier or the divisor (depending on whether they have choose multiplication or
division). The user should also enter how many sums should be produced. For example, Figure 2 shows 8 sums
where the multiplier is 3 and Figure 3 shows 11 sums where the divisor is 7.
Ⓒ Multiply
Divide
Figure 2. GUI with 8 sums and a multiplier of 3.
Enter number of sums:
Fill table
Clear table
Times table
Enter the multipleridivisor:
717-1
14/7=2
21/7=3
28/7=4
35/7-5
42/7=6
49/7=7
56/7-8
0
63/7-9
70/7=10
77/7-11
Randomise
Multiplication
Division
Enter number of sums: 11
Fill table
Clear table
• The text area should be filled with sums when the user clicks the "Fill table" button.
The text area should be cleared when the user clicks the "Clear table" button.
Randomise
Figure 3. GUI with 11 sums and a divisor of 7.
The multiplier or divisor and the number of sums should be randomly set to an integer between 2 and 12 when the
user clicks the "Randomise" button.
Multiply
Ⓒ Divide
The following diagram gives a rough indication of the layout of the panels. Each panel used BoxLayout.
Transcribed Image Text:Write a GUI that generates a multiplication or division table. A multiplication or division table is a useful tool for learning simple multiplication and division sums. The GUI is given below. Times table Enter the multiplier divisor: Times table Enter the multipleridivisor: 1x3-3 2x3=6 3x3=9 4x3=12 5x3-15 6x3=10 7x3=21 8x3-24 Enter number of sums: Fill table Tips Clear table Randomise Figure 1. GUI The user can choose between doing multiplication or division using the Radio Buttons on the right The user should enter the multiplier or the divisor (depending on whether they have choose multiplication or division). The user should also enter how many sums should be produced. For example, Figure 2 shows 8 sums where the multiplier is 3 and Figure 3 shows 11 sums where the divisor is 7. Ⓒ Multiply Divide Figure 2. GUI with 8 sums and a multiplier of 3. Enter number of sums: Fill table Clear table Times table Enter the multipleridivisor: 717-1 14/7=2 21/7=3 28/7=4 35/7-5 42/7=6 49/7=7 56/7-8 0 63/7-9 70/7=10 77/7-11 Randomise Multiplication Division Enter number of sums: 11 Fill table Clear table • The text area should be filled with sums when the user clicks the "Fill table" button. The text area should be cleared when the user clicks the "Clear table" button. Randomise Figure 3. GUI with 11 sums and a divisor of 7. The multiplier or divisor and the number of sums should be randomly set to an integer between 2 and 12 when the user clicks the "Randomise" button. Multiply Ⓒ Divide The following diagram gives a rough indication of the layout of the panels. Each panel used BoxLayout.
Expert Solution
steps

Step by step

Solved in 2 steps with 5 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY