← Quiz: Query Processing and Optimization: all 10 questions
Quiz: Query Processing and Optimization · Question 4 of 10
What does this print? (code)
What does this print?
b_r, b_s = 200, 50
n_r = 4000
print(n_r * b_s + b_r, b_r * b_s + b_r)
- A.200200 10200
- B.10200 200200
- C.200000 10000
- D.4250 250
Answer & explanation
Correct answer: 200200 10200
Nested loop: 4000 × 50 + 200; block nested loop: 200 × 50 + 200.
Can you get the rest right without peeking?
Take the timed Quiz: Query Processing and Optimization quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →