Question52:ThefollowingSASprogramissubmitted:
datawork.passengers;
ifOrigPassengers=then
OrigPassengers=100;
TransPassengers=100;
OrigPassengers=
TotalPassengers=sum(OrigPassengers,TransPassengers)+0;
run;
WhatisthevalueoftheTOTALPASSENGERSvariableintheoutputdataset?
1.0
2.Get all Questions and Answer from here
3.You need to have paid subscription to access all questions
4.Thanks for considering Python Certification Material
CorrectAnswer:2
Exp:Returnsthesumofthenonmissingarguments.
Syntax:SUM(argument,argument,...)
RequiredArgument:argument:specifiesanumericconstant,variable,orexpression.Ifalltheargumentshavemissingvalues,thenoneofthefollowingoccurs:
Ifyouuseonlyoneargument,thenthevalueofthatargumentisreturned.
You can access to full explanation to question and answer from this page.