In the Taiho Code, a total of nine questions were delivered, three from one of the three basic documents ("Kyushosanjutsu," "Rokusho" and "Tenjutsu"), and one from each of the other six documents; students passed if they answered six correctly, but failed if they gave wrong answers to any of the three questions drawn from the basic documents, even if they had answered the other eight correctly.
大宝律令では『九章算術』・『六章』・『綴術』の基本の3書のうち1つから3問、それ以外の6書から各1問ずつの計9問を出題して6つ正解すれば及第としたが、3問出題される基本書からの出題を間違えた場合には他の8問が正解でも不合格とされた。