Tag: programming languages
Questions Related to programming languages
data work.passengers; if origpassengers=. then origpassengers = 100; transpassengers=100; origpassengers=.; nonpaying=10; totalpassengers = origpassengers + Transpassengers; run; which one of the following is the value of the totalpassengers variable in the output data set?
data work.passengers; if origpassengers=. then origpassengers = 100; transpassengers = 100; origpassengers = .; nonpaying = 10; totalpassengers = sum(origpassengers ,transpassengers); run; Which one of the following is the value of the TOTALPASSENGERS variable in the output dataset?
data work.company; set work.dept1(keep=jobcode) work.dept2(rename=(jcode=jobcode)); run; which one of the following is the result?
Input data is provided: squash 1.10 apples 2.25 juice 1.69 The following SAS program is submitted using the raw data file above: data groceries; infile 'file-specification'; input item $ cost; ---------------- run; Which one of the following completes the program and produces a grand total for all COST values?
The SAS dataset BANKS is listed below: BANKS name rate Capital 0.0718 Direct 0.0721 Virtual 0.0567 The following SAS program is submitted: data newbank; do year =1 to 3; set banks; capital + 5000; end; run; Which one of the following represents how many observations and variables will exist in the SAS dataset NEWBANK?
The value 110700 is stored in a numeric variable.which one of the following SAS formats is used to display the value as $110,700.00 in a report.