Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Online A00-211 Questions Video

Page: 2 / 10
Total 270 questions

SAS Base Programming for SAS (r) 9 Questions and Answers

Question 5

Given the SAS data set PRICES:

PRICES

Prodid priceproducttypesalesreturns

K1255.10NETWORK152

B132S 2.34HARDWARE30010

R18KY2 1.29SOFTWARE255

3KL8BY 6.37HARDWARE12515

DY65DW 5.60HARDWARE455

DGTY23 4.55HARDWARE672

The following SAS program is submitted:

data hware inter cheap;

set prices(keep = productype price);

if producttype = ‘HARDWARE’ then output hware; else if producttype = ‘NETWORK’ then output

inter; if price le 5.00;

run;

if producttype = ‘HARDWARE’ then output hware; else if producttype = ‘NETWORK’ then output

inter; if price le 5.00;

run;

How many observations does the HWARE data set contain?

Options:

A.

0

B.

2

C.

3

D.

4

Question 6

Given the SAS data set WORK.TEMPS:

The following program is submitted:

Which output is correct?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 7

Which is a valid LIBNAME statement?

Options:

A.

libname "_SAS_data_library_location_";

B.

sasdata libname "_SAS_data_library_location_";

C.

libname sasdata "_SAS_data_library_location_";

D.

libname sasdata sas "_SAS_data_library_location_";

Question 8

Read the table

The following SAS program is submitted:

proc freq data = sales;

run;

The following output is created by the FREQUENCY procedure:

Which TABLES statement(s) completed the program and produced the output?

Options:

A.

tables region product;

B.

tables region * product;

C.

tables product * region;

D.

tables product; tables region;

Page: 2 / 10
Total 270 questions