- Type
- Midterm past paper
- Course
- CS506 Web Design and Development
- Size
- PDF 1.3 MB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 51. Download the file for all 51 pages.
Q1. Which of the following feature provides the facility for multiple inheritance?
object.
Q3. If we want to animate something like ball, moving from one place to another. we constantly need to call paint () method.
Q5. Which of the following syntax is used to create a client socket?
Correct answer: Socket s = new Socket(“serverName”, serverPort); page No 195
Q6. In order to include graphics in your Java program, it is mandatory to extend from class.
Q8. Timer class constructor requires time in
Correct answer: milli seconds
Page No 180. c. micro seconds d. nano seconds
Q9. Which of the following features is available in java?
Correct answer: Primitive data types Page No 40.
Q10. ResultSet Meta Data will help you in answering the following questions except;
Correct answer: How many rows are in the ResultSet?
Page No 162. d. Are the column name is case sensitive? 11. returns the elements at specified position in the list.
a. Object get(int index)
Page No 62. b. Object set(int index) c. Object return(int index) d. Object remove(int index)
- WindowListener interface contains methods. a. Four b. Six
c. Seven
d. Eight
c. The program compiles but does not run
Q13. Which of the following driver type(s) has better performance than other?
Q14. Which of the following syntax is used to create a Server Socket?
Correct answer: ServerSocket ss = new ServerSocket(serverPort); page No 197
super class 16. An applet can be defined as:
a. A small program written in Java and included in an HTML page page 182
b. A small program written in JSP and included in an HTML page c. A small program written in Servlet and included in an HTML page d. A small program written in JSF and included in an HTML page
Q17. Choose the correct syntax to define an interface named as "Speaker" in java language
Q18. Teacher java class wants to inherit from Employee.java class, keyword should public static void main (String args[]){
Related CS506 files
All CS506 files →- CS506 Midterm Current Solved Subjective Papers by Sarim Midterm PDF 3 MB
- CS506 Midterm MCQs by Waqas Qureshi Midterm PDF 1.1 MB
- CS506 Midterm Past Papers by Junaid Midterm PDF 1.3 MB
- CS506 Final Term Solved MCQs Set 2 by Junaid Final term PDF 1.6 MB
- CS506 Highlighted Handouts Highlighted PDF 10.9 MB
- CS506 Quiz 4 Jan 2026 Quiz PDF 108 KB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.