0% found this document useful (0 votes)
4 views3 pages

Java Unit 5

Java notes

Uploaded by

rudrakelkar065
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

Java Unit 5

Java notes

Uploaded by

rudrakelkar065
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
{cJ2 Q5 Which type of driver provides JDBC access vin one or more ODBC drivers ? [a} Type driver [b}type2 driver Datos t) [el type driver [a] Types driver stat not, Q6 Which type of driver converts JDBC calls int ieee the network protocol used by the database : ) __ management system ditectly ? ae | Type Tdriver [B]type 2 dnver f Con ea [e|Type3 driver JBI Type 4 driver Q.7 Which type of driver of JDBC is called pure driver? JeAich (SOLE xeeption 0 [a] B] ) tion o}{ [a] Type driver [b]typeaudves [c)type3 driver ATES Os Q8 Which type Of driver of JDBC is callect partly i Type 1 driver Pelivpe 2 ar [e} typed driver a) type 4dr 9. Which driver is efficient and alway’ for using JOBC applications ? iultiple Choice Questions Driver? 4 JDBC stands for___ favia Database Connectivity jjava Database Control {e}fava Database Components elerable [B]None of these [al Type driver [b]aypezasives [e] Types driver [abtype 4 dave | a2 Which statements about DBC are trie? [a] PBC is an API to connect to relational: 0 XML data sourtes PHC stands for Java DataBase connectivity. Pvc isan API to access relational databases, spreadsheets and flat files [U)IDECis an API to bridge the objectretational mismatch between OO programs and relational databases, {a2 Which packages contain the JDBC classes ? [iljavajdbe and [Link] [Bljavajdbo and javajdbesal favasqland javaxsql Javardb and javaxurdb 04 [DBE technology-based drivers generally. fit Into how many categories ? Hi 5} r Fiera ip ot woe G10 The JOBCODBC bridge is [a] iree tered [b}ine [e}best forany platform —[djall o! the ver in JDBC ? Qi Which driver is called as thins y af types driver elves fa] type 2a ect and [e}Type-3 driver 42 Which dri applet ors [a} type t and 2 [b) type t and 3 Jel types and 4 [a] type 4 only “0.13. Which of the following is false as far « type of JDBC is used in either as type4 ; driver is concern? Ta) type diver is fhatve protocol pure av driver [B] Typed drivers are 100 % Java compatible ‘dass to connect 10! he Ae oe Pro [e] Typed drivers wes sods! ad with NESEIPE 0.19 Which of the following on sequence of the steps i drivers is Ine or ee connection with ade ed in may _ database [al Type 4 drivers can not be. ‘a.14 Which of the following JD: ag. partially java drive ypnc-ODBC bridge diver ative API driver 1. Loading the driver. , 2 Process the results 3. Making the connection with the Aitabage. Network protocol driver ee a] Thin diver > ing the SQL statements. Gs Which class has strong. stupport of the JDBE Jahi342 {Bhra34 architecture ? {el21,34 aJanzs Jaftne OBC driver mamaset 0.20 Which of the following methods are [The JDBC erver tet He loading adaabase driverinJDBC? ep ithe JOBC-ODBC bridge fa] registerDriver() method [a] amormese [bo] ClassforName() : ae ponder to. garater da betVOA.S database | Sefbotha and’ ‘and an application ‘yritien in the Java [aj getConnectiong) programming ianguage: We yoac APL | Q21Which type of statement can 4 provides which of these methods? ernisioie tte? ee Methods on the ResultSet cass for retrieving SOL og SeescEnee SELECT results as Java PES Ge [ec] CallableStatement ‘Methods on the, Preparedstatement class for vending ova pes 05 SOL statement | [a] lf ofthese 2.22 What is used to execute cane execute parameterized query? ___ parameters [ec] Methods con the CallableStatement class for : leencinentt retrieving SOL OUT parameters a5 J262 1725 a pete [a] Allof these. reas eaneanes Ea A, [e]ResultSet interface "0.17 The JOBC APT has always supported persistent storage of objeds defined in. the Java Pel Neos otis ore 0.23 Which of the following encapsulates ‘an SQL programming language through the methods eS statement which is passed to the database tobe: rie [b}Faise parsed, compiled, planned and executed? oe {a]DriverManager plDBC : (2.18. What i, in terms of JDBC, a DataSource? Boe ae Ble: a ‘set of DBC drivers . if lowing i 2 ae 24 Which of the following is [Bb] ADatsource she at oper you call deleteRow() om a 022 Toemue oF objet? i asta wo are [Link] ie deleted from Beat char Te ie get, but not from the database. ee yyouare positioned on is deleted from id from the database. wm eset Met depends on whether the property onze WitnDataSouree | is set to true or i getacompile error : The method does. you can not delete rows from a ResullSet- pe JOBCODEC bridge supports multiple current open statements per connection ‘All raw data types (for instance-data ; gts) should be read and uploaded _ database as an array of

You might also like