- Type
- Quiz
- Course
- CS506 Web Design and Development
- Size
- PDF 39 KB
- 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 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?
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
Related CS506 files
All CS506 files →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.