flags: Fun with Flags
Name:
flags
Type:
Related:
Preview:
Which is the flag of Bolivia?
- False. 🇨🇱 is the flag of Chile.
- True. 🇧🇴 is the flag of Bolivia.
- False. 🇵🇪 is the flag of Peru.
- False. 🇧🇷 is the flag of Brazil.
- False. 🇦🇷 is the flag of Argentina.
Which is the flag of Honduras?
- False. 🇨🇷 is the flag of Costa Rica.
- False. 🇬🇹 is the flag of Guatemala.
- False. 🇳🇮 is the flag of Nicaragua.
- False. 🇸🇻 is the flag of El Salvador.
- True. 🇭🇳 is the flag of Honduras.
Which is the flag of Ethiopia?
- True. 🇪🇹 is the flag of Ethiopia.
- False. 🇪🇷 is the flag of Eritrea.
- False. 🇸🇩 is the flag of Sudan.
- False. 🇸🇸 is the flag of South Sudan.
- False. 🇩🇯 is the flag of Djibouti.
Description:
The exercise contains a large list of countries from all continents around the world along with their direct neighbors (sharing a border) and their secondary neighbors (neighbors of neighbors). Flags are generated from the ISO 3166-1 alpha-2 codes, either via their Unicode symbols (especially in HTML-based output) or using the {worldflags} LaTeX package (in PDF output).
Solution feedback:
Yes
Randomization:
Shuffling (1 out of 136 countries)
Mathematical notation:
No
Verbatim R input/output:
No
Images:
No
Other supplements:
No
Demo code:
library("exams")
set.seed(403)
exams2html("flags.Rmd")
set.seed(403)
exams2pdf("flags.Rmd", usepackage = "worldflags")
set.seed(403)
exams2html("flags.Rnw")
set.seed(403)
exams2pdf("flags.Rnw", usepackage = "worldflags")