100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

PRN221 - Final EXAM QUESTIONS WITH CORRECT ANSWERS

Rating
-
Sold
-
Pages
15
Grade
A+
Uploaded on
16-07-2025
Written in
2024/2025

PRN221 - Final EXAM QUESTIONS WITH CORRECT ANSWERS

Institution
PRN221
Course
PRN221









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
PRN221
Course
PRN221

Document information

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

Subjects

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

Get to know the seller

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 West Virginia University
View profile
Follow You need to be logged in order to follow users or courses
Sold
170
Member since
1 year
Number of followers
6
Documents
18379
Last sold
6 days ago
WELCOME TO LECTPHILIP, A PLACE WHERE WE UNLOCK YOUR ACADEMIC OPPORTUNITIES

On this page, you find all documents, package deals and flashcards offered by seller lectphilip

4.3

25 reviews

5
14
4
5
3
5
2
1
1
0

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

Frequently asked questions