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.
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
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.