disabled
Back To Udemy

Sign in
English (US) Deutsch Español Français (France) Italiano 日本語 한국어 Polski Português Türkçe
  • Sign in
  • English (US) Deutsch Español Français (France) Italiano 日本語 한국어 Polski Português Türkçe
Search for solutions
Student Topics
Instructor Topics
Udemy Business Topics
Read article
Combined Results
The email address associated with your Udemy account
Do these help?
What's this?
Submit a Data Access or Deletion Request
Additional Comments
No comments provided.
This email does not match the email associated with your Udemy account.
Please check that you have entered the correct email addresses.
Udemy Business
Please let us know how this article can be improved to help resolve your question or issue. Thank you for taking the time to share your feedback.
Feedback submitted here will not create a support ticket and is not directly accessed by our support team. If you require assistance, please contact Udemy Support.
Thank you. Your feedback has been recorded.
Please enter the course URL as www.udemy.com/course/course_name. Click here for help.
Please login using the email associated with your Udemy account so we can better assist you.
I am a...
Udemy Support
Help and Support
Do any of these articles answer your question?
If they do, we can close your request
I found my answer. Close my request.
I still need help.
  1. Udemy
  2. Course Building
  3. Creating Content

How to Create a Coding Exercise

Coding exercises are an interactive tool you can add to your programming courses, so your learners can get practical coding experience. This article outlines how instructors can add a coding exercise to their course curriculum. 

Which programming languages are available?

Instructors can create coding exercises in various languages, some of which include C++, C#, HTML & Javascript, Java, Python, Ruby, Swift and PHP, among others. Review all the programming languages that are available for coding exercises.

How to add a coding exercise to your course

To add a coding exercise to your course curriculum, please follow the steps below:

  1. Navigate to the Curriculum page of your course.
  2. On the side, hover your cursor over the grey space within a section, where you want the exercise to be placed. Click the + icon that appears and then Coding Exercise.
    Adding_a_coding_exercise.jpg
  3. Enter the exercise’s title and then click Add Coding Exercise.
  4. Move your cursor to the exercise title and click on the pencil icon that appears to choose the programming language the students will use.
    choose_the_programming_language.jpg
  5. Enter the exercise you would like learners to solve. Review detailed information on how to create exercises for each language.
    coding_exercise_template.png
  6. In addition to inputting the code for the exercise, you can provide a problem statement, a related lecture, as well as hints,  which learners can revisit to get more information on how to solve the problem. 

    You can also write a detailed explanation for the Instructor solution to highlight key concepts that learners can review to help comprehend the exercise and solution.
  7. Next, check the exercise’s solution by clicking on Check solution at the bottom right hand of the page.
    check_solution.png
  8. If the solution is correct, click Save at the top right hand of the page. You can also preview the coding exercise by clicking on Preview.
    coding_exercise_save_preview.png

Please note: coding exercises will only appear published in the curriculum of published courses.

published_coding_exercise.jpg

If the course is not published, then a checkmark will not appear beside the coding exercise when it's been added to the curriculum.

Was this article helpful?
5 out of 13 found this helpful

Related articles

  • Learning With Coding Exercises
  • How to Create Assignments For Your Course
  • How to Add Sections, Lectures, and Video Content to Your Course
  • Instructor Revenue Share
  • Teaching on Udemy: FAQ
Contact Us

Related articles

  • Learning With Coding Exercises
  • How to Create Assignments For Your Course
  • How to Add Sections, Lectures, and Video Content to Your Course
  • Instructor Revenue Share
  • Teaching on Udemy: FAQ
Contact Us
'instructor','coding','coding exercise','add coding exercise','create coding exercise','title:How to Create a Coding Exercise',
English (US) Deutsch Español Français (France) Italiano 日本語 한국어 Polski Português Türkçe
  • Udemy Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Affiliate
  • Investors
  • Terms
  • Privacy policy
  • Sitemap
  • Accessibility statement
Udemy
© 2022 Udemy, Inc.
true