+923132835245
safcodeinstitute@gmail.com
Online Quiz
10000+ Questions!
Students Works
Ideas & Topics!
Live Coding
HTML & CSS
Home
(current)
About
Courses
CIT
Web Designing
Graphic Designing
Web Development
Digital Marketing
WordPress + SEO
Artificial Intelligence (AI)
Shopify + WordPress Development
Tutorials
Feedback
Programming Notes
Enroll Now
Contact
Test Your Programming Skills with Safcode!
Here is all important interview / exams questions.
Student doing practice apptitude test on safcode platform.
Instruction: "Total Number of Questions: 20
Each question carry 10 mark , no negative marking"
Quiz Start
1. Which data type is used to create a variable that should store text?
Boolean
int
String
float
View Answer
2. Which of the following code declares the delegate Calculation with the returns type and the parameter types as integer.
public delegate Calculation(int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
public delegate int Calculation(int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
View Answer
3. Delegates ensure type safety as the return and parameter types of the delegate are the same as that of the _______ method.
referenced
anonymous
static
invoked
View Answer
4. Which interface defines methods to control different generic collections.
IEnumerator
IDictionary
ICollections
All of them
View Answer
5. In C#, _____________are created using delegates.
Events
Threads
Exceptions
None of these
View Answer
6. Restrictions or Constraints=s can be applied to type parameters by using _______ keyword.
select
return
where
from
View Answer
7. The __________ object is responsible for transforming the data based on the algorithm of the symmetric encryption class.
CryptoStream
NetworkStream
ICryptoTransform
RijndaelManaged
View Answer
8. Which of following components of the .NET framework enable interoperability of dynamic with the .NET Framework?
Base Framework Classes
Common Language Runtime (CLR)
Common Type System(CTS)
Dynamic Language Runtime(DLR)
View Answer
9. In ____________the this keyword is required before the first argument.
Extension method
Static method
Collection initializer
Auto implemented property
View Answer
10. Which interface supports simple iteration over elements of a generic collection.
IDictionary
ICollection
IEnumerator
IList
View Answer