Search Header Logo

Section A Past Year Exam

Authored by Yunli Lee

Computers

University

Used 4+ times

Section A Past Year Exam
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What happens when a DATA step or PROC step contains multiple WHERE statements?

The last WHERE statement replaces previous WHERE statements.

Only the first WHERE statement is processed.

The WHERE conditions are combined with a logical AND operator.

A syntax error is displayed in the log, and the program does not execute.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which TITLE statement correctly codes the title Analytics Engineering’s Report?

TITLE allowquote(Analytics Engineering's Report);

TITLE "Analytics Engineering's Report";

TITLE ' "Analytics Engineering's Report" ';

TITLE 'Analytic Engineering' ''s Report';

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Considering the following PROC SORT step:

 

PROC SORT data=students;

<insert statement here>

RUN;

 

Which statement completes the step and sorts the observations in descending order by ID and, within ID, in ascending order by FirstName?

by ID descending FirstName;

by descending ID FirstName;

by descending ID ascending FirstName;

by ID descending FirstName ascending;

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The scores.csv file is a comma-delimited raw data file. Which INFILE statement correctly references the file?

INFILE 'sales.csv' dlm=csv;

INFILE 'sales.csv' dlm=comma;

INFILE 'sales.csv';

INFILE 'scores.csv' dlm=',';

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which statement about the DATA step merge is TRUE?

It expects the data to be in sorted order or indexed according to the BY variable.

It is capable of sorting the data.

It uses the ORDER BY clause to sort the data.

It returns only matching rows by default.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Consider the following expression:

 

Total = P + Q + S;

 

What is the result of the expression given these values:

 

P = 9

Q = . (missing)

S = 5

5

9

14

. (missing)

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which statement is used in the DATA step to concatenate multiple data sets?

SET

MERGE

CONCATE

APPEND

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?