programming languages Online Quiz - 148
Description: programming languages Online Quiz - 148 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
name = "Steve Lit" name_copy = name name << "t" print "name = ", name print " name_copy = ", name_copy, "\n" ===> Find the output
What is the output? myname = "Steve was here" print myname[4, 8], "\n"
mystring = "Cool " * 3 print mystring, "\n" ===> Find the output
Find output? [1,2,3].each do |i| print i*2 end
i=0 while i<3 print i, "\n" break end Output = 0
Which of the following variable declarations are valid. a.y2 b._x c.7x d.this_is_test
Which of the following will not result in error. x=10 y=20 a) puts x.to_s + "+" + y.to_s + "=" + (x+y).to_s b) puts "#{x} + #{y} = #{x + y}" c) puts x + y d) puts x
Which statement about jspInit() are true?
Which directives specify an HTTP response that will be of type "image/svg"?
Which are valid JSP implicit variables?
Which statements concerning JSPs are true?
Which statements about disabling scripting elements are true?
Which is true about tag files
Which is the most efficient JspContext method to call to access an attribute that is known to be in application scope?
Which returns the enclosing tag when called from within a tag handler class?
Which HttpServletRequest method is most closely associated with the use of the element
Which authentication types require a specific type of HTML action?
Given in a JSP page, the line:
This statement describes the potential benefit of a design pattern: The pattern reduces network rountrips between a client and an Enterprise Bean and gives the client a local copy of the data encapsulated by an Enterprise Bean after a single method call, instead of requiring several method calls. Which design pattern is being described?
Which method exist in HttpServlet?