Neco 2021 Computer Studies Question 43

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

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

Consider the following algorithm:\n\n``\nSET total ← 0\nFOR i ← 1 TO n\n total ← total + (2*i - 1)\nEND FOR\nOUTPUT total\n``\n\n(a) Express the value of `total` as a function of \(n\) and simplify. (b) What is the value of `total` when \(n = 15\)?

Answer Options

A. 450
B. 240
C. 210
Correct Answer D. 225
Correct Answer
D
Correct Option:
225

About This Question

This is Neco 2021 Computer Studies Question 43. 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