+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. In ____________the this keyword is required before the first argument.
Collection initializer
Extension method
Static method
Auto implemented property
View Answer
2. What is the correct way to create an object called myObj of MyClass?
myclass myobj = new myclass();
new obj = new ();
class myobj = myclass();
all of these
View Answer
3. Which of the following code declares the delegate Calculation with the returns type and the parameter types as integer.
public delegate int Calculation(int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
View Answer
4. A _____________ class is a variable-length array that can dynamically increase or decrease in size.
Queue
Array
Stack
ArrayList
View Answer
5. How can you enable communication between threads while synchronizing the threads?
By using the Task class
By using synchronization events
By using the ThreadPool class
None of them
View Answer
6. How can you enable communication between threads while synchronizing the threads?
By using the Thread Pool class
By using synchronization events
None of them
By using Task Class
View Answer
7. The ____________ exception is thrown when a value is assigned to a null object.
IndexOutofBondException
NullReferenceException
ArithmeticException
OverflowException
View Answer
8. _________ is one of the most powerful features that was first introduced in .NET framework 3.5.
EF API
LINQ
ADO.Net
Entity SQL
View Answer
9. Delegates ensure type safety as the return and parameter types of the delegate are the same as that of the _______ method.
referenced
anonymous
invoked
static
View Answer
10. The _______ types feature facilitates the definition of classes, structures, and interfaces over multiple files.
All of them
Partial
Anonymous
unnamed
View Answer