Gce Model Questions Vol1 2017 Computer Studies Question 26
Practice objective / multiple choice question 26 from the 2017 Gce Model Questions Vol1 Computer Studies examination.
Consider the following Python program: ``` total = 0 n = 15 for i in range(1, n+1): if i % 2 == 0: total += i else: total += i*2 if total > 50: break ``` When the program finishes execution, what is the value stored in `total`?
Answer Options
About This Question
This is Gce Model Questions Vol1 2017 Computer Studies Question 26. It is one of the objective questions from the 2017 Gce Model Questions Vol1 Computer Studies examination.
Difficulty level: Medium .
Master the Exam!
You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.