[SOLVED] Practicing an implementation of class and objects. File access is also implemented.

Can you help me understand this Python question?

Struggling to find relevant content or pressed for time? – Don’t worry, we have a team of professionals to help you on
[SOLVED] Practicing an implementation of class and objects. File access is also implemented.
Get a 15% Discount on this Paper
Order Now

Practicing an implementation of class and objects. File access is also implemented.

Refer to the slides posted on Blackboard. For better understanding on video lecture, please check out the video lecture from http://cysecure.org/505/online19f/index.html > Bluebox.

1) Define a class called Section

2) Declare variables of the class: student in dictionary, instructor in String, title in String. For these static variables, create a function __init__(), which can assign each value to a corresponding class variable.

3) Define the functions:

a) grading(pts): taking pts in number and returns a letter grade. Refer to the syllabus of this course.

b) posting(student, pts): update the student dictionary with the value list of points and letter grade. In this case, letter grade should be obtained from the method grading().

c) updating(student, pts): Consider a situation where the points earned by a student need to be update. That particular student’s points is updated and therefore the letter grade too.

4) At each step above, please display the states of variables.

For example, it runs as follows:

>>> (executing lines 1 to 64 of “classSection.py”)

Python is taught by John

B

A

B

C

{‘Adam’: [81, ‘B’], ‘Sam’: [99, ‘A’], ‘Peter’: [82, ‘B’], ‘Chris’: [72, ‘C’]}

Enter any update request (name points): Chris 81

{‘Adam’: [81, ‘B’], ‘Sam’: [99, ‘A’], ‘Peter’: [82, ‘B’], ‘Chris’: [81, ‘B’]}

Note that the second dictionary shows that Chris’ grade was updated.

Another sample run:

>>> (executing lines 1 to 64 of “classSection.py”)

Python is taught by John

B+

B

C+

C

{‘Adam’: [88, ‘B+’], ‘Sam’: [85, ‘B’], ‘Peter’: [77, ‘C+’], ‘Chris’: [72, ‘C’]}

Enter any update request (name points): jdkf 90

{‘Adam’: [88, ‘B+’], ‘Sam’: [85, ‘B’], ‘Peter’: [77, ‘C+’], ‘Chris’: [72, ‘C’], ‘jdkf’: [90, ‘B+’]}

Note that since the student name is new, it was added. If not realistic, you may improve it. Is that case, please express in your submission how you improved. Depending on improvement, a bonus point will be given.

SUBMIT:

1) Your source coding file. The file shows each every statement as shown the steps above, so the execution of the file shows the all print statements.

2) Screenshot(s) that may show the integrity of your work

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
Sign up, place your order, and leave the rest to our professional paper writers in less than 2 minutes.
step 1
Upload assignment instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
s
Get personalized services with MyCoursebay
One writer for all your papers
You can select one writer for all your papers. This option enhances the consistency in the quality of your assignments. Select your preferred writer from the list of writers who have handledf your previous assignments
Same paper from different writers
Are you ordering the same assignment for a friend? You can get the same paper from different writers. The goal is to produce 100% unique and original papers
Copy of sources used
Our homework writers will provide you with copies of sources used on your request. Just add the option when plaing your order
What our partners say about us
We appreciate every review and are always looking for ways to grow. See what other students think about our do my paper service.
Other
great
Customer 452813, June 30th, 2022
Nursing
Thank you to the writer and also thank you to the support team I got an A for the paper
Customer 452635, June 17th, 2022
Nursing
Everything was done thoroughly and with care. Awesome job!!!
Customer 452453, April 10th, 2021
Nurse
Great work! Thank you for the quality you put in each assignment.
Customer 452707, February 4th, 2022
IT, Web
Excellent job on the paper.
Customer 452885, January 25th, 2023
Other
NICE
Customer 452813, June 25th, 2022
English 101
Although a little late, the content and structure of the paper was great! I would definitely use this writer again!
Customer 452561, July 12th, 2021
Social Work and Human Services
Great Work!
Customer 452587, March 16th, 2022
Other
great
Customer 452813, July 9th, 2022
IT, Web
Don did an excellent job!!!
Customer 452885, January 25th, 2023
Other
GOOD
Customer 452813, July 5th, 2022
Nursing
Thank you so much for being the best website for assignment help.
Customer 452635, June 24th, 2022
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat

Get top-notch homework help now. 20% off first 10 orders!

NEW

Thank you for choosing MyCoursebay. Your presence is a motivation to us. All papers are written from scratch. Plagiarism is not tolerated. Order now for a 15% discount

Order Now