This is a C#. Net practice test for your campus drive and it is to test your prowess when it comes to this program. C# is a strong Object-Oriented programming language that is mostly built on the. NET framework. Genereally used by the Visual Studio Community, it allows them to create both paid for and free applications in the field. See moreTake up this test and see how well you understand the language.
1, 2, 3
2, 4, 5
1, 3, 5
1, 2
Rate this question:
Func() is a valid overloaded function.
Overloading works only in case of subroutines and not in case of functions.
Func() cannot be considered overloaded because: return value cannot be used to distinguish between two overloaded functions.
The call to i = s1.func() will assign 1 to i.
Rate this question:
Sample s1 = new Sample();
Sample s1 = new Sample(10);
Sample s2 = new Sample(10, 1.2f);
Sample s3 = new Sample(10, 1.2f, 2.4);
Rate this question:
Yes
No
Some times it's True
Rate this question:
Sample class Bix1 method
Bix1 method
Sample class
Bix1 method Sample class
Rate this question:
CLR
Linker
ASP.NET Runtime
Visual Studio.NET
Rate this question:
[ AssemblyDescription("DCube Component Library") ]
[ assembly : AssemblyDescription("DCube Component Library") ]
[ Assemblylnfo : AssemblyDescription("DCube Component Library") ]
< Assembly: AssemblyDescription("DCube Component Library") >
Rate this question:
20 16 12 84 0 -4 -8
20 16 12 8 4 0
20 16 12 8 4 0 -4 -8 -12
16 12 8 4 0
Rate this question:
Int i = 0; do { Console.WriteLine(i); } until (i
Int i; for (i = 0; i
Int i = 0; while (i
Int i = 0; do while ( i
Rate this question:
The compiler will report case i and case j as errors since variables cannot be used in cases.
The compiler will report an error since there is no default case in the switch case statement.
The code snippet prints the result as "I am in Case i".
The code snippet prints the result as "I am in Case j".
Rate this question:
Prime
Palindrome
Odd
Fibonacci
Rate this question:
Class is a value type.
Since objects are typically big in size, they are created on the stack.
Objects are always nameless.
All the above.
Rate this question:
2
6
4
7
Rate this question:
0 0 34 34
0 0 17 17
0 0 0 0
34 34 0 0
Rate this question:
1 only
2 only
2 and 5 only
None of the above
Rate this question:
It will output: Exception occurred.
It will output: Remaining program.
The value 66 will get assigned to a[6].
It will output: Exception occurred Remaining program.
Rate this question:
Elements of a collection cannot be transmitted over a network.
Elements stored in a collection can be retrieved but cannot be modified.
It is not easy to adopt the existing Collection classes for newtype of objects.
They use efficient algorithms to manage the collection, thereby improving the performance of the program.
Rate this question:
Program will compile and on execution will print: IndiaBIX 4.2
A non generic class Hello cannot have generic subroutine.
Compiler will generate an error.
Program will generate a run-time exception.
Rate this question:
It will print string "Hello" on the console.
Name Generic cannot be used as a class name because it's a keyword.
Compiler will give an error.
Member Field of class Generic is not accessible directly.
Rate this question:
Quiz Review Timeline (Updated): Mar 21, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.