Neco 2021 Computer Studies Question 23

Practice objective / multiple choice question 23 from the 2021 Neco Computer Studies examination.

Neco 2021 Computer Studies Objective / Multiple Choice Medium Difficulty
Question 23 NECO • 2021 • COMPUTER_STUDIES • objective

Consider the following Python code: ```python numbers = [12, 7, 5, 7, 3, 10, 5] total = 0 for i in range(len(numbers)): if numbers[i] % 2 == 1: for j in range(i+1, len(numbers)): if numbers[j] == numbers[i]: break else: total += numbers[i]**2 print(total) ``` What value is printed when the program is executed?

Answer Options

Correct Answer A. 83
B. 49
C. 100
D. 58
Correct Answer
A
Correct Option:
83

About This Question

This is Neco 2021 Computer Studies Question 23. It is one of the objective questions from the 2021 Neco 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.

Unlock Full Access Available for Android & Windows
Chat with Support