1
STT 305 Test 1 Questions with Answers (100% Correct
Answers)
How many observations and variables does the dataset below
contain?(table with 6 rows(1 with labels) and 4 columns)
a. 5 observations and 4 variables
b. 4 observations and 5 variables
c. 6 observations and 4 variables
d. 11 observations and 5 variables Answer: a. 5 observations and 4
variables
How many program steps are executed when the program below is
processed?
data admit;
set sasuser.admit;
run;
© 2025 All rights reserved
,2
proc means data=admit;
var age fee;
run;
proc contents data=admit; run;
proc means data=admit;
var fee;
class sex Actlevel;
run;
a. 13
b.14
c.5
d.6 Answer: c.5
What type of variable is the variable "Yours" in the data set below?
id Yours
© 2025 All rights reserved
, 3
101 6.2
103 6.0
109
110 5.9
111 5.6
a. categorical
b.character
c.numeric
d.discrete Answer: b.character
What type of variable is the variable "Yours" in the data set below?
id Yours
101 Senior
103 Fresh
109
© 2025 All rights reserved
STT 305 Test 1 Questions with Answers (100% Correct
Answers)
How many observations and variables does the dataset below
contain?(table with 6 rows(1 with labels) and 4 columns)
a. 5 observations and 4 variables
b. 4 observations and 5 variables
c. 6 observations and 4 variables
d. 11 observations and 5 variables Answer: a. 5 observations and 4
variables
How many program steps are executed when the program below is
processed?
data admit;
set sasuser.admit;
run;
© 2025 All rights reserved
,2
proc means data=admit;
var age fee;
run;
proc contents data=admit; run;
proc means data=admit;
var fee;
class sex Actlevel;
run;
a. 13
b.14
c.5
d.6 Answer: c.5
What type of variable is the variable "Yours" in the data set below?
id Yours
© 2025 All rights reserved
, 3
101 6.2
103 6.0
109
110 5.9
111 5.6
a. categorical
b.character
c.numeric
d.discrete Answer: b.character
What type of variable is the variable "Yours" in the data set below?
id Yours
101 Senior
103 Fresh
109
© 2025 All rights reserved