Below find exam questions that are similar to the final exam for CSE 142. Some questions may not exactly represent the problems you will see as professors have varying styles of question writing.
12 Similar Available
Problem 1: Expressions
- Sample Problem #17 -- Expressions
- Sample Problem #37 -- Expressions
- Sample Problem #15 -- Expressions
- Sample Problem #13 -- Expressions
- Sample Problem #11 -- Expressions
- Sample Problem #27 -- Expressions
- Sample Problem #25 -- Expressions
- Sample Problem #21 -- Expressions
- Sample Problem #9 -- Expressions
- Sample Problem #7 -- Expressions
- Sample Problem #5 -- Expressions
- Sample Problem #3 -- Expressions
10 Similar Available
Problem 2: Array Simulation
- Sample Problem #386 -- Array Simulation
- Sample Problem #305 -- Array Simulation
- Sample Problem #304 -- Array Simulation
- Sample Problem #303 -- Array Simulation
- Sample Problem #387 -- Array Mystery
- Sample Problem #302 -- Simulation
- Sample Problem #301 -- Simulation
- Sample Problem #300 -- Simulation
- Sample Problem #299 -- Simulation
- Sample Problem #298 -- Simulation
9 Similar Available
Problem 3: Inheritance
16 Similar Available
Problem 4: Token-Based File Processing
- Sample Problem #276 -- reportRunningSum
- Sample Problem #282 -- groceries
- Sample Problem #283 -- printRating
- Sample Problem #275 -- showSums
- Sample Problem #281 -- frequentFlier
- Sample Problem #274 -- switchData
- Sample Problem #280 -- countCoins
- Sample Problem #273 -- evaluate
- Sample Problem #279 -- blackjack
- Sample Problem #278 -- printWinner
- Sample Problem #277 -- canGo
- Sample Problem #272 -- processSets
- Sample Problem #271 -- reportRunningSum
- Sample Problem #270 -- printStrings
- Sample Problem #269 -- processData
14 Similar Available
Problem 5: Line-Based File Processing
- Sample Problem #292 -- analyzeParagraphs
- Sample Problem #296 -- mostUnique
- Sample Problem #297 -- glibwon
- Sample Problem #291 -- underline
- Sample Problem #290 -- analyzeParagraphs
- Sample Problem #294 -- matchIndex
- Sample Problem #295 -- findFirstMatch
- Sample Problem #289 -- processScores
- Sample Problem #293 -- maxWord
- Sample Problem #288 -- countOddLength
- Sample Problem #287 -- reportBlankLines
- Sample Problem #286 -- reverseLines
- Sample Problem #285 -- processFile
- Sample Problem #284 -- processFile
19 Similar Available
Problem 6: Arrays (Easy)
- Sample Problem #340 -- numUnique
- Sample Problem #385 -- evenOdd
- Sample Problem #384 -- repeatedSequence
- Sample Problem #346 -- summarize
- Sample Problem #345 -- isAnagram
- Sample Problem #338 -- hasAlternatingParity
- Sample Problem #336 -- sameGap
- Sample Problem #379 -- evenBeforeOdd
- Sample Problem #381 -- compress
- Sample Problem #334 -- isFibLike
- Sample Problem #377 -- reverseChunks
- Sample Problem #344 -- stringLengths
- Sample Problem #343 -- isSumArray
- Sample Problem #332 -- numUnique
- Sample Problem #330 -- hasAlternatingParity
- Sample Problem #328 -- isAllEven
- Sample Problem #326 -- printNumber
- Sample Problem #324 -- minGap
- Sample Problem #325 -- numSame
9 Similar Available
Problem 7: ArrayList
- Sample Problem #356 -- removeAdjacentMatches
- Sample Problem #355 -- switchPairs
- Sample Problem #354 -- split
- Sample Problem #353 -- reverse3
- Sample Problem #352 -- collapse
- Sample Problem #351 -- switchPairs
- Sample Problem #350 -- removeShorterStrings
- Sample Problem #349 -- manyStrings
- Sample Problem #348 -- markLength4
5 Similar Available
Problem 8: Critters
15 Similar Available
Problem 9: Arrays (Hard)
- Sample Problem #341 -- reverseSublist
- Sample Problem #347 -- areDeepMirrors
- Sample Problem #339 -- doubleSize
- Sample Problem #382 -- countCommon
- Sample Problem #383 -- delta
- Sample Problem #337 -- reverseSublist
- Sample Problem #378 -- longer
- Sample Problem #380 -- priceIsRight
- Sample Problem #335 -- append
- Sample Problem #376 -- allPlural
- Sample Problem #342 -- interleave
- Sample Problem #333 -- insert
- Sample Problem #331 -- removeZeros
- Sample Problem #329 -- isUnique
- Sample Problem #327 -- interleave
9 Similar Available
Problem 10: Programming (Hard)