What Do You Know About Linq?

10 Questions | Total Attempts: 371

SettingsSettingsSettings
What Do You Know About Linq? - Quiz

LINQ is a Microsoft. NET Framework component. It adds data query capabilities to existing. NET languages. It can also be used to extract and process data from arrays, XML documents and third-party data sources. Find out how much you know about this. NET Framework component by taking this quiz.


Questions and Answers
  • 1. 
    What does the acronym LINQ stand for?
    • A. 

      List Integration Query

    • B. 

      Language-Integrated Query

    • C. 

      Linked-List Inner Query

    • D. 

      Linked-Integrated Query

  • 2. 
    Which syntax does LINQ support?
    • A. 

      C# and F#

    • B. 

      C++ and C

    • C. 

      C# and VB

    • D. 

      Java and C++

  • 3. 
    Which of the following type of syntax does LINQ support?
    • A. 

      Method syntax

    • B. 

      Query syntax

    • C. 

      A and B

    • D. 

      None of the above

  • 4. 
    What is an Expression tree?
    • A. 

      Tree of expression in C# or VB

    • B. 

      Binary tree like data structure for better LINQ support

    • C. 

      In-memory representation of lambda expression

    • D. 

      Executable tree structure

  • 5. 
    Which interface must third-party data providers implement in other to support LINQ?
    • A. 

      IQueryable

    • B. 

      IEnumerable

    • C. 

      ICollection

    • D. 

      ICollector

  • 6. 
    Which of the following supports LINQ?
    • A. 

      XML Document

    • B. 

      Entity Framework

    • C. 

      Object collection

    • D. 

      All of the above

  • 7. 
    Which of the following standard query operator returns the common elements from two collections?
    • A. 

      Except

    • B. 

      Intersect

    • C. 

      Union

    • D. 

      Distinct

  • 8. 
    Which of the following operators executes LINQ query immediately and gets the result?
    • A. 

      Casting operators

    • B. 

      Joining operators

    • C. 

      ‘To’ operators

    • D. 

      Grouping operators

  • 9. 
    In what is OrderByDecending NOT supported?
    • A. 

      Method syntax

    • B. 

      VB Method syntax

    • C. 

      Lambda expression

    • D. 

      Query syntax

  • 10. 
    Which of the following is TRUE?
    • A. 

      An expression compiles into assembly code

    • B. 

      An Expression compiles into expression tree

    • C. 

      An Expression compiles into machine code

    • D. 

      An Expression compiles into executable code

Back to Top Back to top