City Guilds Model Questions Vol1 2017 Information Technology Question 32

Practice objective / multiple choice question 32 from the 2017 City Guilds Model Questions Vol1 Information Technology examination.

City Guilds Model Questions Vol1 2017 Information Technology Objective / Multiple Choice Hard Difficulty
Question 32 CITY_GUILDS_MODEL_QUESTIONS_VOL1 • 2017 • INFORMATION_TECHNOLOGY • objective

Consider the following pseudo‑code: ``` int n = 5; int sum = 0; for (int i = 1; i <= n; i++) { int term = i; for (int j = i; j <= n; j++) { term = term * j; } sum = sum + term; } ``` What is the value of **sum** after the program finishes execution?

Answer Options

A. 620
B. 600
Correct Answer C. 645
D. 660
Correct Answer
C
Correct Option:
645

About This Question

This is City Guilds Model Questions Vol1 2017 Information Technology Question 32. It is one of the objective questions from the 2017 City Guilds Model Questions Vol1 Information Technology 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