The mcq package provides three functions: score_a_questions() for 'A' questions, score_k_questions() for 'Kprime' and score_exams(), which calls both of the above and joins their outputs.
score_a_questions() score_k_questions() score_exams()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.