
Reflection
Quiz
•
Computers
•
1st - 5th Grade
•
Practice Problem
•
Medium
Nataly Revutska
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Choose the method defined by MemberInfo
GetCustomAttributes()
GetCustomAttributesData()
IsDefined()
All of the mentioned
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Choose the class from which the namespace ‘System.Type’ is derived?
System.Reflection.MemberInfo
System.Reflection
Both System.Reflection & System.Reflection.MemberInfo
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which class allows create instances of classes during late binding?
Type
Activator
Assembly
MemberInfo
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can't be an attribute's target?
Parameter
Delegate
Module
Namespace
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
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?
Type DeclaringType
int MetadataToken
Module Module
Type ReflectedType
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following C# code specify?
object Invoke(object obj, object[] parameters)
Calling a type using invoke()
The value returned by the invoked method is returned by Invoke()
Any arguments that need to be passed to the method are specified in the array parameters
All of the mentioned
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can we get private fields ?
FieldInfo[] fields = myType.GetFields();
FieldInfo[] fields = myType.GetFields(
BindingFlags.NonPublic);
FieldInfo[] fields = myType.GetFields(
BindingFlags.NonPublic |
BindingFlags.Instance);
FieldInfo[] fields = myType.GetFields(
BindingFlags.Instance);
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
13 questions
N4 Code Constructs
Quiz
•
2nd Grade
9 questions
Scratch Quiz
Quiz
•
3rd Grade
10 questions
Reviwing-Week3-T2-G3
Quiz
•
3rd Grade
11 questions
Self Check Assessment: Web Site Type
Quiz
•
5th Grade
10 questions
First step to Internet 5B1
Quiz
•
5th Grade
14 questions
Test #3 Inside Computer parts
Quiz
•
4th - 6th Grade
11 questions
Gr3-Scratch - Revision
Quiz
•
3rd - 5th Grade
13 questions
AI-1
Quiz
•
KG - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
