+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
Softwares
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. The __________ property of the System Exception class return the Exception instance that caused the current exception.
StackTrace
Message
Source
InnerException
View Answer
2. Which operator can be used to compare two values?
<=
<>
=
==
View Answer
3. Exception thrown due to arithmetic operations or null object reference are ________ exceptions.
user-defined
system-defined
application-Level
system-level
View Answer
4. Delegates ensure type safety as the return and parameter types of the delegate are the same as that of the _______ method.
invoked
referenced
anonymous
static
View Answer
5. _________ is one of the most powerful features that was first introduced in .NET framework 3.5.
Entity SQL
ADO.Net
EF API
LINQ
View Answer
6. How can you enable communication between threads while synchronizing the threads?
None of them
By using the ThreadPool class
By using the Task class
By using synchronization events
View Answer
7. 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
8. An EF is an ________ tool built for ADO.NET.
Windows
XML Reader
ORM
Programming
View Answer
9. In C#, _____________are created using delegates.
Exceptions
Threads
None of these
Events
View Answer
10. An________ method is an inline nameless block of code that can be passed as a delegate parameter.
unnamed
named
partial
anonymous
View Answer