Professional Documents
Culture Documents
NET
4. Minus(-) signs in the Solution Explorer Indicates the group of files and you can click on
these signs to
a. To expand the groups
b.To collapse the groups
c.To destroy the groups
d. None of the Above.
Ans. b.To collapse the groups
5. C# is ……………….
a. Case Sensitive Language
b. Not a Case Sensitive Language
c. Computer language
d. None of the above
Ans. a. Case Sensitive Language
Research Inquiry
6. The operator used to access member function of a class?
a) :
b) ::
c) .
d) #
Ans. C) .
9 The capability of an object in Csharp to take number of different forms and hence
display behaviour as according is known as ___________
a) Encapsulation
b) Polymorphism
c) Abstraction
d) None of the mentioned
Ans. B) Polymorphism
a. Only i) is true
b. Only ii) is true
c. Both are true
d. i, ii),iii),iv
Ans. d. i, ii),iii),iv
a. DropDownList
b.DownStyle
c. DropDownStyle
d. None of the above
Ans. c. DropDownStyle
15 . (i) _____________ is used in the parent class to indicate that a method can
overridden
Global Citizen
16. Which method is not associated with Connection
a. Open()
b. Close()
c. Start()
d. None Of these
Ans. Start()
19. Which of these is used as a default specifier for a member of the class if no
access specifier is used for it?
a) private
b) public
c) public, within its own class
d) protected
Ans. A) private
Problem Solving
21. Polmorphism provides for multiple implementations of a
a. same method
b. same class
c. same object
d. None of the above
Ans. a. same method
25 Which of the following is not a namespace in the .NET Framework Class Library?
a) System.Process
b) System.Security
c) System.Threading
d) System.xml
Ans. A) System.Process
28. Choose the wrong statement about the properties used in C#.NET?
a) Each property consists of accessor as get and set
b) A property cannot be either read or write only
c) Properties can be used to store and retrieve values to and from the data members
of a class
d) Properties are like actual methods which work like data members
Ans. a) Each property consists of accessor as get and set
33. Which operator among the following signifies the destructor operator?
a) ::
b) :
c) ~
d) &
Ans. c) ~
34 Which of these methods of the class String is used to obtain length of String
object?
a) get()
b) Sizeof()
c) lengthof()
d) length()
Ans. Length()
a. is a collection of variables
b. is an array of arrays
c. is a single dimension array
d. None of the above
Ans. b. is an array of arrays
38 A type of class which does not have its own objects but acts as a base class for
its subclass is known as?
a) Static class
b) Sealed class
c) Abstract class
d) None of the mentioned.
Ans. c) Abstract class