.NET Programming MCQs with answers Page - 3

Here, you will find a collection of MCQ questions on .NET Programming. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 831.35K Points
Coach

Q. Type of Conversion in which compiler is unable to convert the datatype implicitly is ?

  • (A) ushort to long
  • (B) int to uint
  • (C) ushort to long
  • (D) byte to decimal

A

Admin • 831.35K Points
Coach

Q. Scope of variable is related to definition of variable as:
1. Region of code within which variable value is valid and hence can be accessed.
2. No, relation with region where variable is declared its value is valid in entire scope.

  • (A) a
  • (B) b
  • (C) a, b
  • (D) None of the mentioned

A

Admin • 831.35K Points
Coach

Q. Which datatype should be more preferred for storing a simple number like 35 to improve execution speed of a program?

  • (A) sbyte
  • (B) short
  • (C) int
  • (D) long

A

Admin • 831.35K Points
Coach

Q. Minimum and Maximum range of values supported by ‘float’ data type are ?

  • (A) 1.5 * 10 ^-40 to 3.4 * 10 ^38
  • (B) 1.5 * 10 ^-45 to 3.4 * 10 ^30
  • (C) 1.5 * 10 ^-45 to 3.4 * 10 ^38
  • (D) 1.5 * 10 ^-45 to 3.4 * 10 ^37

A

Admin • 831.35K Points
Coach

Q. Which does the solution explorer not display?

  • (A) Form Properties
  • (B) Reference Folder
  • (C) Form File
  • (D) Assemble File

A

Admin • 831.35K Points
Coach

Q. The Button control can be activated:

  • (A) programmatically through the click event.
  • (B) by clicking the button with the mouse.
  • (C) with the form’s DefaultButton property.
  • (D) Both a and b.

A

Admin • 831.35K Points
Coach

Q. Which sequence of char data types is listed from lowest to highest?

  • (A) , A, z, Z
  • (B) a, z, A, Z
  • (C) A, a, Z, z
  • (D) A, Z, a, z

A

Admin • 831.35K Points
Coach

Q. The Boolean data type:

  • (A) is unsigned.
  • (B) has two states.
  • (C) is displayed by the program as yes or no.
  • (D) Both a and b.

A

Admin • 831.35K Points
Coach

Q. VB.Net identifiers:

  • (A) are case sensitive.
  • (B) can begin with an underscore.
  • (C) can begin with a number.
  • (D) Both a and b.

A

Admin • 831.35K Points
Coach

Q. The proper operator precedence, from first to last, is

  • (A) logical, comparison, and arithmetic.
  • (B) arithmetic, comparison, and logical.
  • (C) arithmetic, logical, and comparison.
  • (D) comparison, arithmetic, and logical.