100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
PRN 221 P2 EXAM QUESTIONS AND ANSWERS $11.59   Add to cart

Exam (elaborations)

PRN 221 P2 EXAM QUESTIONS AND ANSWERS

 2 views  0 purchase
  • Course
  • PRN 221
  • Institution
  • PRN 221

PRN 221 P2 EXAM QUESTIONS AND ANSWERS...

Preview 3 out of 25  pages

  • October 23, 2024
  • 25
  • 2024/2025
  • Exam (elaborations)
  • Unknown
  • PRN 221
  • PRN 221
avatar-seller
luzlinkuz
PRN 221 P2 EXAM QUESTIONS AND
ANSWERS

b - ANSWER Which of the following methods of the JsonSerialization
class can be used to convert a value of the specific type into a JSON
string, encoded as UTF-8 bytes?
a. None of the others
b. SerializeToUtf8Bytes()
c. Serialize8Bytes()
d. SerializeToUTF8()

c - ANSWER Which of the following methods of the XmlSerializer class
returns an object used to read the XML document to be serialized?
a. CreateObject()
b. GetReader()
c. CreateReader()
d. GetObjectReader()

c - ANSWER Choose the incorrect statement about Uniform Resource
Identifi er (URI)
a. The Uri class in the System namespace performs just this division,
exposing a property for each element
b. A URI (Uniform Resource Identifi er) is a specially formatted string
that describes a resource on the internet or a LAN, such as a
web page, fi le, or email address
c. URI is a subset of Uniform Resource Location (URL) that describes
the network address or location where the source is available
d. A URI can be broken up into a series of elements—typically, scheme,
authority, and path

b - ANSWER Choose the correct statement about
PresentationFramework.dll assembly in the WPF Architecture
a. It provides basic types like UIElement and Visual. The UIElement defi
nes the actions and element layout properties and provides
classes to override them if required
b. It provides the basic types to build a WPF application, such as
windows, controls, shapes, media, documents, animation, data

,bindings, style, etc
c. None of the others
d. It holds the WPF basic types like DependencyProperty,
DependencyObject, DispatcherObject, and other types

a - ANSWER What is Windows Presentation Foundation (WPF)?
a. WPF is a UI framework that creates desktop client applications
b. WPF is a UI framework that creates web applications
c. WPF is a UI framework that creates mobile applications
d. WPF is a UI framework that creates API.

c - ANSWER Choose the correct statement about Windows Presentation
Foundation (WPF)
a. The WPF is only supported by the .NET Core
b. The WPF is only supported by the both .NET Framework and .NET
Core
c. The WPF supports a broad set of application development features,
including an application model, resources, controls, graphics,
layout, data binding, documents, and security
d. WPF uses the Extensible Markup Language (XML) to provide a
declarative model for application programming

a - ANSWER Which of the following commands can be used to create a
WPF application named MyApp by .NET CLI tool?
a. dotnet new wpf -n MyApp
b. dotnet create wpf -n MyApp
c. dotnet new wpf MyApp
d. dotnet create wpf -l MyApp

a - ANSWER Which of the following is one of the serialization engines in
.NET?
a. XmlSerializer
b. ObjectSerializer
c. StreamSerializer
d. DataSerializer

a - ANSWER U04-Q003 Which of the following is one of the basic
procedures to distribute tasks in systems with multiple processors?

, a. Symmetrical multiprocessing (SMP)
b. Asynchronous multiprocessing (AMP)
c. All of the others
d. Synchronous multiprocessing (SNP)
e. None of the others

c - ANSWER Choose the main purpose of the Razor Pages PageModel
class.
a. To provide the easy way to reduce the code for the UI components.
b. To provide the easy way to understand the UI components with
processing code logic for the page.
c. To provide clear separation between the UI layer (the .cshtml view fi
le) and processing logic for the page.
d. To provide clear separation between the UI layer (the .cshtml.cs view
fi le) and processing logic for the page.

c - ANSWER Which of the following statements related to the Single
Responsibility Principle is True?
a. A class should be inherited from many other classes
b. A class should be implemented from multiple interfaces
c. A class should have only a single responsibility
d. None of the others

b - ANSWER Suppose that you want to configure the root folder for
Razor Pages to be something other than the default. What the following
code should you put in ConfigureServices method of Startup.cs file?

a.
public void ConfigureServices(IServiceCollection services)
{
services.AddRazorPages();
}

b.
public void ConfigureServices(IServiceCollection services)
{
services.AddRazorPages().AddRazorPagesOptions(options => {
options.RootDirectory = "/Content";

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 $11.59. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

83100 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
$11.59
  • (0)
  Add to cart