Using whatever you have learned in DotNet and MySQL, attempt these multiple choice questions. Explain briefly the reason

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
correctanswer
Posts: 43759
Joined: Sat Aug 07, 2021 7:38 am

Using whatever you have learned in DotNet and MySQL, attempt these multiple choice questions. Explain briefly the reason

Post by correctanswer »

Using whatever you have learned in DotNet and MySQL,
attempt these multiple choice questions. Explain briefly the reason
for your choice.
1. EF Core API will create which table for the following
context ?
public class SchoolContext DbContext {
---
public DbSet<Student> StudentList { get; set;}
}
a. Student
b. Students
c. StudentList
d. StudentlLists
2. Which statement is true?
a. A subclass must define all the methods of the base class
b. it is possible for a subclass to define a method with the same
name and parameters as a method defined by the base class
c. Aggregation defines a is-a relation between base class and it's
subclass
d. It is possible for two classes to be the base class of each
other
3. Which of the following statements are correct about
the Collection Classes available in the Framework class library
?
a. Elements of a collection cannot be transmitted over a
network
b. Elements stored in a collection can be retrieved but cannot be
modeled
c. It is not easy to adopt the existing collection class for new
type of objects
d. They use efficient algorithms to manage the collection thereby
improving the performance of the program
4. Which of the following is not true about inner
join
a. There must be matching columns between tables
b. Table column data type must be same
c. Table column name must be same
d. Matching column must be a part of where
representation
5. Which of the following statements is correct about
constructors in C# .NET ?
a. A constructor cannot be declared as private
b. A constructor cannot be Overloaded
c. A constructor cannot be static constructor
d. None of these
Register for solutions, replies, and use board search function. Answer Happy Forum is an archive of questions covering all technical subjects across the Internet.
Post Reply