Sail E0 Webinar

MCQs

Total Questions : 10
Question 1. In a relation between the entities, the type and condition of the relation should be specified. That is called as______attribute.
  1.    Descriptive
  2.    Derived
  3.    Recursive
  4.    Relative
 Discuss Question
Answer: Option A. -> Descriptive




Question 2. The descriptive property possessed by each entity set is _________
  1.    Entity
  2.    Attribute
  3.    Relation
  4.    Model
 Discuss Question
Answer: Option B. -> Attribute




Question 3. Which method should you call on the ObjectContext, to ensure that the orders are added to the local data store?
  1.    ApplyCurrentValues
  2.    AttachTo
  3.    AddObject
  4.    All of the above
 Discuss Question
Answer: Option C. -> AddObject




Question 4. Not applicable condition can be represented in relation entry as
  1.    NA
  2.    0
  3.    NULL
  4.    Blank Space
 Discuss Question
Answer: Option C. -> NULL




Question 5. An________ is a set of entities of the same type that share the same properties, or attributes.
  1.    Entity set
  2.    Attribute set
  3.    Relation set
  4.    Entity model
 Discuss Question
Answer: Option A. -> Entity set




Question 6. What is way of loading data in Entity Framework?
  1.    Lazy Loading
  2.    Eager Loading
  3.    Explicit Loading
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these




Question 7. How can enhance the performance of Entity Framework?
  1.    Try to avoid to put all the DB objects into one single entity model
  2.    Disable change tracking for entity if not needed
  3.    Reduce response time for the first request by using pre-generating Views
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above




Question 8. What are the various methods provided by the dataset object to generate Xml?
  1.    ReadXml ()
  2.    GetXml ()
  3.    Write Xml ()
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these




Question 9. What are all Scenarios Entity Framework can be applicable?
  1.    If you have existing database already or you want to build your database first than other parts of the application
  2.    If your prime focus is your domain classes and then create the database from your domain classes
  3.    Both A and B
  4.    None
 Discuss Question
Answer: Option C. -> Both A and B




Question 10. What are the types of development approaches in EF?
  1.    Code First
  2.    Model First
  3.    Database First
  4.    All of above mentioned
 Discuss Question
Answer: Option D. -> All of above mentioned




Latest Videos

Latest Test Papers