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 4 out of 38 pages
Exam (elaborations)

PRN221 p2 Exam Questions and Answers 100% Pass

Document preview thumbnail
Preview 4 out of 38 pages

PRN221 p2 Exam Questions and Answers 100% Pass Which of the following methods of the JsonSerialization class can be used to convert a value of the speciêed type into a JSON string,encoded as UTF-8 bytes? a. None of the others b. SerializeToUtf8Bytes() c. Serialize8Bytes() d. SerializeToUTF8() - b 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 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 2COPYRIGHT © 2025 BY KATELYN WHITMAN, ALL RIGHTS RESERVED 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 - c Choose the correct statement about PresentationF 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 - b What is Windows Presentation Foundation (WPF)?

Content preview

PRN221 p2 Exam Questions and
Answers 100% Pass


Which of the following methods of the JsonSerialization class can be used to convert a
value of the speciêed type into a JSON string,encoded as UTF-8 bytes?

a. None of the others

b. SerializeToUtf8Bytes()

c. Serialize8Bytes()

d. SerializeToUTF8() - ✔✔b

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

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




COPYRIGHT © 2025 BY KATELYN WHITMAN, ALL RIGHTS RESERVED 1

,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 - ✔✔c

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 - ✔✔b

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




COPYRIGHT © 2025 BY KATELYN WHITMAN, ALL RIGHTS RESERVED 2

,d. WPF is a UI framework that creates API. - ✔✔a

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 - ✔✔c

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

Which of the following is one of the serialization engines in .NET?

a. XmlSerializer

b. ObjectSerializer

c. StreamSerializer

d. DataSerializer - ✔✔a




COPYRIGHT © 2025 BY KATELYN WHITMAN, ALL RIGHTS RESERVED 3

, 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 - ✔✔a

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

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 - ✔✔c




COPYRIGHT © 2025 BY KATELYN WHITMAN, ALL RIGHTS RESERVED 4

Document information

Uploaded on
April 6, 2025
Number of pages
38
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$12.99

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.
KatelynWhitman
3.6
(259)
Sold
1242
Followers
485
Items
43377
Last sold
3 days 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