Home / Engineering / .NET Programming MCQs / Page 1

.NET Programming MCQs | Page - 1

Dear candidates you will find MCQ questions of .NET Programming here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.

Q. 1) A variable which is declared inside a method is called a________variable

(A) Serial
(B) Local
(C) Private
(D) Static
View Answer Discuss Share

Q. 2) Which is the String method used to compare two strings with each other ?

(A) Compare To()
(B) Compare()
(C) Copy()
(D) ConCat()
View Answer Discuss Share

Q. 3) Which is not a main component of the Visual Studio IDE?

(A) Solution Explorer
(B) Tool Box
(C) Start Menu
(D) Designer Window
View Answer Discuss Share

Q. 4) What does IDE stand for?

(A) Integrated Development Environment
(B) Integrated Design Environment
(C) Interior Development Environment
(D) Interior Design Environment
View Answer Discuss Share

Q. 5) Visual Studio .NET provides which feature:

(A) debugging.
(B) application deployment.
(C) syntax checking.
(D) All of the above..
View Answer Discuss Share

Q. 6) 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.
View Answer Discuss Share

Q. 7) Which of the following is NOT an Assignment operator in C#.NET?

(A) \=
(B) /=
(C) *=
(D) +=
View Answer Discuss Share

Q. 8) Which of the following are NOT Relational operators in C#.NET?
1.>=
2.!=
3.Not
4.<=
5.<>=

(A) 1, 3
(B) 2, 4
(C) 3, 5
(D) 4, 5
View Answer Discuss Share

Q. 9) Which of the following is the correct output of the C#.NET code snippet given below?

Code:
int[ , , ] a = new int[ 3, 2, 3 ];
Console.WriteLine(a.Length);
(A) 20
(B) 4
(C) 18
(D) 10
View Answer Discuss Share

Q. 10) 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)
View Answer Discuss Share