A transformation has the following ports: Port_1: Decimal, Input port; Port_2: Decimal, Input port; Port_3: String, Input port; Port_4: Decimal, Output port; Port_5: Decimal, Output port. Which of the expressions shown below would be invalid? Assume it is associated with Port_4.
Choose Answer
(A)
IIF ( Port_1 > 5, Port_2 10, Port_2 15 )
(B)
IIF ( Port_1 > 5, Port_1 10 )
(C)
IIF ( Port_5 > 7, Port_5 10, Port_5 15 )
(D)
IIF ( Port_2 > 8, Port_2 10, Port_2 15 )
Saturday, November 17, 2007
Subscribe to:
Post Comments (Atom)
1 comment:
Ans: C
(It fails because you are refering output port5 in the calculation. Instead you can declare it as variable port and calculate it)
Post a Comment