Tag: programming languages
Questions Related to programming languages
To which numbering system can the binary number 1101100100111100 be easily converted to?
son,Travis, The following output is desired relation firstname son Travis Which one of the following statements will work correctly as exepcted ?
data sasdata.atlanta sasdata.boston work.portland work.phoenix; set company.prdsales; if region='NE' then output boston; if region='SE' then output atlanta; if region='SW' then output phoenix; if region='NW' then output portland; Which one of the following is true regarding the output datasets
The sasdata.banks dataset has 5 observations when the following SAS program is submitted data allobs; set sasdata.banks; capital=0; do year = 2000 to 2020 by 5; capital + ((capital + 2000) * rate); output; end; run; How many observations will the ALLOBS data set contain?
----|----10----|----20----|----30 john McCloskey 35 71 June Rosesette 10 43 Tineke Jones 9 37 The following SAS program is submitted using the raw data file as input: data work.homework; infile 'file-specification'; input name $ age height; if age LE 10; run; How many observations will the WORK.HOMEWORK dataset contain?
The attribute information includes the variable’s name, type, ......
Some of the dataset options are
The general form of SUM statement is
The sum statement is equivalent to using the SUM function and the RETAIN statement, as shown here: retain variable 0; variable=sum(variable,expression);
The following SAS program is submitted: data work.flights; destination='CPH'; select(destination); when('LPR') city = 'London'; when('CPH') city='Copenhagen'; otherwise; end;run; Which one of the following is the value of the CITY variable?