Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

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.

Views: 7880


Replies to This Discussion

share papers 

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

very important solve that


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 {
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

} catch (Exception 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.


Looking For Something? Search Below

VIP Member Badge & Others

How to Get This Badge at Your Profile DP


Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

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

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