Saturday 9 May 2020

AsCEnD Advanced DotNet

DotNet Advanced Concepts Assessment


Q1. Number of threads that exists for each of the processes that occurs in the program

Answer: Atleast 1


Q2. Which of the following statement is correct?


Answer: Anonymous types are class types that derive directly from object.


Q3. We can create nested anonymous type


Answer: TRUE


Q4. Choose the namespace which supports multithreading program


Answer: System Threading


Q5. What is the correct statement about lambda expression?


Answer: The return type of lambda expression can be neglected in some cases


Q6. Which of these methods of Thread class is used to Suspend a thread for a period of time?


Answer: sleep()


Q7. Select the type of multitasking methods that exist


Answer: Process based and thread based


Q8. Choose the correct statement about process-based multitasking


Answer: Both


Q9. What types of Objects can you query using LINQ?


Answer: All of the above


Q10. LINQ is ____________.


Answer: Language Integrated Query


Q11. Which of the following supports LINQ queries?


Answer: All of the above


Q12. What LINQ expressions are used to shape results in a query


Answer: Group & Select


Q13. Correct syntax for declaring anonymous type


Answer: var Emp=new {ID=106,Name="Priya"};


Q14. Which LINQ keyword is used to categorize results in a query?


Answer: group

No comments:

Post a Comment