PRN211 EXAM QUESTIONS AND
VERIFIED ANSWERS
Which of the following statements related to the Generic Method is
True?
a.Generic methods can not be defined within non-generic classes
b.None of the others
c.A method declared with the type parameters for its return type or
parameters is called a generic method
d.Generic methods can only be used to static methods - ANSWER C
Which of the following statements related to Generic Class is True?
a.None of the others
b.Generic classes encapsulate operations that are not specific to a
particular data type
c.When creating generic classes, important considerations include: class
type to generalize into type parameters
d.Generic classes are defined using a type parameter in parentheses
after the class name - ANSWER B
Which is keyword meaning access is limited to the current assembly or
types derived from the defining class in the current assembly?
a.internal
b.protected internal
c.public
d.private - ANSWER B
Which of the following is one of the Creational Design Patterns?
a.Decorator
b.Singleton
c.Adapter
d.All of the others - ANSWER B
Which of the following keywords meaning access is limited in the same
assembly but not outside the assembly?
a.private
,b.protected internal
c.internal
d.public - ANSWER C
Choose the correct statement related to the Namespaces in C#?
a.All of the others
b.It helps to control the scope of methods and variables in larger .Net
programming projects
c.It is used to organize the classes
d.The members of a namespace can be interfaces, structures, and
delegates but not namespaces - ANSWER C
Which of the following is one of the Behavioral Design Patterns?
a.Bridge
b.Abstract Factory
c.Facade
d.Chain of responsibility - ANSWER D
The first character of an identifier (variable) can not be:
a.An underscore character
b.A lowercase letter
c.An uppercase letter
d.A digit - ANSWER D
Which statement is incorrect about C# language?
a.There is no pointer required in C#
b.C# does support Automatic memory management through the delete
keyword
c.C# fully supports interface-based programming techniques
d.C# fully supports aspect-oriented programming techniques - ANSWER
B
For the following statements related to Thread:
Statement 1. Foreground threads can prevent the current application
from terminating. The Core CLR will not shut down an application until
all foreground threads have ended.
Statement 2. Background threads are viewed by the Core CLR as
expendable paths of execution that can be ignored at any point in time.
, Choose the correct answer :
a.
Statement 1 is True and 2 is False
b.
Statement 1 and 2 are False
c.
Statement 1 and 2 are True
d.
Statement 1 is False and 2 is True - ANSWER C
Which of the following is the Issue of Concurrency?
a.Blocking: Processes can block waiting for resources. A process could
be blocked for a long period waiting for input from a terminal
b.Average response time: Without concurrency, each application has to
be run to completion before the next one can be run
c.None of the others
d.Resource utilization: It enables that the resources that are unused by
one application can be used for other applications - ANSWER A
Choose the correct statement about .NET Framework.
a.It used to develop two application types: ASP.NET Web Forms and
WinForms applications
b.It was developed to run on the Windows platform only
c.It is open source
d.None of the others - ANSWER B
Which of the following statements related to the characteristics of the
delegate type is True?
Statement 1: Invoke to methods that have the same signature.
Statement 2: Can be used as the parameters of any method.
Statement 3: Can be used to invoke methods via synchronous model by
BeginInvoke() method.
a.
Statement 1 and 3
b.
Statement 1, 2 and 3
The benefits of buying summaries with Stuvia:
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
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
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 $12.49. You're not tied to anything after your purchase.