Tag: programming languages

Questions Related to programming languages

  1. It should be easy to write programs that process XML documents

  2. Optional features should be kept to a minimum, ideally zero

  3. XML documents should be human legible and reasonably clear

  4. None


Correct Option: B
  1. Optional but makes a document more portable

  2. Highly discouraged by W3C standards

  3. Recommended for HTML programming only

  4. None


Correct Option: B
  1. parenthesis

  2. 'greater-than and less-than signs'

  3. single or double quotes

  4. brackets


Correct Option: C

Valid Options for printing the macro variable in %put statement are :

  1. ALL , AUTOMATIC , USER

  2. AUTO , SYS , LOCAL

  3. ALL , LOCAL ,USERDEFINED

  4. ALL , AUTO , GLOBAL


Correct Option: A

Executing the statement y=input(x,?? 2.); when variable x is having invalid data will cause the variable ERROR to have value ___ ?

  1. 1

  2. 0

  3. undefined

  4. any integer value


Correct Option: B
  1. title "Total Sales for ’&month’ ";

  2. title "Total Sales for ’month’";

  3. title "Total Sales for &month";

  4. title Total Sales for "&month";


Correct Option: C
  1. Sales Report for Southeast Area

  2. Sales Report for "Southeast" Area

  3. Sales Report for "Southeast" Area

    • Sales Report for "Southeast" Area *

Correct Option: D
  1. A macro variable can be defined and referenced anywhere in a SAS program except within data lines. within the data lines of a DATALINES statement.

  2. Macro variables are always user-defined, and their values remain constant until they are changed by the user.

  3. Macro variables are text strings that are independent of SAS data sets.

  4. The values of macro variables can be up to 65,534 characters long.


Correct Option: B