Skip to content
VUBuddy

CS506 Quiz 1 May 2026

Web Design and Development PDF 39 KBUpdated 23 Oct 2026
Quiz CS506 Quiz 1 May 2026 PDF 39 KB
vubuddy.com
Type
Quiz
Course
CS506 Web Design and Development
Size
PDF 39 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 39 KB

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 2, 3, 4 of 6. Download the file for all 6 pages.

Quiz 1 - CS506 (Q4/10)

Question:

In polymorphism __________________ are overridden.

A. Methods

B. Data types C. Classes D. Variables Copied: 5/5/2026, 10:17:13 AM

Quiz 2 - CS506 (Q1/10)

Question:

Which of the following classes is capable to instantiate?

  1. None of the given
  2. Concrete class
  3. Interface class
  4. Abstract class

Correct answer: Concrete class

Copied: 5/18/2026, 10:30:39 AM

Quiz 3 - CS506 (Q2/10)

Question:

_________ is correct syntax to get component area of “myFrame” top level container.

A. Container c = myFrame.getContentPane();

B. Container c = myFrame.getContentArea();

C. Container c = myFrame->getComponentArea(); D. Container c = myFrame.getComponentPane(); Copied: 5/18/2026, 10:31:04 AM

Quiz 4 - CS506 (Q3/10)

Question:

__________ is the correct syntax to set size of top-level container “myFrame” as 200 rows in pixel and 400 columns in pixel.

A. myFrame.setSize(200,400) ; B. myFrame->setSize(200,400) ; C. myFrame->setSize(400,200) ;

D. myFrame.setSize(400,200) ;

Copied: 5/18/2026, 10:31:35 AM

Quiz 5 - CS506 (Q4/10)

Question:

The relationship between a class and interface is called ________.

A. ‘Has a’ relationship

B. ‘Is a’ relationship

C. None of the given options D. ‘Responds to’ relationship Copied: 5/18/2026, 10:32:03 AM

Quiz 6 - CS506 (Q5/10)

Question:

JPanel and Applet use ________ as their default layout.

A. Grid layout B. GridBag layout C. Border layout

D. Flow layout

Copied: 5/18/2026, 10:32:34 AM

Quiz 7 - CS506 (Q6/10)

Question:

An event in java is represented as ________

A. Operator

B. Object

C. Function D. Primitive data type Copied: 5/18/2026, 10:32:56 AM

Quiz 8 - CS506 (Q7/10)

Question:

If a class implements an interface then _________

A. a class may or may not provide implementation of all methods of interface

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.