Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 15 pages
Exam (elaborations)

PRN221 - Final EXAM QUESTIONS WITH CORRECT ANSWERS

Document preview thumbnail
Preview 2 out of 15 pages

PRN221 - Final EXAM QUESTIONS WITH CORRECT ANSWERS

Content preview

PRN221 - Final

1. Which of the following is one of the Behavioral Design Patterns?
a .Facade
b. Abstract Factory
c. Chain of responsibility
d. Bridge: C
2. Which is a definition of a static method?
a. public static MethodA()
b .public void MethodA()
c. private static MethodA()
d. public static void MethodA(): D
3. Which of the following is one of the Gang of Four (GoF) patterns cate-
gories?
a. All of the others
b. Behavioral
c. Creational
d. Structural: A
4. Which of the following keywords meaning access is limited in the same
assembly but not outside the assembly?
a. protected internal
b. public
c .private
d. internal: D
5. Which of the following statements related to Generic Class is True?
a. When creating generic classes, important considerations include: class
type to generalize into type parameters
b. Generic classes encapsulate operations that are not specific to a particular
data type
c. None of the others
d. Generic classes are defined using a type parameter in parentheses after the
class name: B
6. Choose the correct statement related to Generics in C#.
a. A type parameter is a placeholder for a particular type specified when
creating an instance of the generic type
b. Generic means the general form, not specific. In C#, generic means not
specific to a particular data type
c. Generic can be used with classes, interfaces, fields, methods, properties,
and delegates using the out parameter
d. None of the others: B



, PRN221 - Final

7. Which of the following statements related to the Generic Method is True?
a. A method declared with the type parameters for its return type or parameters
is called a generic method
b .Generic methods can only be used to static methods
c .Generic methods can not be defined within non-generic classes
d. None of the others: A
8. For the following statements related to ThreadPool:
Statement 1. The thread pool manages threads efficiently by minimizing the
number of threads that must be created, started, and stopped.
Statement 2. By using the thread pool, we can focus on your business problem
rather than the application's threading infrastructure.
Choose the correct answer :

a. Statement 1 is True and 2 is False
b. Statement 1 is False and 2 is True
c. Statement 1 and 2 are True
d. Statement 1 and 2 are False: C
9. Which of the following keywords is used to override (hidden) an existing
method (must not virtual method) of the base class?
a. new
b. virtual
c. hidden
d. override: A
10. Choose the incorrect statement about the delegate.
a. Delegates are used to invoke methods that have the same signatures
b. Delegates are of reference types
c. A delegate cannot use with event
d. Delegates are type-safe: C
11. Which statement is incorrect about C# language?
a. C# fully supports aspect-oriented programming techniques
b. There is no pointer required in C#
c. C# does support Automatic memory management through the delete key-
word
d. C# fully supports interface-based programming techniques: C
12. Choose the correct statement related to Design Patterns is True?
a. A design pattern provides a general reusable solution for the common
problems that occur in software design
b. A design pattern is a description or template for how to implement an
algorithm that can be used in many different applications

Document information

Uploaded on
July 16, 2025
Number of pages
15
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$16.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Lectphilip
4.0
(42)
Sold
280
Followers
6
Items
26415
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions