Deck 22: Windows Phone 8 Case Study

Full screen (f)
exit full mode
Question
Which of the following statements is false?

A)As in a Windows Store app,the App class defines app-level event handlers (for events like the Launching,Activated,Deactivated and Closing),app-wide resources and more.
B)The app-level event handlers are defined in class App's code-behind file (App.xaml.vb)-only the Visual Basic compiler can add code to these event handlers to respond to any of these events.
C)A WP8 app consists of one or more pages that are derived classes of PhoneApplicationPage (namespace Microsoft.Phone.Controls).
D)As in Windows 8 UI,each page's XAML specifies the controls that enable the user to interact with the page,and each page's code-behind file defines the page's functionality.
Use Space or
up arrow
down arrow
to flip the card.
Question
Which of the following statements about the Device window settings for the GUI designer is false?

A)Orientation-Allows you to choose between portrait and landscape for the design area.
B)Display-Allows you to choose the screen resolution for which you're designing the GUI.
C)Theme-Allows you to choose between the default Dark theme with white text and a Light theme with dark text.
D)Accent-Allows you to set the accent color for your app in the GUI designer.The default accent color is Yellow.
Question
Which of the following statements about Monetizing Apps with Microsoft Advertising pubCenter is false?

A)Many developers offer free apps monetized with in-app advertising-often banner ads similar to those you find on websites.
B)Mobile advertising networks such as Microsoft Advertising pubCenter aggregate advertisers for you and serve relevant ads within your app on the user's device.
C)You can select the advertising categories that are relevant to your users and the size and placement of ads within the app.
D)You earn advertising revenue based on the number of page views.
Question
Which of the following statements about the manifest file is false?

A)Each WP8 app project contains the manifest file Manifest.xml.
B)The manifest file-located in the project's Properties folder in the Solution Explorer window-enables you to set various app settings.
C)The app settings that can be set in the manifest file include the name and icons that WP8 displays for your app on a device's Start screen,a description of your app,device features the app uses (e.g. ,device sensors,accessing the user's contacts,network connectivity,etc. ),hardware requirements for your app (e.g. ,gyroscope,camera,etc. )and more.
D)You'll specify settings in the manifest file for any app you plan to publish in the Windows Phone Store.
Question
Which of the following statements about Grids is false?

A)Rows and columns are indexed from 0,like arrays.
B)Each cell in a Grid can be empty or can hold one or more controls.
C)Each cell in a Grid cannot contain a layout that contains other controls.
D)Controls in a Grid can span multiple rows or columns.
Question
Which of the following statements is false?

A)When a TextBox receives the focus,the system displays an appropriate soft keyboard on the screen.Normally,when a TextBox loses the focus,the system hides the soft keyboard.
B)If you set a TextBox's InputScope property to Number,a keyboard that allows only numeric input is displayed in your app.
C)A TextBox's TextChanged event handler is called whenever the user accesses the text in the TextBox.
D)A TextBox's LostFocus event handler is called when the TextBox loses the focus because the user touched another control.
Question
Which of the following statements is false?

A)The Windows Phone 8 SDK includes Visual Studio Express 2012 for Windows Phone.
B)The Windows Phone 8 SDK includes the Windows Phone 8 Emulator,which allows you to test your smartphone apps on your computer.
C)On the Windows Phone 8 Emulator you can test app features that use the compass.
D)On the Windows Phone 8 Emulator you cannot test app features that use the gyroscope or the vibration controller.
Question
Which of the following statements about Windows Phone 8 templates is false?

A)You can create a new project for a WP8 app using the Windows Phone App template provided by the IDE.
B)The Windows Phone App template represents a simple two-screen app.
C)There are 11 templates (including the Windows Phone App template)for various common scenarios found in many types of apps
D)Clicking a given template name shows a preview screen and a brief description of that template's purpose.
Question
Which of the following statements is false?

A)Before submitting your apps for publication or In-App Products (i.e. ,virtual goods for in-app purchase),make sure that they comply with Microsoft's requirements for Windows Phone apps.
B)Apps that fail to meet Microsoft's requirements will be rejected-for example if the app includes illegal content,contains pornography or obscene content,encourages harm or violence to others,prevents the user from disabling location services,sells competing mobile services,contains defamatory or threatening content,infringes on trademarks of others and more.
C)Once you publish a Windows Phone 8 app,Microsoft requires exclusive rights-you may not republish your app on app stores for other smartphone platforms.
D)Microsoft's app approval process is similar to Apple's strict process for iOS apps and different from Google's Android process where apps are not vetted,but they could be removed after the fact.
Question
Which of the following statements is false?

A)The Windows Phone 8 operating system is larger than Windows 8 because it adds many features designed specifically for smartphones.
B)These are resource-constrained devices-they have less memory and processor power than desktop computers,and limited battery life.
C)WP8 has the same core operating systems services as Windows 8,including a common file system,security,networking,media
D)WP8 has only the features necessary for smartphones,allowing them to run efficiently,minimizing the burden on the device's resources.
Question
Which of the following statements is false?

A)As you add each control to the GUI,you can immediately use the Properties window to set the control's Name property
B)You can use the Document Layout window to add controls to a Grid's rows and columns.
C)The Document Outline window clearly shows the GUI's nested structure.
D)You can reorder controls by dragging them in the Document Outline window.
Question
You can call a TextBox's ________ method to make it the active control on the screen.

A)Activate
B)Focus
C)Actuate
D)Resume
Question
Which of the following statements is false?

A)A TextBox-often called a label in other GUI technologies-can display text.
B)You can specify a TextBox that allows only numeric input.
C)A Border enables you to place a border around a control or group of controls.
D)A TextBlock displays text.
Question
Which statement about free vs.paid apps is false?

A)Paid apps represent the vast majority of mobile apps.
B)Paid WP8 apps range in price from $1.49 (which is higher than the $0.99 starting price for apps in Google Play and Apple's App Store)to $999.99.
C)The average price for mobile apps is generally between $1.50 and $3,depending on the platform.
D)For Windows Phone apps,Microsoft retains 30% of the purchase price and distributes 70% to the app authors.
Question
Which of the following statements about row heights and column widths in a Grid is false?

A)Each row's height and each column's width can be specified as an explicit size,a relative size (using *)or Auto.
B)Auto makes the contents as big as it needs to be to fit its row or column.
C)The setting * specifies the size of a row or column with respect to the Grid's other rows and columns.For example,a column with a Height of 2* would be twice the size of a column that is 1* (or just *).
D)A Grid first allocates its space to the rows and columns that explicitly define their sizes or that are configured to allow the layout to automatically determine their sizes.The remaining space is divided among the other rows and columns.
Question
Which of the following statements about Windows Phone 8 developer features is false?

A)In-app purchase is for selling advertising.
B)Windows Phone Application Analysis is for app monitoring which allows you to determine the quality and performance of your app and improve it during the development process,rather than after making it available to users.
C)Simulation Dashboard shows you how your app will respond to network connectivity issues (e.g. ,a low bandwidth or weak connection),the lock screen,interruptions (e.g. ,notifications,phone calls)and more.
D)Wallet allows you to offer users coupons,memberships,loyalty cards and more that they can collect and store in their Wallet on a WP8 device.
Question
Which of the following statements is false?

A)Layouts arrange controls in a GUI.
B)You can use a Grid (namespace System.Windows.Controls)to arrange controls into rows and columns.
C)You use the Grid's RowDefinitions and ColumnDefinitions properties to define the rows and columns.
D)With Grid layout,controls cannot span multiple columns.
Question
Unlike many Visual Basic apps,WP8 apps do not have a Main method.Instead,they have a derived class of Application (namespace System.Windows.Application)that the OS uses to launch an app.This class,named ________,is defined by the files App.xaml and App.xaml.vb.

A)AppMain
B)AppStart
C)AppLaunch
D)App
Question
The Document Outline window shows the ________ structure of a page's layouts and controls and makes it easier to select specific controls to customize them with the Properties window.

A)composite
B)interface
C)inherited
D)nested
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/19
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 22: Windows Phone 8 Case Study
1
Which of the following statements is false?

A)As in a Windows Store app,the App class defines app-level event handlers (for events like the Launching,Activated,Deactivated and Closing),app-wide resources and more.
B)The app-level event handlers are defined in class App's code-behind file (App.xaml.vb)-only the Visual Basic compiler can add code to these event handlers to respond to any of these events.
C)A WP8 app consists of one or more pages that are derived classes of PhoneApplicationPage (namespace Microsoft.Phone.Controls).
D)As in Windows 8 UI,each page's XAML specifies the controls that enable the user to interact with the page,and each page's code-behind file defines the page's functionality.
B
2
Which of the following statements about the Device window settings for the GUI designer is false?

A)Orientation-Allows you to choose between portrait and landscape for the design area.
B)Display-Allows you to choose the screen resolution for which you're designing the GUI.
C)Theme-Allows you to choose between the default Dark theme with white text and a Light theme with dark text.
D)Accent-Allows you to set the accent color for your app in the GUI designer.The default accent color is Yellow.
D
3
Which of the following statements about Monetizing Apps with Microsoft Advertising pubCenter is false?

A)Many developers offer free apps monetized with in-app advertising-often banner ads similar to those you find on websites.
B)Mobile advertising networks such as Microsoft Advertising pubCenter aggregate advertisers for you and serve relevant ads within your app on the user's device.
C)You can select the advertising categories that are relevant to your users and the size and placement of ads within the app.
D)You earn advertising revenue based on the number of page views.
D
4
Which of the following statements about the manifest file is false?

A)Each WP8 app project contains the manifest file Manifest.xml.
B)The manifest file-located in the project's Properties folder in the Solution Explorer window-enables you to set various app settings.
C)The app settings that can be set in the manifest file include the name and icons that WP8 displays for your app on a device's Start screen,a description of your app,device features the app uses (e.g. ,device sensors,accessing the user's contacts,network connectivity,etc. ),hardware requirements for your app (e.g. ,gyroscope,camera,etc. )and more.
D)You'll specify settings in the manifest file for any app you plan to publish in the Windows Phone Store.
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following statements about Grids is false?

A)Rows and columns are indexed from 0,like arrays.
B)Each cell in a Grid can be empty or can hold one or more controls.
C)Each cell in a Grid cannot contain a layout that contains other controls.
D)Controls in a Grid can span multiple rows or columns.
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
6
Which of the following statements is false?

A)When a TextBox receives the focus,the system displays an appropriate soft keyboard on the screen.Normally,when a TextBox loses the focus,the system hides the soft keyboard.
B)If you set a TextBox's InputScope property to Number,a keyboard that allows only numeric input is displayed in your app.
C)A TextBox's TextChanged event handler is called whenever the user accesses the text in the TextBox.
D)A TextBox's LostFocus event handler is called when the TextBox loses the focus because the user touched another control.
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
7
Which of the following statements is false?

A)The Windows Phone 8 SDK includes Visual Studio Express 2012 for Windows Phone.
B)The Windows Phone 8 SDK includes the Windows Phone 8 Emulator,which allows you to test your smartphone apps on your computer.
C)On the Windows Phone 8 Emulator you can test app features that use the compass.
D)On the Windows Phone 8 Emulator you cannot test app features that use the gyroscope or the vibration controller.
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
8
Which of the following statements about Windows Phone 8 templates is false?

A)You can create a new project for a WP8 app using the Windows Phone App template provided by the IDE.
B)The Windows Phone App template represents a simple two-screen app.
C)There are 11 templates (including the Windows Phone App template)for various common scenarios found in many types of apps
D)Clicking a given template name shows a preview screen and a brief description of that template's purpose.
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
9
Which of the following statements is false?

A)Before submitting your apps for publication or In-App Products (i.e. ,virtual goods for in-app purchase),make sure that they comply with Microsoft's requirements for Windows Phone apps.
B)Apps that fail to meet Microsoft's requirements will be rejected-for example if the app includes illegal content,contains pornography or obscene content,encourages harm or violence to others,prevents the user from disabling location services,sells competing mobile services,contains defamatory or threatening content,infringes on trademarks of others and more.
C)Once you publish a Windows Phone 8 app,Microsoft requires exclusive rights-you may not republish your app on app stores for other smartphone platforms.
D)Microsoft's app approval process is similar to Apple's strict process for iOS apps and different from Google's Android process where apps are not vetted,but they could be removed after the fact.
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
10
Which of the following statements is false?

A)The Windows Phone 8 operating system is larger than Windows 8 because it adds many features designed specifically for smartphones.
B)These are resource-constrained devices-they have less memory and processor power than desktop computers,and limited battery life.
C)WP8 has the same core operating systems services as Windows 8,including a common file system,security,networking,media
D)WP8 has only the features necessary for smartphones,allowing them to run efficiently,minimizing the burden on the device's resources.
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following statements is false?

A)As you add each control to the GUI,you can immediately use the Properties window to set the control's Name property
B)You can use the Document Layout window to add controls to a Grid's rows and columns.
C)The Document Outline window clearly shows the GUI's nested structure.
D)You can reorder controls by dragging them in the Document Outline window.
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
12
You can call a TextBox's ________ method to make it the active control on the screen.

A)Activate
B)Focus
C)Actuate
D)Resume
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
13
Which of the following statements is false?

A)A TextBox-often called a label in other GUI technologies-can display text.
B)You can specify a TextBox that allows only numeric input.
C)A Border enables you to place a border around a control or group of controls.
D)A TextBlock displays text.
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
14
Which statement about free vs.paid apps is false?

A)Paid apps represent the vast majority of mobile apps.
B)Paid WP8 apps range in price from $1.49 (which is higher than the $0.99 starting price for apps in Google Play and Apple's App Store)to $999.99.
C)The average price for mobile apps is generally between $1.50 and $3,depending on the platform.
D)For Windows Phone apps,Microsoft retains 30% of the purchase price and distributes 70% to the app authors.
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
15
Which of the following statements about row heights and column widths in a Grid is false?

A)Each row's height and each column's width can be specified as an explicit size,a relative size (using *)or Auto.
B)Auto makes the contents as big as it needs to be to fit its row or column.
C)The setting * specifies the size of a row or column with respect to the Grid's other rows and columns.For example,a column with a Height of 2* would be twice the size of a column that is 1* (or just *).
D)A Grid first allocates its space to the rows and columns that explicitly define their sizes or that are configured to allow the layout to automatically determine their sizes.The remaining space is divided among the other rows and columns.
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
16
Which of the following statements about Windows Phone 8 developer features is false?

A)In-app purchase is for selling advertising.
B)Windows Phone Application Analysis is for app monitoring which allows you to determine the quality and performance of your app and improve it during the development process,rather than after making it available to users.
C)Simulation Dashboard shows you how your app will respond to network connectivity issues (e.g. ,a low bandwidth or weak connection),the lock screen,interruptions (e.g. ,notifications,phone calls)and more.
D)Wallet allows you to offer users coupons,memberships,loyalty cards and more that they can collect and store in their Wallet on a WP8 device.
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
17
Which of the following statements is false?

A)Layouts arrange controls in a GUI.
B)You can use a Grid (namespace System.Windows.Controls)to arrange controls into rows and columns.
C)You use the Grid's RowDefinitions and ColumnDefinitions properties to define the rows and columns.
D)With Grid layout,controls cannot span multiple columns.
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
18
Unlike many Visual Basic apps,WP8 apps do not have a Main method.Instead,they have a derived class of Application (namespace System.Windows.Application)that the OS uses to launch an app.This class,named ________,is defined by the files App.xaml and App.xaml.vb.

A)AppMain
B)AppStart
C)AppLaunch
D)App
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
19
The Document Outline window shows the ________ structure of a page's layouts and controls and makes it easier to select specific controls to customize them with the Properties window.

A)composite
B)interface
C)inherited
D)nested
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 19 flashcards in this deck.