|
Question
|
Option1
|
Option2
|
Option3
|
Option4
|
Option5
|
Answer
|
|
|
Creating empty structures is allowed in C#.NET.
|
True
|
False
|
|
|
|
B
|
Edit |
Details |
Delete
|
|
Which of the following is NOT a Bitwise operator in C#.NET?
|
&
|
|
|
<<
|
^
|
~
|
C
|
Edit |
Details |
Delete
|
|
Which of the following is NOT an Arithmetic operator in C#.NET?
|
**
|
+
|
/
|
%
|
*
|
A
|
Edit |
Details |
Delete
|
|
Which of the following .NET components can be used to remove unused references from the managed heap?
|
Common Language Infrastructure
|
CLR
|
Garbage Collector
|
Class Loader
|
CTS
|
C
|
Edit |
Details |
Delete
|
|
Which of the following are parts of the .NET Framework?
1. The Common Language Runtime (CLR)
2. The Framework Class Libraries (FCL)
3. Microsoft Published Web Services
4. Applications deployed on IIS
5. Mobile Applications
|
Only 1, 2, 3,4
|
Only 1, 2
|
Only 1, 2, 4
|
Only 4 and 5
|
Only 1
|
B
|
Edit |
Details |
Delete
|
|
Which of the following statements are TRUE about the .NET CLR?
1. It provides a language-neutral development & execution environment.
2. It ensures that an application would not be able to access memory that it is not authorized to access.
3. It provides services to run "managed" applications.
4. The resources are garbage collected.
5. It provides services to run "unmanaged" applications.
|
Only 1 and 2
|
Only 1, 2 and 4
|
1, 2, 3, 4
|
Only 4 and 5
|
None of above
|
C
|
Edit |
Details |
Delete
|
|
Which of the following statements is valid about advantages of generics?
|
Generics shift the burden of type safety to the programmer rather than compiler.
|
Generics require use of explicit type casting.
|
Generics provide type safety without the overhead of multiple implementations.
|
Generics eliminate the possibility of run-time errors.
|
None of the above.
|
C
|
Edit |
Details |
Delete
|
|
Which of the following is an 8-byte Integer?
|
Char
|
Long
|
Short
|
Byte
|
Integer
|
B
|
Edit |
Details |
Delete
|
|
Which of the following is the correct default value of a Boolean type?
|
0
|
1
|
True
|
False
|
-1
|
D
|
Edit |
Details |
Delete
|
|
Which of the following should be used to implement a 'Like a' or a 'Kind of' relationship between two entities?
|
Polymorphism
|
Containership
|
Templates
|
Encapsulation
|
Inheritance
|
E
|
Edit |
Details |
Delete
|
|
Which of the following statements is correct about an Exception?
|
It occurs during compilation.
|
It occurs during linking.
|
It occurs at run-time.
|
It occurs during Just-In-Time compilation.
|
It occurs during loading of the program.
|
C
|
Edit |
Details |
Delete
|
|
Which of the following is NOT an Exception?
|
StackOverflow
|
Division By Zero
|
Insufficient Memory
|
Incorrect Arithmetic Expression
|
Arithmetic overflow or underflow
|
D
|
Edit |
Details |
Delete
|
|
A variable which is declared inside a method is called a________variable
|
Local
|
Static
|
Both
|
None of these
|
|
A
|
Edit |
Details |
Delete
|
|
Sealed Classes cannot be a base class.
|
True
|
False
|
|
|
|
A
|
Edit |
Details |
Delete
|
|
An Event has _____ as default return type
|
Returns 1
|
Exit
|
No return type for events
|
Return True
|
None of above
|
C
|
Edit |
Details |
Delete
|
|
The RangeValidator control supports the following data types
|
Date, Integer and String
|
Date
|
char,string
|
int,string
|
Date,Integer and String,Char
|
A
|
Edit |
Details |
Delete
|
|
Can you inherit multiple interfaces?
|
Yes
|
No
|
|
|
|
A
|
Edit |
Details |
Delete
|
|
Two methods with the same name but with different parameters Know as______
|
Inline Function
|
Overloading
|
Overriding
|
None of these
|
Polymorphism
|
B
|
Edit |
Details |
Delete
|