PRN221 Qustions plus Answers 2024
2. Which of the following assemblies belongs to the WPF Managed Layer in the WPF Architecture?
A. PresentationC
B. WindowB
C. PresentationF
D. All of the others: D. All of the others
3. Choose the correct statement related to Mono-Processor Systems
A. The mi...
1. Which of the following commands can be used to create a WPF application named MyApp by .NET CLI tool?
A. dotnet create wpf -n MyApp
B. dotnet create wpf -1 MyApp
C. dotnet new wpf -n MyApp
D. dotnet new wpf MyApp: C. dotnet new wpf -n MyApp
2. Which of the following assemblies belongs to the WPF Managed Layer in the WPF Architecture?
A. PresentationCore.dll
B. WindowBase.dll
C. PresentationFramework.dll
D. All of the others: D. All of the others
3. Choose the correct statement related to Mono-Processor Systems
A. The microprocessor receives data from file streams, executes the neces- sary processes, and sends the
results in an output file
B. The mono-processor systems use old-fashioned, classic computer archi- tecture and were developed by the
outstanding mathematician, John von Neumann
C. The mono-processor system works with many users and many tasks run- ning
D. None of the others: B. The mono-processor systems use old-fashioned, classic computer architecture and were
developed by the outstanding mathematician, John von Neumann
4. Choose the correct definition of MessagePack (protocol for encoding mes- sages) supported by ASP.NET Core
SignalR.
A. MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages
like JSON. But it's faster and smaller.
B. None of the others.
C. MessagePack is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for
machines to parse and generate.
D. MessagePack is a computer data interchange format. It is a binary form for representing simple or
complex data structures including associative arrays, integer indexed arrays, and a suite of fundamental scalar
types.: A. MessagePack is an efficient binary serialization format. It lets you exchange data among multiple
languages like JSON. But it's faster and smaller.
5. Choose the correct statement about WPF Types
A. DependencyObject: provide features like change notification, support data bindings, attached properties, etc
B. DispatcherObject: WPF application uses Single-Thread Affinity (STA) model
, PRN221 Qustions plus Answers 2024
and therefore every Ul element is owned by a single thread
C. All of the others
D. Visual: The Visual class defines all the properties required for rendering, clipping, transforming,
bounding, and hit test: C. All of the others
6. Choose the incorrect statement about the Basic Structure of XAML in the WPF
A. A WPF application contains only Windows or window form controls
B. In a XAML file. Window is a top-level window with the tag, whereas the Page is a browser-hosted page with
the <Page> tag
C. The window is one of commonly used root element which contains other elements
D. Apart from Window and Page, XAML has Resource Dictionary and Appli- cation root elements for
specifying the external dictionary and application definition: A. A WPF application contains only Windows or
window form controls
7. Which of the following statements related to Worker Service.NET is True?
Statement 1: A worker service is
a .NET project built using a template which supplies a few useful features that turn a regular console application
into something more powerful
Statement 2: A worker service runs on top of the concept of a host, which maintains the lifetime of the application
The host also makes available some familiar features, such as dependency injection,logging, and configuration
A. None of the others
B. Statement 1 and 2
C. Statement 2
D. Statement 1: B. Statement 1 and 2
8. Which of the following methods of the XmlSerializer class returns an object used to read the XML document
to be serialized?
A. GetObjectReader()
B. CreateObject()
C. GetReader()
D. CreateReader(): D. CreateReader()
9. Which of the following classes of the System.Threading.Tasks Namespace provides support for creating and
scheduling Task objects?
A. Task
B. TaskFactory
C. TaskScheduler
D. TaskInit: B. TaskFactory
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 Certifiedacademics. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $8.99. You're not tied to anything after your purchase.