100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
PRN221 FINAL EXAM QUESTIONS WITH 100% VERIFIED ANSWERS $13.49   Add to cart

Exam (elaborations)

PRN221 FINAL EXAM QUESTIONS WITH 100% VERIFIED ANSWERS

 4 views  0 purchase
  • Course
  • PRN221
  • Institution
  • PRN221

PRN221 FINAL EXAM QUESTIONS WITH 100% VERIFIED ANSWERS...

Preview 3 out of 18  pages

  • October 23, 2024
  • 18
  • 2024/2025
  • Exam (elaborations)
  • Unknown
  • prn221
  • prn 221
  • prn221 final exam
  • PRN221
  • PRN221
avatar-seller
luzlinkuz
PRN221 FINAL EXAM QUESTIONS WITH
100% VERIFIED ANSWERS

Which of the following is one of the Behavioral Design Patterns?
a . Facade
b. Abstract Factory
c. Chain of responsibility
d. Bridge
C
What is the definition of a static method?
a. public static MethodA()
b .public void MethodA()
c. private static MethodA()
d. public static void MethodA()
D
Which of the following is one of the Gang of Four (GoF) pattern
categories?
a. All of the others
b. Behavioural
c. Creational
d. Structural
A
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
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
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
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
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
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
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
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
keyword
d. C# fully supports interface-based programming techniques
C
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
c. A design pattern is a finished design that can be transformed directly
into code C# or Java
d. None of the others
A
Choose the correct statement related to using collections.
a. Using collections involves a significant performance overhead in the
form of access to elements
b. A primary limitation of collections is the absence of effective type
checking
c. The implicit and explicit type casting in the collections help to gain the
high performance
d. None of the others
B
To read a line from the command line window (console window), which
of the following statements should be used?
a. System.Console.WriteLine();
b. System.Read.ReadLine();
c. System.Console.ReadLine();
d. System.ReadLine();

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller luzlinkuz. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $13.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75057 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$13.49
  • (0)
  Add to cart