Sail E0 Webinar

MCQs

Total Questions : 17 | Page 2 of 2 pages
Question 11. What is superceded by Anonymous methods in LINQ?
  1.    Aggregate functions
  2.    Select
  3.    Filtering
  4.    Lambda Expressions
 Discuss Question
Answer: Option D. -> Lambda Expressions
Question 12. What is the advantage of Lambda Expression?
  1.    No return type
  2.    No access modifer
  3.    No method name
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above
Question 13. What do LINQ queries return results as?
  1.    String
  2.    Reference type
  3.    Value type
  4.    Object
 Discuss Question
Answer: Option D. -> Object
Question 14. What is the criteria for joining data?
  1.    Same array length
  2.    Same array type
  3.    Common Key
  4.    Differing Keys
 Discuss Question
Answer: Option C. -> Common Key
Question 15. If you want to order based on more than one key value, what do you use?
  1.    OrderBy
  2.    OrderAgain
  3.    ThenBy
  4.    Swiggy
 Discuss Question
Answer: Option C. -> ThenBy
Question 16. How to access the data in a collection of classes?
  1.    IEnumerator
  2.    For each
  3.    For
  4.    IEnumerable and IEnumerator
 Discuss Question
Answer: Option D. -> IEnumerable and IEnumerator
Question 17. How is filtering done in LINQ?
  1.    Where
  2.    Select
  3.    Filter
  4.    Condition
 Discuss Question
Answer: Option A. -> Where

Latest Videos

Latest Test Papers