# Name: # Student Number: # This file is provided to you as a starting point for the “wyr.py” program of Assignment 2 # of Programming Principles in Semester 1, 2021. It aims to give you just enough code to help ensure # that your program is well structured. Please use this file as the basis for your assignment work. # You are not required to reference it. # The “pass” command tells Python to do nothing. It is simply a placeholder to ensure that the starter file runs smoothly. # They are not needed in your completed program. Replace them with your own code as you complete the assignment. # Import the required modules. import tkinter import tkinter.messagebox import json class ProgramGUI: def __init__(self): # This is the constructor of the class. # It is responsible for loading and reading the data from the text file and creating the user interface. # See the “Constructor of the GUI Class of wyr.py” section of the assignment brief. pass def show_question(self): # This method is responsible for displaying the current question’s options in the GUI and ending the program. # See Point 1 of the “Methods in the GUI class of wyr.py” section of the assignment brief. pass def record_vote(self, vote): # This method is responsible for recording the user’s choice when they select an option of a question. # See Point 2 of the “Methods in the GUI class of wyr.py” section of the assignment brief. pass # Create an object of the ProgramGUI class to begin the program. gui = ProgramGUI() # If you have been paid to write this program, please delete this comment.
- Assignment status: Already Solved By Our Experts
- (USA, AUS, UK & CA PhD. Writers)
- CLICK HERE TO GET A PROFESSIONAL WRITER TO WORK ON THIS PAPER AND OTHER SIMILAR PAPERS, GET A NON PLAGIARIZED PAPER FROM OUR EXPERTS