Online Exam Quiz

questionQuestion  1 to 30

Which statement is used to remove duplicates from a dataset in SAS?

  • REMOVE
  • DELETE DUPLICATES
  • DUPLICATE REMOVAL
  • NODUPKEY
Mark for review

Which statement is used to merge datasets by a common variable in SAS?

  • JOIN
  • MERGE
  • CONCATENATE
  • COMBINE
Mark for review

In SAS, which function is used to calculate the arithmetic mean?

  • MEAN
  • AVG
  • AVERAGE
  • AVERAGE
Mark for review

Which function is used to find the length of a character variable in SAS?

  • LENGTH
  • CHARLEN
  • SIZE
  • LEN
Mark for review

Which of the following is NOT a valid comparison operator in SAS?

  • LT
  • LE
  • GT
  • NE
Mark for review

Which of the following is NOT a valid format modifier in SAS?

  • COMMA
  • DOLLAR
  • PERCENT
  • EURO
Mark for review

In SAS, which function is used to convert character values to numeric values?

  • NUM
  • NUMBER
  • INPUT
  • CONVERT
Mark for review

In SAS, which option is used to specify the format of a variable?

  • FORMAT
  • DISPLAY
  • FORM
  • STYLE
Mark for review

Which statement is used to create a permanent SAS dataset?

  • DATA
  • CREATE
  • NEW
  • SAVE
Mark for review

In SAS, which statement is used to iterate over a set of values?

  • DO
  • LOOP
  • FOR
  • EACH
Mark for review

Which procedure is used for sorting data in SAS?

  • SORT
  • MERGE
  • PROC SORT
  • ORDER
Mark for review

In SAS, which option is used to specify missing character values?

  • MISSINGCHAR
  • MISSING=
  • CHARMISS
  • CHAR=
Mark for review

In SAS, which function is used to check for missing values?

  • ISNULL
  • MISSING
  • ISMISSING
  • NULL
Mark for review

Which option is used to suppress the printing of the observation number in SAS output?

  • NONUMBER
  • NONOBS
  • NOOBS
  • NONUM
Mark for review

Which of the following is NOT a valid option in the PROC CONTENTS statement?

  • DATA
  • OUT
  • VAR
  • FORMAT
Mark for review

Which of the following is NOT a valid SAS data type?

  • Numeric
  • Character
  • Date
  • Boolean
Mark for review

In SAS, which function is used to calculate the median?

  • MEDIAN
  • MIDRANGE
  • MEAN
  • MEDIANE
Mark for review

Which of the following is NOT a valid option in the VAR statement of PROC MEANS?

  • MEAN
  • MIN
  • MAX
  • COUNT
Mark for review

In SAS, which statement is used to execute a set of statements repeatedly?

  • IF-THEN
  • DO-WHILE
  • DO-UNTIL
  • LOOP
Mark for review

In SAS, which function is used to find the length of a numeric variable?

  • NUMLEN
  • LENGTH
  • LEN
  • SIZE
Mark for review

In SAS, which statement is used to create a new variable?

  • DEFINE
  • NEW
  • CREATE
  • SET
Mark for review

In SAS, which option is used to specify the delimiter for a character variable?

  • DELIMCHAR
  • DELIMITER
  • SEPARATOR
  • DLMCHAR
Mark for review

Which statement is used to include comments in SAS code?

  • COMMENT
  • REM
  • NOTE
  • COMMENT
Mark for review

Which statement is used to terminate a DATA step in SAS?

  • QUIT
  • STOP
  • EXIT
  • END
Mark for review

Which of the following is NOT a valid function in SAS?

  • SQRT
  • ABS
  • LOG10
  • EXPONENT
Mark for review

Which statement is used to rename variables in SAS?

  • RENAME
  • RENAMEVAR
  • VARRENAME
  • VAR
Mark for review

What is the maximum length of a character variable name in SAS?

  • 8 characters
  • 16 characters
  • 32 characters
  • 64 characters
Mark for review

In SAS, which option is used to specify the delimiter in raw data files?

  • DELIM
  • DLM
  • DELIMITER
  • SEPARATOR
Mark for review

Which of the following functions is used to generate random numbers in SAS?

  • RANDOM
  • RAND
  • RANDNUM
  • RANNUM
Mark for review

Which of the following is NOT a valid SAS variable name?

  • age_group
  • 1st_quarter_sales
  • Total_Sales$
  • _Total_Sales
Mark for review

blinkerOnline

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • Answered
  • Not Answered
  • Marked for Review