software engineering MCQs – Page 86

Practise multiple-choice questions from software engineering for competitive examinations and subject revision. Review each marked answer and report any item that may be outdated or unclear.

1703. How to find out what version of ASP.NET I am using on my machine ?
comments icon0

A. Response.Write(System.Version.ToString() );

B. Response.Write(System.Environment.Version.ToString() );

C. Response.Write(Version.ToString() );

D. not possible

1704. Automatic type conversion in Java takes place when________________?
comments icon0

A. Two type are compatible and size of destination type is shorter than source type.

B. Two type are compatible and size of destination type is larger than source type.

C. All of the above

D. Two type are compatible and size of destination type is equal of source type.

1705. 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 ?
comments icon0

A. Use the Image control to hold the image and a Calendar control to randomly select a date for each image to be displayed.

B. Use the ImageMap control and randomly select a HotSpot to show or hide.

C. Use the AdServer control and create an XML file with configuration of the control.

D. Use an ImageButton control to predict randomness of the image to be loaded based on the clicks of the control.

1706. In java, gc() method is available in which package ?
comments icon0

A. java.io package

B. java.lang package

C. java.util package

D. java.awt package

1707. Which statements are most accurate regarding the following classes? class A{private int i; protected int j; } class B extends A{ private int k; protected int m; } ?
comments icon0

A. An object of B contains data fields j, m

B. An object of B contains data fields j, k, m

C. An object of B contains data fields i, j, k, m

D. An object of B contains data fields k, m

1709. Suspend thread can be revived by using ?
comments icon0

A. start() method

B. resume() method

C. yield() method

D. Suspend() method

1711. An alternative way of displaying text on web page using ?
comments icon0

A. none of these

B. asp:listitem

C. asp:label

D. asp:button

1713. Which namespace allows us to formauthentication ?
comments icon0

A. System.Web.Services

B. System.Web.Security

C. System.Web.Ui.Forms.Security

D. System.Web.Configuration

1716. In which we clone the object and their constituent parts_______________?
comments icon0
A. Deep cloning

B. Shallow cloning

C. Both of above

D. None of above

1717. Which of the following is TRUE about Windows Authentication in ASP.NET ?
comments icon0

A. ASP.NET does not support Windows Authentication

B. None of these

C. Role membership determined only by user programming

D. Automatically determines role membership
1719. Which statement is static and synchronized in JDBC API ?
comments icon0

A. prepareCall()

B. executeQuery()

C. executeUpdate()

D. getConnection()