[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-786577-105":59,"doc-detail-786577-en":129,"doc-similar-786577":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":64,"keywords":65,"description":66,"schema_data":67,"social_meta":122,"head_meta":124,"extra_data":126,"updated_unix":128},105,"en","sp24-final-sol","","Spring 2024 final assessment for DS C88C Computational Structures in Data Science. Topics include Python lists, identity, inheritance, methods, trees, environment diagrams, and interpreter output. Rules require independent work, prohibit collaboration and internet use, and define closed-book conditions plus permitted notes and a reference sheet. Policies cover answer format, scratch space, restroom procedures, identification, and an integrity certification; questions carry point values.",{"@graph":68,"@context":121},[69,83,104],{"@type":70,"itemListElement":71},"BreadcrumbList",[72,76,78,81],{"item":73,"name":74,"@type":75,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":77,"name":9,"@type":75,"position":14},"https://docshare.wps.com/document/",{"item":79,"name":20,"@type":75,"position":80},"https://docshare.wps.com/document/exam/",3,{"item":82,"name":64,"@type":75,"position":19},"https://docshare.wps.com/document/sp24-final-sol/786577/",{"url":82,"name":64,"@type":84,"image":85,"author":90,"headline":64,"publisher":93,"fileFormat":96,"inLanguage":63,"description":66,"dateModified":97,"datePublished":98,"encodingFormat":96,"isAccessibleForFree":99,"interactionStatistic":100},"DigitalDocument",{"url":86,"@type":87,"width":88,"height":89},"https://docshare.wps.com/thumbnails/sp24-final-sol/786577.png","ImageObject",300,407,{"name":91,"@type":92},"Cart","Person",{"url":73,"name":94,"@type":95},"DocShare","Organization","application/pdf","2026-12-05","2026-12-04",true,{"@type":101,"interactionType":102,"userInteractionCount":8},"InteractionCounter",{"@type":103},"ViewAction",{"@type":105,"mainEntity":106},"FAQPage",[107,113,117],{"name":108,"@type":109,"acceptedAnswer":110},"What concepts are tested in the visible questions?","Question",{"text":111,"@type":112},"The questions cover Python lists, identity and equality, inheritance, methods, trees, environment diagrams, and interpreter output.","Answer",{"name":114,"@type":109,"acceptedAnswer":115},"What rules govern exam conditions?",{"text":116,"@type":112},"Students must work independently and may not use internet resources or collaborate. The exam is closed book and computer, with specified handwritten notes and an official reference sheet permitted.",{"name":118,"@type":109,"acceptedAnswer":119},"What kinds of questions appear in the assessment?",{"text":120,"@type":112},"Visible sections include conceptual questions, environment-diagram problems, and exercises predicting Python interpreter output.","https://schema.org",{"og:url":82,"og:type":123,"og:title":64,"og:site_name":94,"og:description":66},"article",{"robots":125,"canonical":82},"index,follow",{"doc_id":127,"site_id":62},786577,1796428620,{"code":4,"msg":5,"data":130},{"doc_id":127,"user_id":131,"nickname":91,"user_avatar":132,"doc_module":4,"category_id":19,"category_name":20,"doc_title":64,"doc_description":66,"doc_content":133,"file_id":134,"file_url":135,"file_type":136,"file_size":137,"view_count":8,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":138,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":66,"update_tm":128,"read_time":143,"preview_page_count":19,"preview_urls":144},18829141979164,"https://eur-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","DS C88C Computational Structures in Data Science  \nSpring 2024 final \u003CNAME>  \nINSTRUCTIONS  \n• Do NOT open the exam until you are instructed to do so!  \n• You must not collaborate with anyone inside or outside of C88C.  \n• You must not use any internet resources to answer the questions.  \n• If you are taking an online exam, at this point you should have started your Zoom / screen recording. If something happens during the exam, focus on the exam! Do not spend more than a few minutes dealing with proctoring.  \n• When a question specifies that you must rewrite the completed function, you should not recopy the doctests.  \n• The exam is closed book, closed computer, closed calculator, except your hand-written 8.5\" x 11\" cheat sheets of your own creation and the official C88C Reference Sheet  \n\n| Full Name |  |\n| --- | --- |\n| Student ID Number |  |\n| Official Berkeley Email (@berkeley.edu) |  |\n| What room are you in? |  |\n| Name of the person to your left |  |\n| Name of the person to your right |  |\n| By my signature, I certify that all the work on this exam is my own, and I will not discuss it with anyone until exam session is over. (please sign) |  |\n\nPOLICIES & CLARIFICATIONS  \n• If you need to use the restroom, bring your phone and exam to the front of the room.  \n• For fill-in-the-blank coding problems, we will only grade work written in the provided blanks.  \n• Unless otherwise specified, you are allowed to reference functions defined in previous parts of the same question.  \n• Please write your SID at the top of each page!  \n• You must include all answers within the boxes.  \n• If you must write outside the box, please draw an arrow.  \n• Use the blank space as scratch paper to work out your solutions.  \n\u003CNAME> SID:   2  \n1. (8.0 points) Conceptual Questions  \nPlease note that each part is ran independently of each other.  \n(a) (1.0 pt) Suppose the following code has been executed:  \nx = [1, 2, 3]  \ny = [4, 5, 6]  \nx.append(y.pop(2))  \nx.remove(3)  \nWhat is the value of x now?  \n[1, 2, 6]  \n(b) (2.0 pt) Suppose the following code has been executed:  \nx = []  \nx is [] \\# This returns False  \ny = x  \ny.append(88)  \nWhich of the following return True? (Select all that that apply.)  \n■ x is y  \n2 y is [88]  \n■  \nx == y  \n2 x == []  \n(c) (2.0 pt)  \n\\# Cat Class  \nclass Cat:  \ndef   init   (self, size, age):  \nself .size = size  \nself .age = age  \ndef meow(self):  \nprint( ' meow ' )  \n\\# Kitten Class  \nclass Kitten(Cat):  \n\\#Implementation Hidden  \nSally wants to use inheritance to help her create the Kitten class. Does the following code for Kitten’s init method correctly use inheritance?  \ndef   init   (self, age):  \nsuper() .  init   (age)  \n\\# No, the code will error because the Kitten class does not properly inherit from the Cat class  \n\\# Yes, the code uses inheritance to succesfully create the init method.  \nNo, the code will error because of a missing argument  \n\u003CNAME> SID:   3  \n(d) (2.0 pt) Now Sally wants to implement the meow method for the Kitten class. Suppose that the Kitten class no longer inherits from the Cat class. Additionally, we want a kitten to both meow and mew when the meow method is called. Does the code below accomplish this?  \ndef meow(self):  \nCat.meow(self)  \nprint( ' mew ' )  \n\\# No, the method does not get the kitten to both meow and mew Yes, this implementation of the meow method works correctly.  \n\\# No, the code does not properly call the meow method from the Cat class  \n(e) (1.0 pt) All branches of a tree are also themselves trees (i.e. they are all instances of the Tree class) .  \n\\# False True  \n\u003CNAME> SID:   4  \n2. (12.0 points) Michael Madness  \nFill in the environment diagram. For short answer questions, use relevant syntax and, if applicable, separate elements using commas. For example, if your answer is a list with integer elements 1, 2, and 3, write [1, 2, 3] . If your answer is 8.8, write 8.8. For string values, use single quotes, such as ' cs88 ' ; do not use double quotes, such as \"cs","cbCaikm6DbRsx6K9","https://ap.wps.com/l/cbCaikm6DbRsx6K9","pdf",348896,23,"English","# Instructions\n# Policies & Clarifications\n# Conceptual Questions\n# Michael Madness\n# What Would Python Do (WWPD)","[{\"question\":\"What concepts are tested in the visible questions?\",\"answer\":\"The questions cover Python lists, identity and equality, inheritance, methods, trees, environment diagrams, and interpreter output.\"},{\"question\":\"What rules govern exam conditions?\",\"answer\":\"Students must work independently and may not use internet resources or collaborate. The exam is closed book and computer, with specified handwritten notes and an official reference sheet permitted.\"},{\"question\":\"What kinds of questions appear in the assessment?\",\"answer\":\"Visible sections include conceptual questions, environment-diagram problems, and exercises predicting Python interpreter output.\"}]","sp24-final-sol | PDF",58,[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-04/f69dd9deb8d386edba44526c07f7179f.webp",983,1272,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-04/a440556a4c890ee27d926f5c7aaf7f1a.webp",982,1270,{"page_no":80,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-04/25d5a93e92c05bb8f19b2754b30e6dab.webp",981,1269,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-04/94f88ae97f1c7bde68799abe31e64e3e.webp",980,1268,{"list":162,"token":65},[163,170,176,183,190,196,202,208,214,221],{"doc_id":164,"doc_title":165,"file_type":136,"home_preview_img_url":166,"slug":167,"view_count":168,"category_name":20,"create_tm":169},313336,"AP Computer Science Principles Syllabus - 2020-21","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229907345169/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796574179&Signature=7KxP2JuvvZ%2FChSFz%2BiIIR75f9kM%3D","ap-computer-science-principles-syllabus-2020-21",14,1789897719,{"doc_id":171,"doc_title":172,"file_type":136,"home_preview_img_url":173,"slug":174,"view_count":19,"category_name":20,"create_tm":175},727274,"Data Structures Using Python - (R20A0503) Lecture Notes - B.TECH II Year I-Sem (R20)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230029071315/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796574179&Signature=U8qltvLwOk%2BfC%2FBk1IIfYYCbp7w%3D","data-structures-using-python-r20a0503-lecture-notes-btech-ii-year-i-sem-r20",1795232719,{"doc_id":177,"doc_title":178,"file_type":136,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":20,"create_tm":182},537966,"Spring 2023 - SAT Test Directions Translated into \u003CLanguage> for Students","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229943944383/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796574179&Signature=jpDOOLd%2BOJ8u%2FiHWUgWilwIncnA%3D","spring-2023-sat-test-directions-translated-into-language-for-students",13,1791605905,{"doc_id":184,"doc_title":185,"file_type":136,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":20,"create_tm":189},311478,"AP-Computer-Science-Principles-Syllabus","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229907585085/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796574179&Signature=r2hJfriVdyWGSobiu6ShitXtglE%3D","ap-computer-science-principles-syllabus",12,1789894343,{"doc_id":191,"doc_title":192,"file_type":136,"home_preview_img_url":193,"slug":194,"view_count":44,"category_name":20,"create_tm":195},311103,"Advanced Placement Administration Information - Spring 2023","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229907573921/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796574179&Signature=i0m2MBntT7J6XdVFSxGMUWhcVp4%3D","advanced-placement-administration-information-spring-2023",1789893496,{"doc_id":197,"doc_title":198,"file_type":136,"home_preview_img_url":199,"slug":200,"view_count":29,"category_name":20,"create_tm":201},622958,"Pearson Edexcel GCSE (9-1) Computer Science - Progression","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229963135670/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796574179&Signature=PoSF1OCNYDmCqfNNQKCT%2FErdeA0%3D","pearson-edexcel-gcse-9-1-computer-science-progression",1792467441,{"doc_id":203,"doc_title":204,"file_type":136,"home_preview_img_url":205,"slug":206,"view_count":34,"category_name":20,"create_tm":207},398907,"ACTS4307—Statistics for Risk Modeling - Fall 2024 Syllabus and Course Policy","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229919320345/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796574179&Signature=ZLDjY27Xy51df24w6WRwW3VkDG4%3D","acts4307-statistics-for-risk-modeling-fall-2024-syllabus-and-course-policy",1790489970,{"doc_id":209,"doc_title":210,"file_type":136,"home_preview_img_url":211,"slug":212,"view_count":34,"category_name":20,"create_tm":213},670907,"CS61B Data Structures - Midterm 1 - Spring 2019","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988353201/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796574179&Signature=kx4V27fob3HqxFlYj9GCf0X2sQA%3D","cs61b-data-structures-midterm-1-spring-2019",1793572666,{"doc_id":215,"doc_title":216,"file_type":136,"home_preview_img_url":217,"slug":218,"view_count":219,"category_name":20,"create_tm":220},398905,"MATH 454 Statistics for Risk Modeling - Spring 2026 Course Syllabus","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229919320258/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796574179&Signature=D5pugLme3saGAqkxRT74IOhWl30%3D","math-454-statistics-for-risk-modeling-spring-2026-course-syllabus",11,1790489963,{"doc_id":222,"doc_title":223,"file_type":136,"home_preview_img_url":224,"slug":225,"view_count":181,"category_name":20,"create_tm":226},496471,"AUMT 2334-271 Engine Performance Analysis II - Course Syllabus","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229929849500/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796574179&Signature=QgIW7PNHLe9FGmNOQoBx6XgJOOE%3D","aumt-2334-271-engine-performance-analysis-ii-course-syllabus",1790932610]