DOT NET Software Architect Set 3
Free Online Best DOT NET Software Architect MCQ Questions for improve your basic knowledge of DOT NET Software Architect. This DOT NET Software Architect set 3 test that contains 25 Multiple Choice Questions with 4 options. You have to select the right answer to a question.
Start
Congratulations - you have completed DOT NET Software Architect Set 3.
You scored %%SCORE%% out of %%TOTAL%%.
Your performance has been rated as %%RATING%%
Your answers are highlighted below.
Question 1 |
Which of the following string() method are used to compare two strings with each other?
A | CopyTo() |
B | Copy() |
C | Compare() |
D | CompareTo() |
Question 2 |
How many values does a function return?
A | 0 |
B | 1 |
C | 2 |
D | any |
Question 3 |
Which operator among the following signifies the destructor operator?
A | :: |
B | : |
C | ~ |
D | & |
Question 4 |
Number of constructors a class can define is?
A | 0 |
B | 1 |
C | 2 |
D | any |
Question 5 |
Which among the following is the correct statement: Constructors are used to?
A | initialize the objects |
B | construct the data members |
C | initialize the objects & construct the data members |
D | None of the above |
Question 6 |
The method called by clients of a class to explicitly release any resources like network, connection, open files etc. When the object is no longer required?
A | Finalize() |
B | End() |
C | Dispose() |
D | Close() |
Question 7 |
Correct order of priorities are____
A | ‘/’ > ‘%’ > ‘*’ > ‘+’ |
B | ‘/’ > ‘*’ > ‘%’ > ‘+’ |
C | ‘*’ > ‘/’ > ‘%’ > ‘+’ |
D | ‘%’ > ‘*’ > ‘/’ > ‘+’ |
Question 8 |
Which of the following is used to define the member of a class externally?
A | : |
B | :: |
C | # |
D | None of the above |
Question 9 |
The operator used to access member function of a class?
A | : |
B | :: |
C | # |
D | . |
Question 10 |
What will be the output of the following C# code?
m = 5;
int y;
1. y = m++;
2. y = ++m;
A | y = 5, m = 6 ; y = 5, m = 5 |
B | y = 6, m = 6; y = 7, m = 6 |
C | y = 5, m = 6; y = 7, m = 7 |
D | y = 5, m = 6; y = 7, m = 8 |
Question 11 |
Which of the following is/are not Relational operators in C#.NET?
A | >= |
B | <>= |
C | Not |
D | <= |
Question 12 |
Which of the following options is not a Bitwise Operator in C#?
A | &, | |
B | ^, ~ |
C | <<, >> |
D | ,=+=, -= |
Question 13 |
What is the need for ‘Conversion of data type’ in C#?
A | To store a value of one data type into a variable of another data type |
B | To get desired data |
C | To prevent situations of runtime error during change or conversion of data type |
D | None of the above |
Question 14 |
Operator used to free the memory when memory is allocated?
A | new |
B | free |
C | delete |
D | None of the above |
Question 15 |
What is the advantage of using 2D jagged array over 2D rectangular array?
A | Easy initialization of elements |
B | Allows unlimited elements as well as rows which had ‘0’ or are empty in nature |
C | All of the Above |
D | None of the above |
Question 16 |
Correct statement about constructors in C#.NET is?
A | Constructors can be overloaded |
B | Constructors are never called explicitly |
C | Constructors have same name as name of the class |
D | All of the Above |
Question 17 |
Which of the following statements is correct about constructors in C#.NET?
A | A constructor cannot be declared as private |
B | A constructor cannot be overloaded |
C | A constructor can be a static constructor |
D | None of the above |
Question 18 |
Storage location used by computer memory to store data for usage by an application is?
A | Pointers |
B | Constants |
C | Variable |
D | None of the above |
Question 19 |
Which of the following statements are correct?
A | There is one garbage collector per program running in memory |
B | There is one common garbage collector for all programs |
C | To garbage collect an object set all references to it as null |
D | Both There is one common garbage collector for all programs & To garbage collect an object set all references to it as null |
Question 20 |
Select wrong statement about destructor in C#?
A | A class can have one destructor only |
B | Destructors cannot be inherited or overloaded |
C | Destructors can have modifiers or parameters |
D | All of the Above |
Question 21 |
Types of ‘Data Conversion’ in C#?
A | Implicit Conversion |
B | Explicit Conversion |
C | Implicit Conversion and Explicit Conversion |
D | None of the above |
Question 22 |
What is the most specified using class declaration?
A | type |
B | scope |
C | type & scope |
D | None of the above |
Question 23 |
Name a method which has the same name as that of class and which is used to destroy objects also called automatically when application is finally on process of being getting terminated.
A | Constructor |
B | Finalize() |
C | Destructor |
D | End |
Question 24 |
Which reference modifier is used to define reference variable?
A | & |
B | ref |
C | # |
D | $ |
Question 25 |
Which statement is correct about following c#.NET code?
int[] a= {11, 3, 5, 9, 6};
A | ‘a’ is a reference to the array created on stack |
B | ‘a’ is a reference to an object created on stack |
C | ‘a’ is a reference to an object of a class that compiler drives from ‘System.Array’ class |
D | None of the above |
Once you are finished, click the button below. Any items you have not completed will be marked incorrect.
Get Results
There are 25 questions to complete.
← |
List |
→ |
Return
Shaded items are complete.
1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 |
End |
Return
You have completed
questions
question
Your score is
Correct
Wrong
Partial-Credit
You have not finished your quiz. If you leave this page, your progress will be lost.
Correct Answer
You Selected
Not Attempted
Final Score on Quiz
Attempted Questions Correct
Attempted Questions Wrong
Questions Not Attempted
Total Questions on Quiz
Question Details
Results
Date
Score
Hint
Time allowed
minutes
seconds
Time used
Answer Choice(s) Selected
Question Text
All done
Need more practice!
Keep trying!
Not bad!
Good work!
Perfect!