Assignments Class XII Informatics Practices
Assignment Date: 14/08/15
Commonly Used Libraries and Database Connectivity
Q1. Explain these String
class methods with examples.
i). concat() ii). length() iii). toLowerCase()
iv). trim() v). toUpperCase() vi). substring()
i). concat() ii). length() iii). toLowerCase()
iv). trim() v). toUpperCase() vi). substring()
Q2. Expand JDBC and ODBC.
Q3. What all JDBC classes/objects are used in a database
connectivity application?
Q4. What is a ResultSet?
Q5. What tasks does JDBC perform?
Q6. Write down the steps
to connect MySQL to Java.
Q7. What does DriveManager do?
Q8. Which methods are used to execute SQL queries?