Tag: programming languages

Questions Related to programming languages

  1. alphabetic

  2. numeric

  3. ASCII

  4. none of the above


Correct Option: C

Rather than using print, what is often used in Perl when formatting is important?

  1. printf

  2. format

  3. align

  4. show


Correct Option: A

Which operator can be used to create private variables within a subroutine?

  1. native

  2. limited

  3. my

  4. regional


Correct Option: C

Within a loop, which operator jumps to the end of the loop but does not exit the loop?

  1. next

  2. last

  3. redo

  4. leave


Correct Option: A

What value do variables have before they are first assigned?

  1. undef

  2. null

  3. 0

  4. nil


Correct Option: A
  1. close KAREN "sw";

  2. KAREN close;

  3. close KAREN;

  4. close &KAREN


Correct Option: C