R Programming Quiz
10 questions · no time limit
0:00
SOFTWARE CRAFT AND COMMUNICATION
Question 1 of 10
No time limit
Current
Answered
Flagged
Not seen
PASSAGE
An internal helper currently uses a negatively worded Boolean argument: fetch_data <- function(disable_cache = FALSE) { if (!disable_cache) read_cache() else download_data() } All call sites will be updated during the refactoring.
Which rewrite gives the Boolean a positive, meaningful name and preserves the original default behavior?
YOUR PROGRESS
10
QUESTIONS
Ready when you are
Answer in any order. Your progress shows here as you go.
QUESTIONS
KEYBOARD
Pick an answer ABCD
Next question ↵→
Previous ←
Flag for review F