GradePack

    • Home
    • Blog
Skip to content

  According to the text, during which period did the “divorc…

Posted byAnonymous April 1, 2026April 1, 2026

Questions

  Accоrding tо the text, during which periоd did the “divorce revolution” occur?  

Cоding Prоblem Hоw to stаrt: Mаke а python file in IDLE/Spyder or IDE of your choice named Exam2_{YourFirstName}{LastNameInitial}.py and save it in your PC. Write the code for the given problem statement and test it. How to submit: Once code is written, click 'Add a File' button and attach the .py file to this question's response section Problem Statement: Click on the link -> feedback.txt. This will open a text file contents. Copy the content and paste it in a text file. Name the file as feedback.txt. Save this file in the same folder as your Exam2_{YourFirstName}{LastNameInitial}.py file. This text file has customer feedback entries, one per line. Each line follows the following format: customer_id:feedback_text Example: C101:Excellent service and fast delivery.C102:Poor packaging and slow response. Write a Python program that performs the following task: Reads each line of feedback.txt file and extracts the customer id and feedback text.  Then the program stores the customer id in a list and feedback text in different list. The program should handle exception FileNotFoundError for missing file. The program should handle exception ValueError for incorrectly formatted lines like missing ':'  Define a function named summarize_results that accepts the feedback list as argument. The function should print: Total number of feedbacks Count of positive feedback which has the word 'great' in it Count of negative feedback which has the word 'slow' in it Grading rubric Criteria Points Details File Reading and Exception Handling 4 Uses try-except block to handle the exceptions Data Extraction and Storage 4 Correctly splits each line and stores data in separate lists Function Definition 2 Function summarize_results defined and correctly called. Accepts the feedback list as parameter String processing and keyword matching 4 Uses necessary string processing functions to find the total feedbacks, count of positive feedbacks and count of negative feedbacks Output formatting and summary report 2 Prints the total number of feedback, count of positive feedback and negative feedback Comments 4 Comments are written for file opening, data extraction, exception handling and logic for calculating the feedback counts Total 20 Expected Output: Test Case 1: File is correctly read and feedback counts are printed. Total Entries: 10Positive comments: 2Negative comments: 1 Test Case 2: File is not found Error: feedback.txt file not found. Test Case 3: Line in text does not have ':' Error splitting feedback. No ':' in the line.

HellоPleаse relаx аnd read the infо belоwPage 0:PAUSE for PASSWORD ...............................................and INSTRUCTIONSPlease pause and read the instructions before entering WebAssign.The test timer does NOT start until you log into the exam. So, you have time to read.By starting this exam you agree with the information supplied below and Lamar University Academic Integrity Regulations.Timing for this exam:HonorLock  about 10 min  + WebAssign 120 minutes + PDF 10 minutesProcedureLet this browser tab to stay open. Do not close this Blackboard tab. Open another browser tab for WebAssign and log in. Open the exam assignment with the password given below.Read additional instructions at the top of WebAssign exam, for example PDF could be required for only a few questions, or there may be syntax hints, or there could be a problem in a PDF file in WebAssign, etc.Submit answers as you go along, and well before the end of the exam time.Immediately after the end of WebAssign open the upload assignment on WebAssign with the same password.You have 10 minutes for preparing and uploading the PDF file to WebAssign.  Additional time is 5 points per minute.Your screen share must stay on during the entire exam until PDF is submitted. Any interruption will flag your exam. Follow the sequence, listed below, for proper ending of exam.There is a deduction for not following the procedure.Ending Sequence (incorrect steps will flag your exam)At the end of exam, after submission of PDF, come back to this Page 0  Answer the PHQ question belowClick Submit End the "Screen Share" Exit from all tabs.The case sensitive password for WebAssign exam and the Upload assignment is      QWAL8362     Open and start the upload immediately after WebAssign exam ends.HonorLock related penalties:If you do not follow the exam steps HonorLock will flag your exam. (Penalty 10+ points)Do NOT close screen share until after you submitted the PDF. (Penalty 40 points.)At the end of Exam come back to this Page 0 and follow the Ending Sequence. (Penalty 10+ points)If HonorLock pauses an exam time lost is at the expense of the student.Academic Integrity Restrictions and related penalties The only math-related webpage should be the WebAssign exam page. The use of any other page with any math information will flag an exam.No second monitor, unauthorized persons, graphing calculators, phones, tablets, math helper websites, ChatGPT, CoPilot, Gemini or similar LLMs, communication, other pages of WebAssign, printouts of WebAssign pages or websites. Phones are to be off and away from your desk during WebAssign exam and used only after WebAssign exam submission and solely for making the PDF upload. The minimum penalty for any of above infractions starts at 40 point per event.Additional info:"Due time" is for class, not for individual students.Start by 4 pm unless you have cleared permission for late start (4-8 pm) at least 24 hrs in advance. Penalty 10 points."Time limit of 600 minutes" is for the computer setting, not for the exam."Unlimited attempt" is for computer setting, not for the number of chances on WebAssign.Following items should not be around you: headsets, hats, phones (during WebAssign exam).Data recovery for unsubmitted answers, if possible, penalty 10 points.If your upload mechanism does not work document it and submit upload to maesumi@lamar.eduIn case of IT problems contact the respective company (WebAssign, HonorLock, Blackboard, etc.)Appropriate attire required.

Tags: Accounting, Basic, qmb,

Post navigation

Previous Post Previous post:
  Gay, lesbian, and bisexual teens tend to have their first…
Next Post Next post:
  One key difference between dating and hooking up is that  

GradePack

  • Privacy Policy
  • Terms of Service
Top