Kizspy.me
• For distance learning: Google Meet, Hangout (for Exam Monitoring Purpose).
Follow the steps below to complete PE:
1. Create a folder to save given projects, e.g. CSD_given (1). Download given
materials to (1).
2. Steps to do question 1(do the same for questions 2 and 3): Open Thonny, then
edit the MyList.py file according to the requirements of the exam. (edit the file
BSTree.py for Q2 and Graph.py for Q3).
3. Submission: to submit the folder Q1, at first you must select Question No = 1,
browse and select the project folder (e.g. 1, Q1 or Q1X,...) then click the Submit
button. Do the same for other questions. Do not submit the un-edited given
project.
4. Do not use accented Vietnamese when writing comments in programs.
5. Do not add new import statement(s) to given files.
6. Software tools must be used: Thonny
If at least one of the above requirements is not followed, the exam will get
ZERO.
Zoom
Do not pay attention to real meaning of objects, variables and their values in the
questions below.
Question 1:(4 marks)
In this question you should complete some methods in MyList.py file.
The Student class has 3 attributes: name, major, and score (an integer). This
class is already provided and you do not need to modify it. The MyList class is
a singly linked list of Student objects. Complete the following methods as
described below:
• def fl(self, name, major, score)
o If the name contains the letter "Z", or the major starts with "X", or if
+ 100%
Close