PRN 221 EXAM QUESTIONS AND 100%
VERIFIED ANSWERS
What are the main characteristics of ASP.NET Core?
A. ASP.NET All meta package which improves development speed, and
enables you to reference all Microsoft packages for ASP.NET Core and
it will deploy only those that are being used by your code
B. There is no web. config. We now use an appsettings.json file in
combination with other sources of configuration (command line args,
environment variables, etc.)
C. There is no Global.asax - We have Startup.cs which is used to set up
Middleware and services for DI Container
D. All of these - ANSWER D
Which of the following layout is not available in WPF?
Select one:
A. StackPanel
B. Grid
C. Canvas
D. Table - ANSWER D
Which of the following is true regarding XAML?
Select one:
A. Separation of designer code and logic
B. Tools like Expression Blend do not support XAML.
C. XAML is platform independent.
D. All of the above - ANSWER A
How to set Default Value to Hidden Input Box using ASP.Net MVC?
Select one:
A. @Html.Hidden(m => m.Name, new { Value = "Jack"})
B. @Html.HiddenFor(m => m.Name, "Jack")
C. None
D. @Html.HiddenFor(m => m.Name, new { Value = "Jack"}) - ANSWER
D
All XAML resources should have an________attribute in WPF.
, Select one:
a. x:Name
b. x:Key
c. x:Value
d. x:Class - ANSWER b
RedirectToActionPermanent() Method for which Status code
represents?
Select one:
a. 304
b. 301
c. 302
d. None
e. 300 - ANSWER b
Visibility (defined on UIElement) might sound like a strange property to
talk about in the context of layout, but it is indeed relevant. An element's
Visibility property actually isn't Boolean, but rather a three-state
System.Windows.Visibility enumeration. One of Its value is "Collapsed"
What is the meaning of this value
Select one:
a. The element is invisible yet still participates in layout.
b. The element is invisible and does not participate in layout
c. The element gets rendered and participates in layout.
d. None of the above - ANSWER b
Which of the following object encapsulates the state of the client and the
browser?
Select one:
a. Session object
b. Response object
c. Server object
d. Request object - ANSWER a
WrapPanel Class comes under___________ assembly
Select one:
a. PresentationCore
b. PresentationFramework
VERIFIED ANSWERS
What are the main characteristics of ASP.NET Core?
A. ASP.NET All meta package which improves development speed, and
enables you to reference all Microsoft packages for ASP.NET Core and
it will deploy only those that are being used by your code
B. There is no web. config. We now use an appsettings.json file in
combination with other sources of configuration (command line args,
environment variables, etc.)
C. There is no Global.asax - We have Startup.cs which is used to set up
Middleware and services for DI Container
D. All of these - ANSWER D
Which of the following layout is not available in WPF?
Select one:
A. StackPanel
B. Grid
C. Canvas
D. Table - ANSWER D
Which of the following is true regarding XAML?
Select one:
A. Separation of designer code and logic
B. Tools like Expression Blend do not support XAML.
C. XAML is platform independent.
D. All of the above - ANSWER A
How to set Default Value to Hidden Input Box using ASP.Net MVC?
Select one:
A. @Html.Hidden(m => m.Name, new { Value = "Jack"})
B. @Html.HiddenFor(m => m.Name, "Jack")
C. None
D. @Html.HiddenFor(m => m.Name, new { Value = "Jack"}) - ANSWER
D
All XAML resources should have an________attribute in WPF.
, Select one:
a. x:Name
b. x:Key
c. x:Value
d. x:Class - ANSWER b
RedirectToActionPermanent() Method for which Status code
represents?
Select one:
a. 304
b. 301
c. 302
d. None
e. 300 - ANSWER b
Visibility (defined on UIElement) might sound like a strange property to
talk about in the context of layout, but it is indeed relevant. An element's
Visibility property actually isn't Boolean, but rather a three-state
System.Windows.Visibility enumeration. One of Its value is "Collapsed"
What is the meaning of this value
Select one:
a. The element is invisible yet still participates in layout.
b. The element is invisible and does not participate in layout
c. The element gets rendered and participates in layout.
d. None of the above - ANSWER b
Which of the following object encapsulates the state of the client and the
browser?
Select one:
a. Session object
b. Response object
c. Server object
d. Request object - ANSWER a
WrapPanel Class comes under___________ assembly
Select one:
a. PresentationCore
b. PresentationFramework