0

web technology Online Quiz - 175

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

Which one of the below is implementation of the Application Context?

  1. FilePathXmlApplicationContext class

  2. SystemXmlPathApplicationContext class

  3. FileSystemXmlApplicationContext class

  4. XmlFileApplicationContext class

  5. None of the above.


Correct Option: A

1.)

  1. a. FilePathXmlApplicationContext class

  2. b. SystemXmlPathApplicationContext class

  3. c. FileSystemXmlApplicationContext class

  4. d. XmlFileApplicationContext class


Correct Option: C

3.)

  1. a. Through TransactionFactory interface

  2. b. Through TransactionOperations interface

  3. c. Through TransactionCallback interface

  4. d. Through PlatformTransactionManager interface


Correct Option: D

4.)

  1. a.) 1, 3 & 4 only

  2. b.) 1, 2 & 4 only

  3. c.) 3, 4 & 5 only

  4. d.) 1, 3 & 5 only


Correct Option: B

5.)

  1. a. TransactionalTestExecutionListener class

  2. b. AbstractTransactionalSpringContextTests class

  3. c. TestExecutionListener class

  4. d. AbstractTestExecutionListener class


Correct Option: A

Which one of the below is implementation of the Application Context?

  1. a. FilePathXmlApplicationContext class

  2. b. SystemXmlPathApplicationContext class

  3. c. FileSystemXmlApplicationContext class

  4. d. XmlFileApplicationContext class


Correct Option: C

How spring framework supports the multiple transaction environments?

  1. a. Through TransactionFactory interface

  2. b. Through TransactionOperations interface

  3. c. Through TransactionCallback interface

  4. d. Through PlatformTransactionManager interface


Correct Option: D

Which class is used to manage the transactions in TestContext framework?

  1. a. TransactionalTestExecutionListener class

  2. b. AbstractTransactionalSpringContextTests class

  3. c. TestExecutionListener class

  4. d. AbstractTestExecutionListener class


Correct Option: A

Which of the following functions can be provided by ApplicationContext of Spring Framework? 1.) A generic way to load file resources. 2.) Support for internationalization in text messages. 3.) It plugs into several ORM frameworks to provide its Object Relational tool 4.) Events to beans that are registered as listeners 5.) Supports declarative transaction management.

  1. a.) 1, 3 & 4 only

  2. b.) 1, 2 & 4 only

  3. c.) 3, 4 & 5 only

  4. d.) 1, 3 & 5 only


Correct Option: B

Declarative transaction management is supported by the spring framework?

  1. True

  2. False


Correct Option: A

Which of the following is the correct value for the column whose data type is declared as number(3,-1)

  1. 0.001

  2. 3.01

  3. 0.01

  4. 0.1


Correct Option: A

When using a form-based authentication, which action must be used in the login form?

  1. j_login

  2. j_get_user

  3. j_login_check

  4. j_get_security

  5. j_security_check


Correct Option: E

Which security mechanism is employed only on the server-side to limit access to resources or components?

  1. authorization

  2. data integrity

  3. confidentiality

  4. authentication


Correct Option: A

Which element of a web application deployment descriptor element is required?


Correct Option: E

Given the web application deployment descriptor: 1 2 3 *.jsp 4 false 5 6 andexample.jsp: 10 x 5 = ${10 * 5}
2 * 3 =
What is the result?

  1. An error occurs during page translation

  2. Translation is successful, but nothing is included in the response.

  3. Both "10 x 5 = 50" and "2 * 3 = 6" are included in the JSP response

  4. The text "10 x 5 = 50" is included in the JSP response, but "2 * 3 = 6" is NOT

  5. The text "2 * 3 = 6" is included in the JSP response, but "10 x 5 = 50" is NOT


Correct Option: C

What is true in case of deferred constraints in Oracle?

  1. The Constraint condition is never checked

  2. The Constraint condition is checked only at the time of commiting the transaction

  3. The Constraint condition is checked only for newly inserted rows and will not be checked for already existing rows in the table

  4. The constraint condition is checked after a predefined time interval


Correct Option: B

5) The four basic data types are:

  1. strings, numbers, BooBoos, and nulls

  2. strings, text, Booleans, and nulls

  3. strings, numbers, Booleans, and nulls

  4. strings, numbers, Booleans, and zeros


Correct Option: C

What is true in case of deferred constraints in Oracle?

  1. The Constraint condition is never checked

  2. The Constraint condition is checked only at the time of commiting the transaction

  3. The Constraint condition is checked only for newly inserted rows and will not be checked for already existing rows in the table

  4. The constraint condition is checked after a predefined time interval


Correct Option: B

5) The four basic data types are:

  1. strings, numbers, BooBoos, and nulls

  2. strings, text, Booleans, and nulls

  3. strings, numbers, Booleans, and nulls

  4. strings, numbers, Booleans, and zeros


Correct Option: C
- Hide questions