0

architecture Online Quiz - 16

Description: architecture Online Quiz - 16
Number of Questions: 20
Created by:
Tags: architecture
Attempted 0/20 Correct 0 Score 0

Which of the following is Data Definition Language?

  1. INSERT

  2. CREATE

  3. UPDATE

  4. DELETE


Correct Option: B
  1. PreparedStatement

  2. ParameterizedStatement

  3. ParameterizedStatement and CallableStatement

  4. All kinds of Statements (i.e. which implement a sub interface of Statement)


Correct Option: A

Which packages contain the JDBC classes?

  1. java.jdbc and javax.jdbc

  2. java.jdbc and java.jdbc.sql

  3. java.sql and javax.sql

  4. java.rdb and javax.rdb


Correct Option: C

Which of the following are true ?

  1. The executeUpdate method returns all the rows that were affected

  2. The executeUpdate method returns the no. of rows that were affected

  3. Depends , as there is more than one version of this method with different return types

  4. None


Correct Option: B

Which of the following is false wrt Transactions ?

  1. A transaction is a set of sql statements

  2. Auto commit to be set off before Transaction

  3. Auto commit to be set off after transaction

  4. Commit permanently records to database all changes waiting with current Connection

  5. Rollback is used in case of any error to undo transaction


Correct Option: C

Which of the following method names follow the JavaBeans standard ?

  1. addSize

  2. getCust

  3. deleteRep

  4. putDimensions


Correct Option: B
  1. jspInit(), _jspService() & jspDestroy()

  2. init(), service(), destroy()

  3. doPost()

  4. none of the above


Correct Option: A

What do you understand by JSP translation?

  1. Parsing JSP using an XML Parser.

  2. Converting JSP into static Html content.

  3. Generating Servlet Code for the Jsp

  4. None


Correct Option: C
  1. Applets

  2. Web Browsers

  3. Wireless clients.

  4. All the above


Correct Option: D

Can we have pure java code inside JSP

  1. True

  2. False


Correct Option: A

Every Custom Servlet extends javax.servlet.http.HttpServlet class

  1. True

  2. False


Correct Option: A
  1. page, request & session

  2. page, request & application.

  3. page, request, session & application

  4. request, session & application.


Correct Option: C

Which are implicit objects in a JSP?

  1. only request, response

  2. only request, response & application

  3. request, response, session & application

  4. None


Correct Option: C
  1. Query length is limited in POST, not limited in GET.

  2. POST is secured whereas data is been submitted as part of URL in GET (not secured).

  3. By using POST method, we cannot submit the form.

  4. None


Correct Option: B
- Hide questions