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

konstans@stuy.edu intro

Testing Codingbat

sleep_in H   negate  between 

Basic Calculation

square H   funkyCalc 

distance  ftoc  ctof 

evalQuadratic 

Basic Booleans

isBig  isEven 

monkey_trouble H   parrot_trouble H  

makes10 H   near_hundred H   pos_neg H  

Decisions: (numerical)

diff21 H   no_teen_sum  sorta_sum 

lone_sum  lucky_sum  round_sum 

More booleans: (can be done without if statements, but using an if-statemnet can partition your logic)

make_bricks  close_far 

Magic Pair (more complex descision)

magicPair 

Loop numbers

sumFromZeroToN H   sumAtoB  fiveSumFromZeroToN  specialSumInclusive 

specialSumExclusive  sumOfFirstNSquares  sumSquaresBetween  sumOfPowers 

Looping over digits

sumDigits 

countDigits  countOddDigits  countPrimeDigits 

Hailstone

hailLen  maxHail  maxHailRange 

String no loops

hello_name H   make_abba H   make_tags 

make_out_word  extra_end  first_two 

without_end  left2 

Strings and Loops

countLetter  findLetter 

findWord  countWord 

isVowel  countVowels  noVowels  isConsonant 

Character Manipulation:

shiftCharacterByOne  shiftCharacter  shiftWordByOne  shiftWord  myUpper  myCapitalize 

Rot13 and chr()/ord() related problems:

rot13Char  rotXChar  rot13  rotX  myInt 

String 2 from the main codingbat site

double_char H   count_hi H   cat_dog 

count_code  end_other H   xyz_there 

More String

plusOut  xyBalance  repeatFront  getSandwich 

isCap  hasThreeCaps  noConsecutiveCaps  noConsecutiveCapsSpecial  sameStartChar 

Removal from strings

removeCharFromString  removeFromString  removeOuterSpaces 

List problems (no loops)

make_pi  same_first_last H   common_end  has23 

List problems - single loop

count_evens H   big_diff  centered_average 

sum13  sum67  has22 

List/String problems

makeSentence  breakSentence 

List creation problems

makeListOneToN  makeListNEvens  makeEvenListToN  makeHailList  makeFibList 

Processing text

pigLatinSimple  pigLatin  pigLatinBest 

capitalizeSentence  pigLatinMultiple 

Recursion practice

triangle  powerN  changexy H  

Normal Practice: kthEven  reverse 

Tricky: equalAnyVowels 
Authoring docs

Copyright Nick Parlante 2017 - privacy