Quiz App
Decks
Folders
Back
Summary
{deck: {name: "1a Beginning Student Language"}, score: [{question_type: "multiple_choice", label: "Multiple choice", graded: true, count: 12, total: 15}, {question_type: "short_answer", label: "Short answer", graded: false, count: 0, total: 0}], answers: [{question_prompt: "What does Racket ultimately evaluate an expression into?", question_type: "multiple_choice", choices: ["A value", "A comment", "A parameter list", "A type signature"], selected_choice: "A value", response: nil, correct: true}, {question_prompt: "Which expression correctly follows Racket prefix notation?", question_type: "multiple_choice", choices: ["(3 + 4)", "(+ 3 4)", "3 + 4", "(3 4 +)"], selected_choice: "(+ 3 4)", response: nil, correct: true}, {question_prompt: "What does (substring \"012345\" 2 4) produce?", question_type: "multiple_choice", choices: ["23", "\"234\"", "\"23\"", "\"12\""], selected_choice: "\"234\"", response: nil, correct: false}, {question_prompt: "Which library is required for primitives such as rectangle and image-width?", question_type: "multiple_choice", choices: ["2htdp/universe", "racket/string", "test-engine", "2htdp/image"], selected_choice: "2htdp/image", response: nil, correct: true}, {question_prompt: "What does the text primitive produce?", question_type: "multiple_choice", choices: ["A String", "A Number", "An Image", "A Boolean"], selected_choice: "A String", response: nil, correct: false}, {question_prompt: "What happens when Racket evaluates a constant name such as WIDTH?", question_type: "multiple_choice", choices: ["It creates a new constant", "It replaces the name with its defined value", "It converts the name to a string", "It asks the user for a value"], selected_choice: "It replaces the name with its defined value", response: nil, correct: true}, {question_prompt: "What is a predicate?", question_type: "multiple_choice", choices: ["A function or primitive that produces a Boolean", "Any function with two parameters", "A constant that stores true", "A comment describing a test"], selected_choice: "A function or primitive that produces a Boolean", response: nil, correct: true}, {question_prompt: "How does an if expression evaluate its branches?", question_type: "multiple_choice", choices: ["Both branches always evaluate", "The false branch evaluates first", "Neither branch evaluates until the program ends", "Only the branch selected by the Boolean question evaluates"], selected_choice: "Only the branch selected by the Boolean question evaluates", response: nil, correct: true}, {question_prompt: "What happens when evaluating (and false (/ 1 0))?", question_type: "multiple_choice", choices: ["Division by zero occurs", "The result is false without evaluating the division", "The result is true", "Racket evaluates the division and then returns false"], selected_choice: "Division by zero occurs", response: nil, correct: false}, {question_prompt: "Which statement about or is correct?", question_type: "multiple_choice", choices: ["It is true if any expression is true", "It is true only when every expression is true", "It is true if any expression is false", "It never short-circuits"], selected_choice: "It is true if any expression is true", response: nil, correct: true}, {question_prompt: "Why are parameters useful in a function?", question_type: "multiple_choice", choices: ["They make constants immutable", "They prevent evaluation", "They let the same logic operate on different values", "They automatically create tests"], selected_choice: "They let the same logic operate on different values", response: nil, correct: true}, {question_prompt: "In a function call, what normally happens before parameter values are substituted into the body?", question_type: "multiple_choice", choices: ["The body is deleted", "All constants become strings", "The Stepper is automatically opened", "Arguments are reduced to values"], selected_choice: "Arguments are reduced to values", response: nil, correct: true}, {question_prompt: "What is the best description of overlay compared with above?", question_type: "multiple_choice", choices: ["overlay stacks images in the same space", "overlay places images side by side", "overlay converts images to strings", "overlay always makes the result taller"], selected_choice: "overlay stacks images in the same space", response: nil, correct: true}, {question_prompt: "What is a good use of the DrRacket Stepper?", question_type: "multiple_choice", choices: ["Generating documentation", "Seeing the order in which subexpressions reduce", "Changing a function signature automatically", "Finding image files on disk"], selected_choice: "Seeing the order in which subexpressions reduce", response: nil, correct: true}, {question_prompt: "If you know the primitive beside and want a related image-layout primitive, what strategy from the notes is appropriate?", question_type: "multiple_choice", choices: ["Rewrite beside from scratch", "Use only primitives you can remember exactly", "Search the documentation for beside and scroll around related primitives", "Convert the image to a string first"], selected_choice: "Search the documentation for beside and scroll around related primitives", response: nil, correct: true}]}
Copy JSON