Bonus Lab
HW Check in
Check in on how the homework is going and if anyone has general questions on approaches. Take care to do your own work, but the TA/CPs can help you individually.
What is this lab?
This lab contains bonus problems that were considered too complicated to put on the main lab. They make great challenge problems though! They aren’t graded, but feel free to try them if you want some extra practice. This section will be added to throughout the semester.
What material do I need to know?
- Unusual variable types
- Explicit casting
cin
,cout
- Rounding without library functions
- if statements
- while loops
- Some string operations
- Basic algebra/geometry
- Two-dimensional arrays
- Dynamic allocation of arrays (sort of. We help you)
Exercises
Walk through these exercises and complete them as a group.
cpp/cs102/practiceBonus/convertBonus
cpp/cs102/practiceBonus/interpolationBonus
cpp/cs102/practiceBonus/birthdayBonus
cpp/cs102/practiceBonus/reverseBonus
cpp/cs102/practiceBonus/saleGridBonus