Sample Homework
This notebook showcases some of the features of PlutoTeachingTools.jl
and how to use these to write homework assignment in Pluto.
Tip
For a deeper tour of PlutoTeachingTools.jl
, check their documentation
Useful functionalities
PlutoTeachingTools.jl
has some functions like correct
, still_missing
, here a few demoes
Got it!
Yay ❤
Missing Response
Replace missing
with your answer.
Keep working on it!
The answer is not quite right.
Keep working on it!
you can also give custom text to the boxes
Hint
this is a hint, hover the box to unblur the text
Exercise 1: a simple exercise
Replace missing with the value 1
.
missing
Missing Response
Replace missing
with your answer.
here is a short demo of how it looks like when the student tries to solve the exercise
Exercise 2
Write a function called myfun
that takes as input an integer and returns its square.
Define a variable called y
and assign myfun(3)
to it.
Oopsie!
Make sure that you define a function called myfun
Oopsie!
Make sure that you define a variable called y
and here is a quick demo of the exercise in action