Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. What does the following property signify?
MemberTypes MemberType
Correct Answer is : name n = new name();
2. The property signifies “Obtains a Module object that represents the module (an executable file) in which the reflected type resides”. Choose the property which
specifies the following statement:
Correct Answer is : private
3. Choose the method defined by MemberInfo:
Correct Answer is : harsh is in new delhi
4. What does the following declaration specify?
MethodInfo[] GetMethods()
Correct Answer is : create a reference c on csharp and an object of type csharp on heap
5. What does the following code specify?
object Invoke(object obj, object[] parameters)
Correct Answer is : Syntax error as t is unassigned variable which is never used
6. What does the following method specify?
Type[] GetGenericArguments()
Correct Answer is : Incorrect Arithmetic Expression
7. Select the namespace on which the stream classes are defined?
Correct Answer is : StackUnderflow Exception
8. Choose the class on which all stream classes are defined?
Correct Answer is : Exceptions
9. Choose the stream class method which is used to close the connection:
Correct Answer is : All of the mentioned
10. The method used to write a single byte to an output stream?
Correct Answer is : java
11. Select the method which writes the contents of the stream to the physical device.
Correct Answer is : a program can contain multiple finally clauses
12. Select the method which returns the number of bytes from the array buffer:
Correct Answer is : Run time Exception generation
13. Name the method which returns integer as -1 when the end of file is encountered.
Correct Answer is : Inheritance
14. Select the statements which define the stream.
Correct Answer is : 4
15. Select the action of the method long seek()?
Correct Answer is : Declaration of base class & subclass and how subclass inherits the base class
16. Which among the following attempts to read up to count bytes into buffer starting at buffer[offset], returning the number of bytes successfully read?
Correct Answer is : Class visibility modifiers (public,private etc.)
17. What are strings in C#?
Correct Answer is : Private, protected, public, internal, protected internal
18. Select the namespace in which string class is built?
Correct Answer is : protected
19. Select the interfaces defined by the string class?
Correct Answer is : While creating the object firstly constructor of class sample 1 will be called followed by constructor of class sample
20. Choose the constructor type used to build strings from character array: