<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>AP CS A PERIOD 7 MC QUESTION EVAL by Cheri Whalen</title>
      <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg</link>
      <description>ADD YOUR INFORMATION 
STATE YOUR NAME FIRST
EVALUATE YOUR ANSWER
PLACE THE NUMBER OF THE MC QUESTION YOU KNOW YOU CAN ANSWER CORRECTLY. NAME THE OBJECTIVE AND EXPLAIN THE ANSWER</description>
      <language>en-us</language>
      <pubDate>2016-08-25 18:05:01 UTC</pubDate>
      <lastBuildDate>2016-08-25 18:41:18 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url>https://padlet-assets.s3.amazonaws.com/icons/Dartstarget.png</url>
      </image>
      <item>
         <title>Mastery Check- Griffin Johnson</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119893634</link>
         <description><![CDATA[<div>Question 1: A large java program was tested extensively, and no errors were found. What can be concluded?&nbsp;<br>A. All of the preconditions are correct.<br>B. All of the postconditions are correct<br>c. The program may have bugs<br>d. the program has no bugs<br>e. Every method in the program may safely&nbsp; be used in other programs<br>Answer: C<br>The program may have bugs. This is because the program may run, but we do not know if there are any bugs in the code. If the program runs, it may be written correctly, but there could be bugs.</div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:12:27 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119893634</guid>
      </item>
      <item>
         <title>Anjali Sundaram</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119894404</link>
         <description><![CDATA[<div>Question 1: A large Java program was tested extensively, and no errors were found. What can be concluded?&nbsp;<br>Objective: Basic Knowledge<br>(A) All of the preconditions are correct<br>(B) All the preconditions are correct<br>(C) The program may have bugs<br>(D) The program has no bugs<br>(E) Every method in the program may safely be used in other programs<br>Answer: (C) - because while a program might come up negative for bugs, doesn't mean that it is negative for all bugs, it might just negative for what that program was testing. &nbsp;<br><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:14:42 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119894404</guid>
      </item>
      <item>
         <title>Question 1: Shiva Kumar</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119894579</link>
         <description><![CDATA[<div>A large Java program was tested extensively, and no errors were found.<br>Answer C<br><br>A) All of the preconditions in the program are correct<br>B) All of the post conditions in the program are correct<br>C) The program may have bugs<br>D) The program has no bugs<br>E) Every method in the program may safely be used in other programs<br><br>testing the knowledge of the student's understanding of basic java. The answer is C because any program regardless may have bugs because of all the possibilities of bugs there are in the world of java. Basically we have to understand the concepts of abstract classes and interfaces.</div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:15:06 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119894579</guid>
      </item>
      <item>
         <title>Himaani Ramesh</title>
         <author>himaani_ramesh81</author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119894611</link>
         <description><![CDATA[<div>Question 6: Refer to the following method.&nbsp;<br><br>public static int mystery(int n)<br>{&nbsp;<br>&nbsp; &nbsp; if (n ==1)&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; return 3;<br>&nbsp; &nbsp;else<br>&nbsp; &nbsp; &nbsp; &nbsp; return 3 * mystery(n-1);<br>}<br><br>What vale does mystery(4) return?<br>A. 3<br>B. 9&nbsp;<br>C.12<br>D. 27<br>E. 81&nbsp;<br><br>Correct Answer : E<br>Explanation: When 4 is passed in as the parameter for int mystery, it goes to the else part of the method because 4 is not equal to 1.  The else part of the method changes the value of the int to (n-1). This turns the value into 3, and this continues to happen 3 more times to make n = 0. Once this happens the end output is 81. </div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:15:12 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119894611</guid>
      </item>
      <item>
         <title>Sachin Bose</title>
         <author>sachin_bose90</author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119894856</link>
         <description><![CDATA[<div>1.<br>A large Java program was tested extensively and no errors were found. What can be concluded?<br><br>A. All of the preconditions are correct.<br>B. All of the postconditions are correct<br>C. The program may have bugs<br>D. Every method in the program may safely be used in other programs<br>E. Every method in the program may safely&nbsp; be used in other programs<br>Answer:<br>C, because it is generally impossible to test all possible sets of code</div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:15:54 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119894856</guid>
      </item>
      <item>
         <title>Question 6 Ian Falk</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119894917</link>
         <description><![CDATA[<div>Refer to the following method.<br>public static int mystery(int n)<br>{<br>&nbsp; &nbsp;if (n == 1)<br>&nbsp; &nbsp; &nbsp; &nbsp;return 3;<br>&nbsp; &nbsp;else&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp;return 3 * mystery(n - 1);<br>}<br><br>What value does Mystery(4) return?<br>A) 3<br>B) 9<br>C) 12<br>D) 27<br>E) 81<br><br>Correct Answer: E<br>Objective: Static class variables<br>Explanation:&nbsp;<br>When you pass 4 into mystery() it skips over the if part of the statement and instead goes into the Else part. In there you keep passing the variable into mystery(n-1) until it reaches 0, therefore you get<br>3 * mystery(3) = 9<br>3 * 3 * mystery(2) = 27<br>3 * 3 * 3 * mystery(1) = 81<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:16:08 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119894917</guid>
      </item>
      <item>
         <title>Question 7 MARSTON</title>
         <author>Marston</author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119894930</link>
         <description><![CDATA[<div>Refer to the following declarations:<br>String [] color = {"red", "green", "black"};<br>List&lt;String&gt; colorlist = new ArrayList&lt;String&gt;();<br><br>Which of the following correctly assigns the elements of the color array to colorlist? The final ordering of color in colorlist should be the same as in the colorarray.<br><br>I for (String col : colors)<br>colorList.add(col);<br><br>II for (String col : colorList)<br>colors.add(col);<br><br>III for (int i = color.length - 1; i &gt;= 0; i--)<br>colorList.add(i, colors[i]);<br><br>Answers:<br>1. I only<br>2. II only<br>3. III only<br>4. II and II only<br>5. I, II, and III<br><br>Correct Answer: A</div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:16:11 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119894930</guid>
      </item>
      <item>
         <title>Question 4 Will Benson</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119896112</link>
         <description><![CDATA[<div>A Client method computePay will return a worker's pay based on the number of hours worked.&nbsp;<br>Precondition: Worker w has worked the given number of hours<br>@param w a Worker<br>@param hours the number of hours worked<br>@return amount of pay for Worker w<br>public static double computePay(Worker w, double hours)<br>/*code*/<br>Which replacement for /*code*/ is correct?<br>A. return hourlyWage * hours;<br>B. return getHourlyWage() * hours;<br>C. return w.getHourlyWage() * hours;<br>D. return w.hourlyWage * hours;<br>E. return w.getHourlyWage() * w.hours;<br>The correct answer is C<br>Because the method is client side you would not be able to acces the private variables. B is wrong because the getHourlyWage is part of the worker class and E is also wrong because hours is not part of the workers class. C is correct.&nbsp;<br>This is shown in objective 20, That students must be able to know how to construct objects and call upon their methods and how to differentiate them from variables.</div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:19:24 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119896112</guid>
      </item>
      <item>
         <title>Question 1 : Prakhar SIngh </title>
         <author>prakhar_singh26</author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119896230</link>
         <description><![CDATA[<div>A large Java program was tested extensively, and no errors were found. What can be concluded?<br>A. All of the preconditions are correct.<br>B. All of the postconditions are correct<br>C. The program may have bugs<br>D. the program has no bugs<br>E. Every method in the program may safely&nbsp; be used in other programs .<br><br>Answer: C<br>Even it there are no errors that doesn't mean it's correct. It could have a completely different function.<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:19:43 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119896230</guid>
      </item>
      <item>
         <title>&amp;nbsp;</title>
         <author>himaani_ramesh81</author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119896546</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:20:43 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119896546</guid>
      </item>
      <item>
         <title>Question 1 &amp;nbsp; &amp;nbsp; &amp;nbsp;Michael Sychev</title>
         <author>michael_sychev13</author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119896573</link>
         <description><![CDATA[<div>A large Java program was tested extensively, and no errors were found.<br>Answer C<br><br>A) All of the preconditions in the program are correct<br>B) All of the post conditions in the program are correct<br>C) The program may have bugs<br>D) The program has no bugs<br>E) Every method in the program may safely be used in other programs<br><br>Even if the program has no errors it still may not accomplish what the programmer intends it to do. </div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:20:47 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119896573</guid>
      </item>
      <item>
         <title>&amp;nbsp;</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119896576</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:20:47 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119896576</guid>
      </item>
      <item>
         <title>Sachin Bose</title>
         <author>sachin_bose90</author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119896628</link>
         <description><![CDATA[<div>22<br>If a,b, and c are integers, which of the following conditions is sufficient to guarantee that the expression a &lt; c I I a &lt; b &amp;&amp; !(a==c) is true?<br>A. a &lt; c&nbsp;<br>B. a &lt; b<br>C. a &gt; b<br>D. a == b<br>E. a == c<br><br>Answer:&nbsp;<br>A, because in the expression the values have to be true for the expression to be true. That is why a &lt; c has to be the answer because it is given in the expression</div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:20:55 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119896628</guid>
      </item>
      <item>
         <title>Reece Replogle</title>
         <author>nathan_replogle21</author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119896804</link>
         <description><![CDATA[<div>22<br>If a, b, and c are integers, which of the following conditions is sufficient to guarantee that the expression<br><br>a &lt; c || a &lt; b &amp;&amp; !(a == c)<br><br>evaluates to true?<br>(A) a &lt; c<br>(B) a &lt; b<br>(C) a &gt; b<br>(D) a == b<br>(E) a == c<br><br>The correct answer is (A) because, since a &lt; c in the expression is evaluated before any other expression because of the ||, if that expression is true, then the other side of the || will be true. For example: if value1 of the expression is true, the rest of the expression will be true;  true || any. This ensures that the expression will evaluate to true.</div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:21:23 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119896804</guid>
      </item>
      <item>
         <title>Griffin Johnson</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119896833</link>
         <description><![CDATA[<div>Question 8<br>Often the most efficent computer algorithims use a divide-and-conquer approach, for example, one in which a list is repeadetely split into two pieces until a desiredoutcome is reached. Which of the following use a divide and conquer approach.<br>I Mergesort<br>II Insertion Sort<br>III Binary search<br>A. I only<br>B II only<br>C. III Only<br>D. I and III only<br>E. I, II, and III<br><br>Answer: D<br><br>D is the answer because both insertionsort and mergesort take pairs of variables and sort them into the best possible outcome in the most efficent amount of time. Binary Search does not sort numbers this way because it sorts using a pairing algorithim.The search algorithim, which is practical for the Binary Search algorithm to run. </div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:21:30 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119896833</guid>
      </item>
      <item>
         <title>Lauren Whiteley</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119897064</link>
         <description><![CDATA[<div>Question 17<br>An&nbsp; algorithm for finding the average numbers is" "&nbsp;<br>If N is 0, when will the error be detected?<br>answer D<br>explanation: Only when the code is running will it register that N in that instance equals 0 and that is when it will catch the error. </div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:22:11 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119897064</guid>
      </item>
      <item>
         <title>Question 10: Mia Allen</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119897452</link>
         <description><![CDATA[<div>Which of the following correctly creates a Customer object c?<br>1. Address a = new Address("125 Bismark St", "Pleasantville", "NY", 14850);<br>Customer c = new Customer("Jack Pratt", "747-1674", a, 7008);<br>2. Customer c = new Customer("Jack Pratt", "747-1674", "125 Bismark St, Pleasantville, NY 14850") , 7008);<br>3. Customer c = new Customer("Jack Pratt", "747-1674", new Address("125 Bismark St", "Pleasantville", "NY", 14850), 7008);<br><br>(A) 1 only<br>(B) 2 only<br>(C) 3 only<br>(D)&nbsp;1 and 2 only<br>(E) 1 and 3 only<br><br>The objective of this question is to design classes. And the answer to this this question is E. The problem with B and D are with 2. 2 combines all the components of the address into one string when there are more productive ways to put the needed information into the object. It also does not use the Address constructor correctly. The reason E is correct over A and C is that it has both of their answers, and both of the answers are correct ways to create a Customer object. 3 is just a more succinct way of writing the code and takes up less space.</div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:23:19 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119897452</guid>
      </item>
      <item>
         <title>Anjali Sundaram</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119897578</link>
         <description><![CDATA[<div>Question 22: If a,b, and c are integers, which of the following conditions is sufficient to guarantee that the expression a &lt; c I I a &lt; b &amp;&amp; !(a==c) is true?<br>Objective: &amp;&amp;, ||, ! and short-circuit evaluation<br>(A) a &lt; c&nbsp;<br>(B) a &lt; b<br>(C) a &gt; b<br>(D) a == b<br>(E) a == c<br>Answer: (A) because if Value 1 is true, then the entire statement, is true. Thus, Value 1 will maintain to be true no matter what statements prove false.&nbsp;</div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:23:39 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119897578</guid>
      </item>
      <item>
         <title>Sachin Bose</title>
         <author>sachin_bose90</author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119898057</link>
         <description><![CDATA[<div>31<br>Refer to these declarations in a client program:<br>ThreeDigitInteger code = new ThreeDigitCode(127);<br>ThreeDigitInteger num&nbsp; = new ThreeDigitInteger(456);<br><br>Which of the following will not cause an error?<br>I. if (code.isValid())<br>II. if (num.isValid())<br>III. if(((ThreeDigitCode)code).isValid())<br><br>A. I only<br>B. II only<br>C. III only<br>D. I and II only<br>E. I and III only<br><br>Answer:&nbsp;C, because the class ThreeDigitInteger does not have an isValid method. To avoid the error object used has to be ThreeDigitCode which the actual type.<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:25:05 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119898057</guid>
      </item>
      <item>
         <title>Shiva kumar Question 22</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119898295</link>
         <description><![CDATA[<div>If a,b, and c are integers, which of the following conditions is sufficient to guarantee that the expression <br><br>a &lt; c II a &lt; b &amp;&amp; ! ( a == c)<br><br>A) a &lt; c<br>B) a &lt; b<br>C) a &gt; b<br>D) a == b<br>E) a == c<br><br>The answer is A because a has to be less than c in order to make the statement always true . It will be true because of the fact that a will be equal to c</div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:25:46 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119898295</guid>
      </item>
      <item>
         <title>Question 6   Michael Sychev</title>
         <author>michael_sychev13</author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119898496</link>
         <description><![CDATA[<div>Refer to the following method<br><br>Refer to the following method.<br>public static int mystery(int n)<br>{<br>&nbsp; &nbsp;if (n == 1)<br>&nbsp; &nbsp; &nbsp; &nbsp;return 3;<br>&nbsp; &nbsp;else&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp;return 3 * mystery(n - 1);<br>}<br><br>What value does Mystery(4) return?<br>A) 3<br>B) 9<br>C) 12<br>D) 27<br>E) 81<br><br>answer E&nbsp; 3^4=81<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:26:22 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119898496</guid>
      </item>
      <item>
         <title>Griffin Johnson</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119899145</link>
         <description><![CDATA[<div>Question 9&nbsp;<br>An Insect Class is to be written, containing the following data fields:<br>nextAvaiableID, which will be initialized to 0 outside the constructor and incremented each timer an insect is constructed.<br>idNum, which is initialized to the current value of nextAvaiableID when an Insect is constructed.<br>position, which will be initialized to the location in a garden where insect is facing when placed in the garden.<br>Which variable in the Insect class should be static?<br>A. age<br>b. nextAvaiableID<br>c idNum<br>d. position<br>e. direction<br><br>Answer: D<br>D is the answer because position's value will stay constant throughout the entire stage of the program since it is only hooked to Insect class. If positon were to become a dynamic variable, as it is changed throughout the program, then the location and age variables would be ruined. <br><br>Objective: public classes, private instance variables,public or private methods or constants</div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:28:18 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119899145</guid>
      </item>
      <item>
         <title>Question 1 MARSTON</title>
         <author>Marston</author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119899269</link>
         <description><![CDATA[<div>A Large java program was tested, and no errors were found. What can be concluded?<br><br>Answers:<br>1. All of the preconditions in the program are correct.<br>2. The program may have bugs<br>3. The program has no bugs<br>4. Every method in the program may safely be used in other programs<br><br>Correct Answer: C</div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:28:43 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119899269</guid>
      </item>
      <item>
         <title>Question 6 Will Benson</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119899395</link>
         <description><![CDATA[<div>public static int mystery(int n)<br>{<br>if (n == 1)<br>return 3;<br>else<br>return 3 * mystery(n-1);<br>}<br>What value does mystery(4) return?<br>A. 3<br>B. 9<br>C. 12<br>D. 27<br>E. 81<br>The correct answer is 81<br>The mystery function takes a power and applies it to three. 3 to the power of 4 is 81.<br>Objective 17, students must be able to understand the control structure of if/else statements.<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:29:05 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119899395</guid>
      </item>
      <item>
         <title>Lauren Whiteley &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Question 22 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If a, b, and c are integers, which of the following conditions is sufficient to guarantee that the expressiona &amp;lt; c || a &amp;lt; b &amp;amp;&amp;amp; !(a == c)evaluates to true?(A) a &amp;lt; c(B) a &amp;lt; b(C) a &amp;gt; b(D) a == b(E) a == c</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119899885</link>
         <description><![CDATA[<div>answer A <br>Objective:&amp;&amp;, ||, ! and short-circuit evaluation<br>explanation: If a is less than c than it therefore cannot be equal to c which always makes the statement true.</div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:30:30 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119899885</guid>
      </item>
      <item>
         <title>Anjali Sundaram</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119900621</link>
         <description><![CDATA[<div>Question 6:&nbsp;<br>Objective: Return Statements <br>Refer to the following method.<br>public static int mystery(int n)<br>{<br>&nbsp; &nbsp;if (n == 1)<br>&nbsp; &nbsp; &nbsp; &nbsp;return 3;<br>&nbsp; &nbsp;else&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp;return 3 * mystery(n - 1);<br>}<br>What value does Mystery(4) return?<br>(A) 3<br>(B) 9<br>(C) 12<br>(D) 27<br>(E) 81<br>Answer: (E) because, first you will plug in 4 into n.&nbsp;<br>4-1 = 3. So you will multiply 3*3 =9. Then you for n, you will plug in all the number from 4-1 including 1. This will ultimately give you 3^4 = 81.&nbsp;<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:32:36 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119900621</guid>
      </item>
      <item>
         <title>Question 32 Ian Falk</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119900714</link>
         <description><![CDATA[<div>Consider the following hierarchy of classes:<br>Parakeet -&gt; Parrot -&gt; Bird<br>Owl -&gt; Bird<br><br>Assuming that each class has a valid default constructor, which of the following declarations in a client program are correct?<br><br>I. Bird b1 = new Parrot();<br>&nbsp; &nbsp;Bird b2 = new Parakeet();<br>&nbsp; &nbsp;Bird b3 = new Owl();<br><br>II. Parakeet p = new Parrot():<br>&nbsp; &nbsp; Owl o = new Bird();<br><br>III. Parakeet p = new Bird();<br><br>A) I only<br>B) II only<br>C) III only<br>D) II and III only<br>E) I,II, and III<br><br>Objective: "Understand inheritance hierarchies. Design and implement subclasses. Modify subclass implementations and implementations of interfaces."<br><br>Answer: A<br>Explanation:<br>I. Is correct because a parrot can be a bird, a parakeet can be a bird, and a owl can be a bird.&nbsp;<br><br>II. Is incorrect because a Parakeet cant be a parrot, and a bird is not always a owl.&nbsp;<br><br>III. Is incorrect as a bird is not always a parakeet.&nbsp;<br><br>Therefore only I is correct, which means A is the correct answer. </div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:32:59 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119900714</guid>
      </item>
      <item>
         <title>Question 6 :Prakhar Singh&amp;nbsp;</title>
         <author>prakhar_singh26</author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119900787</link>
         <description><![CDATA[<div>Refer to the following method.<br>public static int mystery(int n)<br>{<br>   if (n == 1)<br>       return 3;<br>   else <br>       return 3 * mystery(n - 1);<br>}<br><br>What value does Mystery(4) return?<br>A) 3<br>B) 9<br>C) 12<br>D) 27<br>E) 81<br><br>Answer: E<br>4 -1 = 3<br>3 * mystery (3)<br>3-1 = 2<br>3 * 3 * mystery (2)<br>2-1 = 1<br>3 * 3 * 3 * mystery(1)<br>3 * 3 * 3 * 3 = 81<br>-------------------------------------------------------------------------------------</div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:33:12 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119900787</guid>
      </item>
      <item>
         <title>Question 22: Prakhar Singh</title>
         <author>prakhar_singh26</author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119901067</link>
         <description><![CDATA[<div>If a, b, and c are integers, which of the following conditions is sufficient to guarantee that the expression<br><br>a &lt; c || a &lt; b &amp;&amp; !(a == c)<br><br>evaluates to true?<br>(A) a &lt; c<br>(B) a &lt; b<br>(C) a &gt; b<br>(D) a == b<br>(E) a == c<br><br>A<br>a &lt; c is guaranteed to make the expression true, any of the other answer choices will give untrue answers</div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:34:09 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119901067</guid>
      </item>
      <item>
         <title>Michael Sychev Question 8</title>
         <author>michael_sychev13</author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119901231</link>
         <description><![CDATA[<div>Often the most efficient computer algorithms use a divide-and-conquer approach, for example, one in which a list is repeatedly split into two pieces until a desired outcome is reached. Which of the following use a divide and conquer approach.<br>I Merge sort<br>II Insertion Sort<br>III Binary search<br>A. I only<br>B II only<br>C. III Only<br>D. I and III only<br>E. I, II, and III<br>D because insertion sort just builds one array item at one at a time.<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:34:46 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119901231</guid>
      </item>
      <item>
         <title>Question 9 Will Benson</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119901704</link>
         <description><![CDATA[<div>An Insect Class is to be written, containing the following data fields:<br>nextAvaiableID, which will be initialized to 0 outside the constructor and incremented each timer an insect is constructed.<br>idNum, which is initialized to the current value of nextAvaiableID when an Insect is constructed.<br>position, which will be initialized to the location in a garden where insect is facing when placed in the garden.<br>Which variable in the Insect class should be static?<br>A. age<br>b. nextAvaiableID<br>c idNum<br>d. position<br>e. direction<br>The correct answer is D. The position is not dynamic for it stays constant throughout the program.<br>Objective: public classes, private instance variables,public or private methods or constants</div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:36:32 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119901704</guid>
      </item>
      <item>
         <title>Reece Replogle</title>
         <author>nathan_replogle21</author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119901845</link>
         <description><![CDATA[<div>19<br>Consider getCount below:<br><br>public static int getCount (String s, String sub)<br>{<br>&nbsp; &nbsp; &nbsp; &nbsp; int count = 0;<br>&nbsp; &nbsp; &nbsp; &nbsp; int pos = s.indexOf(sub);<br>&nbsp; &nbsp; &nbsp; &nbsp; while (pos &gt;= 0)<br>&nbsp; &nbsp; &nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;s = s.substring(pos);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;count++;<br>               <br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:36:58 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119901845</guid>
      </item>
      <item>
         <title>Shiva Kumar : Question 8</title>
         <author></author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119902140</link>
         <description><![CDATA[<div>Often the most efficient computer algorithms use a divide-and conquer approach, for example, one in which a list repeatedly split into two pieces until a desired outcome is reached. Which of the following use a divide-and </div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:37:57 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119902140</guid>
      </item>
      <item>
         <title>Himaani Ramesh</title>
         <author>himaani_ramesh81</author>
         <link>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119902540</link>
         <description><![CDATA[<div>Question 17: An algorithm for finding the average of N numbers is&nbsp;<br>average = sum/N<br>where N and sum are both integers</div>]]></description>
         <enclosure url="" />
         <pubDate>2016-08-25 18:39:10 UTC</pubDate>
         <guid>https://padlet.com/cheri_whalen/8h3s6eyr02gg/wish/119902540</guid>
      </item>
   </channel>
</rss>
