Quizzes

Quizzes

A lesson may contain quizzes to test you on the knowledge you've gained throughout that lesson. Quizzes come in a variety of flavours that can be subdivided into Coding Quizzes and Multiple Choice and Short Answer. You may challenge yourself on any of these quizzes at any point you want!

In order to be awarded the Digital Badges badge for a module you must complete all the available quiz content for each lesson in a module. In order to be awarded the advanced badge you must complete both the basic and the advanced quiz content for each lesson in a module.


Coding Quizzes

The coding quizzes will test the practical skills you've gained in the lesson. These coding quizzes may come in the form of writing a class, writing a method or function or a set of simple statements. We will run some unit tests to make sure your code compiles and works as it should.



Coding Quiz



Depending on the specific type of coding exercise, you will be given either a problem or a prompt to write code. You can choose to write the quiz in any of the available languages. Unfortunately not all languages have compilers yet. Simply do your best to complete the exercise and click submit to check if your code is correct!


Using the code editor

The box where you type your code is a full-featured editor designed to help you as you write. It offers:

  • Syntax highlighting: keywords, strings, and comments are coloured so your code is easier to read.
  • Autocomplete suggestions: as you type, a small pop-up suggests keywords, common names, and (for Java and C++) handy snippets such as sysout, cout, main, and a counted for loop. In Python you also get the language's built-in functions. Press Ctrl + Space at any time to open the suggestions manually, use the ↑ / ↓ arrows to choose one, and Enter or Tab to insert it. Snippets drop in a template with blanks you can jump between using Tab.
  • Automatic brackets and quotes: typing (, [, {, " or ' inserts the matching closing character for you.
  • Code folding: click the small arrow in the left margin next to a block (a class, method, or loop) to collapse or expand it, so you can hide the parts you aren't working on.
  • Undo / redo: Ctrl + Z and Ctrl + Y (or Ctrl + Shift + Z) work as usual, and Tab indents your code.

Tip: the suggestions are there to speed you up, not to solve the exercise for you; they don't know the answer, they just save you typing. The editor never sends your code anywhere until you click Submit.


MCQ and Short Answer

The other form of quizzes will test the theoretical knowledge you've gained in a lesson. No surprises here, these are the same old multiple choice and short answer questions you've gotten to know and love!



MC Quiz

Your Grades

Passing and failing a quiz shows up immediately in the player, but you can also see your results laid out as a real grade: open a section from "My sections" and click its Grades tab to see your own row, or use the My grades rail item to see every section you are in at once, each linking into that section's own Grades tab. Your number there is read straight from the same gradebook your instructor sees, never a separate calculation just for you.

Your quiz results belong to the specific section you earned them in, not to the course as a whole. If you join a different section of the same course later (for example, retaking it in a new term), that new section starts fresh: its quiz results are separate from any earlier section you were in. This is stated again on the join confirmation page before you commit to a new section, so it is never a surprise after the fact.


Trying quizzes on public lessons without an account

A lesson that its course has made public can be tried, including its quizzes, without signing in first: your submission is graded the same way a logged-in attempt is, but nothing is saved to a gradebook since there is no account to attach it to. A private lesson (one belonging to a restricted or unlisted course, or not yet published) still requires you to sign in and belong to that course, same as viewing the lesson itself does.