# L-22 MCS 260 Wed 3 Mar 2010 : quand # # the questions + answers dictionary # defines the multiple choice questions # the correct answer comes always first # in the multiple choices questions = { \ 1:'How many bits go in one byte ?', \ 2:'Who is the main developer of Python ?', \ 3:'Which statement is true ?', \ 4:'The octal system has base ...' \ } answers = { \ 1:{ 1:'8', 2:'4', 3:'2', 4:'16' }, \ 2:{ 1:'Guido van Rossum', 2:'John von Neumann', \ 3:'Rashi Gupta', 4:'John Backus' }, \ 3:{ 1:'a compiler translates source code', \ 2:'a compiler executes object code', \ 3:'a compiler formats source code', \ 4:'a compiler stores code on file' }, \ 4:{ 1:'8', 2:'2', 3:'10', 4:'16' } \ }