+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. How can you enable communication between threads while synchronizing the threads?
By using synchronization events
By using the ThreadPool class
None of them
By using the Task class
View Answer
2. An EF is an ________ tool built for ADO.NET.
Programming
Windows
ORM
XML Reader
View Answer
3. Restrictions or Constraints=s can be applied to type parameters by using _______ keyword.
select
where
from
return
View Answer
4. What is the process of the concurrentDictionary
class?
Provide a threads-safe implementation of a queue
Provide a threads-safe implementation of a stack
None of them
Provide a threads-safe implementation of a dictionary of key value pairs
View Answer
5. Which data type is used to create a variable that should store text?
Boolean
String
float
int
View Answer
6. Which of the following options is not a function of CLR in the .NET framework?
Language translation
Garbage Collection
Code Safety Verification
Memory Management
View Answer
7. In ____________the this keyword is required before the first argument.
Auto implemented property
Static method
Extension method
Collection initializer
View Answer
8. Which of the following code declares the delegate Calculation with the returns type and the parameter types as integer.
delegate Calculation (int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
public delegate int Calculation(int numOne, int numTwo);
View Answer
9. An________ method is an inline nameless block of code that can be passed as a delegate parameter.
anonymous
unnamed
named
partial
View Answer
10. What is the correct way to create an object called myObj of MyClass?
class myobj = myclass();
all of these
new obj = new ();
myclass myobj = new myclass();
View Answer