OOP Programming Computer Programming Dr Ian Drumm, U.O.S. Page 1 Guidance for getting started with the Computer Programming assignment Importantly read the official assignment briefing carefully! This...

1 answer below »
I have to create a survey using python and write a report about it


OOP Programming Computer Programming Dr Ian Drumm, U.O.S. Page 1 Guidance for getting started with the Computer Programming assignment Importantly read the official assignment briefing carefully! This is the file Computer Programming Assessment-Brief-Form 2020-21.doc in the Computer Programming Assignment / Submission Area To help getting started, note Week 10’s worksheet and associated video demonstrated how to create an application with a graphical user interface for entering student data, storing each new student’s information in a Student object, managing a list of references to Student objects and displaying the contents of these objects in a list box. Similarly, the assignment asks you to create an application with a graphical user interface for entering a participant’s answers to a survey. Hence you could store each participant’s answers to a ‘survey answers’ object, manage a list of references to the survey answers objects and display the contents of these objects in a list box. Instead of defining a class of the form class Student: def __init__(self, some student variables) some student attributes some other methods You could define a class of the form…. class SuveryAnswers: def __init__(self, some survey variables) some survey attributes some other methods Hence, adapt the user interface for entering answers to the survey questions. Computer Programming Dr Ian Drumm, U.O.S. Page 2 If you struggle with concepts such classes, object and lists, … a well-presented user interface with a thoughtful and attractive design may be enough to pass if it’s with a good report. If you struggle with Tkinker, … a console app that can prompt participants to answer questions, store these in code and display the set of answers may be enough to pass with a good report. Note you don’t need the likes of fancy ui features, clever stats and file io to get a good mark, however students who want to get very high marks may want to engage with these challenges. About your report Your report is a chance to explain your application and demonstrate your understanding of the code. Start with a title and your full name, discuss your user interface design and include some screen grabs of it. You may want to justify your choice of UI widgets, colours, fonts, images, etc explaining why you think your application is intuitive and assessible. Discuss code with small code snippets interspersed with discussion of what each snippet does. Try to use the correct technical language… e.g. “the variable declaration”, “here’s the class definition”, “an instance of the class”, etc. Try to write the report in the third person and save it to a PDF before submitting.
Answered 10 days AfterJan 16, 2021

Answer To: OOP Programming Computer Programming Dr Ian Drumm, U.O.S. Page 1 Guidance for getting started with...

Swapnil answered on Jan 23 2021
136 Votes
from tkinter import *
from tkinter import ttk
window = Tk()
window.title("Client Satisfaction")
window.geometry('600x600')
window.configure(background
= "light green");
if __name__ == '__main__':    
    def __init__(self):
        a = Label(window ,text = "Name").grid(row = 0,column = 0)
        b = Label(window ,text = "Age").grid(row = 1,column = 0)
        v = IntVar()
        self.label = Radiobutton(window, text="16-18", variable=v, value=1, command = 16-18).grid(row=1)
        self.label = Radiobutton(window, text="19-30", variable=v, value=2, command = 19-30).grid(row=2)
        self.label = Radiobutton(window, text="31-40", variable=v, value=3, command = 31-40).grid(row=3)
        self.label = Radiobutton(window, text="41-50", variable=v, value=4, command = 41-50).grid(row=4)
        self.label = Radiobutton(window, text="51-64", variable=v, value=5, command = 51-64).grid(row=5)
        self.label = Radiobutton(window, text="65", variable=v, value=6, command = 65).grid(row=6)
        c = Label(window ,text = "Sex").grid(row = 2,column = 0)
        v = IntVar()
        self.label = Radiobutton(window, text="Male", variable=v, value=1, command = Male).grid(row=1)
        self.label = Radiobutton(window, text="Female", variable=v, value=2, command = Female).grid(row=2)
        d = Label(window ,text = "Ethinicity").grid(row = 3,column = 0)
        v = IntVar()
        self.label = Radiobutton(window, text="Black", variable=v, value=1, command = Black).grid(row=1)
        self.label = Radiobutton(window, text="White", variable=v, value=2, command = White).grid(row=2)
        self.label = Radiobutton(window,...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here