about | help | code help+videos | done | prefs |
david.white@denison.edu cs111spring2019
Problem Bank
Remember that you can't use TAB for indentation, so use 2 spaces instead. You have as many attempts on each problem as you want.
For Feb 6, please do the test problem: test
For Feb 8, please do these functions: basketball sum football songs
For Feb 11, please do these loop problems: power sumTriplets factorial
For Feb 12, please do these loop problems: compound growth3
For Feb 13, please do these while loop problems: incrementTillEqual yearsUntilDoubled interest
For Feb 18, please do this population model: bacteria H
For Feb 25, please do these conditional problems: even between justone sumprod max3
For March 5, please do the these string problems: nospaces count_code piglatin vowels cat_dog
For March 12, please do these list problems: squares_better countOdds sumOdds meanSquares variance
For March 25, please do these basic dictionary problems: my_len list2dict H count_values
For March 26, please do these list problems: sumOddIndices square swap_better remove_better intersect big_diff
For March 27, please do these slightly harder dictionary problems: distinct count_duplicates firstLetterCount
For April 9, please do these basic 2D list problems: max2D sumRows sumCols find diagonal
For April 16, please do these basic recursion problems: recSearch sum minList recFactorial recPower
For April 23, please do these slightly harder recursive problems: countUpper RecFibonacci collatz H
For April 26, please do these review problems: change H is_balanced diagonal2 multiplicationTable sums
For May 6, please do these overall review problems: cat_dog evenParity sentences least_likely H wordFrequency factorization H permutations H
Other problems: powerLoop factorialLoop
Future potential problems...
Loops: geoMean sumDigits sum13 factorial Fibonacci *
Conditionals: sumprod max3 even between justone
While: incrementTillEqual yearsUntilDoubled interest
Lists: sumOdds countOdds variance median squares_better remove_better swap_better intersect meanSquares big_diff
Lists and Strings: findall stars searchBool longest differ differ
Strings: difference count_code evenParity makeEvenParity hamming double_char H txtHelp piglatin vowels nospaces username sentences capitalize findWord cat_dog xyz_there countNames count_hi H is_palindrome H
Dictionaries: list2dict H my_len distinct count_values count_duplicates least_likely H wordFrequency firstLetterCount
2D Lists: diagonal find multiplicationTable sums sumOddIndices square diagonal2
Sorting: selection_sort_better
Recursive: sum recPower recFactorial minList countUpper RecFibonacci recSearch collatz H (you can just return the list, i.e. L not list2string(L)) change H changes H (requires a for loop inside a recursive function)
Difference Equations (Optional): annualInterestYears compoundInterestAmount pond4 growth2 SIS growth3 growth4 growth zombieApocalypse amoebaGrowth bacteria H vampireApocalypse Calculus: D H
Problem Solving: end_other H whacks H whack_a_mole H has22 centered_average sum67 blackjack H factorization H permutations H combinations H bowling H nim H stone_temple_farmers dvr_remote H piglatin H piglatin2 H is_balanced balance_parens H
Exam 1 practice:
football
distance age
time
Authoring docs
Copyright Nick Parlante 2017 - privacy