You can always press Enter⏎ to continue
C# Quiz
1
Instructions For Quiz
This Mock Test has 15 Questions
Each Question is of 1 marks so total 15 marks
Multiple Choice Questions(MCQ) with only ONE valid answer
Previous
Next
Submit
Press
Enter
2
1) What is stored in Heap?
*
This field is required.
int
enum
reference type
long
Previous
Next
Submit
Press
Enter
3
2) Select the control which can’t be placed in the toolbox
*
This field is required.
Custom Control
User control
Server Control
ASP Control
Previous
Next
Submit
Press
Enter
4
3) Select the class which is immutable
*
This field is required.
System.Text.StringBuilder
System.String
System.StringBuilder
System.Text.Builder
Previous
Next
Submit
Press
Enter
5
4) Select the method that doesn’t gaurantee the garbage collection of an object.
*
This field is required.
Dispose()
Finalize()
Open()
None of this
Previous
Next
Submit
Press
Enter
6
5) Generics are used to make reusable code classes to
*
This field is required.
decrease the code redundancy
improve code performance
improve code indentation
improve code documentation
Previous
Next
Submit
Press
Enter
7
6) Select the type of exceptions which is NOT used in .Net.
*
This field is required.
NullReferenceException
OutOfMemoryException
StackOverflowException
StackUnderflowException
Previous
Next
Submit
Press
Enter
8
7) What is used as inheritance operator in C#.
*
This field is required.
Comma
Dot
SemiColon
Colon
Previous
Next
Submit
Press
Enter
9
8) Which is the base class in .NET from which all the classes are derived from?
*
This field is required.
System.Object
System.Objects
Systems.Object
Systems.Objects
Previous
Next
Submit
Press
Enter
10
9) Can you specify accessibility modifier for methods inside an interface?
*
This field is required.
No
Yes
Previous
Next
Submit
Press
Enter
11
10) Structs can be inherited?
*
This field is required.
Yes
No
Previous
Next
Submit
Press
Enter
12
11) Select the operator used to check the compatibility of an object with a given type
*
This field is required.
"as"operater
"is" operater
"this" operater
"at" operater
Previous
Next
Submit
Press
Enter
13
12) Select the operator which is used for casting of object to a type or a class.
*
This field is required.
"as" operater
"is" operater
"this" operater
"at" operater
Previous
Next
Submit
Press
Enter
14
13) In c#, the attribute’s information for a Class can be retrieved at
*
This field is required.
Compile time
Runtime
Both
Previous
Next
Submit
Press
Enter
15
14) What is used in conversion where the conversion is defined between the expression and the type.
*
This field is required.
Ctype
directcast
multicast
Cttype
Previous
Next
Submit
Press
Enter
16
15) What is sealed Modifier
*
This field is required.
Prevents inheritance of a class
Prevents method overloading
Prevents polymorphism
Prevents illegal access to a class
Previous
Next
Submit
Press
Enter
Should be Empty:
Question Label
1
of
16
See All
Go Back
Submit