M
M.Siler
I'm using a few employment firms to assist us in locating a few WinForms
..NET 2.0 C# developers. They are sending us everyone that claims they can
program C# so my thought was to provide the firms with 4 questions that if
the candidate does not score 100% then don't submit them to us. I want the
questions to be black & white without any gray area -- meaning the questions
should only have one clear answer. Here are the questions that I've come up
with. If anyone would be so kind as to review them and let me know if they
are infact 100% blank & white, one clear answer questions.
1. Which method do you invoke on the SQLDataAdapter control to load your
dataset with data?
a) Update
b) Fill <-- correct
c) Gather
d) Load
2. When doing an Update, which method of the SqlCommand is best to use?
a) ExecuteReader
b) ExecuteScalar
c) ExecuteNonQuery <-- correct
d) ExecuteCommand
3. A class that can not be inherited is what type of class?
a) Sealed <-- correct
b) Static
c) Virtual
d) Abstract
4. Which of the following would you use to implement Polymorphism?
a) Shadowing
b) Overloading <-- correct
c) Constructor
d) Static Class
Thank you!
..NET 2.0 C# developers. They are sending us everyone that claims they can
program C# so my thought was to provide the firms with 4 questions that if
the candidate does not score 100% then don't submit them to us. I want the
questions to be black & white without any gray area -- meaning the questions
should only have one clear answer. Here are the questions that I've come up
with. If anyone would be so kind as to review them and let me know if they
are infact 100% blank & white, one clear answer questions.
1. Which method do you invoke on the SQLDataAdapter control to load your
dataset with data?
a) Update
b) Fill <-- correct
c) Gather
d) Load
2. When doing an Update, which method of the SqlCommand is best to use?
a) ExecuteReader
b) ExecuteScalar
c) ExecuteNonQuery <-- correct
d) ExecuteCommand
3. A class that can not be inherited is what type of class?
a) Sealed <-- correct
b) Static
c) Virtual
d) Abstract
4. Which of the following would you use to implement Polymorphism?
a) Shadowing
b) Overloading <-- correct
c) Constructor
d) Static Class
Thank you!