Cheating on a string theory exam
Pick 5400 23-bit vectors (the answers you will write) and your friend picks the one that minimizes its Hamming distance to the true answer.    5400*23 + 5400*23*22/2 < 2**23

so answering 21 questions with certainty is impossible. (Pick the true answers so as to maximize the Hamming distance between it and whatever answer you decide to write, regardless of the scheme used.)And there is a size 4096 [1] see n = 23, R = 3 here http://www.sztaki.hu/~keri/codes/2_tables.pdfEdit: formatting