A00-215 Exam Question 116

You are analyzing a dataset with variables 'CUSTOMER_NAME', 'ORDER DATE', and 'ORDER VALUE'. You need to create a new variable 'ORDER DAY' that extracts the day of the week from 'ORDER DATE' (e.g., 'Monday', 'Tuesday', etc.). Which of the following SAS code snippets will accomplish this task correctly?
  • A00-215 Exam Question 117

    You have a SAS dataset named 'SALES' with variables 'CUSTOMER D', 'PRODUCT NAME', and 'SALES AMOUNT'. You want to export this dataset to a CSV file named 'sales data.csv', excluding the 'CUSTOMER ID' variable. Which PROC EXPORT statement will achieve this?
  • A00-215 Exam Question 118

    Consider a dataset 'Sales' with variables 'Region', 'Product', and 'Sales_Amount'. You need to create a new dataset 'Summary' that reports the total sales for each region and product combination, but only for regions where the total sales exceed $10,000. Which SAS code would you use to achieve this?
  • A00-215 Exam Question 119

    You have a dataset with a variable 'Age' representing customer ages in years. You want to present this data in a report with age categories like Young Adult' (18-25), 'Adult' (26-45), 'Middle-Aged' (46-65), and 'Senior' (66+). Which of the following approaches is the most effective for applying the correct age category label using the FORMAT statement for temporary attributes?
  • A00-215 Exam Question 120

    You have a dataset 'ORDERS' with variables: 'Order ID', 'Product', 'Quantity', 'Price', 'Customer_lD', 'Order Date'. You want to create a new dataset 'ORDER SUMMARY' that includes only the variables 'Product', 'Quantity', and 'Price' for orders placed in 2022. Additionally, you need to create a new variable named 'Total_Value' which is the product of 'Quantity' and 'Price'. Which code snippet achieves this correctly?