Software Engineering Mcqs

In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this ?
  • (A)  Use the ImageMap control and randomly select a HotSpot to show or hide.
  • (B)  Use the AdServer control and create an XML file with configuration of the control.
  • (C)  Use an ImageButton control to predict randomness of the image to be loaded based on the clicks of the control.
  • (D)  Use the Image control to hold the image and a Calendar control to randomly select a date for each image to be displayed.
Inheritance means ?
  • (A)  Sub class create object of super class
  • (B)  Sub class extends Base class
  • (C)  Sub class extends super class
  • (D)  All of the above