Exam 3: C Programming: Collections, Delegates, and Object-Oriented Concepts
Exam 1: .NET Framework and C Programming39 Questions
Exam 2: C Programming: Data Types, Constructors, Inheritance, and Exception Handling40 Questions
Exam 3: C Programming: Collections, Delegates, and Object-Oriented Concepts39 Questions
Exam 4: C Programming: Database and ADO.NET38 Questions
Select questions type
Which of the following statements is correct about an interface used in C#.NET?
Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
A
Which of the following is the correct way to access all elements of the Queue collection created using the C#.NET code snippet given below? Queue q = new Queue(); q.Enqueue("Sachin"); q.Enqueue('A'); q.Enqueue(false); q.Enqueue(38); q.Enqueue(5.4);
Free
(Multiple Choice)
4.9/5
(41)
Correct Answer:
A
The point at which an exception is thrown is called the _______.
Free
(Multiple Choice)
4.9/5
(41)
Correct Answer:
D
Which of the following can be facilitated by the Inheritance mechanism?1 Use the existing functionality of base class.2 Overrride the existing functionality of base class.3 Implement new functionality in the derived class.4 Implement polymorphic behaviour.5 Implement containership.
(Multiple Choice)
4.9/5
(35)
The scope of a variable depends on the ____________ and _________.
(Multiple Choice)
4.7/5
(37)
_______ is a set of devices through which a user communicates with a system using interactive set of commands.
(Multiple Choice)
4.8/5
(33)
The controls available in the tool box of the ______ are used to create the user interface of a web based application.
(Multiple Choice)
4.8/5
(29)
A class implements two interfaces each containing three methods. The class contains no instance data. Which of the following correctly indicate the size of the object created from this class?
(Multiple Choice)
4.8/5
(31)
Which of the following statements is correct about the C#.NET code snippet given below?class Student s1, s2; // Here 'Student' is a user-definedclass. s1 = new Student();s2 = new Student();
(Multiple Choice)
4.7/5
(40)
Which of the following statements is correct about an interface?
(Multiple Choice)
4.7/5
(36)
The reason that C# does not support multiple inheritances is because of ______.
(Multiple Choice)
4.8/5
(37)
How many enumerators will exist if four threads are simultaneously working on an ArrayList object?
(Multiple Choice)
4.8/5
(35)
C# supports a technique known as________, which allows a method to specify explicitly the name of the interface it is implementing.
(Multiple Choice)
4.8/5
(36)
Which namespace includes most of the Control classes for developing Windows applications?
(Multiple Choice)
4.7/5
(27)
Suppose a Generic class called SortObjects is to be made capable of sorting objects of any type (Integer, Single, Byte etc.). Which of the following programming constructs should be used to implement the comparison function?
(Multiple Choice)
4.8/5
(32)
Which of the following should be used to implement a 'Like a' or a 'Kind of' relationship between two entities?
(Multiple Choice)
4.9/5
(42)
Exponential formatting character ('E' or 'e') converts a given value to string in the form of _______.
(Multiple Choice)
4.9/5
(35)
C# treats the multiple catch statements like cases in a _____________ statement.
(Multiple Choice)
4.8/5
(33)
Showing 1 - 20 of 39
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)