0

web technology Online Quiz - 177

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

Which of the following symbols is used to identifying the beginning of the query string and the consecutive name-value pairs in a request?

  1. ? and &

  2. & and =

  3. ? and =

  4. % and &


Correct Option: A

What will happen when the HttpSession.setAttribute() method is called the second time with the same attribute name?

  1. An IllegalStateException exception will be thrown because of the presence of

  2. A second call to setAttribute() with the same attribute name will just replace the

  3. The behavior is not defined in the Servlet Specification.

  4. None of the above.


Correct Option: B
Explanation:

To answer this question, the user needs to know about the HttpSession and its setAttribute() method.

Option A: This option is incorrect. IllegalStateException is thrown when we try to set an attribute on an already invalidated session, not when we set an attribute with the same name.

Option B: This option is correct. A second call to setAttribute() with the same attribute name will just replace the previous value associated with the attribute name with the new value.

Option C: This option is incorrect. The Servlet Specification does define the behavior of HttpSession.setAttribute() method when it is called the second time with the same attribute name.

Option D: This option is incorrect as option B is the correct answer.

Therefore, the correct answer is:

The Answer is: B. A second call to setAttribute() with the same attribute name will just replace the previous value associated with the attribute name with the new value.

An event Step can be used to pause a case, or a branch of a case, until a specified date and time

  1. True

  2. False


Correct Option: A

VAX stands for

  1. Virtual Aiming System

  2. Virtual Addresses Extended

  3. Virtual Address Extension

  4. Virtual Amplication System


Correct Option: C

QTP often confuses while differentiateing between windows object and web objects while automating FireFox.

  1. True

  2. False


Correct Option: B

Which is the default font used in Cognos 8

  1. Andrew fonts

  2. Andale WT fonts

  3. Albany fonts

  4. Ad fonts


Correct Option: B

Difference Between Interface and Abstract class?

  1. both are same

  2. abstract class has only method signature

  3. interface has only method signature

  4. none of the above


Correct Option: C

Which among these is NOT a logging level used in Cognos 8

  1. Trace

  2. Minimal

  3. Request

  4. Audit


Correct Option: D

Difference between HashMap and Map?

  1. HashMap is Interface and Map is class that implements that.

  2. Both are interfaces

  3. Map is Interface and Hashmap is class that implements that.

  4. None of the above


Correct Option: C

This Cognos 8 Service sends email to an external SMTP server on behalf of other services

  1. Delivery Service

  2. Data movement Service

  3. Event management Service

  4. Job Service


Correct Option: D

Difference between Vector and ArrayList?

  1. Vector is synchronized whereas arraylist is not

  2. ArrayList is synchronized whereas Vector is not

  3. Both are same

  4. None of the Above


Correct Option: A

What will be the output of the following statement? System.out.println ("1" + 3);

  1. 132

  2. Exception arises

  3. 4

  4. 13


Correct Option: D

If the Cognos Installation includes 'n' Content Manager, how many will be active at a time

  1. n

  2. n/n

  3. n-n

  4. n-1


Correct Option: B

Which companey's combined to create first POC for UDDI registry?

  1. IBM

  2. SUN

  3. Microsoft

  4. SAP


Correct Option: A,C,D
  1. Universal Service Registry

  2. UDDI registry

  3. Universal Business Registry

  4. Open Registry


Correct Option: C

The COGNOS namespace is the Cognos 8 built-in namespace. Which of the following is FALSE

  1. COGNOS namespace cannot be renamed

  2. COGNOS namespace cannot be deleted

  3. COGNOS namespace contains Cognos groups, roles, datasources, distribution lists

  4. COGNOS namespace is always active


Correct Option: A

Which is NOT a predefined style in Cognos 8

  1. Business

  2. Modern

  3. Contemporary

  4. Standard


Correct Option: D

The default value of the parameter CM.DbConnectPoolMax (maximum no. of concurrent database connection that are allowed to the content store) is

  1. 1

  2. 0

  3. -1

  4. 2


Correct Option: C
Explanation:

To solve this question, the user needs to know about the parameter CM.DbConnectPoolMax which is related to concurrent database connections in the content store.

The answer to the question is:

The default value of the parameter CM.DbConnectPoolMax is -1.

Explanation:

The parameter CM.DbConnectPoolMax specifies the maximum number of concurrent database connections that are allowed to the content store. The default value of this parameter is -1, which means that there is no limit to the number of concurrent connections.

Option A (1) is incorrect because the default value of CM.DbConnectPoolMax is not 1.

Option B (0) is incorrect because the default value of CM.DbConnectPoolMax is not 0.

Option D (2) is incorrect because the default value of CM.DbConnectPoolMax is not 2.

Therefore, the correct answer is option C ( -1).

Which access permission needs to be granted to "Read and modify the security settings for an entry"

  1. Write

  2. Set Policy

  3. Execute

  4. Traverse


Correct Option: B
- Hide questions