Top 50+ Solved .NET Programming MCQ Questions Answer
Q. If s1 and s2 are references to two strings, then which of the following is the correct way to compare the two references?
a. s1 is s2
b. s1 = s2
c. s1.Equals(s2)
d. strcmp(s1, s2)
Q. Which of the following are NOT Relational operators in C#.NET?1.>=2.!=3.Not4.<=5.<>=
a. 1, 3
b. 2, 4
c. 3, 5
d. 4, 5
Q. A GUI:
a. uses buttons, menus, and icons.
b. should be easy for a user to manipulate.
c. stands for Graphic Use Interaction.
d. Both a and b.
Q. Visual Studio .NET provides which feature:
a. debugging.
b. application deployment.
c. syntax checking.
d. All of the above..
Q. What does IDE stand for?
a. Integrated Development Environment
b. Integrated Design Environment
c. Interior Development Environment
d. Interior Design Environment
Q. Which is not a main component of the Visual Studio IDE?
a. Solution Explorer
b. Tool Box
c. Start Menu
d. Designer Window
Q. Which does the solution explorer not display?
a. Form Properties
b. Reference Folder
c. Form File
d. Assemble File
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.
Q. Which sequence of char data types is listed from lowest to highest?
a. a, A, z, Z
b. a, z, A, Z
c. A, a, Z, z
d. A, Z, a, z
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.
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.
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.