Coursera Programming Assignments
You can start learning with the Kotlin for Java Developers Algorithmic Toolbox course. Switch to a different course using the Section drop-down menu at the top of the page:
Kotlin for Java Developers
Kotlin for Java Developers is a Coursera course by Svetlana Isakova and Andrey Breslav.
This course is for you if you're an experienced developer who knows Java and wants to learn nuances of Kotlin and its differences from Java. After completing the course, you'll be able to use Kotlin for your own project development and in your daily work. Note that this course doesn't cover the programming fundamentals, it only highlights what is new and different.
The course includes programming assignments for learners. You should solve all the assignments using JetBrains Educational Products.
Algorithmic Toolbox
Algorithmic Toolbox is a Coursera course offered by University of California San Diego.
The course covers basic algorithmic techniques and ideas for computational problems arising frequently in practical applications: sorting and searching, divide and conquer, greedy algorithms, dynamic programming.
Prerequisites
To solve the programming assignments, use PyCharm Edu.
Download PyCharm Edu , or Install EduTools Plugin if you have already installed PyCharm Community or Professional.Prerequisites
To solve the programming assignments, use IntelliJ IDEA or Android Studio with EduTools plugin installed. Make sure your IDE build has a version 181.* or later, and EduTools plugin's version is 2.0 or later.
Choosing an assignment
-
When installed for the first time, the IDE asks if you're a Learner or an Educator. Choose Learner:
If you don't have this window, proceed to the next step. The role can be changed any time in
. To open the list of available programming assignments, select
from the :You can also access this dialog by going
:To open the list of available programming assignments, select
from the :You can also access this dialog by going
:Choose the course week you need to solve assignments for and click the
button to proceed:Choose the course you need to solve assignments for and click the
button to proceed:
Getting started
Now you're ready to start programming. Take a closer look at the week assignments. Go to Nice String and Taxi Park. Each of the assignments has all the files needed to solve it as well as tests that can help to check your solution before submitting:
or press Alt+1. The third week has two assignments:Let's start with the first assignment of the week, Nice String. Read the assignment's description on the panel ( ):
In the Editor you will find a TODO() placeholder where you need to place your code:
Getting started
Now you're ready to start programming. Take a closer look at the assignments. Go to
or press Alt+1. Each of the assignments has all the files needed to solve it as well as tests that can help to check your solution before submitting:Let's start with the first assignment, Sum of Two Digits. Read the assignment's description on the panel ( ):
In the Editor you will find a highlighted placeholder where you need to place your code:
Testing your solution
Once you're ready with your solution, you can test it using build-in tests. Open the TestNiceStrings.kt file in the and run all the tests with or Ctrl+Shift+F10 shortcut:
If any of the tests fail, preview the error messages, make the required fixes, and ensure all the tests are green:
Testing your solution
Once you're ready with your solution, you can test it using build-in tests. Open the sum_of_two_digits_unit_tests.py file in the and run all the tests by clicking Run tests or using Ctrl+Shift+F10 shortcut:
If any of the tests fail, preview the error messages, make the required fixes, and ensure all the tests are green:
Submitting to Coursera
When all the tests have been successfully passed, it's time to submit your assignment to Coursera. Use the
button at the bottom of the panel:Enter your Coursera credentials. Follow the link in the dialog to obtain your token:
You will be redirected to Coursera where you can get your current token or generate a new one:
Get back to the IDE and fill in the Email and Token fields:
Congratulations! Your submission was sent to Coursera:
Use the check the status on Coursera link to make sure your submission has been graded:
You can always use the
icon to restart your assignment:You can also leave your feedback using the
icon:Now, you can switch to the next programming assignment. Click the
icon at the top of the panel:
Submitting to Coursera
When all the tests have been successfully passed, it's time to submit your assignment to Coursera. Use the submit to Coursera link at the bottom of the panel:
Enter your Coursera credentials:
Click the + Create submission button:
Specify the location of your submission and click Submit:
Congratulations! Your submission was sent to Coursera and is being graded:
When your grade is ready, the page will automatically refresh and your submission will appear in the submissions list:
You can always use the
icon to restart your assignment:You can also leave your feedback using the
icon:Now, you can switch to the next programming assignment. Click the
icon at the top of the panel: