PrepAway - Latest Free Exam Questions & Answers

Category: 70-481

Exam 70-481: Essentials of Developing Windows Store Apps using HTML5 and JavaScript

Which code segment should you insert at line DF13?

Case Study: 2 Scenario 2
Background
You are developing a Windows Store app by using HTML5, JavaScript, and CSS3. The app will be used to
access details about products that your company sells.
Business Requirements
The app must do all of the following:
Be available to customers in many different countries.
Display a list of product categories.
Display the products for a selected category.
Display details of a selected product.
Display images of each product one at a time in avertical presentation.
Provide a link to an About section in the Settings pane.
Update product data on a daily basis.
Allow the user to view the last selected product while the app is offline.
Be deployed in the Windows Store.
Technical Requirements
General
When the user restarts the app, the app must start in the state it was in when it was last used.
App settings controls must be 346 pixels wide.
The app must optimize bandwidth use and performance.
Security
The app must use an enterprise certificate.
The user must provide valid credentials to accessthe app.
After user authentication, the app must use stored credentials.
User accounts will be validated against a pre-existing enterprise service.
App Architecture
Service calls must be separated from the user interface.
The app must follow the MVC design pattern.
Service classes can be written in C++, C#, VB, orJavaScript.
The app must communicate with pre-existing enterprise services.
Application Structure
Relevant portions of the app files are shown below.(Line numbers in the code segments are included for
reference only and include a two-character prefix that denotes the specific file to which they belong.)


You need to ensure that the about.html page is displayed. Which code segment should you insert at line
DF13?

How should you rewrite the code?

Case Study: 2 Scenario 2
Background
You are developing a Windows Store app by using HTML5, JavaScript, and CSS3. The app will be used to
access details about products that your company sells.
Business Requirements
The app must do all of the following:
Be available to customers in many different countries.
Display a list of product categories.
Display the products for a selected category.
Display details of a selected product.
Display images of each product one at a time in avertical presentation.
Provide a link to an About section in the Settings pane.
Update product data on a daily basis.
Allow the user to view the last selected product while the app is offline.
Be deployed in the Windows Store.
Technical Requirements
General
When the user restarts the app, the app must start in the state it was in when it was last used.
App settings controls must be 346 pixels wide.
The app must optimize bandwidth use and performance.
Security
The app must use an enterprise certificate.
The user must provide valid credentials to accessthe app.
After user authentication, the app must use stored credentials.
User accounts will be validated against a pre-existing enterprise service.
App Architecture
Service calls must be separated from the user interface.
The app must follow the MVC design pattern.
Service classes can be written in C++, C#, VB, orJavaScript.
The app must communicate with pre-existing enterprise services.
Application Structure
Relevant portions of the app files are shown below.(Line numbers in the code segments are included for
reference only and include a two-character prefix that denotes the specific file to which they belong.)


You need to ensure that the JavaScript object that is defined in the credentialManager.js file can be consumed
by other Windows Store apps that are written in different programming languages. How should you rewrite the
code?


Page 7 of 7« First...34567