[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.
IT, Web
Excellent work!!!
Customer 452885, February 7th, 2023
Other
Great job
Customer 452813, July 27th, 2023
Nursing
Everything was done thoroughly and with care. Awesome job!!!
Customer 452453, April 10th, 2021
Strategic Management
Thanks for the help, really appreciate it
Customer 452821, September 8th, 2022
Wellness
The skilled writer did a GREAT job!! Amazing .Thank you!
Customer 452547, June 16th, 2021
Social Work and Human Services
Excellent Work!
Customer 452587, November 30th, 2021
Human Resources Management (HRM)
Thank you
Customer 452701, September 15th, 2023
Business and administrative studies
GOOD
Customer 452813, June 30th, 2022
Human Resources Management (HRM)
Perfect
Customer 452701, August 15th, 2023
Social Work and Human Services
Excellent! Done earlier than needed and with more sources than needed! Great work!
Customer 452485, August 22nd, 2021
Nursing
The writer went above and beyond as usual. Always a great experience with these writers.
Customer 452707, December 4th, 2022
Medicine
Thank you for the great services
Customer 452635, April 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

Good News ! We now help with PROCTORED EXAM. Chat with a support agent for more information

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