++92 313 8389893
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 of the following code declares the delegate Calculation with the returns type and the parameter types as integer.
delegate int Calculation (int numOne, int numTwo);
public delegate int Calculation(int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
View Answer
2. The ____________ exception is thrown when a value is assigned to a null object.
IndexOutofBondException
ArithmeticException
OverflowException
NullReferenceException
View Answer
3. Which property can be used to find the length of a string?
textlength()
getlength()
Length
length()
View Answer
4. Delegates ensure type safety as the return and parameter types of the delegate are the same as that of the _______ method.
static
invoked
anonymous
referenced
View Answer
5. Which interface supports simple iteration over elements of a generic collection.
IDictionary
IEnumerator
IList
ICollection
View Answer
6. Managing memory and verifying code safety are functionalities of ________.
.Net Framework Class Library
Common Language Runtime
Common Type System
Common Language Specification
View Answer
7. _________ is one of the most powerful features that was first introduced in .NET framework 3.5.
ADO.Net
LINQ
Entity SQL
EF API
View Answer
8. In ____________the this keyword is required before the first argument.
Collection initializer
Auto implemented property
Extension method
Static method
View Answer
9. The _______ types feature facilitates the definition of classes, structures, and interfaces over multiple files.
unnamed
Partial
Anonymous
All of them
View Answer
10. CLR stands for___________
Common Language Repository
C# Language Runtime
Common Language Runtime
Common Layer Runtime
View Answer