Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

SAS PRACTICE EXAM QUESTIONS AND ANSWERS

Beoordeling
-
Verkocht
-
Pagina's
12
Cijfer
A+
Geüpload op
13-11-2025
Geschreven in
2025/2026

SAS PRACTICE EXAM QUESTIONS AND ANSWERS For observation 16, what is the value of VAR3? Enter your numeric answer in the space below: - answer- Answer: 80136 SAS code that could be used to solve this project: data t04; set 04; var3=round(var1,1)*round(var2,1); var20=sum(of var12-var19); run; proc print data=t04 (obs=16 firstobs=16); var var3 var20; run; For observation 16, what is the value of VAR20? Enter your numeric answer in the space below. Round your answer to the nearest whole number.Save your program as in C:certprograms before continuing with the next project. - answer- Answer: 3175. (3174 also scored as correct.) SAS code that could be used to solve this project: data t04; set 04; var3=round(var1,1)*round(var2,1); var20=sum(of var12-var19); run;proc print data=t04 (obs=16 firstobs=16); var var3 var20; run; How many observations (rows) are in 08? - answer- Answer: 1200 SAS code that could be used to solve this project: proc sort data=08a out=08a; by ID; run;proc sort data=08b out=08b; by ID; run;data 08 ch08 (drop=ex: ); merge 08a (in=a) 08b (in=b); by ID; if a and b then output 08; else output ch08; run;proc contents data=08; run;proc contents data=ch08; run; How many variables (columns) are in 08? - answer- Answer: 117 SAS code that could be used to solve this project: proc sort data=08a out=08a; by ID; run;proc sort data=08b out=08b; by ID; run;data 08 ch08 (drop=ex: ); merge 08a (in=a) 08b (in=b); by ID; if a and b then output 08; else output ch08; run;proc contents data=08; run;proc contents data=ch08; run; How many observations (rows) are in ch08? - answer- Answer: 2 SAS code that could be used to solve this project: proc sort data=08a out=08a; by ID; run;proc sort data=08b out=08b; by ID; run;data 08 ch08 (drop=ex: ); merge 08a (in=a) 08b (in=b); by ID; if a and b then output 08; else output ch08; run;proc contents data=08; run;proc contents data=ch08; run; How many variables (columns) are in ch08? Enter your numeric answer in the space below: Save your program as in folder C:certprograms before continuing with the next project. - answer- Answer: 5 SAS code that could be used to solve this project: proc sort data=08a out=08a; by ID; run;proc sort data=08b out=08b; by ID; run;data 08 ch08 (drop=ex: ); merge 08a (in=a) 08b (in=b); by ID; if a and b then output 08; else output ch08; run;proc contents data=08; run;proc contents data=ch08; run; What is the maximum salary that is less than $500,000? Enter your numeric answer in the space below (Round your answer to the nearest integer) What is the value of year when the above salary occurs? Enter your numeric answer in the space below. Save your program as in folder C:certprograms before continuing with the next project. - answer- Answer 1: 498737. (498736 also scored as correct). Answer 2: 2027 SAS code that could be used to solve this project: data t12; set 12; do until (salary gt 500000); salary=salary*1.0565; year+1; output; end; run;proc print data=t12; run; What is the value of Chdate for observation 52? - answer- Answer: 30DEC1992 SAS code that could be used to solve this project: data t13; set 13; Chdate=put(date1,date9.); num1=input(Charnum,dollar7.); run;proc print data=t13 (firstobs=52 obs=52); run; What is the average (mean) of the num1 variable for the entire data set? Enter your numeric answer in the space below (Round your answer to the nearest integer). Save your program as in folder C:certprograms before continuing with the next project. - answer- Answer: 51763 (51762 also scored as c

Meer zien Lees minder
Instelling
SAS
Vak
SAS

Voorbeeld van de inhoud

SAS PRACTICE EXAM QUESTIONS
AND ANSWERS
For observation 16, what is the value of VAR3? Enter your numeric answer in the
space below: - answer- Answer: 80136

SAS code that could be used to solve this project:

data results.output04;
set cert.input04;
var3=round(var1,1)*round(var2,1);
var20=sum(of var12-var19);
run;
proc print data=results.output04 (obs=16 firstobs=16);
var var3 var20;
run;

For observation 16, what is the value of VAR20? Enter your numeric answer in the
space below. Round your answer to the nearest whole number.Save your program
as program04.sas in C:\cert\programs before continuing with the next project. -
answer- Answer: 3175. (3174 also scored as correct.)
SAS code that could be used to solve this project:

data results.output04; set cert.input04; var3=round(var1,1)*round(var2,1);
var20=sum(of var12-var19); run;proc print data=results.output04 (obs=16
firstobs=16); var var3 var20; run;

How many observations (rows) are in results.match08? - answer- Answer: 1200
SAS code that could be used to solve this project:

proc sort data=cert.input08a out=work.input08a; by ID; run;proc sort
data=cert.input08b out=work.input08b; by ID; run;data results.match08
results.nomatch08 (drop=ex: ); merge work.input08a (in=a) work.input08b (in=b); by
ID; if a and b then output results.match08; else output results.nomatch08; run;proc
contents data=results.match08; run;proc contents data=results.nomatch08; run;

How many variables (columns) are in results.match08? - answer- Answer: 117

SAS code that could be used to solve this project:

proc sort data=cert.input08a out=work.input08a; by ID; run;proc sort
data=cert.input08b out=work.input08b; by ID; run;data results.match08
results.nomatch08 (drop=ex: ); merge work.input08a (in=a) work.input08b (in=b); by
ID; if a and b then output results.match08; else output results.nomatch08; run;proc
contents data=results.match08; run;proc contents data=results.nomatch08; run;

How many observations (rows) are in results.nomatch08? - answer- Answer: 2

, SAS code that could be used to solve this project:

proc sort data=cert.input08a out=work.input08a; by ID; run;proc sort
data=cert.input08b out=work.input08b; by ID; run;data results.match08
results.nomatch08 (drop=ex: ); merge work.input08a (in=a) work.input08b (in=b); by
ID; if a and b then output results.match08; else output results.nomatch08; run;proc
contents data=results.match08; run;proc contents data=results.nomatch08; run;

How many variables (columns) are in results.nomatch08?

Enter your numeric answer in the space below:

Save your program as program08.sas in folder C:\cert\programs before continuing
with the next project. - answer- Answer: 5
SAS code that could be used to solve this project:

proc sort data=cert.input08a out=work.input08a; by ID; run;proc sort
data=cert.input08b out=work.input08b; by ID; run;data results.match08
results.nomatch08 (drop=ex: ); merge work.input08a (in=a) work.input08b (in=b); by
ID; if a and b then output results.match08; else output results.nomatch08; run;proc
contents data=results.match08; run;proc contents data=results.nomatch08; run;

What is the maximum salary that is less than $500,000? Enter your numeric answer
in the space below (Round your answer to the nearest integer)

What is the value of year when the above salary occurs? Enter your numeric answer
in the space below.

Save your program as program12.sas in folder C:\cert\programs before continuing
with the next project. - answer- Answer 1: 498737. (498736 also scored as correct).

Answer 2: 2027

SAS code that could be used to solve this project:

data results.output12; set cert.input12; do until (salary gt 500000);
salary=salary*1.0565; year+1; output; end; run;proc print data=results.output12; run;

What is the value of Chdate for observation 52? - answer- Answer: 30DEC1992

SAS code that could be used to solve this project:

data results.output13; set cert.input13; Chdate=put(date1,date9.);
num1=input(Charnum,dollar7.); run;proc print data=results.output13 (firstobs=52
obs=52); run;

What is the average (mean) of the num1 variable for the entire data set?

Geschreven voor

Instelling
SAS
Vak
SAS

Documentinformatie

Geüpload op
13 november 2025
Aantal pagina's
12
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$20.49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Freshy Oxford University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
61
Lid sinds
2 jaar
Aantal volgers
4
Documenten
6989
Laatst verkocht
1 week geleden

3.6

10 beoordelingen

5
3
4
4
3
1
2
0
1
2

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen