City Guilds Model Questions Vol1 2024 Information Technology Question 48
Practice objective / multiple choice question 48 from the 2024 City Guilds Model Questions Vol1 Information Technology examination.
Consider the following pseudo‑code:\n\n``` int a = 2, b = 5, c = 0; for (int i = 1; i <= 4; i++) { if (i % 2 == 0) { a = a + b; } else { b = b * a; } c = c + (a - b); } ```\n\nWhat is the final value of \(c\) after the loop terminates?
Answer Options
About This Question
This is City Guilds Model Questions Vol1 2024 Information Technology Question 48. It is one of the objective questions from the 2024 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.