id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

james.shockey@austinisd.org ap_logic01

80% Group {

....Cigar party cigarParty H  

....Date Fashion dateFashion H  

....SquirrelPlay squirrelPlay 

....AlarmClock alarmClock 

....nearTen nearTen 

....answerCell answerCell 

....shareDigit shareDigit 

}

90% Group {

....teaParty teaParty 

....fizzString fizzString H  

....fizzString2 fizzString H   //must use an if / else if / else

....twoAsOne twoAsOne  //using only a return statement (no if statements)

}

100% Group {

....inOrder inOrder  //// using only a return statement (no if statements) //// can only use the bOk term one time

....inOrderEqual inOrderEqual  //// using only a return statement (no if statements) //// can not use < or ==

....lastDigit lastDigit  //// can not use == //// Hint: Use DeMorgan's Law (it works with 3 terms as well as with 2). //// e.g. not ( a == 5 or b == 6 ) is the same as a != 5 and b != 6

....lessBy10 lessBy10 H   //// using only a return statement (no if statements) //// can use no more than three ==, <=, or >=.

....maxMod5 maxMod5  //// can not use Math.max and Math.min //// must use at most one if and one if / else if / else

}
Authoring docs

Copyright Nick Parlante 2017 - privacy