Skip to content
VUBuddy

CS506 Grand Quiz Combined

Web Design and Development PDF 4.1 MBUpdated 23 Oct 2026
Quiz CS506 Grand Quiz Combined PDF 4.1 MB
vubuddy.com
Type
Quiz
Course
CS506 Web Design and Development
Size
PDF 4.1 MB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 4.1 MB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 1, 2, 3 of 85. Download the file for all 85 pages.

FTP(FILE Transmissionn Protocol)works on_____________port.

  • 21

Which of the following is NOT tre for java inner classes?

Which statement from the following statements is true abot a java Anontmous Inner Class

  • It is difficult to nderstand
  • It has no name
  • It is much shorter

• All of the given options

While running following ExceptionExample java class on command line withot passing command line arguments gives_______exception.

Public class ExceptionExample{

Systrem.ot.printIn(args[0]);

• Array index out of bond exception

Which of the following streams is a byte oriented stream?

• FileInputStream

Which of the following statements is true about primitive data types and reference data types?

• Primitive data types are created on stack whereas references are created on heap

Which command of the following commands is used compile”JavaTest” java file’s code?

• Javac java Test. Java

Which of the following statements is true regarding paintComponent()method?

WindowListener interface contains__________methods

• Seven

HashMap takes key as a/an___________

• Object

Adapter classes have been defined for listener interfaces except______in…

• ActionListener

Interface imposes_____________structre on any class that uses interface

• Design

Which of the following is NOT true abot painComponent()method?

  • Tells the components border(if any)to paint.

An object of Sutdent java class is creating and setting its value in Test java class____________error is there in given code.

Public class Test{

Student s2=newStudent();

S2->setName(“Aslam”);

• setName method should not be accessed by arrow operator

int I =(int)(Math.random()*5); // will generate random bumbers between_________

• 0 & 4

Mouse events can be trapped for_________GUL component.

  • jBtton

• All of given

  • jFrame
  • jPanel

In given lines of code Employee is superclass, Teacher is child class__________is applying Employee e=new Teacher();

• Upcasting Teacher to Employee type

Which of the following statements is true regarding paintChildren()method?

________is required in order to get an object from collection.

• Down casting

In java ,adpter classes have been defined for the following listener interfaces except for_______interface

• itemListener

In ResultSetMetaData methods_________method returns the number of columns in the result set.

All CS506 files →
CS506 Web Design and Development All CS506 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.