A00-215 Exam Question 151
You are working with a SAS dataset containing both numeric and character variables. You want to check if there are any missing values in the dataset. Which SAS function would you use to achieve this?
A00-215 Exam Question 152
You have a dataset with a character variable 'NAME' that stores full names. You need to create a new variable 'FIRST NAME' containing only the first name from the 'NAME' variable. The names are separated by a space. However, some names have a middle name, and some don't. Which code snippet correctly extracts the first name and ensures the 'FIRST NAME' variable has a length of 20 bytes?
A00-215 Exam Question 153
You are working with a dataset containing customer demographics. You need to create a new variable called 'AgeGroup' that categorizes customers into three groups: 'Young' (age < 25), 'Adult' (25 <= age < 50), and 'Senior' (age >= 50). Which of the following code snippets would achieve this using an iterative DO loop?
A00-215 Exam Question 154
You are tasked with importing a CSV file containing financial dat
a. The file has a header row, but some columns have missing values represented by empty strings. You want to import these missing values as SAS missing values (.) rather than empty strings. Which PROC IMPORT option would you use to achieve this?
a. The file has a header row, but some columns have missing values represented by empty strings. You want to import these missing values as SAS missing values (.) rather than empty strings. Which PROC IMPORT option would you use to achieve this?
A00-215 Exam Question 155
You need to export a SAS report to an Excel file with specific formatting and styles. You want to preserve the formatting of the report, including cell borders, font styles, and colors. Which ODS destination option would you use to achieve this?
