Filters
Question type

Study Flashcards

Inheritance is ______ in nature.


A) Commutative
B) Associative
C) Transitive
D) Iterative

E) All of the above
F) B) and C)

Correct Answer

verifed

verified

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


A) Data hiding
B) Encapsulation
C) Information Hiding
D) Polymorphism

E) None of the above
F) B) and D)

Correct Answer

verifed

verified

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.


A) 1 and 2 only
B) 1,3 and 4 only
C) 2 and 5 only
D) None of the above

E) A) and B)
F) All of the above

Correct Answer

verifed

verified

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


A) Web forms
B) Window Forms
C) Application Forms
D) None of the above

E) A) and B)
F) None of the above

Correct Answer

verifed

verified

What is a delegate?


A) A strongly typed function pointer.
B) A light weight thread or process that can call a single method.
C) A reference to an object in a different process.
D) An inter-process message channel.

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

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


A) Abstract method
B) Instance method
C) Sealed method
D) Expression method

E) A) and C)
F) C) and D)

Correct Answer

verifed

verified

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


A) 1 and 2 only
B) 3 and 4 only
C) 5 only
D) 1, 2 and 5 only

E) C) and D)
F) A) and B)

Correct Answer

verifed

verified

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


A) JAVA
B) J#
C) VB.NET
D) ASP.NET

E) B) and D)
F) A) and C)

Correct Answer

verifed

verified

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


A) All interfaces are derived from an Object class.
B) Interfaces can be inherited.
C) All interfaces are derived from an Object interface.
D) Interfaces can contain only method declaration.

E) None of the above
F) B) and C)

Correct Answer

verifed

verified

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.


A) 1, 2 and 3 only
B) 1, 3 and 5 only
C) 2 and 4 only
D) 4 only

E) A) and D)
F) All of the above

Correct Answer

verifed

verified

Which of the following is included in Visual Studio IDE?


A) Form Designer
B) Code Editor
C) Solution Explorer
D) All of the above

E) B) and C)
F) A) and C)

Correct Answer

verifed

verified

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


A) Polymorphism
B) Templates
C) Containership
D) Encapsulation

E) C) and D)
F) A) and B)

Correct Answer

verifed

verified

Which of the following statements is incorrect about delegate?


A) Delegates are reference types.
B) Delegates are object oriented.
C) Delegates are type-safe.
D) Only one method can be called using a delegate.

E) None of the above
F) B) and C)

Correct Answer

verifed

verified

Button class derives from


A) Checkbox
B) RadioButton
C) ButtonBase
D) None of the above

E) C) and D)
F) B) and D)

Correct Answer

verifed

verified

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


A) Control
B) Button
C) Window
D) Form

E) A) and D)
F) None of the above

Correct Answer

verifed

verified

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.


A) 1 and 2 only
B) 3 and 4 only
C) 1, 2 and 5 only
D) All of the above

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

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


A) This method is protected.
B) Its return type is int.
C) It accepts a float parameter.
D) All of the above.

E) A) and B)
F) C) and D)

Correct Answer

verifed

verified

Web Forms consists of a _______ and a _________ .


A) Template, Component
B) CLR, CTS
C) HTML Forms, Web services
D) Windows, desktop

E) B) and C)
F) A) and C)

Correct Answer

verifed

verified

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


A) Empty, class
B) Empty, submain
C) Empty, Main
D) Empty, Namespace

E) A) and B)
F) B) and C)

Correct Answer

verifed

verified

Showing 21 - 39 of 39

Related Exams

Show Answer