Microprocessors - Engineering

Q1:

Which of the following conditional statements is not valid in Pascal?

A If A > = B then B : = C + D + X

B If (N = 45) THEN X : = X + 2 ELSEX : = 0

C If A < = B then A : = C * D

D If (A > = B) X : Y else X : = Z

ANS:D - If (A > = B) X : Y else X : = Z

'then' is missing.