Tag: programming languages

Questions Related to programming languages

  1. WorkWeb 2

  2. WebWork 2

  3. Jstruts 2

  4. None of the above


Correct Option: B
  1. Overriding the populateBean method of the ActionMapping

  2. Overriding the processPopulate method of the Request Processor

  3. Overriding the populate method of the ActionForm

  4. None of the above


Correct Option: B

Which Perl function can be used to identify the first found occurrence of a substring?

  1. find

  2. index

  3. locate

  4. allocate


Correct Option: B
  1. The code will fail at line 1 because a hash cannot contain both numeric and string data.

  2. The code will execute without error but will output nothing.

  3. The code will output the following:32oz 16oz 8oz

  4. The code will output the following:large medium small


Correct Option: C

Assume @list contains (“1”, “2”, “3”, “4”, “5” ). What is the content of @list after the following statement splice (@list, -1, 1, “test1”. “test2”);

  1. (“1”, “2”, “3”, “4”, “test1”, “test2”)

  2. ( “2”, “3”, “4”, “test1”, “test2”)

  3. (“1”, “3”, “4”, “test1”, “test2”)

  4. (“1”, “test1”, test2”, “2”, “3”, “4” )


Correct Option: A