We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>


Looking For Something at vustudents.ning.com? Click Here to Search

Cs506 Current Mid Term Papers & Past Mid Term Papers at One Place from 19 December 2015 TO 1 January 2016

Remember Me In Prayers

         Best of luck for EXAM

Share Your mid Term Papers Here in Reply of this Discussion
May Allah Solve Our Problems and Give Us Success
You Can download papers by a simple click on file. All the uploaded filed are in Zip file or PDF format So Install Adobe Reader and Winrar Software’s to open these Files
Note: If you download files with Internet Download Manager (IDM), you would face problem of damage files. All files are correct and no damage file, If you face this problem, Open IDM > Click on Options > Click on File Types > Remove PDF and ZIP from files types and save. After it download again files, files will work properly.

+ Click Here To Join also Our facebook study Group.

..How to Join Subject Study Groups & Get Helping Material?..


See Your Saved Posts Timeline

Views: 7023

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

Attachments:

Replies to This Discussion

share papers 

Barey mehbani MCQS share karein...jis ko jo bhi yaad hoo woo post kardein......

very important solve that

Attachments:

solve that thanks Allah 

hame b btao kya sove kia ap ne.

just lecture 14 problems

Paper tough tha almost 85% new question 30-12-2015
qno.26 marks 5

import java.sql.*;

public class MetaDataEx {

public static void main(String args[]) {
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection("jdbc:odbc:personDSN");

//write code to print
// database product name
// database product version
// driver name used to establish connection & to retrieve data
// whether database is read-only or not

con.close();
} catch (Exception sqlEx) {
System.out.println(sqlEx);
}
} // end main
} // end class

Perform the following: (5marks)
Write a code that close a database connection
Import required package for database communication
Execute the following query by writing appropriate code in the blank space:
Statement st = con.createStatement();
String sql = “SELECT * FROM Person”;
ResultSet rs = _____________;
4. Execute the following query by writing appropriate code in the blank space:
Statement st = con.createStatement();
String sql = “Insert into Person (ID) VALUES (123)”;
ResultSet rs = ___________;

5. String user= “CS506”;
String passWord= “WebDesign”;
Connection con=null;
Suppose that ConURL is already defined
Write a single statement that establishes connection with database.

RSS

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service