Quiz and Survey Master allows you to set up a basic leaderboard for each of your quizzes. To do so, begin editing your quiz. Then, navigate to the Leaderboard tab. Next, fill in the "Leaderboard Template" text box with how you want the leaderboard to look. Utilize the variables on the page to display the top 5 users.
Once you have your leaderboard entered in, click on "Save Leaderboard Options". Next, navigate to the Quizzes page. From here, copy the Leaderboard Shortcode for your quiz. Then, you can paste that shortcode into any post or page that you would like.
To add the leaderboard to your sidebar, you can use the Quiz and Survey Master Leaderboard widget.