1 min read

Weekly Engineering Mastery Quiz (2026-03-02 to 2026-03-06)

A 20-question assessment covering fundamentals, implementation best practices, and advanced architecture insights from this week’s learning posts.

#Learning-log#Quiz#Assessment Weekly Quiz

Table of contents

  1. Weekly Reflection
  2. How to Use This Quiz

Weekly Reflection

This assessment captures the Kotlin variables, types, and API design concepts covered during the week. It mixes syntax checks with practical engineering tradeoffs so you can measure both recall and reasoning.

How to Use This Quiz

Use the interactive quiz section below. Single-select questions award 1 point, while multi-select questions can award partial credit (+0.5) when your selection is partially correct.

Interactive Quiz

Score: 0 / 20 | Answered: 0 / 20

Q1 Which Kotlin declaration creates an immutable variable using type inference?

Fundamentals

Select one option.

Q2 Which string template syntax is valid Kotlin?

Fundamentals

Select one option.

Q3 By default, what is the type of the literal 3.0 in Kotlin?

Fundamentals

Select one option.

Q4 Which Kotlin type represents a single UTF-16 code unit?

Fundamentals

Select one option.

Q5 Which declaration is a valid Boolean with an explicit type?

Fundamentals

Select one option.

Q6 Which is the recommended default approach to mutability for local variables?

Intermediate

Select one option.

Q7 Which assignment requires an explicit numeric conversion to compile?

Intermediate

Select one option.

Q8 Which lateinit declaration is invalid?

Intermediate

Select one option.

Q9 Which constant declaration is valid?

Intermediate

Select one option.

Q10 Given data class User(val name: String) and val user = User("Mia"), which template prints "Hello, Mia" exactly?

Intermediate

Select one option.

Q11 Which numeric literal is invalid in Kotlin?

Intermediate

Select one option.

Q12 Which operator checks structural equality in Kotlin?

Intermediate

Select one option.

Q13 What is the inferred type of val x = null?

Advanced

Select one option.

Q14 On the JVM, which choice minimizes allocations for a large numeric buffer?

Advanced

Select one option.

Q15 What is the inferred type of val r = 1 + 1L?

Advanced

Select one option.

Q16 Which statements about Int overflow on the JVM are true?

Advanced

Select one or more options.

Q17 Which statements about Kotlin Char and Unicode are true?

Advanced

Select one or more options.

Q18 Which public API design practices help maintain stability as compiler inference evolves?

Advanced

Select one or more options.

Q19 Which statements are safest when dealing with platform types returned from Java APIs?

Advanced

Select one or more options.

Q20 For val list = mutableListOf<Int>(), which statements are true?

Advanced

Select one or more options.

References

Share

More to explore

Keep exploring

Previous

Kotlin Language: Variables & Types Deep Dive (Part 1/2)

Next

Kotlin to C/C++ Transition Guide: A Systems Programmer's Cheat Sheet