You need to test the GoldMined method. Which unit test should you use?


A. Option A
B. Option B
C. Option C
D. Option D
Answer:
D
QUESTION:
70
You are developing an ASP.NET MVC application by using Visual Studio 2012. The
application throws and handles exceptions when it runs. You need to examine the state
of the application when exceptions are thrown. What should you do?
A. From the Debug menu in Visual Studio 2012, select Exceptions. Enable the Thrown
check box for Common Language Runtime Exceptions.
B. From the DEBUG menu in Visual Studio 2012, select Attach to Process. Select the
IIS process.
C. From the Debug menu in Visual Studio 2012, select Exceptions. Disable the User-
unhandled check box for Common Language Runtime Exceptions.
D.
From
the
TOOLS
menu
in
Visual
Studio
2012,
click
Customize.
C!ic<
tie
Commands tab and select Debug.
Answer:
A
QUESTION:
71
HOTSPOT
You are developing an ASP.NET MVC application that has pages for users who
browse the site with Windows Phone 7. The pages for Windows Phone 7 include the
following files:
-
_Layout.WP7.cshtml
-
Index.WP7.cshtml
You need to update the application so that it renders the customized files correctly to
Windows Phone 7 users.
How
should
you
update
the
Application_Start
method?
(To
answer,
select
the
appropriate option from the drop-down list in the answer area.)


Answer:

Explanation:

QUESTION:
72
You are developing an ASP.NET MVC web application for viewing a photo album.
The application is designed for devices that support changes in orientation, such as
tablets and smartphones. The application displays a grid of photos in portrait mode.
When the orientation changes to landscape, each tile in the grid expands to include a
description.
The
HTML
that creates
the
gallery
interface
resembles
the
following
markup.

If this CSS is omitted, the existing CSS displays the tiles in landscape mode.
You need to update the portrait mode CSS to apply only to screens with a width less
than 500 pixels.
Which code segment should you use?
A. @media resolution(max-width: 500px) {
. . .
}
B. @media screen(min-width: Opx, max-width: 500px) {
. . .
}
C. @media screen and (width <= 500px) {
. . .
}
D. @media screen and (max-width: 500px) {
. . .
}
Answer:
D

You've reached the end of your free preview.
Want to read all 96 pages?
- Spring '16
- .NET Framework