GATE Computer Science (CS) 2014 Shift 1 Solved Paper

© examsiri.com
Question : 52 of 65
 
Marks: +1, -0
Consider the following pseudo code. What is the total number of multiplications to be performed?
D = 2
for i = 1 to n do
for j = i to n do
for k = j + 1 to n do
D = D * 3
Go to Question: