+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. Restrictions or Constraints=s can be applied to type parameters by using _______ keyword.
where
return
from
select
View Answer
2. In ____________the this keyword is required before the first argument.
Static method
Extension method
Auto implemented property
Collection initializer
View Answer
3. How can you enable communication between threads while synchronizing the threads?
By using the Thread Pool class
None of them
By using synchronization events
By using Task Class
View Answer
4. 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
5. Which interface defines methods to control different generic collections.
IEnumerator
IDictionary
ICollections
All of them
View Answer
6. The ____________ exception is thrown when a value is assigned to a null object.
IndexOutofBondException
OverflowException
ArithmeticException
NullReferenceException
View Answer
7. Which operator can be used to compare two values?
<>
=
==
<=
View Answer
8. In C#, _____________are created using delegates.
Threads
None of these
Exceptions
Events
View Answer
9. EF queries are converted to ______ queries for underlying databases.
XML
API
Reference
SQL
View Answer
10. The __________ property of the System Exception class return the Exception instance that caused the current exception.
Message
InnerException
StackTrace
Source
View Answer