0

web technology Online Quiz - 31

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

Which is the default Provider Name of the Providers used to access the DataBase?

  1. System.Data.SqlClient

  2. System.Data.OracleClient

  3. System.Data.Odbc

  4. System.Data.Oledb


Correct Option: A

Which command does not return any value?

  1. ExecuteDataSet()

  2. ExecuteScalar()

  3. ExecuteReader()

  4. ExecuteNonQuery()


Correct Option: D

A Web service is a function/method exposed on the web

  1. True

  2. False


Correct Option: B

How many number of parts are there in a SOAP document ?

  1. 3

  2. 4

  3. 5

  4. 6


Correct Option: B

REST webservices don't require any wrapper around Http to communicate, the way SOAP based web services do ?

  1. True

  2. False


Correct Option: B

A web service is called over which of the following protocols, please select the correct options

  1. SOAP

  2. Http

  3. RMI-IIOP

  4. RPC


Correct Option: A,B

What is WSDL

  1. Its a protocol for calling services

  2. Its a registry for discovering services

  3. Its an xml file for defining the methods that can be called over the web.

  4. None of the above


Correct Option: C

What are advantages of writing web services as compared to other native ways like EJB, COM/DCOM and CORBA.

  1. Open Standard

  2. Secure

  3. Text Based Response

  4. All of Them


Correct Option: A,C
  1. A Web service

  2. A tool to generate Web services from java classes.

  3. A tool to generate web service stubs.

  4. All of the above.


Correct Option: B,C

How many different types of parsers are available to parse XMLs ?

  1. 2

  2. 3

  3. 4

  4. None of the above


Correct Option: B

SAX can be used to modify XML

  1. True

  2. False


Correct Option: B

DOM loads the whole xml to be parsed in the memory

  1. True

  2. False


Correct Option: B

PL/SQL raises an exception in which of the following scenarios

  1. When a SELECT statement returns no rows

  2. When the datatypes of SELECT clause and INTO clause do not match

  3. When INTO statement is missing in the SELECT statement

  4. When a SELECT statement returns more than one row


Correct Option: A,D

Does hibernate allow mixing table-per-class hierarchy and table-per-subclass strategies?

  1. Yes

  2. No

  3. Can't say

  4. None of the above


Correct Option: B
  1. Session.contains() method to determine if an instance belongs to the session cache.

  2. Session.contains() method to determine if an instance belongs to the data base

  3. Both are correct

  4. None of the above


Correct Option: A
  1. remove the object and its collections from the first level cache

  2. remove the object and its collections from the second level cache

  3. remove the object and its collections from the data base

  4. None of the above


Correct Option: A
- Hide questions