web technology Online Quiz - 198
web technology Online Quiz - 198
Questions
Which is not a major cloud computing platform?
- IBM Deep blue
- Google 101
- Microsoft Azure
- Amazon EC2
What is Cloud Computing replacing?
- Corporate data centers
- Expensive personal computer hardware
- Expensive software upgrades
- All of the above
What is the number one concern about cloud computing?
- Too expensive
- Security concerns
- Too many platforms
- Accessibility
Expand CLR
- Common Language Runtime
- Communication Language Runtime
- Common Language Realtime
- Common Lease Runtime
What is the name of configuration file used in ASP.Net?
- App.Config
- Web.Config
- ASP.Config
- App.INS
How will you avoid postback for a button on client side?
- OnClick call a server function
- retun false on OnClick
- return true on OnClientClick
- return false on OnClientClick
Is Read Only and Constant variables are same in c#?
- True
- False
Which attribute in server control determines the viewstate maintenance?
- EnableViewState
- ID
- RunAt
- Name
The JOIN is a SQL keyword used to ...
- delete data from database table.
- select data from 2 or more tables related by common attribute (table column).
- verify that the inserted data is correct.
- update database table.
What is a thin-client application?
- A browser that uses a plug-in to process user data.
- 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.
- An application that cannot be stopped by a firewall.
- An application compiled with the -thin option of the javac command.
GET and POST are valid HTTP 1.1 methods. Which of the following are not valid HTTP 1.1 methods?
- PUT
- HEAD
- DELETE
- None of the above are valid HTTP 1.1 methods
- All of the above are valid HTTP 1.1 methods
Which of the following types define the methods getAttribute() and setAttribute() ? (Choose all that apply)
- HttpSession
- ServletRequest
- ServletResponse
- ServletContext
- ServletConfig
- SessionConfig
Which of the following is not a listener event type in the J2EE 1.4 API ?
- HttpSessionEvent
- ServletRequestEvent
- HttpSessionBindingEvent
- HttpSessionAttributeEvent
- ServletContextAttributeEvent
Given that req is an HTTPServletRequest object which of the following creates a session if one does not exist ? (Choose all that apply)
- req.getSession()
- req.getSession(true)
- req.getSession(false)
- req.createSession()
- req.createSession(true)
- req.createSession(false)
Which method of HTTPServletResponse is used to redirect an HTTP request to another URL ?
- sendURL()
- redirectURL()
- sendRedirect()
- getRequestDispatcher()
Which among the following is a valid JSP implicit variable ?
- stream
- context
- listener
- application
jspInit(),jspDestroy and _jspService are lifecycle methods of a JSP . Which of the following is true ?
- Only jspInit() can be overridden
- Only jspDestroy() can be overridden
- Only _jspService() can be overridden()
- Both jspInit() and jspDestroy() can be overridden
- jspInit(), jspDestroy() and _jspService() can all be overridden
Which of the following is NOT a valid DIRECTIVE in JSP's ?
- page
- taglib
- import
- include
Which of the following shows a proper use of a jsp standard action ?
- <jsp:forward page="view.jsp" />
- <jsp:forward file="view.jsp"/>
- <jsp:dispatch page="view.jsp"/>
- <jsp:dispatch file="view.jsp"/>
Assuming correct syntax and no exceptions/errors in the following tags, which of the following is NOT considered to be an EMPTY tag ?
- <my:tag value"x"/>
- <my:tag value="x"></my:tag>
- <my:tag><jsp:attribute name="value">${userName}</jsp:attribute></my:tag>
- <my:tag value="x"><%="This is an EMPTY tag"%></my:tag>