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
iefing carefully! This is the file
Computer Programming Assessment-Brief-Form XXXXXXXXXXdoc
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)
XXXXXXXXXXsome student attributes
some other methods
You could define a class of the form….
class SuveryAnswers:
def __init__(self, some survey variables)
XXXXXXXXXXsome 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 co
ect 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.