Microsoft 70-494 - Recertification for MCSD: Web Applications Exam
Page: 2 / 50
Total 249 questions
Question #6 (Topic: Topic 1)
If the canvas element is supported by the client browser, the application must display
"London 2012" in the footer as text formatted by JavaScript at the end of the
_Layout.cshtml file.
You need to modify the layout to ensure that "London 2012" is displayed as either
formatted text or as plain text, depending on what the client browser supports.
Which code segment should you add?
"London 2012" in the footer as text formatted by JavaScript at the end of the
_Layout.cshtml file.
You need to modify the layout to ensure that "London 2012" is displayed as either
formatted text or as plain text, depending on what the client browser supports.
Which code segment should you add?
A. <canvas id="myFooter"> @(Request,Browser.JavaApplets ? new HtmlString("London 2012") : null) </canvas>
B. <canvas id="myFooter">London 2012</canvas>
C. <canvas id="myCanvas">London 2012</canvas>
D. <canvas id="myCanvas"></canvas> <p>London 2012</p>
Answer: C
Question #7 (Topic: Topic 1)
You need to add an action to RunLogController to validate the users' passwords.
Which code segment should you use?
[Microsoft-70-494-8.0/Microsoft-70-494-18_2.png]
Which code segment should you use?
[Microsoft-70-494-8.0/Microsoft-70-494-18_2.png]
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B
Question #8 (Topic: Topic 1)
You need to make the "Distance" header of the table bold in the
Views/RunLog/GetLog.cshtml view.
Which code segment should you use?
Views/RunLog/GetLog.cshtml view.
Which code segment should you use?
A. table>tr{ font-weight: bold; }
B. table>th:last-child{ font-weight: bold; }
C. table+first-child{ font-weight: bold; }
D. table>tr>th:nth-child (2) { font-weight: bold; }
Answer: D
Question #9 (Topic: Topic 1)
You need to make all of the rows in the table bold in the Views/RunLog/GetLog.cshtml
view.
Which code segment should you use?
view.
Which code segment should you use?
A. Table > th:last-child { font-weight: bold; }
B. Table+first-child{ font-weight: bold; }
C. Table>tr>th:nth-child{2){font-weight: bold; }
D. Table > tr {font-weight: bold;}
Answer: D
Question #10 (Topic: Topic 1)
You need to extend the edit functionality of RunLogController.
Which code segment should you use?
[Microsoft-70-494-8.0/Microsoft-70-494-20_2.png]
Which code segment should you use?
[Microsoft-70-494-8.0/Microsoft-70-494-20_2.png]
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C