web technology Online Quiz - 198

web technology Online Quiz - 198

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which is not a major cloud computing platform?

  1. IBM Deep blue
  2. Google 101
  3. Microsoft Azure
  4. Amazon EC2
Question 2 Multiple Choice (Single Answer)

What is Cloud Computing replacing?

  1. Corporate data centers
  2. Expensive personal computer hardware
  3. Expensive software upgrades
  4. All of the above
Question 3 Multiple Choice (Single Answer)

What is the number one concern about cloud computing?

  1. Too expensive
  2. Security concerns
  3. Too many platforms
  4. Accessibility
Question 4 Multiple Choice (Single Answer)

Expand CLR

  1. Common Language Runtime
  2. Communication Language Runtime
  3. Common Language Realtime
  4. Common Lease Runtime
Question 5 Multiple Choice (Single Answer)

What is the name of configuration file used in ASP.Net?

  1. App.Config
  2. Web.Config
  3. ASP.Config
  4. App.INS
Question 6 Multiple Choice (Single Answer)

How will you avoid postback for a button on client side?

  1. OnClick call a server function
  2. retun false on OnClick
  3. return true on OnClientClick
  4. return false on OnClientClick
Question 7 True/False

Is Read Only and Constant variables are same in c#?

  1. True
  2. False
Question 8 Multiple Choice (Single Answer)

Which attribute in server control determines the viewstate maintenance?

  1. EnableViewState
  2. ID
  3. RunAt
  4. Name
Question 9 Multiple Choice (Single Answer)

The JOIN is a SQL keyword used to ...

  1. delete data from database table.
  2. select data from 2 or more tables related by common attribute (table column).
  3. verify that the inserted data is correct.
  4. update database table.
Question 10 Multiple Choice (Single Answer)

What is a thin-client application?

  1. A browser that uses a plug-in to process user data.
  2. A distributed application where the client program does not process data, but instead passes data for processing to an enterprise bean running on an application server.
  3. An application that cannot be stopped by a firewall.
  4. An application compiled with the -thin option of the javac command.
Question 11 Multiple Choice (Single Answer)

GET and POST are valid HTTP 1.1 methods. Which of the following are not valid HTTP 1.1 methods?

  1. PUT
  2. HEAD
  3. DELETE
  4. None of the above are valid HTTP 1.1 methods
  5. All of the above are valid HTTP 1.1 methods
Question 12 Multiple Choice (Multiple Answers)

Which of the following types define the methods getAttribute() and setAttribute() ? (Choose all that apply)

  1. HttpSession
  2. ServletRequest
  3. ServletResponse
  4. ServletContext
  5. ServletConfig
  6. SessionConfig
Question 13 Multiple Choice (Single Answer)

Which of the following is not a listener event type in the J2EE 1.4 API ?

  1. HttpSessionEvent
  2. ServletRequestEvent
  3. HttpSessionBindingEvent
  4. HttpSessionAttributeEvent
  5. ServletContextAttributeEvent
Question 14 Multiple Choice (Multiple Answers)

Given that req is an HTTPServletRequest object which of the following creates a session if one does not exist ? (Choose all that apply)

  1. req.getSession()
  2. req.getSession(true)
  3. req.getSession(false)
  4. req.createSession()
  5. req.createSession(true)
  6. req.createSession(false)
Question 15 Multiple Choice (Single Answer)

Which method of HTTPServletResponse is used to redirect an HTTP request to another URL ?

  1. sendURL()
  2. redirectURL()
  3. sendRedirect()
  4. getRequestDispatcher()
Question 16 Multiple Choice (Single Answer)

Which among the following is a valid JSP implicit variable ?

  1. stream
  2. context
  3. listener
  4. application
Question 17 Multiple Choice (Single Answer)

jspInit(),jspDestroy and _jspService are lifecycle methods of a JSP . Which of the following is true ?

  1. Only jspInit() can be overridden
  2. Only jspDestroy() can be overridden
  3. Only _jspService() can be overridden()
  4. Both jspInit() and jspDestroy() can be overridden
  5. jspInit(), jspDestroy() and _jspService() can all be overridden
Question 18 Multiple Choice (Single Answer)

Which of the following is NOT a valid DIRECTIVE in JSP's ?

  1. page
  2. taglib
  3. import
  4. include
Question 19 Multiple Choice (Single Answer)

Which of the following shows a proper use of a jsp standard action ?

  1. <jsp:forward page="view.jsp" />
  2. <jsp:forward file="view.jsp"/>
  3. <jsp:dispatch page="view.jsp"/>
  4. <jsp:dispatch file="view.jsp"/>
Question 20 Multiple Choice (Single Answer)

Assuming correct syntax and no exceptions/errors in the following tags, which of the following is NOT considered to be an EMPTY tag ?

  1. <my:tag value"x"/>
  2. <my:tag value="x"></my:tag>
  3. <my:tag><jsp:attribute name="value">${userName}</jsp:attribute></my:tag>
  4. <my:tag value="x"><%="This is an EMPTY tag"%></my:tag>