0

programming languages Online Quiz - 42

Description: programming languages Online Quiz - 42
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0
  1. Math.round(Math.random() * (high - low)) + low

  2. Math.round(Math.random())

  3. Math.round(Math.random())+ low

  4. None of the baove


Correct Option: A
  1. Nullable b=null;

  2. bool b=null;

  3. bool b=null;

  4. bool b= ;


Correct Option: A

What is the Correct tree structure of an Application in C#?

  1. Namespace>class>manifest>elements

  2. Manifest>class>namespace>elements

  3. Manifest>namespace>class>element

  4. None of these


Correct Option: C

Process of converting a value stored in a variable of one data type to a value of another type is called as?

  1. Data Conversion

  2. Interfacing

  3. Boxing

  4. Casting


Correct Option: D

C# allows two references pointing to the same object

  1. True

  2. False


Correct Option: A

What are Reference Type in .NET?

  1. String

  2. Object

  3. Both

  4. None of these


Correct Option: C
  1. Application runs without any change

  2. Application automatically close

  3. Application automatically restart

  4. Cannot change the web.config file at run time


Correct Option: C

Which one is not a valid namespace in .net framework?

  1. System.Data.OleDb

  2. System.Web

  3. System.Data.xml

  4. System.Data.SqlClient


Correct Option: C

What is the difference between Server.Transfer & Response.Redirect

  1. Server.Transfer needs a roundtrip, Response.Redirect does not

  2. Server.Transfer can transfer user between 2 applicaions

  3. Response.Redirect needs roundtrip, Server.Transfer does not

  4. No Difference


Correct Option: C

In which event, controls are fully loaded ?

  1. Page_Init

  2. Page_Load

  3. Control Events

  4. None


Correct Option: B

Select the control which does not have any visible interface

  1. DataList

  2. Repeater

  3. DropDownList

  4. DataGrid


Correct Option: B

How to throw an exception if marshaling encounters an unmappable Unicode character that is converted to an ANSI character?

  1. Set ThrowOnUnmappableChar = True

  2. Set ThrowOnmappableChar = True

  3. Set ThrowOnmappableChar = False

  4. Set ThrowOnUnmappableChar = False


Correct Option: A

WCF can be hosted in

  1. Web Service

  2. VisualStudio Setup

  3. both A and B

  4. IIS


Correct Option: D
  1. Microsoft.Visualstudio.TestTools.UnitTestingFramework

  2. Visualstudio.TestTools.UnitTesting

  3. System.UnitTesting

  4. None of the above


Correct Option: A

What tool is used to manage the GAC ?

  1. GacUtil.exe

  2. RegSvr.exe

  3. GacSvr32.exe

  4. GacMgr.exe


Correct Option: A

An assembly contains the logical structure of assembly component.

  1. True

  2. False


Correct Option: A
- Hide questions