hamexam is the top-level script. It chooses a question and uses ask.awk to present each question and interpret the response.
The question pools were downloaded from http://www.ncvec.org/ and then split apart into a separate file for each question using the split.awk script, e.g. "vi T2016*.txt (set fileformat=unix); cd T; gawk -f ../split.awk ../T2016*.txt".
The 3 element pools are stored in the T, G, and E directories. The question files will need to be updated when the pools expire or are modified.
The T*.png, G*.png, and E*.png files contain the diagrams needed to answer some of the questions. The .png files were derived from the .pdf files that accompany the question pool files on the ncvec.org sitei, e.g. "cd Epngs; pdftocairo -png ../2016*.pdf E". Alternatively, "convert T1.jpg T1.png".
# Copyright (C) 2011-2019 John Nogatch AC6SL <email@example.com>