100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

SAS BASE CERTIFICATION QUESTIONS & ANSWERS

Puntuación
-
Vendido
-
Páginas
24
Grado
A+
Subido en
18-09-2024
Escrito en
2024/2025

SAS BASE CERTIFICATION QUESTIONS & ANSWERS

Institución
SAS BASE CERTIFICATION
Grado
SAS BASE CERTIFICATION










Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
SAS BASE CERTIFICATION
Grado
SAS BASE CERTIFICATION

Información del documento

Subido en
18 de septiembre de 2024
Número de páginas
24
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

SAS BASE CERTIFICATION QUESTIONS & ANSWERS
c - Answers -Which of the following will select from a data set only those observations
for which the value of the variable Genre is SciFi, Western, or Classic?

a.where genre='SciFi' or 'Western' or 'Classic';
b.where genre is SciFi Western Classic;
c.where genre in ('SciFi', 'Western', 'Classic');
d.where genre in (SciFi, Western, Classic);

b - Answers -What happens when the following program is run?

proc sort data=black.book;
run;
proc print data=black.book;
var name age number;
where status='Single';
run;

a. The PROC PRINT step is successful, providing list in sorted order.
b. The PROC SORT generates an error in the log, the PROC PRINT step runs.
c. The PROC SORT step permanently sorts the data set.
d. The PROC SORT runs successfully, PROC PRINT generates errors

d - Answers -In the DATA step, how can you reference the temporary SAS data set
named Dating

a. Dating
b. Work.Dating
c. Pool.Dating (after assigning the libref Pool)
d. a and b

a - Answers -Which of the following is a valid variable name?

a. _Units_
b. 2Cool
c. Total$
d. Days-To-Ship

d - Answers -Which of the following contains a syntax error?
a. None of these
b.proc print data=sales.location;
label loc='Franchise Location';
run;
c.proc sort data=work.sales;
by month;

, run;
d.dat homework.test;
set homework.quiz;
run;

c - Answers -A syntax error occurs when
a. the form of the elements of the SAS statement are correct but their usage is not.
b. none of these.
c. programming statements that do not conform to the rules of the SAS language.
d. some data values are not appropriate for the SAS statements.

d - Answers -What usually happens when a syntax error is detected?

a. SAS continues to process the step, and the SAS log displays messages about the
error.
b. SAS continues to process the step.
c. SAS stops processing the step in which the error occurred, and the Output window
displays messages about the error.
d. SAS stops processing the step in which the error occurred, and the SAS log displays
messages about the error

a - Answers -What is the default length of the variable BALANCE?
Name Balance
Andrews 123.21
Smithy 92.31
Keeley 2812.23
Cist 981.99

a. 8
b. 32
c. 0
d. 16


a - Answers -If SAS cannot interpret a syntax error, then

a. the DATA step compiles but does not execute.
b. the DATA step does not compile.
c. the DATA step compiles and executes.
d. the variables in the data set will all be set to missing values.

d - Answers -Which statement identifies the name of a raw data file to be read with the
fileref Jobs and specifies that the DATA step only read records 1-20?

a. infile jobs obs 20;
b. infile jobs 1-20;

, c. input jobs 1-20;
d. infile jobs obs=20;
e. input jobs obs=20;

a - Answers -What is not created in the compilation phase of the DATA step?

a. the first observations
b. the automatic variables _N_ and _ERROR_
c. the data set descriptor
d. the program data vector

d - Answers -Which of the following statements will process only the records above
where Driver is SS?

a. a or c
b.if driver=SS
c.if driver is SS
d.if driver='SS'

b - Answers -During the compilation phase, SAS checks each statement looking for
syntax errors. Which of the following is not a syntax error?

a. missing or invalid punctuation
b. improper formats and incorrect values
c. missing or misspelled keywords.
d. invalid options or variable names

c - Answers -How would you create a list report of an Excel sheet?

a.data work.new; infile xldat.'Sheet1$'; input var1 var2 var3; run; proc print
data=work.new; run;
b.proc print data=xldat; sheet = 'Sheet1'; run;
c.proc print data=xldat.'Sheet1$'n; run;
d.proc print data=xldat.'Sheet1$'; run;

d - Answers -When you run a SAS program to read in biographical information, an error
occurs from the 3rd to the 20th records due to a change of format in the DoB column.
What is the value of _ERROR_ after the 17th record is read in?

a. 0
b. 14
c. 3
d. 1

b - Answers -The DATA step will execute
$13.49
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
QUEENS Harvard University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
222
Miembro desde
3 año
Número de seguidores
180
Documentos
4152
Última venta
3 semanas hace

4.1

61 reseñas

5
35
4
10
3
8
2
3
1
5

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes