Lesson 2: Kotlin Control Flow
Outline:
- Questions?
- Kotlin basics
- defining variables
- collections
- Control flow in Kotlin: conditionals and loops
if/elseandwhenstatementsforloopswhileloopsdo-whileloops- examples: Exercise 1
- Wrap-up
After class
Try the classwork question on functions! Turn in the classwork on Friday.
What’s next
Upcoming events/assessments:
- Software installation sessions with Dylan:
- Wednesday, April 2nd, 7pm-9pm in Olin 308
- Quiz 1 will be next Monday and cover the first 4-5 Quiz Learning Objectives
- Assignment 1 will be released today and due next Wednesday
What you should do now:
- Read the syllabus!
- Read the description of Assignment 1
- The readings (see below)
Reading assignment (to be completed by the next class):
Kotlin basics, cont’d (from today):
Kotlin basics, cont’d (for next time):