Exam 3: C Programming: Collections, Delegates, and Object-Oriented Concepts

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

In which of the following collections is the Input/Output index-based? 1. Stack 2. Queue 3. BitArray 4. ArrayList 5. HashTable

(Multiple Choice)
5.0/5
(42)

Which of the following should be used to implement a 'Has a' relationship between two entities?

(Multiple Choice)
5.0/5
(37)

In Microsoft Visual Studio, ______ technology and a programming language such as C# is used to create a Web based application.

(Multiple Choice)
4.8/5
(24)

Which of the following statements are correct about the delegate declaration given below? delegate void del(int I);1. On declaring the delegate a class called del will get created.2. The signature of del need not be same as the signature of the method that we intend to call using it.3. The del class will be derived from the MulticastDelegate class.4. The method that can be called using del should not be a static method.5. The del class will contain a one-argument constructor and an lnvoke() method.

(Multiple Choice)
4.8/5
(38)

Button class derives from

(Multiple Choice)
4.8/5
(28)

Which of the following statements are correct about the Stack collection?1. It can be used for evaluation of expressions.2. All elements in the Stack collection can be accessed using an enumerator.3. It is used to maintain a FIFO list.4. All elements stored in a Stack collection must be of similar type.5. Top-most element of the Stack collection can be accessed using the Peek() method.

(Multiple Choice)
4.8/5
(32)

Which of the following is included in Visual Studio IDE?

(Multiple Choice)
5.0/5
(28)

Which of the following statements is incorrect about delegate?

(Multiple Choice)
4.8/5
(37)

Which of the following statements are correct about an ArrayList collection thatimplements the IEnumerable interface?1. The ArrayList class contains an inner class that implements the IEnumerator interface.2. An ArrayList Collection cannot be accessed simultaneously by different threads.3. The inner class of ArrayList can access ArrayList class's members.4. To access members of ArrayList from the inner class, it is necessary to pass ArrayList class's reference to it.5. Enumerator's of ArrayList Collection can manipulate the array.

(Multiple Choice)
4.8/5
(39)

Inheritance is ______ in nature.

(Multiple Choice)
4.8/5
(37)

Which of the following is true about dispose() method?

(Multiple Choice)
5.0/5
(37)

Which of the Control objects is viewed as a container that can hold other objects when you design a Windows application?

(Multiple Choice)
4.7/5
(24)

Web Forms consists of a _______ and a _________ .

(Multiple Choice)
4.8/5
(42)

Which of the following statements is correct about Interfaces used in C#.NET?

(Multiple Choice)
4.8/5
(44)

When an instance method declaration includes the abstract modifier, the method is said to be an ______.

(Multiple Choice)
4.9/5
(40)

The theory of _____ implies that user can control the access to a class, method, or variable.

(Multiple Choice)
4.9/5
(41)

The ______ are the Graphical User Interface (GUI) components created for web based interactions..

(Multiple Choice)
4.8/5
(37)

What is a delegate?

(Multiple Choice)
4.8/5
(24)

The ______ parentheses that follow _____ indicate that no information is passed to Main().

(Multiple Choice)
4.9/5
(29)
Showing 21 - 39 of 39
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)