Project
Parking Lot
Medium
1727 completions
~ 17 hours
4.4Become confident with the basics of coding: console input and output, loops, and conditions. You will also learn how to use lists and perform different operations on them.
Provided by
JetBrains Academy
About
Cities are becoming smarter to meet our needs, and parking spaces are an essential part of urban design. As a developer, you can help improve them. In this project, you will create a parking lot management program that keeps track of vacant spots and parked cars.
Graduate project
This project covers the core topics of the Kotlin Core course, making it sufficiently challenging to be a proud addition to your portfolio.
At least one graduate project is required to complete the course.
What you'll learn
Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Display some simple examples of parking or picking up a car.
Create a simple parking lot with two spots.
Two? How about twenty! Your parking lot is now bigger, and it can take cars if there’s room and keep track of those that leave.
Make it possible to specify the size of your parking lot and request the list of all parked cars.
You can filter cars by color or find your car by its registration number.
Reviews
3 months ago
String manipulation and breaking down problems into smaller subsets with functions
During this project, I learned how to design and implement a command-driven application in Kotlin. I applied data classes and enums to represent the core entities and their states, and I used lambdas and higher-order functions to make the code more concise and flexible. I practiced separating concer ...
I learned to effectively use a when statement to handle multiple user commands and parse input strings. A key challenge was managing the state of the parking lot itself—whether it existed or not—which I overcame by using a nullable variable (MutableList<Car?>?) and checking its state at the be ...
4.4
Learners who completed this project within the Kotlin Core course rated it as follows: