Neco 2022 Computer Studies Question 8

Practice objective / multiple choice question 8 from the 2022 Neco Computer Studies examination.

Neco 2022 Computer Studies Objective / Multiple Choice Hard Difficulty
Question 8 NECO • 2022 • COMPUTER_STUDIES • objective

Consider the Python function below: ```python def digit_sum_multiples(n): total = 0 for k in range(1, n+1): if k % 4 == 0 and k % 6 != 0: # add sum of decimal digits of k while k > 0: total += k % 10 k //= 10 return total ``` When the function is called with \(n = 50\), what value is returned?

Answer Options

Correct Answer A. 48
B. 192
C. 78
D. 46
Correct Answer
A
Correct Option:
48

About This Question

This is Neco 2022 Computer Studies Question 8. It is one of the objective questions from the 2022 Neco Computer Studies examination.

Difficulty level: Hard .

Master the Exam!

You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.

Unlock Full Access Available for Android & Windows
Chat with Support