SOLVED| GRADED A+
b Which of the following is one of the Structural Design Patterns?
a. Singleton
*b. Decorator*
c. All of the others
d. Abstract Factory
d Which information is correct about the reference types?
a. Allocated on the managed data
b. Allocated on the stack
c. Can be quickly removed from memory once they fall out of the defining scope
*d. Allocated on the managed heap*
c What are the benefits of the Design Pattern?
a. Design patterns can speed up the development process by providing tested, proven
development paradigms
b. Reusing design patterns helps to prevent subtle issues that can cause major problems
*c. All of the others*
d. Improves code readability for coders and architects familiar with the patterns
c Choose the correct statement related to the Design Pattern?
a. None of the others
b. Design patterns provide specific solutions, documented in a format that requires specifics
tied to a particular problem
*c. Patterns allow developers to communicate using well-known, well-understood names for
software interactions*
,d. Increased software development costs, because problems arise, are not known
d Which of the following is the benefit of Concurrency?
a. Deadlock: It occurs when two processes are blocked and hence neither can proceed to
execute
b. None of the others
c. Starvation: It occurs when a process does not obtain service to progress
*d. Running of multiple applications: It enables to run of multiple applications at the same
time*
b Choose the correct statement about PresentationFramework.dll assembly in the WPF
Architecture
a. It provides basic types like UIElement and Visual. The UIElement defines 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 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 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 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
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 Choose the correct answer for Symmetrical multiprocessing (SMP).
a. None of the others.
b. Usually, one processor acts as the main processor. It works as a manager and is in charge of
distributing the tasks to the other
available processors, using different kinds of algorithms for this purpose.
*c. Any available processor or core can execute tasks. The most used and efficient one is n-way
symmetrical multiprocessing, where n is the number of installed processors. With this
procedure, each processor can execute a task isolated from the rest and also when a particular
software is not optimized for multiprocessing systems.*
d. All of the others.
c Choose the correct answer about ASP.NET SignalR.
a. SignalR also provides a very simple, high-level API for doing server-to-client RPC in your
ASP.NET application, as well as adding
useful hooks for connection management, for example, connect/disconnect events, grouping
connections, and authorization.
b. ASP.NET SignalR is a new library for ASP.NET developers that makes it incredibly simple to
add real-time web functionality to
your applications.
*c. All of the others.*
d. SignalR can be used to add any sort of "real-time" web functionality to your ASP.NET
application.
c Choose the correct statement related to the WebResponse Class
a. The WebResponse class is the abstract base class from which protocol-specifi c response
classes are derived
b. Applications can participate in request and response transactions in a protocol-agnostic
manner using instances of the