[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-341473-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-341473-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","ap-computer-science-principles-written-response-prompts-set-2","AP® Computer Science Principles Written Response Prompts Set 2","","AP® Computer Science Principles Section II Written Response Prompts Set 2 provides a 60-minute assessment format with two questions totaling four written-response prompts. The questions focus on analyzing Create Performance Task code submitted earlier through the Personalized Project Reference, including behavior under unexpected or invalid input, identifying Boolean expressions and values that evaluate to false, predicting logic errors from modified code segments, and explaining procedure functionality and maintainability. Guidance covers planning notes, annotation handling, navigation between prompts, and timing when 5 minutes remain.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/exam/","Exam",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/ap-computer-science-principles-written-response-prompts-set-2/341473/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/ap-computer-science-principles-written-response-prompts-set-2/341473.png","ImageObject",300,407,{"name":42,"@type":43},"Aditya","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-04","2026-09-22",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",10,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"How long is Section II and how many written-response prompts does it include?","Question",{"text":63,"@type":64},"Section II lasts 60 minutes and includes 2 questions with 4 written-response prompts in total.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What source should students use to answer these prompts?",{"text":68,"@type":64},"Students must refer to the Create Performance Task code from their submitted work, using their Personalized Project Reference for the relevant code segments.",{"name":70,"@type":61,"acceptedAnswer":71},"What topics are covered by Question 1 and Question 2?",{"text":72,"@type":64},"Question 1 asks for the program’s behavior with unexpected or invalid input. Question 2 asks students to analyze a Boolean expression, identify values that make it evaluate to false, explain logic errors from code modifications, and describe procedure functionality and maintainability.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},341473,1790158497,{"code":4,"msg":82,"data":83},"success",[84,88,92,95,100,105,110,115,120,123,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":93,"slug":94},70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},6,"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":112,"show_sort_weight":113,"slug":114},8,"Research & Report",30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":55,"slug":125},"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":33,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":33,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":143,"read_time":55,"preview_page_count":4},962085564549,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","2025  \nAP® Computer Science Principles  \nWritten Response Prompts Set 2  \n© 2025 College Board. College Board, Advanced Placement, AP, AP Central, and the acorn logo are registered trademarks [of College Board. Visit College Board on the web: collegeboard.org](of College Board. Visit College Board on the web: collegeboard.org).  \nAP Central is the official online home for [the AP Program: apcentral.collegeboard.org](the AP Program: apcentral.collegeboard.org).  \nCOMPUTER SCIENCE PRINCIPLES  \nSECTION II  \nTIME – 60 MINUTES  \nDirections:  \nSection II has 2 questions (4 written-response prompts) and lasts 60 minutes. The questions for this section are based on the Create Performance Task you previously submitted. Refer to your Personalized Project Reference for the code segments related to your list and procedure. You may use scratch paper for notes and planning, but credit will only be given for responses entered in this application. Text you enter as an annotation will not be included as part of your answer. You can go back and forth between questions in this section until time expires. The clock will turn red when 5 minutes remain—the proctor will not give you any time updates or warnings.  \nNote: This exam was originally administered digitally. It is presented here in a format optimized for teacher and student use in the classroom.  \n© 2025 College Board.  \n[Visit College Board on the web:](Visit College Board on the web: collegeboard.org 2)[ collegeboard.org](Visit College Board on the web: collegeboard.org 2)[ 2](Visit College Board on the web: collegeboard.org 2)  \nAP COMPUTER SCIENCE PRINCIPLES 2025 n FREE-RESPONSE QUESTIONS  \n1. Identify an unexpected or invalid input that a user could provide to your program. Describe the behavior of your program after it receives this input. If it is not possible for your program to accept an unexpected or invalid input, explain why this is the case.  \n© 2025 College Board.  \n[Visit College Board on the web:](Visit College Board on the web: collegeboard.org 3)[ collegeboard.org](Visit College Board on the web: collegeboard.org 3)[ 3](Visit College Board on the web: collegeboard.org 3)  \nAP COMPUTER SCIENCE PRINCIPLES 2025 n FREE-RESPONSE QUESTIONS  \n2. Refer to your Personalized Project Reference when answering this question.  \nA. Consider the first selection statement included in the Procedure section of your Personalized Project Reference. Identify the Boolean expression in this selection statement. Identify a specific value or set of values that will cause this expression to evaluate to false. Explain why the specified value(s) will cause this expression to evaluate to false.  \nB. Consider the code segment in part (ii) of the List section of your Personalized Project Reference. Suppose another programmer modifies this code segment. Describe a modification the other programmer could make to this code segment that would result in a logic error. Explain why this modification would result in a logic error.  \nC. Consider the procedure identified in part (i) of the Procedure section of your Personalized Project Reference. Describe the functionality provided by this procedure. Explain how implementing this functionality as a procedure results in your program being easier to maintain than if the functionality were not implemented as a procedure.  \nSTOP  \nEND OF EXAM  \n© 2025 College Board.  \n[Visit College Board on the web:](Visit College Board on the web: collegeboard.org 4)[ collegeboard.org](Visit College Board on the web: collegeboard.org 4)[ 4](Visit College Board on the web: collegeboard.org 4)","cbCaiqRSRmHHebED","https://ap.wps.com/l/cbCaiqRSRmHHebED","pdf",180925,"English","# Section II\n## Written Response Prompts Set 2\n### Question 1\n### Question 2 (A-C)","[{\"question\":\"How long is Section II and how many written-response prompts does it include?\",\"answer\":\"Section II lasts 60 minutes and includes 2 questions with 4 written-response prompts in total.\"},{\"question\":\"What source should students use to answer these prompts?\",\"answer\":\"Students must refer to the Create Performance Task code from their submitted work, using their Personalized Project Reference for the relevant code segments.\"},{\"question\":\"What topics are covered by Question 1 and Question 2?\",\"answer\":\"Question 1 asks for the program’s behavior with unexpected or invalid input. Question 2 asks students to analyze a Boolean expression, identify values that make it evaluate to false, explain logic errors from code modifications, and describe procedure functionality and maintainability.\"}]","AP® Computer Science Principles Written Response Prompts Set 2 | PDF",1790042039]