130 likes | 491 Views
AP Free Response Strategies. Organize Alpha by First Name. Learning Objectives. Review with a couple of Dry Runs Incorporate best practices in solving FRQs. Practice solving FRQs. Dry Run. if (a < b) { if (b < c) { if (c < 10) { System.out.println ("one") }
E N D
AP Free Response Strategies Organize Alpha by First Name
Learning Objectives • Review with a couple of Dry Runs • Incorporate best practices in solving FRQs. • Practice solving FRQs
Dry Run if (a < b) { if (b < c) { if (c < 10) { System.out.println("one") } else if (c < a) { System.out.println("two") } } } else { if (c < a) { System.out.println("three") } else { System.out.println("four") } } Dry run give for each of the following I. a = 5, b = 6, c = 7 II. a = 8, b = 7, c = 6 III. a = 10, b = 20, c = 30
Dry Run String phrase = "Here is the word"; intpsn = phrase.indexOf("e"); while (psn >= 0) { System.out.print(psn+ " "); phrase = phrase.substring(psn + 1); psn= phrase.indexOf("e"); }
Free Response Questions Best Practices • Next we will take a look at some suggestions for attacking AP Free Response Questions
Read the Questions Carefully • The questions are usually presented in three ways: a paragraph, through code, or with an example. • As you read, underline the tasks you need to accomplish as well as the variables and methods you have at your disposal. • It’s important to read through preconditions and postconditions so that you’re aware of what you can expect to be true at the start of writing a method and what must be true at the conclusion of the method. • Also consider the method headers carefully: they can be used to identify the parameters available to write the solution and type for the return value. • While examples provide guidance and clarity in a question, avoid writing code that only suits those examples.
Answer the Question you’re most confident about • Determine which questions you feel most prepared to answer. Then you can start to solve the questions in a sequence that allows you to perform your best.
Keep and Eye on Your Time • Monitor your time carefully. • Make sure not to spend too much time on any one question so that you have enough time to answer all of them. • If you do work that you think is incorrect, simply put an “X” through it instead of spending time erasing it completely: crossed-out work won’t be graded.
Try to Solve All Parts of a Question • Many free-response questions are divided into parts such as (a), (b), and (c), with each part requiring a different response. • Credit for each part is awarded independently, so you should attempt to solve each part. • For example, you may receive no credit for your answer to part (a), but still receive full credit for part (b), or (c). • If the answer to a later part of a question depends on the answer to an earlier part, you may still be able to receive full credit for the later part, even if that earlier answer is wrong.
Be Organized and Clear in Your Programming • Organize, indent, assign meaningful variable names, and write neatly. • Take the time to plan out your solution before beginning to write code. • When writing your solution, leave room between lines of code in case you need to insert something you forgot. • And remember that comments are not a substitute for correct code!
Only Use Classes Given To You Tor The Exam • Avoid using classes that aren't specifically given to you as part of the exam and aren’t part of the AP Java subset. • While you may have developed or used other classes in your AP course (such as Date or Sort), don't use them in your responses on the exam. • TheQuick Reference guide (.pdf/49.4KB) gives the classes and methods that are part of the AP Java subset.
Practice • Answering free-response questions from previous AP Exams is a great way to practice: it allows you to compare your own responses with those that have already been evaluated and scored. • Free-response questions and scoring guidelines are available on the Exam Practice page for AP Computer Science A.
Summary • Read the Questions Carefully • Answer the Question you’re most confident about • Keep and Eye on Your Time • Try to Solve All Parts of a Question • Be Organized and Clear in Your Programming • Only Use Classes Given To You Tor The Exam • Practice