programming languages Online Quiz - 220
Description: programming languages Online Quiz - 220 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Correct validate () method?
Struts framework is use following servlet?
ActionServlet is acts like as?
To defeating browser cache?
ActionForm is not populate following object from reuest parameters?
Which initialize parameter is used to specify Struts configuration?
What are the scopes available in struts?
Struts Framework is well suited for application of ____ size
Other name of Struts 2 was
In Struts 1.1, you can change how Struts populates a form by
Consider the following program code @array= (“Y”,”W”,”X”); @array=sort(@array); unshift(@array , ”Z”); print($array[0]); What is the output of this code
Suppose the variable $var has the value abc123abc . What is the value of $var after the following substitution? $var=~ s/(\d+)/ $1*2 /e ;
Which Perl function can be used to identify the first found occurrence of a substring?
Assume that $var has the value hello . What is the value of the following sting? q (It’s time to say $var);
If $string contains abcdefghijiklmdef , what will the following call return? rindex($string , "def", 11 );
Consider the following lines of code: @array1 = ("apples", "oranges", "pears", "plums"); foreach (@array1) {print "$_\n"}; What is the result of these lines of code?
Consider the following program code: %hash = (small => 8oz, medium => 16oz, large => 32oz); @keys = sort(keys(%hash)); for ($i = 0; $i < 3; $i++) { print($hash{$keys[$i]}\n); } What is the result of executing this program code?
Assume @list contains (“1”, “2”, “3”, “4”, “5” ). What is the content of @list after the following statement splice (@list, -1, 1, “test1”. “test2”);
If $string contains abcdefgh , what will the following call return?