qobjects = [ { question: "What is a function used for opening files?", options: [ "load()", "run()", "open()" ], correct: 2 }, { question: "By default the file is opened in text mode, but you can also open the file in binary mode. Which one of the following syntaxes opens the file in binary mode?", options: [ "x = bopen('demofile.txt')", "x = open('demofile.txt', 'b')", "x = open(b'demofile.txt')" ], correct: 1 }, { question: "True or False.
The default opening mode when opening a file with the open() function is 'r' for 'reading'.", options: [ "True", "False" ], correct: 0 } ]