0

web technology Online Quiz - 198

Description: web technology Online Quiz - 198
Number of Questions: 20
Created by:
Tags: web technology
Attempted 0/20 Correct 0 Score 0

Which is not a major cloud computing platform?

  1. IBM Deep blue

  2. Google 101

  3. Microsoft Azure

  4. Amazon EC2


Correct Option: A

AI Explanation

To answer this question, you need to understand the major cloud computing platforms.

Option A) IBM Deep Blue - This option is incorrect because IBM Deep Blue is not a cloud computing platform. It is a supercomputer that was developed by IBM for playing chess.

Option B) Google 101 - This option is incorrect because Google does not have a cloud computing platform called Google 101. However, Google does have a cloud computing platform called Google Cloud Platform (GCP).

Option C) Microsoft Azure - This option is incorrect because Microsoft Azure is a major cloud computing platform. It provides a wide range of cloud services and solutions for businesses.

Option D) Amazon EC2 - This option is incorrect because Amazon EC2 (Elastic Compute Cloud) is a major cloud computing platform provided by Amazon Web Services (AWS). It allows users to rent virtual servers and run applications on the cloud.

The correct answer is A) IBM Deep Blue. This option is not a major cloud computing platform.

What is Cloud Computing replacing?

  1. Corporate data centers

  2. Expensive personal computer hardware

  3. Expensive software upgrades

  4. All of the above


Correct Option: D

What is the number one concern about cloud computing?

  1. Too expensive

  2. Security concerns

  3. Too many platforms

  4. Accessibility


Correct Option: B

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) Too expensive - This option is incorrect because cost is not the number one concern about cloud computing. While cloud computing can have costs associated with it, such as subscription fees or data storage costs, it is widely adopted because it can often be more cost-effective compared to traditional on-premises IT infrastructure.

Option B) Security concerns - This option is correct. Security is considered the number one concern about cloud computing. Organizations are often worried about the safety and privacy of their data when it is stored and processed in the cloud. They may have concerns about data breaches, unauthorized access, or data loss.

Option C) Too many platforms - This option is incorrect. While there are multiple cloud platforms available, such as Amazon Web Services (AWS), Microsoft Azure, and Google Cloud, the abundance of platforms is not the primary concern about cloud computing. In fact, having multiple platforms can provide organizations with more choices and flexibility when selecting the most suitable cloud services for their needs.

Option D) Accessibility - This option is incorrect. Accessibility is not the number one concern about cloud computing. In fact, one of the advantages of cloud computing is that it provides remote access to data and applications from any location with an internet connection, making it highly accessible.

The correct answer is B) Security concerns. This option is correct because security is considered the number one concern about cloud computing, with organizations often worried about the safety and privacy of their data in the cloud.

Expand CLR

  1. Common Language Runtime

  2. Communication Language Runtime

  3. Common Language Realtime

  4. Common Lease Runtime


Correct Option: A

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

  1. App.Config

  2. Web.Config

  3. ASP.Config

  4. App.INS


Correct Option: B

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


Correct Option: D

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

  1. True

  2. False


Correct Option: B

Which attribute in server control determines the viewstate maintenance?

  1. EnableViewState

  2. ID

  3. RunAt

  4. Name


Correct Option: C

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.


Correct Option: D

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.


Correct Option: B

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


Correct Option: E

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


Correct Option: A,B,D

AI Explanation

To answer this question, you need to understand the different types in Java servlets and their methods.

Let's go through each option to understand which types define the methods getAttribute() and setAttribute():

Option A) HttpSession - This option is correct. The HttpSession interface in Java servlets defines the methods getAttribute() and setAttribute(). These methods are used to get and set attributes associated with a session.

Option B) ServletRequest - This option is correct. The ServletRequest interface in Java servlets also defines the methods getAttribute() and setAttribute(). These methods are used to get and set attributes associated with a specific request.

Option C) ServletResponse - This option is incorrect. The ServletResponse interface does not define the methods getAttribute() and setAttribute(). This interface is used to send response data back to the client.

Option D) ServletContext - This option is correct. The ServletContext interface in Java servlets defines the methods getAttribute() and setAttribute(). These methods are used to get and set attributes associated with the entire web application.

Option E) ServletConfig - This option is incorrect. The ServletConfig interface does not define the methods getAttribute() and setAttribute(). This interface is used to provide configuration information to a servlet.

Option F) SessionConfig - This option is incorrect. There is no built-in type called SessionConfig in Java servlets.

The correct answers are A, B, and D. These options define the methods getAttribute() and setAttribute().

Therefore, the correct answer is A, B, and D.

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


Correct Option: D

AI Explanation

To answer this question, we need to understand the listener event types in the J2EE 1.4 API. Let's go through each option to understand why it is correct or incorrect:

Option A) HttpSessionEvent - This option is a valid listener event type in the J2EE 1.4 API. It is used to track changes to HttpSession objects.

Option B) ServletRequestEvent - This option is a valid listener event type in the J2EE 1.4 API. It is used to track changes to ServletRequest objects.

Option C) HttpSessionBindingEvent - This option is a valid listener event type in the J2EE 1.4 API. It is used to track changes to HttpSession attributes.

Option D) HttpSessionAttributeEvent - This option is not a valid listener event type in the J2EE 1.4 API. It is incorrect. Therefore, this option is the correct answer.

Option E) ServletContextAttributeEvent - This option is a valid listener event type in the J2EE 1.4 API. It is used to track changes to ServletContext attributes.

The correct answer is D. This option is correct because HttpSessionAttributeEvent is not a valid listener event type in the J2EE 1.4 API.

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)


Correct Option: A,B

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

  1. sendURL()

  2. redirectURL()

  3. sendRedirect()

  4. getRequestDispatcher()


Correct Option: C

Which among the following is a valid JSP implicit variable ?

  1. stream

  2. context

  3. listener

  4. application


Correct Option: D

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


Correct Option: D

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

  1. page

  2. taglib

  3. import

  4. include


Correct Option: C
- Hide questions