countrycodes: String Question about ISO Country Codes

Exercise template for a knowledge quiz question (about three-letter ISO country codes) where the correct answer has to match exactly a given string.

Name:
countrycodes
Type:
Description:
Knowledge quiz question about three-letter country codes (ISO 3166-1 alpha-3). A country is drawn randomly from a list of 167 countries and the correct string answer is the corresponding three-letter country code.
Solution feedback:
Yes
Randomization:
Shuffling (1 out of 167 question/answer pairs)
Mathematical notation:
No
Verbatim R input/output:
No
Images:
No
Other supplements:
No
Raw: (1 random version)
PDF:
countrycodes-Rmd-pdf
countrycodes-Rnw-pdf
HTML:
countrycodes-Rmd-html
countrycodes-Rnw-html

Demo code:

library("exams")

set.seed(403)
exams2html("countrycodes.Rmd")
set.seed(403)
exams2pdf("countrycodes.Rmd")

set.seed(403)
exams2html("countrycodes.Rnw")
set.seed(403)
exams2pdf("countrycodes.Rnw")