Null Safety and Functions
Programming / Kotlin
This activity covers the topic of "Null safety and Functions" as part of a Mobile Device Application Programming course. Students taking this course are assumed to have taken a prior programming course. This activity introduces nullable variables unique to some programming languages, such as Kotlin, in this case. It also introduces Kotlin's function syntax to help students become familiar with the language. After completing the activity, students are expected to write code that uses nullable variables and implement functions using Kotlin.
This activity was developed with NSF support through IUSE-1626765. You may request access to this activity via the following link: IntroCS-POGIL Activity Writing Program.
- Level: Undergraduate
- Setting: Classroom
- Type: Learning Cycle
- Discipline: Computer Science
- Course: Programming / Kotlin
- Keywords: Kotlin, nullable variable, functions
How to Cite
Copyright of this work and the permissions granted to users of the PAC are defined in the PAC Activity User License.