The correct answer is C. 180.
The code will first check if num is less than or equal to 100. Since 90 is less than or equal to 100, the first condition is true and the code will execute the statement num = num * 2. This will multiply num by 2, giving 90 * 2 = 180. The code will then check if num is greater than 500. Since 90 is not greater than 500, the second condition is false and the code will not execute the statement num = num * 3. The code will then reach the end of the If statement and the value of num will be 180.
Option A is incorrect because the code will not execute the statement num = 0.
Option B is incorrect because the code will not execute the statement num = num * 2.
Option D is incorrect because the code will not execute the statement num = num * 3.