Tag: programming languages

Questions Related to programming languages

Which of the following operators work most like substitution?

  1. /f

  2. /g

  3. s///

  4. m//


Correct Option: C
  1. Invoke the Perl debugger

  2. Disable the Perl debugger

  3. Disable breakpoints

  4. Display a stack trace


Correct Option: A
  1. With the #include preprocessor command

  2. Adding the file’s directory to @INC and then passing the filename to require.

  3. Both A & B

  4. None


Correct Option: C
  1. grep(! /^ !/, @array);

  2. Every non empty list element

  3. Every list element that does not start with an exclamation mark.

  4. Every list element.


Correct Option: B