Free Essay

Answers

In:

Submitted By oduahmi
Words 27152
Pages 109
Save
Question 11 (1 point)
The enumeration FileAccess is used to: Question 11 options:

control user access to a file. control program access to a file. control the amount of updating that can be done on a file at once. FileAccess is a method, not an enumeration. Save
Question 13 (1 point)
Use the ________ method to programmatically close an app. Question 13 options:

Application.Shutdown Application.Exit Application.Current.Exit Application.Current.Shutdown Save Save
Question 21 (1 point)
A web service's methods can be called by methods on other machines using ________. Question 21 options:

Representational State Transfer (REST) architecture Simple Object Access Protocol Both Representational State Transfer (REST) architecture and Simple Object Access Protocol None of these. Save Questions Question 1
Computer circuitry is able to:

1 / 1 point

get the value of a bit. examine the value of a bit. reverse the value of a bit.

All of these. Question 2
A recursive search on a directory is one where:

1 / 1 point

a directory is searched and then all of its sub directories are searched. each sub directory is searched and then the main directory is searched. a search is done randomly on all directories. a directory is searched and then all of its sub directories are searched and a search is done randomly on all directories a directory is searched and then all of its sub directories are searched and each sub directory is searched and then the main directory is searched Question 3 1 / 1 point
Which of the following statements is false?

The template Grid App defines three-page app with predefined layouts and GUI controls. The provided pages allow the user to view a collection of groups of items displayed in a grid of rows and columns, view particular group's details and view a particular item's details. The template Split App defines a two-page app with predefined layouts and GUI controls. The first page allows the user to view a collection of groups of items displayed in a grid. The second page allows the user to view particular group and a selected item's details. There are two predefined themes for Windows Store apps: Black (the default) and White. Microsoft recommends using the Black theme for apps that present mostly images and video and the White theme for apps that display lots of text. The IDE's Design view is used for drag-and-drop GUI design and the XAML view shows the generated XAML markup. Question 4 1 / 1 point
The ________ attribute maps a method to a unique URL that can be accessed via an HTTP GET operation programmatically or in a web browser.

OperationContract WebGet OperationBinding

UriTemplate
A MouseEventArgs object's GetPosition event always returns a position relative to the top left of the WPF window.

Question 5

1 / 1 point

True False View Feedback Question 6 DNS URL ASPX None of these.
DBExtensions method Load loads an entire database's data into a DbContext.

1 / 1 point

A ________ is an address indicating the location of a resource on the web.

Question 7

1 / 1 point

True False View Feedback Question 8 True False Question 9 1 / 1 point
The information tier typically stores data in a(n) ________.

1 / 1 point

Every XAML document must define the presentation XAML namespace and the standard XAML namespace.

DataGrid XML document relational database management system None of these Question 10
Each resource should be released as soon as it's no longer needed.

1 / 1 point

True False Question 12 1 / 1 point
The name of the file to open is specified as the first argument to the FileStream constructor.

True False Question 14 1 / 1 point
The Console.Error property returns:

a standard error stream object. a new error. an object of type error. None of these. Question 15 1 / 1 point

Method ________ of class BinaryFormatter reads a serialized object from a stream and recreates the object in memory.

Deserial Deserialize Deserializable DSerial Question 16
Which of the following statements is false?

1 / 1 point

To apply a style to a control, you create a resource binding between a control's Styleproperty and a Style resource by using a markup extension-an expression enclosed in curly braces ({}) of the form {ResourceType ResourceKey}. There are two types of resources. Static resources are applied at initialization time only. Dynamic resources are applied every time the resource is modified by the app. Because styles normally change during runtime, they are usually used as dynamic resources. By default, the AppBar button styles are located in XML comments within theStandardStyles.xaml file. To use these styles you must first remove them from the comments. Question 17 1 / 1 point
WPF events which behave like Windows Forms events are called ________.

expandable events tunneling events bubbling events direct events Question 18 1 / 1 point

What kind of exception is thrown if there's a problem opening or creating a StreamWriter?

Exception StreamException OpenAndCreatingException IOException Question 19
Characters in C# are Unicode characters, each represented by one byte.

1 / 1 point

True False View Feedback Question 20
Files can be stored in:

1 / 1 point

hard drives. optical disks. magnetic tapes. All of these.

Question 1 (1 point)
When various databases are combined, this is known as data binding. Question 1 options:

False Save
Question 15 (1 point)
Which of the following statements is false? Question 15 options:

The PointerEntered event indicates that the pointer entered an element's bounds. The PointerExited event indicates that the pointer exited an element's bounds. The PointerMoved event indicates that the pointer moved within an element's bounds. The PointerPressed event indicates that a key was pressed.

Question 16 (1 point)
Which of the following statements is false? Question 16 options:

The root element of a Windows 8 UI XAML document is a Page control, which defines the content of the app's page. In Windows 8, it's possible to have a maximum of two Windows Store apps on the screen. The attribute x:Name of the Page start tag specifies the name of the class that provides the GUI's functionality. A XAML document must have an associated code-behind file to handle events. Save Questions Question 2 1 / 1 point

Use the ________ method of class OpenFileDialog to show a dialog that allows the user to select a file to be opened.

OpenFile ChooseFile ShowDialog OpenFileDialog Question 3 1 / 1 point
A relational database model is a way of organizing data and considering relationships based on the physical structure of the data.

True False View Feedback Question 4 1 / 1 point
WPF provides the ability to create ________, actions or tasks that may be triggered by many different user interactions.

multi-events shared events commands shared events and commands Question 5
Which of the following is not a data provider for WPF data binding?

1 / 1 point

ObjectDataProvider SqlDataProvider XmlDataProvider None of these. Question 6 1 / 1 point

JSON is a text-based data-interchange format used to represent objects in JavaScript as collections of ________ represented as strings.

data/format pairs primary key/data rows definition/key pairs name/value pairs Question 7 1 / 1 point

The CanExecute event for a command allows programmers to implement logic that determines whether a command should be enabled or disabled.

True False Question 8 1 / 1 point
The file that contains the coding for a Web Form is a Web-code file.

True False View Feedback Question 9 1 / 1 point
In the Web.config file, the service binding in the endpoint element must be set to ________ to support REST-based HTTP requests.

webHttpBinding wsHttpBinding basicHttpBinding netHttpBinding Question 10 URL proxy object interface None of these Question 11 1 / 1 point 1 / 1 point
Each operation in a RESTful web service is identified by a unique ________.

Namespace ________ contains classes for creating web apps and controls.

System.Web.Creation System.ASP System.Web.GUI System.Web.UI Question 12 True False Question 13 1 / 1 point
A key benefit of WPF is that it provides a single platform to handle GUI, images, animation 2D and 3D graphics, audio and video.

1 / 1 point

It's possible to select only a subset of a relational database table's columns.

True False Question 14 1 / 1 point
The technique of defining what the GUI should contain without specifying how to generate it is an example of ________ programming.

procedural generic declarative object-oriented programming Question 17 web service host service machine web machine None of these. Question 18 True False Question 19 1 / 1 point
A WPF style is a set of ________ that can be reused for any number of controls.

1 / 1 point

The machine on which the web service resides is commonly referred to as the ________.

1 / 1 point

XML elements can be nested, creating parent elements and child elements.

property-value definitions

event-handler definitions background images property-value definitions and event-handler definitions. Question 20 1 / 1 point True False Question 21 1 / 1 point
A ________ is a piece of data stored in a small text file to maintain information about the client during and between browser sessions.

The classes dealing with files and directories are located in the System.IO namespace.

tracking file cookie Web log virtual record

ons on 1 True False View Feedback

1 / 1 point
A WPF Grid control allows child elements to be positioned using explicit coordinates.

on 2

1 / 1 point
WPF graphics are resolution-independent, meaning that they're designed to look similar on screens of different sizes.

True False Question 3 1 / 1 point
The CanExecute event for a command allows programmers to implement logic that determines whether a command should be enabled or disabled.

True False
DBExtensions method Load loads an entire database's data into a DbContext.

Question 4 1 / 1 point

True False View Feedback 1 / 1 point
A ________ contains the byte number of the next byte in a file to be read or written to a file.

on 6 data locator file counter file-position pointer byte-number counter Question 7
Which of the following statements is false?

1 / 1 point

The template Grid App defines three-page app with predefined layouts and GUI controls. The provided pages allow the user to view a collection of groups of items displayed in a grid of rows and columns, view particular group's details and view a particular item's details. The template Split App defines a two-page app with predefined layouts and GUI controls. The first page allows the user to view a collection of groups of items displayed in a grid. The second page allows the user to view particular group and a selected item's details. There are two predefined themes for Windows Store apps: Black (the default) and White. Microsoft recommends using the Black theme for apps that present mostly images and video and the White theme for apps that display lots of text. The IDE's Design view is used for drag-and-drop GUI design and the XAML view shows the generated XAML markup. Question 8 1 / 1 point
The code-behind file is a(n) ________ class.

partial full abstract virtual Question 10 1 / 1 point

BinaryFormatters can be used to serialize and deserialize objects coming in and going out via a stream.

True False Question 11 1 / 1 point
Web forms are customized by programmers by adding Web ________ such as labels and buttons.

features controls servers None of these Question 12 1 / 1 point
The ________ attribute maps a method to a unique URL that can be accessed via an HTTP GET operation programmatically or in a web browser.

OperationContract WebGet OperationBinding UriTemplate Question 13 1 / 1 point
Use the ________ method of class OpenFileDialog to show a dialog that allows the user to select a file to be opened.

OpenFile ChooseFile ShowDialog OpenFileDialog
An OpenFileDialog allows a user to select a file to open.

Question 14

1 / 1 point

True False Question 15 1 / 1 point
Which of the following statements is false?

A data binding is a pointer to data that's represented by a DataSource object. You can create bindings to a broad range of data types, including objects, collections, data in XML documents,

data in databases and LINQ query results. Data bindings can be created declaratively in XAML markup with markup extensions. To declare a data binding, you must specify the data's source. If it's another element in the XAML markup, you use property ElementName; otherwise, you use Source. Many controls have built-in support for data binding, and do not require a separate Binding object. A ListView, for example, has an ItemsSourceproperty that specifies the data source of the ListView's items-when you set ItemsSource to a collection of data, the objects in the collection automatically become the items in the ListView. Question 17 1 / 1 point
Multiple TabPanels are placed inside a TabContainer.

True False Question 19 1 / 1 point
A serialized object is an object that includes:

a sequence of bytes that contain the object's data. information about the object's type. information about the types of data stored in the object. All of these.

ons on 2
Which of the following statements is false?

1 / 1 point MainPage.xaml defines the first Page that's loaded in the app. StandardStyles.xaml (in the Common folder) defines styles that enable your app's GUI to have the look-andfeel of Windows Store apps. The Assets folder typically contains media files, such as images, audio and video files. By default this folder contains four images that are used as logos and a splash screen. The Standard folder contains files typically used by

all Pages in an app, such as the StandardStyles.xaml file.
Method ________ of class BinaryFormatter reads a serialized object from a stream and recreates the object in memory.

Question 3

1 / 1 point

Deserial Deserialize Deserializable DSerial Question 4 DataBoxView DataGridView ListBoxView SpreadSheet Question 5 1 / 1 point
A master/detail view app typically allows the user to select an entry to see (and potentially manipulate the details associated with that entry.

1 / 1 point

Tables from databases are commonly shown in a GUI through a ________.

True False Question 8 1 / 1 point
Dependency properties provide built-in change notification.

True False Question 11 1 / 1 point
Which of the following statements is false?

An app that's running is on the screen so that the user can interact with it. An app that's suspended is on the screen, so Windows 8 suspends its execution to conserve power and reduce the load on the CPU. An app that's terminated was shut down by Windows 8typically to recover resources like memory that are needed by other apps.

An app that's closed by the user was shut down explicitly by the user by swiping from the top of the screen to the bottom. Question 12 1 / 1 point
If a command is disabled, all methods of executing that command are disabled.

True False Question 13 1 / 1 point
Which of the following methods of FileStream will reset the file-position pointer back to the beginning of the file?

Reset Origin Seek Beginning Question 14 1 / 1 point
The pathname to a file on a web server specifies the location of an actual directory on the web server's file system.

True False View Feedback 1 / 1 point
Controls and other elements are placed on a Web From sequentially.

on 15 True False

Question 16 1 / 1 point
Binary code is actually:

a complex programming language. a series of 0's and 1's. machine language instructions. a series of characters representing the numbers 0 to 9. Question 17
A layout container's ________ property stores a list of its child elements.

1 / 1 point

Children

ElementList FlowItems List
For a WCF web service to return data in JSON format, WebGet's ResponseFormat property must be set to ________.

Question 18

1 / 1 point

WebMessageFormat.Json MessageFormat.Json an SVC file All of these Question 21 template (.temp) master (.master) model (.mod) guide (.guide) 1 / 1 point
A ________ page defines common GUI elements that are inherited by each page in a set of content pages.

Which of the following statements is false? Question 4 options: The template Grid App defines three-page app with predefined layouts and GUI controls. The provided pages allow the user to view a collection of groups of items displayed in a grid of rows and columns, view particular group's details and view a particular item's details. The template Split App defines a two-page app with predefined layouts and GUI controls. The first page allows the user to view a collection of groups of items displayed in a grid. The second page allows the user to view particular group and a selected item's details. There are two predefined themes for Windows Store apps: Black (the default) and White. Microsoft recommends using the Black theme for apps that present mostly images and video and the White theme for apps that display lots of text. The IDE's Design view is used for drag-and-drop GUI design and the XAML view shows the generated XAML markup. Save

Question 5 (1 point)
5

Use the ________ method to programmatically close an app. Question 5 options:

Application.Shutdown Application.Exit Application.Current.Exit Application.Current.Shutdown

Question 7 (1 point)
Using XAML gives WPF the benefit of raster-based graphics. Question 7 options: True False Save

Question 8 (1 point)
8

A Windows 8 UI ________ control is similar to a Label in Windows Forms. Question 8 options: Label Text Identifier TextBlock

Question 10 (1 point)
10

Which of the following statements is false? Question 10 options: A class's property can be defined in XAML as a nested element with the name ClassName.PropertyName. You can specify the Height of a RowDefinition and the Width of a ColumnDefinition with an explicit size, a relative size (using *) or Auto. Auto makes the row or column only as big as it needs to be to fit its contents. If you click the ellipsis button next to the RowDefinitions or ColumnDefinitions property in the Properties window, the Collection Editor window will appear. This tool can be used to add, remove, reorder, and edit the properties of rows and columns in a Grid. When defining a control in a Grid, the control is placed in row 1 and column 1 unless you specify otherwise. Save

Question 11 (1 point)
11

A StackPanel's elements are arranged in a single row or column, depending on the ________ property. Question 11 options: Placement Alignment Attitude Orientation

Question 17 (1 point)
17

A ________ is a piece of data stored in a small text file to maintain information about the client during and between browser sessions. Question 17 options: tracking file cookie Web log virtual record Save

Question 18 (1 point)
18

In a ________ file, a record typically stored in order by a record-key field. Question 18 options: chronological non-sequential sequential record-key

Question 20 (1 point)
20

Another way that a class could indicate to the CLR that objects of the class can be serialized is through implementing the ________ interface. Question 20 options: Serializable

ISerializable Serial Serialize Question 1 A XAML document has exactly one ________. root element start tag end tag child element Question 2 A MouseEventArgs object's GetPosition event always returns a position relative to the top left of the WPF window. Question 2 options: True False Question 3 A Grid is a type of layout container. True False Question 6 1 / 1 point When a FileStream object is opened, the file-position pointer is ________. set to Null set to 0 needs to be explicitly created set to the end of the file

Question 9 There is a ________ relationship between a primary key and its corresponding foreign key. one-to-one foreign

one-to-many structural Question 12 Layout of controls refers to the controls' ________. size event handlers position size and event handlers size and position Question 13 1 / 1 point Namespace ________ contains classes for creating web apps and controls. System.Web.Creation System.ASP System.Web.GUI System.Web.UI Question 14 1 / 1 point Each resource should be released as soon as it's no longer needed. True False Question 15 1 / 1 point The CanExecute event for a command allows programmers to implement logic that determines whether a command should be enabled or disabled. True False Question 16 1 / 1 point A CollectionViewSource provides multiple "views" of the same data. True False Question 19 1 / 1 point A ________ ASP.NET data control displays data on a Web Form in a tabular format. TabView GridView TabFormat 1 / 1 point

GridFormat Question 21 1 / 1 point A ________ page defines common GUI elements that are inherited by each page in a set of content pages. template (.temp) master (.master) model (.mod) guide (.guide) Question 1 A recursive search on a directory is one where: 1 / 1 point

a directory is searched and then all of its sub directories are searched. each sub directory is searched and then the main directory is searched. a search is done randomly on all directories. a directory is searched and then all of its sub directories are searched and a search is done randomly on all directories a directory is searched and then all of its sub directories are searched and each sub directory is searched and then the main directory is searched Question 2 If a command is disabled, all methods of executing that command are disabled. True False Question 3 1 / 1 point A XAML document defines the ________ of a Windows 8 UI app. appearance sequencing threading priority Class File can only create new files. Question 4 1 / 1 point 1 / 1 point

True False View Feedback Class File can be used to alter files. Question 5 Data stored in a file is considered: 1 / 1 point

temporary data. persistent data. recurring data. There is no need to store data in files. Question 9 By default, array objects are not serializable. True False View Feedback By default, array objects are serializable. Question 10 The Console.Error property returns: a standard error stream object. a new error. an object of type error. None of these. Question 11 Ajax apps have the advantage of using synchronous requests. True False View Feedback Ajax apps use asynchronous requests. 1 / 1 point 1 / 1 point 1 / 1 point

Question 13 The machine on which the web service resides is commonly referred to as the ________. web service host service machine web machine None of these. Files can be stored in: Question 14 1 / 1 point

1 / 1 point

hard drives. optical disks. magnetic tapes. All of these. Question 19 1 / 1 point WPF GUIs can be created by dragging predefined controls from the Toolbox onto the design surface. True False Question 21 1 / 1 point Method ________ of class BinaryFormatter reads a serialized object from a stream and recreates the object in memory. Deserial Deserialize Deserializable DSerial

Question 6 (1 point)
6

An OpenFileDialog allows a user to select a file to open. Question 6 options: True False

Question 7 In a class that's marked with the [Serializable] attribute or that implements interface ISerializable, not every instance variable of the class needs to be serializable. Question 7 options: True False

Question 8 (1 point)
8

A WCF web service in Visual Studio 2012 Express for Web consists of ________. Question 8 options:

a code-behind file a Web.config file an SVC file All of these

Question 12 (1 point)
12

JSON is a text-based data-interchange format used to represent objects in JavaScript as collections of ________ represented as strings. Question 12 options: data/format pairs primary key/data rows definition/key pairs name/value pairs

Question 15 (1 point)
15

A web server translates a hostname into an IP address. Question 15 options: True False Question 16 A routed command declared in the XAML changes a control's appearance when that control enters a certain state. Question 16 options: True False

Question 17 (1 point)
17

Colors are represented by three color values and the alpha value, specifying ________. Question 17 options:

brightness opacity a blending constant None of these.

Question 18 (1 point)
18

All of the following are key components of a WCF service except: Question 18 options: contract. operation. address. binding. Question 20 A bubbling event travels down the container hierarchy, and a tunneling event travels up the container hierarchy. Question 20 options: True False

A WPF Grid control allows child elements to be positioned using explicit coordinates.

Question 1 options: True False
WPF graphics are resolution-independent, meaning that they're designed to look similar on screens of different sizes.

Question 2 options: True False

The CanExecute event for a command allows programmers to implement logic that determines whether a command should be enabled or disabled.

Question 3 options: True False
DBExtensions method Load loads an entire database's data into a DbContext.

Question 4 options: True False
Use the ________ method to programmatically close an app.

Question 5 options: Application.Shutdown Application.Exit

(Wrong – not this one)

Application.Current.Exit Application.Current.Shutdown

A ________ contains the byte number of the next byte in a file to be read or written to a file.

Question 6 options: data locator file counter fileposition pointer bytenumber counter
Which of the following statements is false?

Question 7 options: The template Grid App defines three-page app with predefined layouts and GUI controls. The provided pages allow the user

to view a collection of groups of items displayed in a grid of rows and columns, view particular group's details and view a particular item's details. The template Split App defines a two-page app with predefined layouts and GUI controls. The first page allows the user to view a collection of groups of items displayed in a grid. The second page allows the user to view particular group and a selected item's details. There are two predefined themes for Windows Store apps: Black (the default) and White. Microsoft recommends using the Black theme for apps that present mostly images and video and the White theme for apps that display lots of text. The IDE's Design view is used for drag-and-drop GUI design and the XAML view shows the generated XAML markup.

The code-behind file is a(n) ________ class.

Question 8 options: partial full abstract virtual
Which of the following statements is false?

Question 9 options: To apply a style to a control, you create a resource binding between a control's Style property and a Style resource by using a markup extension-an expression enclosed in curly braces ({}) of the form {ResourceType ResourceKey}. There are two types of resources. Static resources are applied at initialization time only. Dynamic resources are applied every time the resource is modified by the app. Because styles normally change during runtime, they are usually used as dynamic resources. By default, the AppBar button styles are located in XML comments within the StandardStyles.xaml file. To use these styles you must first remove them from the comments. (Wrong – not this one)

BinaryFormatters can be used to serialize and deserialize objects coming in and going out via a stream.

Question 10 options: True False
Web forms are customized by programmers by adding Web ________ such as labels and buttons.

Question 11 options: features controls servers None of these
The ________ attribute maps a method to a unique URL that can be accessed via an HTTP GET operation programmatically or in a web browser.

Question 12 options: OperationContract WebGet OperationBinding UriTemplate

Use the ________ method of class OpenFileDialog to show a dialog that allows the user to select a file to be opened. Question 13 options:

OpenFile ChooseFile ShowDialog OpenFileDialog

An OpenFileDialog allows a user to select a file to open.

Question 14 options: True

False
Which of the following statements is false?

Question 15 options: A data binding is a pointer to data that's represented by a DataSource object. You can create bindings to a broad range of data types, including objects, collections, data in XML documents, data in databases and LINQ query results. Data bindings can be created declaratively in XAML markup with markup extensions. To declare a data binding, you must specify the data's source. If it's another element in the XAML markup, you use property ElementName; otherwise, you use Source. Many controls have built-in support for data binding, and do not require a separate Binding object. A ListView, for example, has an ItemsSource property that specifies the data source of the ListView's items-when you setItemsSource to a collection of data, the objects in the collection automatically become the items in the ListView.
WPF styles require you to explicitly set the individual properties of each control.

Question 16 options: True False
Multiple TabPanels are placed inside a TabContainer.

Question 17 options: True False

Use the ________ property to bind data to information in another XAML element, and the ________ property to bind to a specific property of that element.

Question 18 options: Binding, Source (Wrong – not this one)

Target, Property ElementName, Path Target, Source
A serialized object is an object that includes:

Question 19 options: a sequence of bytes that contain the object's data. information about the object's type. information about the types of data stored in the object. All of these.
A Canvas is a layout container that allows you to position controls by defining explicit coordinates from the Canvas's ________ corner.

Question 20 options: lower-left lower-right upper-left upper-right (Wrong – not this one)
The ________ property determines the amount of space around a control's edges.

Question 21 options: Padding (Wrong – Not this one) Margin Space Edges

Namespace ___________ contains classes for creating web applications and controls. A) System.ASP B) System.Web.UI C) System.Web.GUI D) System.Web.Creation Points Earned: 1.0/1.0 Correct Answer(s): B

2. An IP address is: A) an internet protocol address B) a set of numbers distinguishing computers C) a value that identifies a server D) All of the above Points Earned: 1.0/1.0 Correct Answer(s): D

3. Web Form files have the extension: A) .wasp B) .wbfm C) .aspx D) .aspc Points Earned: 1.0/1.0 Correct Answer(s): C

4. Microsoft's _________ technology is used for web-based application development. A) ASP .NET B) APM .NET C) PHP .NET D) All of the above Points Earned: 1.0/1.0 Correct Answer(s): A

5. The information tier typically stores data in a(n) ___________. A) DataGrid B) XML document C) relational database management system D) None of the above Points Earned: 1.0/1.0 Correct Answer(s): C

6. When a Web Form object is ready for garbage collection, the _________ event occurs. A) GCollect B) GC C) Unload D) Dispose Points Earned: 1.0/1.0 Correct Answer(s): C

7. _________ C#, ASP.NET is ____________. A) Unlike, case sensitive B) Like, case sensitive C) Unlike, not case sensitive D) Like, not case sensitive Points Earned: 1.0/1.0 Correct Answer(s): C

8. The code-behind file is a(n) _______ class. A) full B) virtual C) partial D) abstract Points Earned: 1.0/1.0 Correct Answer(s): C

9. _________ applications divide functionality into separate logical. A) Internet B) Multi-tier C) Logical D) None of the above Points Earned: 1.0/1.0 Correct Answer(s): B

10. The asp: tag prefix means that: A) the control is a Windows Forms control B) the control is an ASP .NET web control C) the variable is an ASP variable D) None of the above. Points Earned: 1.0/1.0 Correct Answer(s): B

11. A _______ is an address indicating the location of a resource on the web. A) DNS B) URL C) ASPX D) None of the above. Points Earned: 1.0/1.0 Correct Answer(s): B

12. __________ is an Internet standard that specifies the way in which certain data must be formatted so that programs can interpret the data correctly. A) DNS B) MIME C) IIS D) None of the above. Points Earned: 1.0/1.0 Correct Answer(s): B

13. A simple Web Form consists of two related files, an ASPX file and a(n) _______. A) HTML document B) database file C) C# code-behind file D) None of the above. Points Earned: 1.0/1.0 Correct Answer(s): C

14. Web forms are customized by programmers by adding Web _________ such as labels and buttons. A) features B) controls C) servers D) None of the above Points Earned: 1.0/1.0 Correct Answer(s): B

15. A ________ checks whether data entered into another web control is correct or in the proper format. A) certification control B) format control C) validation control D) user control Points Earned: 1.0/1.0 Correct Answer(s): C

16. Encrypted data is data translated into a code that only __________ can understand. A) the sender B) the sender and the receiver C) the receiver D) everyone Points Earned: 1.0/1.0 Correct Answer(s): B

17. HTTP is a _________ protocol: it does not support persistent connections. A) connectionless B) stateful C) connectionful D) stateless Points Earned: 1.0/1.0 Correct Answer(s): D

18. A _________ page defines common GUI elements that are inherited by each page in a set of content pages. A) template (.temp) B) model (.mod) C) master (.master) D) guide (.guide) Points Earned: 1.0/1.0 Correct Answer(s): C

19. The first time a client connects to a server for an web application that uses sessions, the server creates a unique ________ that can later be compared to others in the server's memory in order to identify the client. A) session ID B) HttpSessionState object C) cookie D) None of the above. Points Earned: 1.0/1.0 Correct Answer(s): A

20. A ________ is a piece of data stored in a small text file to maintain information about the client during and between browser sessions. A) Web log B) virtual record C) cookie D) tracking file Points Earned: 1.0/1.0 Correct Answer(s): C

21. What is the type for cookies in C#? A) Cookie B) HttpCookie C) WebCookie D) None of the above Points Earned: 1.0/1.0 Correct Answer(s): B

22. The AdRotator control uses a(n) _________ file. A) XML B) AD C) ROT D) All of the above Points Earned: 1.0/1.0 Correct Answer(s): A

23. A ________ ASP.NET data control displays data on a Web Form in a tabular format. A) TabView B) GridView C) GridFormat D) TabFormat Points Earned: 1.0/1.0 Correct Answer(s): B

24. Each _________ in a GridView is represented as a BoundField. A) column B) row C) table D) database Points Earned: 1.0/1.0 Correct Answer(s): A

25. The ScriptManager control _________. A) is the key control in Ajax applications B) is placed before the controls it affects C) cannot be put on a page with another ScriptManager D) Both A. and B. E) All of the above. Points Earned: 1.0/1.0 Correct Answer(s): E

26. The UpdatePanel control _________. A) is reloaded with a partial page update B) holds static (non-changing) controls C) must come before a ContentTemplate D) B. and C. E) All of the above Points Earned: 1.0/1.0 Correct Answer(s): A

27. C# provides session-tracking capabilities in class __________. A) SessionTracking B) SessionState C) HttpSessionState D) Session Points Earned: 1.0/1.0 Correct Answer(s): C

28. When XHTML for a page is created, a validator is converted into _________. A) JavaScript B) CScript C) UniScript D) None of the above. Points Earned: 1.0/1.0 Correct Answer(s): A

29. For ASP .NET applications, Internet Information Services is usually the web server.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

30. ASP.NET comments start with "//".A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

31. Business rules dictate how clients can and cannot access application data and how applications process data.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

32. The top tier is the application's user interface which gathers input and displays output.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

33. Business logic is one that is used with business transactions.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

34. Web Forms use the same controls as Windows Forms.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

35. The pathname to a file on a web server specifies the location of an actual directory on the web server's file system.A) True

B) False Points Earned: 1.0/1.0 Correct Answer(s): False

36. The middle tier of a multi-tier application processes client requests and maintains the reliability of the stored data.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

37. The information tier holds the data for an application.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

38. An instance of the web page is re-compiled each time the ASPX file is requested by a user.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

39. The host is the computer that requests a Web page for display.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

40. The file that contains the coding for a Web Form is a Web-code file.A) True B) False Points Earned: 1.0/1.0

Correct Answer(s): False

41. Writing XHTML requires a software development tool.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

42. Each web control maps to a corresponding XHTML element or set of elements.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

43. Relative positioning specifies that controls will be located exactly where they are dragged and dropped onto the form by the programmer.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

44. The document type declaration specifies the document element name.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

45. A web server translates a hostname into an IP address.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

46. Visual Studio creates a class for every ASPX file it creates in a .NET language.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

47. A simple web page consists of an XHTML document containing tags that tell a web browser how to display and format the document's information.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

48. Postback refers to going back to the last web page.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

49. A validator control ensures that the entered information is in the correct format.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

50. If the AdRotator is not compatible with the viewer's computer, the image is X-ed out.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

51. Cookies generally provide more functionality than HttpSessionState objects.A) True

B) False Points Earned: 1.0/1.0 Correct Answer(s): False

52. Ajax applications have the advantage of using synchronous requests.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

53. Cookies created by one server can be accessed by any server that wishes to access them.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

54. Multiple TabPanels are placed inside a TabContainer.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

55. A database used by an ASP.NET website should be located in the project's App_Data folder.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

56. The EnabledSessionState, when set to true, allows the form to use session tracking.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

57. Hidden form elements can be used with URL rewriting to implement session-tracking.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

58. The Impressions element of the XML file from which the AdRotator gets the advertisement information determines how often each advertisement.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

59. By default, anonymous users who attempt to load a page in a directory to which they are denied access are redirected to Login.aspx.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

60. A LinqDataSource allows an application to interact with a database via LINQ.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

61. An ASP.NET expression, delimited by < and >, can be used to access a connection string stored in an application's Web.config file.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

62. Cookies exist on a user's computer until the user decides to delete them.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

63. GridView method Refresh refreshes the information displayed in the GridView.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

64. Controls and other elements are placed on a Web From sequentially.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

65. Form authentication is a technique that protects a page so that only users known to the site can access it.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True The smallest data item in a computer is the _________. A) bit B) byte C) kilobyte D) None of the above. Points Earned: 1.0/1.0 Correct Answer(s): A

2. Data stored in a file is considered: A) there is no need to store data in files B) temporary data C) recurring data D) persistent data Points Earned: 1.0/1.0 Correct Answer(s): D

3. To create a new file and return a stream that can be used to process the file: A) Create method of class File B) NewFile method of class File C) CreateFile method of class File D) New method of class File Points Earned: 1.0/1.0 Correct Answer(s): A

4. Files can be stored in: A) hard drives B) optical disks C) magnetic tapes D) All of the above Points Earned: 1.0/1.0 Correct Answer(s): D

5. _______________ are used for long-term retention of large amounts of data. A) Buffers B) Files C) Data structures. D) Memory cards Points Earned: 1.0/1.0 Correct Answer(s): B

6. A recursive search on a directory is one where:

A) a directory is searched and then all of its sub directories are searched. B) each sub directory is searched and then the main directory is searched. C) a search is done randomly on all directories. D) A and C E) A and B Points Earned: 1.0/1.0 Correct Answer(s): E

7. An example of when a file should not be used is: A) to save the status of a video game for another session. B) to save the value of a variable at runtime. C) to log errors in the execution of a program. D) these are all good examples of when files should be used. Points Earned: 1.0/1.0 Correct Answer(s): B

8. In a ____________ file, a record typically stored in order by a record-key field. A) non-sequential B) record-key C) chronological D) sequential Points Earned: 1.0/1.0 Correct Answer(s): D

9. Directory's method GetDirectories returns: A) a string of all the names of sibling directories B) a string of all the names of subdirectories C) an array of strings of all the names of sibling directories D) an array of strings of all the names of subdirectories Points Earned: 1.0/1.0 Correct Answer(s): D

10. One byte is composed of:

A) 10 bits B) 2 bits C) 8 bits D) 4 bits Points Earned: 1.0/1.0 Correct Answer(s): C

11. Buffering is used to: A) convert data to binary code before it is stored B) clean up data before it is filed C) transfer data into a stream D) force serialization Points Earned: 1.0/1.0 Correct Answer(s): C

12. Computer circuitry is able to: A) get the value of a bit B) examine the value of a bit C) reverse the value of a bit D) All of the above Points Earned: 1.0/1.0 Correct Answer(s): D

13. Binary code is actually: A) a series of 0's and 1's. B) machine language instructions. C) a complex programming language. D) a series of characters representing the numbers 0 to 9. Points Earned: 1.0/1.0 Correct Answer(s): A

14. The Console.Error property returns: A) a standard error stream object

B) a new error C) an object of type error D) None of the above Points Earned: 1.0/1.0 Correct Answer(s): A

15. Another way that a class could indicate to the CLR that objects of the class can be serialized is through implementing the ________ interface. A) Serialize B) Serial C) ISerializable D) Serializable Points Earned: 1.0/1.0 Correct Answer(s): C

16. .NET provides class _______ for manipulating files. A) File B) FileManip C) Folder D) FileUtil Points Earned: 1.0/1.0 Correct Answer(s): A

17. A _____________ contains the byte number of the next byte in a file to be read or written to a file. A) file-position pointer B) data locator C) file counter D) byte-number counter. Points Earned: 1.0/1.0 Correct Answer(s): A

18. Which of the following methods of FileStream will reset the file-position pointer back to the beginning of the file?

A) Seek B) Beginning C) Origin D) Reset Points Earned: 1.0/1.0 Correct Answer(s): A

19. Deserialize returns a reference of type: A) object which must be cast to the appropriate type to manipulate the object B) the type that the object was originally C) Deserialized which must be cast to the appropriate type to manipulate the object D) None of the above Points Earned: 1.0/1.0 Correct Answer(s): A

20. Which of the following attribute is needed to indicate to the CLR that objects of the class can be serialized? A) [Serializable] B) [DeSerializable] C) [Serialize] D) both A and B Points Earned: 1.0/1.0 Correct Answer(s): A

21. Use the _______ method of class OpenFileDialog to show a dialog that allows the user to select a file to be opened. A) OpenFileDialog B) ChooseFile C) OpenFile D) ShowDialog Points Earned: 1.0/1.0 Correct Answer(s): D

22. The enumeration FileAccess is used to: A) control program access to a file B) control user access to a file C) FileAccess is a method not an enumeration D) control the amount of updating that can be done on a file at once Points Earned: 1.0/1.0 Correct Answer(s): B

23. What kind of exception is thrown if there is a problem opening or creating a StreamWriter? A) Exception B) IOException C) StreamException D) OpenAndCreatingException Points Earned: 1.0/1.0 Correct Answer(s): B

24. A serialized object is an object that includes: A) a sequence of bytes that contain the object's data B) information about the object's type C) information about the types of data stored in the object D) All of the above Points Earned: 1.0/1.0 Correct Answer(s): D

25. When a FileStream object is opened, the file-position pointer is _________. A) set to Null B) set to 0 C) needs to be explicitly created D) set to the end of the file Points Earned: 1.0/1.0 Correct Answer(s): B

26. What is the exception thrown when an error occurs during serialization or deserialization?

A) SerialException B) DeserialException C) SerializationException D) DeserializationException E) C and D, respectively Points Earned: 1.0/1.0 Correct Answer(s): C

27. Method ________ of class BinaryFormatter reads a serialized object from a stream and reforms the object in memory. A) Deserial B) DSerial C) Deserializable D) Deserialize Points Earned: 1.0/1.0 Correct Answer(s): D

28. In a data hierarchy, data items become larger and more complex in structure as we progress from bits, to characters, to fields and up to large data structures.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

29. A field is a random group of characters.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

30. All files must end with an end-of-file marker, so that the computer knows where the file ends.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

31. When a file is opened, a stream object is created and associated with the file.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

32. Console.In, Console.Out and Console.Error are used to take data in, to display data and to show error messages.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

33. File-processing capabilities are important for a programming language to support commercial applications.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

34. The standard output stream object enables a program to output data to the screen.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

35. To distinguish fields or records there has to be one that is different from every other, this is called the record key. A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

36. A record is a group of fields and a file is a group of records.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

37. Files can only be stored on a computers hard drive.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

38. Using MemoryStream and BufferedStream is inefficient.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

39. Class File can only create new files.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

40. Saving data to a file is the only way to keep that data when the program terminates.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

41. No matter how complicated a program is or looks it can all be broken down in to strings of 0's and 1's.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

42. Classes StreamIn and StreamOut are used to read from text files and output to text files.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

43. Class Directory is used to change directories.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

44. Characters in C# are Unicode characters, each represented by one byte.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

45. Data stored in arrays is permanent data.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

46. The FileAccess.Read enumeration member is used if the file should not be modified.A) True B) False

Points Earned: 1.0/1.0 Correct Answer(s): True

47. If the array contains references to other objects, those objects may or may not be serializable.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

48. Being able to write a file is the only important part of filing.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

49. For variables of reference types, you must check the class declaration to ensure that the type is serializable.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

50. BinaryFormatters can be used to serialize and deserialize objects coming in and going out a stream.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

51. By default, array objects are not serializable.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

52. BinaryFormatter's Serialize and Deserialize methods are both parameterless.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

53. The classes dealing with files and directories are located in the System.IO namespace.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

54. In a class that is marked with the [Serializable] attribute or that implements interface ISerializable, not every instance variable of the class needs to be serializable.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

55. A StreamReader object must be created in order to retrieve data from a text file.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

56. Resource releasing should be done as soon as the resource is no longer needed.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

57. BinaryFormatter only allows for the reading of objects.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

58. All simple-type variables and strings are serializable.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

59. Sequential records are sorted on a keyA) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

60. Method GetFiles of class Directory can be used to display all the files in a given directory.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

61. Every file automatically closes itself when not needed.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

62. The name of the file to open is specified as the first argument to the FileStream constructor.A) True B) False

Points Earned: 1.0/1.0 Correct Answer(s): True

63. An OpenFileDialog allows a user to select a file to open.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

Data members declared as readonly must be initialized in their declaration.

Question 1 options: True False

Which of the following statements is false?

Question 2 options: MainPage.xaml defines the first Page that's loaded in the app. StandardStyles.xaml (in the Common folder) defines styles that enable your app's GUI to have the look-and-feel of Windows Store apps. The Assets folder typically contains media files, such as images, audio and video files. By default this folder contains four images that are used as logos and a splash screen. The Standard folder contains files typically used by all Pages in an app, such as the StandardStyles.xaml file.

Method ________ of class BinaryFormatter reads a serialized object from a stream and recreates the object in memory.

Question 3 options: Deserial Deserialize Deserializable DSerial

Tables from databases are commonly shown in a GUI through a ________.

Question 4 options: DataBoxView DataGridView ListBoxView SpreadSheet

A master/detail view app typically allows the user to select an entry to see (and potentially manipulate the details associated with that entry.

Question 5 options: True False
XAML is used to describe the ________ of a WPF app.

Question 6 options: classes program logic code-behind file (Wrong – not this one) GUI
The app's primary code-behind class has filename ________.

Question 7 options: Application.xaml (Wrong – not this one) Application.xaml.cs Window1.xaml Window1.xaml.cs

Dependency properties provide built-in change notification.

Question 8 options: True

False
XAML is similar to .NET, a language that allows Internet apps to share data.

Question 9 options: True False
WPF controls are "lookless," meaning that their appearance can be set by any control template.

Question 10 options: True False
Which of the following statements is false?

Question 11 options: An app that's running is on the screen so that the user can interact with it. An app that's suspended is on the screen, so Windows 8 suspends its execution to conserve power and reduce the load on the CPU. An app that's terminated was shut down by Windows 8-typically to recover resources like memory that are needed by other apps. An app that's closed by the user was shut down explicitly by the user by swiping from the top of the screen to the bottom.
If a command is disabled, all methods of executing that command are disabled.

Question 12 options: True False
Which of the following methods of FileStream will reset the file-position pointer back to the beginning of the file?

Question 13 options: Reset Origin Seek Beginning

The pathname to a file on a web server specifies the location of an actual directory on the web server's file system.

Question 14 options: True False
Controls and other elements are placed on a Web From sequentially.

Question 15 options: True False
Binary code is actually:

Question 16 options: a complex programming language. a series of 0's and 1's. machine language instructions. a series of characters representing the numbers 0 to 9.
A layout container's ________ property stores a list of its child elements.

Question 17 options: Children ElementList FlowItems List

For a WCF web service to return data in JSON format, WebGet's ResponseFormat property must be set to ________.

Question 18 options: WebMessageFormat.Json MessageFormat.Json an SVC file

All of these
A LINQ query may contain only one from clause.

Question 19 options: True False
A MouseMove event passes information using a MouseMoveEventArgs object.

Question 20 options: True False
A ________ page defines common GUI elements that are inherited by each page in a set of content pages.

Question 21 options: template (.temp) master (.master) model (.mod) guide (.guide)
DBExtensions method Load loads an entire database's data into aDbContext. Question 1 options:

False Save
Question 2 (1 point)
.NET provides class ________ for manipulating files. Question 2 options:

File Save
Question 3 (1 point)
Resources are similar to private members. They're accessible only to the controls they're defined in. Question 3 options:

False

Question 4 (1 point)
Computer circuitry is able to: Question 4 options:

All of these. Save
Question 5 (1 point)
Which of the following statements is false? Question 5 options:

Various events occur during an app's lifecycle. The Suspending event occurs when an app transitions to the suspended state. Usually the Suspending event occurs because the app is no longer visible on the screen. This typically occurs when the user exits another app.
Question 6 (1 point)
An XML data object is converted to a custom type via the process of ________. Question 6 options:

deserialization
Question 7 (1 point)
If a command is disabled, all methods of executing that command are disabled. Question 7 options:

True Save
Question 8 (1 point)
A routed event is ignored after its Handled property is set to True. Question 8 options:

True Save
Question 9 (1 point)
Method ________ of class BinaryFormatter reads a serialized object from a stream and recreates the object in memory. Question 9 options:

Deserial Deserialize

DSerial
Question 10 (1 point)
Web forms are customized by programmers by adding Web ________ such as labels and buttons. Question 10 options:

controls servers None of these
Question 11 (1 point)
Data stored in a file is considered: Question 11 options:

persistent data. Save
Question 12 (1 point)
BinaryFormatter allows only for reading objects. Question 12 options:

False
Question 13 (1 point)
An object of a subclass of ________ is used to manage the data flow between your program and the database. Question 13 options:

DatabaseContext DbContext EntityDataModel Save
Question 14 (1 point)
A relational database model is a way of organizing data and considering relationships based on the physical structure of the data. Question 14 options:

False Save
Question 15 (1 point)
Layout of controls refers to the controls' ________.

Question 15 options:

size event handlers size and event handlers size and position
Question 16 (1 point)
The ScriptManager control ________. Question 16 options:

All of these. Save
Question 17 (1 point)
Another way that a class could indicate to the CLR that objects of the class can be serialized is through implementing the ________ interface. Question 17 options:

ISerializable Save
Question 18 (1 point)
An example of when a file should not be used is: Question 18 options:

to save the status of a video game for another session. to save the value of a variable at runtime. to log errors in the execution of a program.
Using XAML gives WPF the benefit of raster-based graphics. Question 19 options:

False Save
Question 20 (1 point)
If the array contains references to other objects, those objects may or may not be serializable. Question 20 options:

True Save
Question 21 (1 point)
A web server translates a hostname into an IP address.

Question 21 options:

False

Attempt 1
Written: May 5, 2014 10:41 PM - May 5, 2014 11:01 PM

Submission View
Your quiz has been submitted successfully.

Questions Question 2
.NET provides class ________ for manipulating files.

1 / 1 point

Folder FileUtil File FileManip Question 4
Computer circuitry is able to:

1 / 1 point

get the value of a bit. examine the value of a bit. reverse the value of a bit. All of these. Question 6 1 / 1 point

An XML data object is converted to a custom type via the process of ________.

deserialization SOAP decoding

typecasting None of these. Question 7 1 / 1 point

If a command is disabled, all methods of executing that command are disabled.

True False Question 111 / 1 point
Data stored in a file is considered:

temporary data. persistent data. recurring data. There is no need to store data in files. Question 16
The ScriptManager control ________.

1 / 1 point

is the key control in Ajax apps is placed before the controls it affects cannot be put on a page with another ScriptManager Both is the key control in Ajax apps and is placed before the controls it affects. All of these. Question 17 1 / 1 point

Another way that a class could indicate to the CLR that objects of the class can be serialized is through implementing the ________ interface.

Serializable ISerializable Serial Serialize Question 20 1 / 1 point

If the array contains references to other objects, those objects may or may not be serializable.

True False

Question 1 (1 point)
Class File can only create new files. Question 1 options:

False Save
Question 2 (1 point)
JSON format is ________ compared to XML format. Question 2 options:

more verbose less verbose None of these Save

Question 3 (1 point)
For a WCF web service to return data in JSON format, WebGet's ResponseFormat property must be set to ________. Question 3 options:

WebMessageFormat.Json
Question 4 (1 point)
The ________ attribute exposes a class to client access. Question 4 options:

DataEndpoint DataMember DataContract Save
Question 5 (1 point)
Each ________ in a GridView is represented as a BoundField. Question 5 options:

column Save
Question 6 (1 point)
Which of the following statements is false? Question 6 options:

There are two types of resources. Static resources are applied at initialization time only. Dynamic resources are applied every time the resource is modified by the app. Because styles normally change during runtime, they are usually used as dynamic resources. By default, the AppBar button styles are located in XML comments within the StandardStyles.xaml file. To use these styles you must first remove them from the comments.
Question 7 (1 point)
________ allows you to describe a WPF GUI without generating any C# code statements. Question 7 options:

XAML Save

Question 8 (1 point)
A key benefit of WPF is that it provides a single platform to handle GUI, images, animation 2D and 3D graphics, audio and video. Question 8 options:

True Save
Question 9 (1 point)
The code-behind file is a(n) ________ class. Question 9 options:

partial

Question 10 (1 point)
Each operation in a RESTful web service is identified by a unique ________. Question 10 options:

URL Save
Question 11 (1 point)
In a class that's marked with the [Serializable] attribute or that implements interface ISerializable, not every instance variable of the class needs to be serializable. Question 11 options:

False Save
Question 12 (1 point)
A StackPanel has a vertical or horizontal flow, set by its ________ attribute. Question 12 options:

Orientation
Question 13 (1 point)
Keyword ________ is used for constants whose values cannot be determined at compile time. Question 13 options:

readonly

static None of these. Save
Question 14 (1 point)
Namespace ________ contains classes for creating web apps and controls. Question 14 options:

System.Web.Creation System.Web.GUI System.Web.UI Save
Question 15 (1 point)
The classes dealing with files and directories are located in the System.IO namespace. Question 15 options:

True
Question 16 (1 point)
For ASP .NET apps, IIS is usually the web server. Question 16 options:

True Save
Question 17 (1 point)
Setting the ________ property to None removes the standard window frame containing the title and buttons to minimize, maximize and close the app. Question 17 options:

Frame Title WindowStyle Save
Question 18 (1 point)
An instance of the web page is re-compiled each time the ASPX file is requested by a user. Question 18 options:

False
Question 19 (1 point)

The StartupUri attribute defines which XAML document loads first. Question 19 options:

True
Question 20 (1 point)
Which is a not requirement of a custom data type to be used in web services? Question 20 options:

Any variables to be accessed during runtime must be declared WebVar.
Question 21 (1 point)
A LINQ query may contain only one from clause. Question 21 options:

False

Attempt 2
Written: May 5, 2014 11:08 PM - May 5, 2014 11:27 PM

Submission View
Your quiz has been submitted successfully.

Questions Question 3 1 / 1 point

For a WCF web service to return data in JSON format, WebGet's ResponseFormat property must be set to ________.

WebMessageFormat.Json MessageFormat.Json an SVC file All of these

Question 5
Each ________ in a GridView is represented as a BoundField.

1 / 1 point

row column table database Question 7 1 / 1 point

________ allows you to describe a WPF GUI without generating any C# code statements.

XML Silverlight XAML Vector graphics Question 8 1 / 1 point

A key benefit of WPF is that it provides a single platform to handle GUI, images, animation 2D and 3D graphics, audio and video.

True False Question 91 / 1 point
The code-behind file is a(n) ________ class.

partial full abstract

virtual Question 10 1 / 1 point
Each operation in a RESTful web service is identified by a unique ________.

URL proxy object interface None of these Question 12 1 / 1 point

A StackPanel has a vertical or horizontal flow, set by its ________ attribute.

Order Orientation FlowType Direction Question 15 1 / 1 point

The classes dealing with files and directories are located in the System.IO namespace.

True False Question 161 / 1 point
For ASP .NET apps, IIS is usually the web server.

True False Question 191 / 1 point

The StartupUri attribute defines which XAML document loads first.

True False Question 201 / 1 point
Which is a not requirement of a custom data type to be used in web services?

Any variables to be accessed during runtime must be declared WebVar. The class with the web methods must provide a Public default constructor. Properties and instance variables that should be serialized must be declared Public. Properties that should be serialized must provide both get and set accessors.
WPF events which behave like Windows Forms events are called ________.

Question 2 options: expandable events tunneling events bubbling events direct events

Which of the following attributes is needed to indicate to the CLR that objects of the class can be serialized?

Question 5 options: [Serializable] [DeSerializable] [Serialize] both [Serializable] and [DeSerializable]

Which is a not requirement of a custom data type to be used in web services?

Question 8 options: Any variables to be accessed during runtime must be declared WebVar.

The class with the web methods must provide a Public default constructor. WRONG ANSWER Properties and instance variables that should be serialized must be declared Public. Properties that should be serialized must provide both get and set accessors.

Question 10 (1 point)
A ________ contains the byte number of the next byte in a file to be read or written to a file. Question 10 options:

data locator file counter file-position pointer WRONG ANSWER byte-number counter Save
Question 11 (1 point)
For a WCF web service to return data in JSON format, WebGet's ResponseFormat property must be set to ________. Question 11 options:

WebMessageFormat.Json MessageFormat.Json an SVC file All of these WRONG ANSWER Question 1
An IP address is:

1 / 1 point an internet protocol address. a set of numbers distinguishing computers. a value that identifies a server. All of these. Question 3 1 / 1 point

Class File can only create new files.

True

False View Feedback Question 4 TabView GridView TabFormat GridFormat Question 6 chronological non-sequential sequential record-key Question 7
Binary code is actually:

1 / 1 point

A ________ ASP.NET data control displays data on a Web Form in a tabular format.

1 / 1 point

In a ________ file, a record typically stored in order by a record-key field.

1 / 1 point

a complex programming language. a series of 0's and 1's. machine language instructions. a series of characters representing the numbers 0 to 9. Question 9
The information tier of a multi-tier app holds the app's data.

1 / 1 point

True False Question 12 1 / 1 point
Namespace ________ contains classes for creating web apps and controls.

System.Web.Creation System.ASP System.Web.GUI System.Web.UI Question 13 1 / 1 point
Which of the following methods of FileStream will reset the file-position pointer back to the beginning of the file?

Reset Origin Seek Beginning Question 14
________ are used for long-term retention of large amounts of data.

1 / 1 point

Memory cards Buffers Files Data structures Question 15
Relational databases can be thought of as ________.

1 / 1 point

rows columns tables of rows and columns three-dimensional arrays Question 16 template (.temp) master (.master) model (.mod) guide (.guide) Question 17 1 / 1 point
The ________ attribute maps a method to a unique URL that can be accessed via an HTTP GET operation programmatically or in a web browser.

1 / 1 point

A ________ page defines common GUI elements that are inherited by each page in a set of content pages.

OperationContract WebGet OperationBinding UriTemplate Question 18
Web Forms use the same controls as Windows Forms.

1 / 1 point

True False View Feedback Question 19
The ScriptManager control ________.

1 / 1 point is the key control in Ajax apps is placed before the controls it affects cannot be put on a page with another ScriptManager Both is the key control in Ajax apps and is placed before the controls it affects. All of these.

Question 20
Which of the following is false?

1 / 1 point The two most common HTTP request types (also known as request methods) are get and post. Both get and post requests send form data to the server as part of the URL. An HTTP request often sends data to a server-side form handler that processes the data. A ? separates the query string from the rest of the URL in a get request.

Question 21
The UpdatePanel control ________.

1 / 1 point

is reloaded with a partial page update holds static (non-changing) controls must come before a ContentTemplate holds static (non-changing) controls and must come before a ContentTemplate All of these.

WPF events which behave like Windows Forms events are called ________.

Question 2 options: expandable events tunneling events bubbling events

direct events

Which of the following attributes is needed to indicate to the CLR that objects of the class can be serialized?

Question 5 options: [Serializable] [DeSerializable] [Serialize] both [Serializable] and [DeSerializable]

Which is a not requirement of a custom data type to be used in web services?

Question 8 options: Any variables to be accessed during runtime must be declared WebVar. The class with the web methods must provide a Public default constructor. WRONG ANSWER Properties and instance variables that should be serialized must be declared Public. Properties that should be serialized must provide both get and set accessors.

Question 10 (1 point)
A ________ contains the byte number of the next byte in a file to be read or written to a file. Question 10 options:

data locator file counter file-position pointer WRONG ANSWER byte-number counter Save
Question 11 (1 point)
For a WCF web service to return data in JSON format, WebGet's ResponseFormat property must be set to ________. Question 11 options:

WebMessageFormat.Json

MessageFormat.Json an SVC file All of these WRONG ANSWER Question 1
An IP address is:

1 / 1 point an internet protocol address. a set of numbers distinguishing computers. a value that identifies a server. All of these. Question 3 1 / 1 point

Class File can only create new files.

True False View Feedback Question 4 TabView GridView TabFormat GridFormat Question 6 chronological non-sequential sequential record-key Question 7
Binary code is actually:

1 / 1 point

A ________ ASP.NET data control displays data on a Web Form in a tabular format.

1 / 1 point

In a ________ file, a record typically stored in order by a record-key field.

1 / 1 point

a complex programming language. a series of 0's and 1's.

machine language instructions. a series of characters representing the numbers 0 to 9. Question 9
The information tier of a multi-tier app holds the app's data.

1 / 1 point

True False Question 12 1 / 1 point
Namespace ________ contains classes for creating web apps and controls.

System.Web.Creation System.ASP System.Web.GUI System.Web.UI Question 13 Reset Origin Seek Beginning Question 14
________ are used for long-term retention of large amounts of data.

1 / 1 point

Which of the following methods of FileStream will reset the file-position pointer back to the beginning of the file?

1 / 1 point

Memory cards Buffers Files Data structures Question 15
Relational databases can be thought of as ________.

1 / 1 point

rows columns tables of rows and columns three-dimensional arrays Question 16 1 / 1 point
A ________ page defines common GUI elements that are inherited by each page in a set of content pages.

template (.temp) master (.master) model (.mod) guide (.guide) Question 17 1 / 1 point
The ________ attribute maps a method to a unique URL that can be accessed via an HTTP GET operation programmatically or in a web browser.

OperationContract WebGet OperationBinding UriTemplate Question 18
Web Forms use the same controls as Windows Forms.

1 / 1 point

True False View Feedback Question 19
The ScriptManager control ________.

1 / 1 point is the key control in Ajax apps is placed before the controls it affects cannot be put on a page with another ScriptManager Both is the key control in Ajax apps and is placed before the controls it affects. All of these.

Question 20
Which of the following is false?

1 / 1 point The two most common HTTP request types (also known as request methods) are get and post. Both get and post requests send form data to the server as part of the URL. An HTTP request often sends data to a server-side form handler that processes the data. A ? separates the query string from the rest of the URL in a get request.

Question 21
The UpdatePanel control ________.

1 / 1 point

is reloaded with a partial page update holds static (non-changing) controls must come before a ContentTemplate holds static (non-changing) controls and must come before a ContentTemplate All of these.

WPF events which behave like Windows Forms events are called ________.

Question 2 options: expandable events tunneling events bubbling events direct events

Which of the following attributes is needed to indicate to the CLR that objects of the class can be serialized?

Question 5 options: [Serializable] [DeSerializable] [Serialize] both [Serializable] and [DeSerializable]

Which is a not requirement of a custom data type to be used in web services?

Question 8 options: Any variables to be accessed during runtime must be declared WebVar. The class with the web methods must provide a Public default constructor. WRONG ANSWER Properties and instance variables that should be serialized must be declared Public. Properties that should be serialized must provide both get and set accessors.

Question 10 (1 point)

A ________ contains the byte number of the next byte in a file to be read or written to a file. Question 10 options:

data locator file counter file-position pointer WRONG ANSWER byte-number counter Save
Question 11 (1 point)
For a WCF web service to return data in JSON format, WebGet's ResponseFormat property must be set to ________. Question 11 options:

WebMessageFormat.Json MessageFormat.Json an SVC file All of these WRONG ANSWER Question 1
An IP address is:

1 / 1 point an internet protocol address. a set of numbers distinguishing computers. a value that identifies a server. All of these. Question 3 1 / 1 point

Class File can only create new files.

True False View Feedback Question 4 TabView GridView 1 / 1 point
A ________ ASP.NET data control displays data on a Web Form in a tabular format.

TabFormat GridFormat Question 6 chronological non-sequential sequential record-key Question 7
Binary code is actually:

1 / 1 point

In a ________ file, a record typically stored in order by a record-key field.

1 / 1 point

a complex programming language. a series of 0's and 1's. machine language instructions. a series of characters representing the numbers 0 to 9. Question 9
The information tier of a multi-tier app holds the app's data.

1 / 1 point

True False Question 12 1 / 1 point
Namespace ________ contains classes for creating web apps and controls.

System.Web.Creation System.ASP System.Web.GUI System.Web.UI Question 13 Reset Origin Seek Beginning Question 14
________ are used for long-term retention of large amounts of data.

1 / 1 point

Which of the following methods of FileStream will reset the file-position pointer back to the beginning of the file?

1 / 1 point

Memory cards Buffers Files Data structures Question 15
Relational databases can be thought of as ________.

1 / 1 point

rows columns tables of rows and columns three-dimensional arrays Question 16 template (.temp) master (.master) model (.mod) guide (.guide) Question 17 1 / 1 point
The ________ attribute maps a method to a unique URL that can be accessed via an HTTP GET operation programmatically or in a web browser.

1 / 1 point

A ________ page defines common GUI elements that are inherited by each page in a set of content pages.

OperationContract WebGet OperationBinding UriTemplate Question 18
Web Forms use the same controls as Windows Forms.

1 / 1 point

True False View Feedback Question 19
The ScriptManager control ________.

1 / 1 point is the key control in Ajax apps

is placed before the controls it affects cannot be put on a page with another ScriptManager Both is the key control in Ajax apps and is placed before the controls it affects. All of these. Question 20
Which of the following is false?

1 / 1 point The two most common HTTP request types (also known as request methods) are get and post. Both get and post requests send form data to the server as part of the URL. An HTTP request often sends data to a server-side form handler that processes the data. A ? separates the query string from the rest of the URL in a get request.

Question 21
The UpdatePanel control ________.

1 / 1 point

is reloaded with a partial page update holds static (non-changing) controls must come before a ContentTemplate holds static (non-changing) controls and must come before a ContentTemplate All of these.

. The smallest data item in a computer is the _________. A) bit B) byte C) kilobyte D) None of the above. Points Earned: 1.0/1.0 Correct Answer(s): A

2. Data stored in a file is considered: A) there is no need to store data in files B) temporary data C) recurring data D) persistent data

Points Earned: 1.0/1.0 Correct Answer(s): D

3. To create a new file and return a stream that can be used to process the file: A) Create method of class File B) NewFile method of class File C) CreateFile method of class File D) New method of class File Points Earned: 1.0/1.0 Correct Answer(s): A

4. Files can be stored in: A) hard drives B) optical disks C) magnetic tapes D) All of the above Points Earned: 1.0/1.0 Correct Answer(s): D

5. _______________ are used for long-term retention of large amounts of data. A) Buffers B) Files C) Data structures. D) Memory cards Points Earned: 1.0/1.0 Correct Answer(s): B

6. A recursive search on a directory is one where: A) a directory is searched and then all of its sub directories are searched. B) each sub directory is searched and then the main directory is searched. C) a search is done randomly on all directories. D) A and C E) A and B

Points Earned: 1.0/1.0 Correct Answer(s): E

7. An example of when a file should not be used is: A) to save the status of a video game for another session. B) to save the value of a variable at runtime. C) to log errors in the execution of a program. D) these are all good examples of when files should be used. Points Earned: 1.0/1.0 Correct Answer(s): B

8. In a ____________ file, a record typically stored in order by a record-key field. A) non-sequential B) record-key C) chronological D) sequential Points Earned: 1.0/1.0 Correct Answer(s): D

9. Directory's method GetDirectories returns: A) a string of all the names of sibling directories B) a string of all the names of subdirectories C) an array of strings of all the names of sibling directories D) an array of strings of all the names of subdirectories Points Earned: 1.0/1.0 Correct Answer(s): D

10. One byte is composed of: A) 10 bits B) 2 bits C) 8 bits D) 4 bits

Points Earned: 1.0/1.0 Correct Answer(s): C

11. Buffering is used to: A) convert data to binary code before it is stored B) clean up data before it is filed C) transfer data into a stream D) force serialization Points Earned: 1.0/1.0 Correct Answer(s): C

12. Computer circuitry is able to: A) get the value of a bit B) examine the value of a bit C) reverse the value of a bit D) All of the above Points Earned: 1.0/1.0 Correct Answer(s): D

13. Binary code is actually: A) a series of 0's and 1's. B) machine language instructions. C) a complex programming language. D) a series of characters representing the numbers 0 to 9. Points Earned: 1.0/1.0 Correct Answer(s): A

14. The Console.Error property returns: A) a standard error stream object B) a new error C) an object of type error D) None of the above Points Earned: 1.0/1.0

Correct Answer(s): A

15. Another way that a class could indicate to the CLR that objects of the class can be serialized is through implementing the ________ interface. A) Serialize B) Serial C) ISerializable D) Serializable Points Earned: 1.0/1.0 Correct Answer(s): C

16. .NET provides class _______ for manipulating files. A) File B) FileManip C) Folder D) FileUtil Points Earned: 1.0/1.0 Correct Answer(s): A

17. A _____________ contains the byte number of the next byte in a file to be read or written to a file. A) file-position pointer B) data locator C) file counter D) byte-number counter. Points Earned: 1.0/1.0 Correct Answer(s): A

18. Which of the following methods of FileStream will reset the file-position pointer back to the beginning of the file? A) Seek B) Beginning C) Origin D) Reset

Points Earned: 1.0/1.0 Correct Answer(s): A

19. Deserialize returns a reference of type: A) object which must be cast to the appropriate type to manipulate the object B) the type that the object was originally C) Deserialized which must be cast to the appropriate type to manipulate the object D) None of the above Points Earned: 1.0/1.0 Correct Answer(s): A

20. Which of the following attribute is needed to indicate to the CLR that objects of the class can be serialized? A) [Serializable] B) [DeSerializable] C) [Serialize] D) both A and B Points Earned: 1.0/1.0 Correct Answer(s): A

21. Use the _______ method of class OpenFileDialog to show a dialog that allows the user to select a file to be opened. A) OpenFileDialog B) ChooseFile C) OpenFile D) ShowDialog Points Earned: 1.0/1.0 Correct Answer(s): D

22. The enumeration FileAccess is used to: A) control program access to a file B) control user access to a file C) FileAccess is a method not an enumeration D) control the amount of updating that can be done on a file at once

Points Earned: 1.0/1.0 Correct Answer(s): B

23. What kind of exception is thrown if there is a problem opening or creating a StreamWriter? A) Exception B) IOException C) StreamException D) OpenAndCreatingException Points Earned: 1.0/1.0 Correct Answer(s): B

24. A serialized object is an object that includes: A) a sequence of bytes that contain the object's data B) information about the object's type C) information about the types of data stored in the object D) All of the above Points Earned: 1.0/1.0 Correct Answer(s): D

25. When a FileStream object is opened, the file-position pointer is _________. A) set to Null B) set to 0 C) needs to be explicitly created D) set to the end of the file Points Earned: 1.0/1.0 Correct Answer(s): B

26. What is the exception thrown when an error occurs during serialization or deserialization? A) SerialException B) DeserialException C) SerializationException D) DeserializationException E) C and D, respectively

Points Earned: 1.0/1.0 Correct Answer(s): C

27. Method ________ of class BinaryFormatter reads a serialized object from a stream and reforms the object in memory. A) Deserial B) DSerial C) Deserializable D) Deserialize Points Earned: 1.0/1.0 Correct Answer(s): D

28. In a data hierarchy, data items become larger and more complex in structure as we progress from bits, to characters, to fields and up to large data structures.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

29. A field is a random group of characters.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

30. All files must end with an end-of-file marker, so that the computer knows where the file ends.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

31. When a file is opened, a stream object is created and associated with the file.A) True

B) False Points Earned: 1.0/1.0 Correct Answer(s): True

32. Console.In, Console.Out and Console.Error are used to take data in, to display data and to show error messages.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

33. File-processing capabilities are important for a programming language to support commercial applications.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

34. The standard output stream object enables a program to output data to the screen.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

35. To distinguish fields or records there has to be one that is different from every other, this is called the record key. A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

36. A record is a group of fields and a file is a group of records.A) True

B) False Points Earned: 1.0/1.0 Correct Answer(s): True

37. Files can only be stored on a computers hard drive.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

38. Using MemoryStream and BufferedStream is inefficient.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

39. Class File can only create new files.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

40. Saving data to a file is the only way to keep that data when the program terminates.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

41. No matter how complicated a program is or looks it can all be broken down in to strings of 0's and 1's.A) True B) False Points Earned: 1.0/1.0

Correct Answer(s): True

42. Classes StreamIn and StreamOut are used to read from text files and output to text files.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

43. Class Directory is used to change directories.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

44. Characters in C# are Unicode characters, each represented by one byte.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

45. Data stored in arrays is permanent data.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

46. The FileAccess.Read enumeration member is used if the file should not be modified.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

47. If the array contains references to other objects, those objects may or may not be serializable.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

48. Being able to write a file is the only important part of filing.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

49. For variables of reference types, you must check the class declaration to ensure that the type is serializable.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

50. BinaryFormatters can be used to serialize and deserialize objects coming in and going out a stream.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

51. By default, array objects are not serializable.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

52. BinaryFormatter's Serialize and Deserialize methods are both parameterless.A) True

B) False Points Earned: 1.0/1.0 Correct Answer(s): False

53. The classes dealing with files and directories are located in the System.IO namespace.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

54. In a class that is marked with the [Serializable] attribute or that implements interface ISerializable, not every instance variable of the class needs to be serializable.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

55. A StreamReader object must be created in order to retrieve data from a text file.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

56. Resource releasing should be done as soon as the resource is no longer needed.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

57. BinaryFormatter only allows for the reading of objects.A) True B) False Points Earned: 1.0/1.0

Correct Answer(s): False

58. All simple-type variables and strings are serializable.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

59. Sequential records are sorted on a keyA) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

60. Method GetFiles of class Directory can be used to display all the files in a given directory.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

61. Every file automatically closes itself when not needed.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): False

62. The name of the file to open is specified as the first argument to the FileStream constructor.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

63. An OpenFileDialog allows a user to select a file to open.A) True B) False Points Earned: 1.0/1.0 Correct Answer(s): True

Question 1

1 / 1 point

The classes dealing with files and directories are located in the System.IO namespace. Correct Response True

False Question 4 1 / 1 point

The ________ attribute declares the control modified by a control template.

Type Correct Response TargetType

TargetControl

Control Question 5 1 / 1 point

It's possible to select only a subset of a relational database table's columns. Correct Response True

False Question 9 1 / 1 point

If the array contains references to other objects, those objects may or may not be serializable. Correct Response True

False Question 10 1 / 1 point

Which of the following methods of FileStream will reset the file-position pointer back to the beginning of the file?

Reset

Origin Correct Response Seek

Beginning Question 11 1 / 1 point

The smallest data item in a computer is the ________. Correct Response bit

byte

kilobyte

None of these. Question 14 1 / 1 point

Setting the ________ property to None removes the standard window frame containing the title and buttons to minimize, maximize and close the app.

Frame

Title Correct Response WindowStyle

WindowFrame Question 18 1 / 1 point

A routed command declared in the XAML changes a control's appearance when that control enters a certain state.

True Correct Response False Question 4 1 / 1 point

By default, anonymous users who attempt to load a page in a directory to which they are denied access are redirected to Login.aspx. Correct Response True

False Question 6 1 / 1 point

The name of the file to open is specified as the first argument to the FileStream constructor. Correct Response True

False Question 8 1 / 1 point

If a command is disabled, all methods of executing that command are disabled. Correct Response True

False Question 9 1 / 1 point

A bubbling event travels down the container hierarchy, and a tunneling event travels up the container hierarchy.

True Correct Response False View Feedback Question 10 1 / 1 point

It's possible to nest LINQ queries to produce hierarchical results. Correct Response True

False Question 11 1 / 1 point

A web server translates a hostname into an IP address.

True Correct Response False View Feedback

Question 12

1 / 1 point

Web Forms use the same controls as Windows Forms.

True Correct Response False View Feedback Question 14 1 / 1 point

REST-based web services differ from SOAP-based web services in that ________.

REST operations must be accessed through a web service proxy object

REST services are less verbose than SOAP-based services Correct Response the request and response of REST services are not wrapped in envelopes and are not necessarily in XML format

None of these. Question 16 1 / 1 point

An ADO.NET Entity Data Model cannot represent the relationships between tables in a database.

True Correct Response False View Feedback Question 17 1 / 1 point

A CollectionViewSource provides multiple "views" of the same data. Correct Response

True

False Question 19 1 / 1 point

HTTP is a ________ protocol: it does not support persistent connections.

connectionful

connectionless Correct Response stateless

stateful

A routed command declared in the XAML changes a control's appearance when that control enters a certain state.

Question 7 options: True False
Question 11 (1 point)
The pathname to a file on a web server specifies the location of an actual directory on the web server's file system. Question 11 options:

True False

An ADO.NET Entity Data Model contains only classes that represent the database's tables. Question 13 options:

True False

Using XAML gives WPF the benefit of raster-based graphics.

Question 19 options: True False

Which of the following statements is false?

Question 4 options: A data binding is a pointer to data that's represented by a DataSource object. You can create bindings to a broad range of data types, including objects, collections, data in XML documents, data in databases and LINQ query results. Data bindings can be created declaratively in XAML markup with markup extensions. To declare a data binding, you must specify the data's source. If it's another element in the XAML markup, you use property ElementName; otherwise, you use Source. WRONG Many controls have built-in support for data binding, and do not require a separate Binding object. A ListView, for example, has an ItemsSource property that specifies the data source of the ListView's items-when you set ItemsSource to a collection of data, the objects in the collection automatically become the items in the ListView.

REST-based web services differ from SOAP-based web services in that ________.

Question 5 options: REST operations must be accessed through a web service proxy object WRONG ANSWER REST services are less verbose than SOAP-based services the request and response of REST services are not wrapped in envelopes and are not necessarily in XML format None of these.

An XML data object is converted to a custom type via the process of ________.

Question 6 options: deserialization SOAP decoding WRONG ANSWER typecasting None of these.

A Windows 8 UI ________ control is similar to a Label in Windows Forms.

Question 9 options: Label WRONG ANSWER Text Identifier TextBlock

Which of the following statements is false?

Question 18 options: An app that's running is on the screen so that the user can interact with it. An app that's suspended is on the screen, so Windows 8 suspends its execution to conserve power and reduce the load on the CPU. An app that's terminated was shut down by Windows 8-typically to recover resources like memory that are needed by other apps. WRONG ANSWER An app that's closed by the user was shut down explicitly by the user by swiping from the top of the screen to the bottom.

An object of a subclass of ________ is used to manage the data flow between your program and the database.

Question 20 options: DataFlow DatabaseContext DbContext EntityDataModel WRONG ANSWER

Question 1
A content control can have text or several child elements.

1 / 1 point True False

View Feedback Question 2 True False Question 3 1 / 1 point
The information tier typically stores data in a(n) ________.

1 / 1 point

A MouseLeftButtonDown event passes information using a MouseButtonEventArgs object.

DataGrid XML document relational database management system None of these Question 6
The information tier of a multi-tier app holds the app's data.

1 / 1 point

True False Question 8 1 / 1 point
Which of the following is false?

The two most common HTTP request types (also known as request methods) are get and post. Both get and post requests send form data to the server as part of the URL. An HTTP request often sends data to a server-side form handler that processes the data. A ? separates the query string from the rest of the URL in a get request. 1 / 1 point Question 10
The UpdatePanel control ________.

is reloaded with a partial page update holds static (non-changing) controls must come before a ContentTemplate

holds static (non-changing) controls and must come before a ContentTemplate All of these. Question 11
Ajax apps have the advantage of using synchronous requests.

1 / 1 point

True False View Feedback Question 12
The StartupUri attribute defines which XAML document loads first.

1 / 1 point True False Question 151 / 1 point

XAML is used to define the app's ________.

program logic graphical user interface code behind classes All of these. Question 16
A CollectionViewSource provides multiple "views" of the same data.

1 / 1 point

True False Question 171 / 1 point
WPF events which behave like Windows Forms events are called ________.

expandable events tunneling events bubbling events direct events Question 18
.NET provides class ________ for manipulating files.

1 / 1 point

Folder FileUtil File FileManip

Question 19
A serialized object is an object that includes:

1 / 1 point

a sequence of bytes that contain the object's data. information about the object's type. information about the types of data stored in the object. All of these. Question 21
A LINQ query may contain only one from clause.

1 / 1 point

True False View Feedback Question 22 True False View Feedback Question 23 True False Question 241 / 1 point
Which of the following attributes is needed to indicate to the CLR that objects of the class can be serialized?

1 / 1 point

WPF styles require you to explicitly set the individual properties of each control.

1 / 1 point

A primary key must be unique for each record in the relational database table.

[Serializable] [DeSerializable] [Serialize] both [Serializable] and [DeSerializable] Question 25 True False Question 261 / 1 point
The first time a client connects to a server for a web app that uses sessions, the server creates a unique ________ that can later be compared to others in the server's memory in order to identify the client.

1 / 1 point

WPF graphics are resolution-independent, meaning that they're designed to look similar on screens of different sizes.

session ID

HttpSessionState object cookie None of these. Question 27
Which of the following statements is false?

1 / 1 point

The PointerEntered event indicates that the pointer entered an element's bounds. The PointerExited event indicates that the pointer exited an element's bounds. The PointerMoved event indicates that the pointer moved within an element's bounds. The PointerPressed event indicates that a key was pressed. View Feedback Question 28
For ASP .NET apps, IIS is usually the web server.

1 / 1 point True False Question 301 / 1 point

For variables of reference types, you must check the class declaration to ensure that the type is serializable.

True False Question 311 / 1 point
There is a ________ relationship between a primary key and its corresponding foreign key.

one-to-one foreign one-to-many structural Question 32
The enumeration FileAccess is used to:

1 / 1 point

control user access to a file. control program access to a file. control the amount of updating that can be done on a file at once. FileAccess is a method, not an enumeration. Question 33 1 / 1 point

In the Web.config file, the service binding in the endpoint element must be set to ________ to support REST-based HTTP requests.

webHttpBinding wsHttpBinding basicHttpBinding netHttpBinding Question 34
XAML is similar to .NET, a language that allows Internet apps to share data.

1 / 1 point

True False View Feedback Question 37
A recursive search on a directory is one where:

1 / 1 point a directory is searched and then all of its sub directories are searched. each sub directory is searched and then the main directory is searched. a search is done randomly on all directories. a directory is searched and then all of its sub directories are searched and a search is done randomly on all directories a directory is searched and then all of its sub directories are searched and each sub directory is searched and then the main directory is searched

Question 38
An example of when a file should not be used is:

1 / 1 point to save the status of a video game for another session. to save the value of a variable at runtime. to log errors in the execution of a program.

These are all good examples of when files should be used. Question 40
To create a new file and return a stream that can be used to process the file, use the:

1 / 1 point

CreateFile method of class File. NewFile method of class File. Create method of class File. New method of class File. Question 42
In a ________ file, a record typically stored in order by a record-key field.

1 / 1 point

chronological non-sequential

sequential record-key Question 43 True False Question 441 / 1 point
A MouseMove event passes information using a MouseMoveEventArgs object.

1 / 1 point

Every XAML document must define the presentation XAML namespace and the standard XAML namespace.

True False View Feedback Question 46
Which of the following statements is false?

1 / 1 point A class's property can be defined in XAML as a nested element with the name ClassName.PropertyName. You can specify the Height of a RowDefinition and the Width of a ColumnDefinition with an explicit size, a relative size (using *) or Auto. Auto makes the row or column only as big as it needs to be to fit its contents. If you click the ellipsis button next to the RowDefinitions or ColumnDefinitions property in the Properties window, theCollection Editor window will appear. This tool can be used to add, remove, reorder, and edit the properties of rows and columns in aGrid.

When defining a control in a Grid, the control is placed in row 1 and column 1 unless you specify otherwise. View Feedback Question 47 URL proxy object interface None of these Question 48 True False 1 / 1 point
A bubbling event travels down the container hierarchy, and a tunneling event travels up the container hierarchy.

1 / 1 point

Each operation in a RESTful web service is identified by a unique ________.

View Feedback Question 49 1 / 1 point Representational State Transfer (REST) architecture Simple Object Access Protocol Both Representational State Transfer (REST) architecture and Simple Object Access Protocol None of these. Question 50
Binary code is actually: A web service's methods can be called by methods on other machines using ________.

1 / 1 point a complex programming language. a series of 0's and 1's. machine language instructions.

a series of characters representing the numbers 0 to 9. Question 52
Characters in C# are Unicode characters, each represented by one byte.

1 / 1 point

True False View Feedback Question 53
The smallest data item in a computer is the ________.

1 / 1 point bit byte kilobyte None of these. Question 55 1 / 1 point

Class File can only create new files.

True False View Feedback Question 56 Placement Alignment 1 / 1 point
A StackPanel's elements are arranged in a single row or column, depending on the ________ property.

Attitude Orientation Question 57
Use the ________ method to programmatically close an app.

1 / 1 point

Application.Shutdown Application.Exit Application.Current.Exit Application.Current.Shutdown Question 58
It's possible to nest LINQ queries to produce hierarchical results.

1 / 1 point

True False Question 591 / 1 point
Controls and other elements are placed on a Web From sequentially.

True False Question 601 / 1 point
It's possible to select only a subset of a relational database table's columns.

True False Question 611 / 1 point
A XAML document defines the ________ of a Windows 8 UI app.

appearance sequencing threading priority Question 63
The code-behind file is a(n) ________ class.

1 / 1 point

partial full abstract virtual Question 64 1 / 1 point
Dependency properties provide built-in change notification.

True False Question 651 / 1 point
Resources are similar to private members. They're accessible only to the controls they're defined in.

True False View Feedback Question 66 True False View Feedback Question 67 True False Question 681 / 1 point
The extension method ________ is used to filter the results of a LINQ query.

1 / 1 point

An instance of the web page is re-compiled each time the ASPX file is requested by a user.

1 / 1 point

If the array contains references to other objects, those objects may or may not be serializable.

Filter Equals Where None of these Question 69
A Grid is a type of layout container.

1 / 1 point

True False Question 711 / 1 point
The file that contains the coding for a Web Form is a Web-code file.

True False View Feedback Question 72 1 / 1 point
A StackPanel has a vertical or horizontal flow, set by its ________ attribute.

Order Orientation FlowType Direction Question 73 OpenFile ChooseFile ShowDialog OpenFileDialog Question 74
The ________ attribute declares the control modified by a control template.

1 / 1 point

Use the ________ method of class OpenFileDialog to show a dialog that allows the user to select a file to be opened.

1 / 1 point

Type TargetType TargetControl Control Question 75
The host is the computer that requests a Web page for display.

1 / 1 point

True False View Feedback Question 76
In addition to GUI appearance, styles can also contain event handlers.

1 / 1 point True False Question 771 / 1 point

Deserialize returns a reference of type:

object which must be cast to the appropriate type to manipulate the object. the type that the object was originally. Deserialized which must be cast to the appropriate type to manipulate the object. None of these. Question 78
An EntityDataSource control allows an ASP.NET app to interact with a database via LINQ to Entities.

1 / 1 point

True False Question 791 / 1 point
Which of the following statements is false?

A data binding is a pointer to data that's represented by a DataSource object. You can create bindings to a broad range of data types, including objects, collections, data in XML documents, data in databases and LINQ query results. Data bindings can be created declaratively in XAML markup with markup extensions. To declare a data binding, you must specify the data's source. If it's another element in the XAML markup, you use property ElementName; otherwise, you use Source. Many controls have built-in support for data binding, and do not require a separate Binding object. A ListView, for example, has anItemsSource property that specifies the data source of the ListView's items-when you set ItemsSource to a collection of data, the objects in the collection automatically become the items in the ListView. 1 / 1 point Question 80
The app's primary code-behind class has filename ________.

Application.xaml Application.xaml.cs Window1.xaml Window1.xaml.cs Question 81 1 / 1 point

In a class that's marked with the [Serializable] attribute or that implements interface ISerializable, not every instance variable of the class needs to be serializable.

True False View Feedback Question 82
Which of the following statements is true?

1 / 1 point One advantage of Windows 8 UI over Windows Forms is that you can customize the look and feel of controls to meet your app's needs. Many controls that allowed only text content in Windows Forms are ContentControls in Windows 8 UI. ContentControls can host any type of content-including other controls. All of these

Question 83
A WPF Grid control allows child elements to be positioned using explicit coordinates.

1 / 1 point

True False View Feedback Question 84
Class Directory is used to change directories.

1 / 1 point True False Question 851 / 1 point

A XAML document's root element is a ________.

Window Form Grid UserControl Question 86
When HTML for a page is created, a validator is converted into ________.

1 / 1 point

JavaScript C# Visual Basic None of these. Question 87 System.Web.Creation System.ASP System.Web.GUI System.Web.UI Question 88
Which of the following statements is false?

1 / 1 point

Namespace ________ contains classes for creating web apps and controls.

1 / 1 point

Each Page can have ApBars at the top and bottom of the screen for quick access to commands. By default, the AppBars are visible. Setting the AppBar's IsOpen attribute to True indicates that the AppBar should be displayed when the app first executes.

Windows 8 UI RadioButtons function as mutually exclusive options, just like their Windows Forms counterparts. 1 / 1 point Question 89
One byte is composed of:

2 bits. 4 bits. 8 bits. 10 bits. Question 90 1 / 1 point
An ADO.NET Entity Data Model cannot represent the relationships between tables in a database.

True False View Feedback Question 91 True False Question 921 / 1 point
Which of the following statements is false?

1 / 1 point

Method GetFiles of class Directory can be used to display all the files in a given directory.

The template Grid App defines three-page app with predefined layouts and GUI controls. The provided pages allow the user to view a collection of groups of items displayed in a grid of rows and columns, view particular group's details and view a particular item's details. The template Split App defines a two-page app with predefined layouts and GUI controls. The first page allows the user to view a collection of groups of items displayed in a grid. The second page allows the user to view particular group and a selected item's details. There are two predefined themes for Windows Store apps: Black (the default) and White. Microsoft recommends using theBlack theme for apps that present mostly images and video and the White theme for apps that display lots of text. The IDE's Design view is used for drag-and-drop GUI design and the XAML view shows the generated XAML markup. Question 93
XML elements can be nested, creating parent elements and child elements.

1 / 1 point

True False

Question 941 / 1 point
Microsoft's ________ technology is used for web-based app development.

ASP .NET APM .NET PHP .NET All of these Question 95 1 / 1 point
JSON is a text-based data-interchange format used to represent objects in JavaScript as collections of ________ represented as strings.

data/format pairs primary key/data rows definition/key pairs name/value pairs Question 96 1 / 1 point
Setting the ________ property to None removes the standard window frame containing the title and buttons to minimize, maximize and close the app.

Frame Title WindowStyle WindowFrame Question 97 True False View Feedback Question 98 Split App Blank App Elementary App Basic App Question 99 set to Null 1 / 1 point
When a FileStream object is opened, the file-position pointer is ________.

1 / 1 point

BinaryFormatter's Serialize and Deserialize methods are both parameterless.

1 / 1 point

The template ________ defines a single-page app for which you must define your own GUI.

set to 0 needs to be explicitly created set to the end of the file Question 1 1 / 1 point

The FileAccess.Read enumeration member is used if the file should not be modified.

True False Question 3 1 / 1 point
A bubbling event travels down the container hierarchy, and a tunneling event travels up the container hierarchy.

True False View Feedback Question 4 1 / 1 point
A ________ is a piece of data stored in a small text file to maintain information about the client during and between browser sessions.

tracking file cookie Web log virtual record
The StartupUri attribute defines which XAML document loads first.

Question 5

1 / 1 point

True False Question 6 1 / 1 point
Which of the following is false?

The two most common HTTP request types (also known as request methods) are get and post. Both get and post requests send form data to the server as part of the URL. An HTTP request often sends data to a server-side form handler that processes the data. A ? separates the query string from the rest of the URL in a get request.

Question 7
XAML is used to define the app's ________.

1 / 1 point

program logic graphical user interface code behind classes All of these. Question 8
Which of the following statements is true?

1 / 1 point

One advantage of Windows 8 UI over Windows Forms is that you can customize the look and feel of controls to meet your app's needs. Many controls that allowed only text content in Windows Forms are ContentControls in Windows 8 UI. ContentControls can host any type of content-including other controls. All of these
Class Directory is used to change directories.

Question 10 True False

1 / 1 point

Question 12 1 / 1 point
A ________ checks whether data entered into another web control is correct or in the proper format.

validation control format control user control certification control Question 13 Padding Margin Space Edges Question 14 1 / 1 point
A simple Web Form consists of two related files, an ASPX file and a(n) ________.

1 / 1 point

The ________ property determines the amount of space around a control's edges.

HTML document

database file C# code-behind file None of these.
The enumeration FileAccess is used to:

Question 16

1 / 1 point

control user access to a file. control program access to a file. control the amount of updating that can be done on a file at once. FileAccess is a method, not an enumeration. Question 17
The code-behind file is a(n) ________ class.

1 / 1 point

partial full abstract virtual Question 18 1 / 1 point
Each resource should be released as soon as it's no longer needed.

True False Question 19 1 / 1 point
________ allows you to describe a WPF GUI without generating any C# code statements.

XML Silverlight XAML Vector graphics Question 20 [Serializable] [DeSerializable] [Serialize] both [Serializable] and [DeSerializable] Question 21
A LINQ query may contain only one from clause.

1 / 1 point

Which of the following attributes is needed to indicate to the CLR that objects of the class can be serialized?

1 / 1 point

True False View Feedback Question 22
Using XAML gives WPF the benefit of raster-based graphics.

1 / 1 point True

False View Feedback Question 23 JavaScript C# Visual Basic None of these. Question 24 1 / 1 point
The technique of defining what the GUI should contain without specifying how to generate it is an example of ________ programming.

1 / 1 point

When HTML for a page is created, a validator is converted into ________.

procedural generic declarative object-oriented programming Question 25 1 / 1 point

Relative positioning specifies that controls will be located exactly where they're dragged and dropped onto the form by the programmer.

True False View Feedback Question 26
Web Form files have the extension:

1 / 1 point

.wbfm .wasp .aspc .aspx Question 27 1 / 1 point

A Canvas is a layout container that allows you to position controls by defining explicit coordinates from the Canvas's ________ corner.

lower-left lower-right upper-left upper-right
The name of the file to open is specified as the first argument to the FileStream constructor.

Question 28

1 / 1 point

True False
In XAML elements, attributes like Background that are not qualified with a XML namespace (such as x:) correspond to ________ of an object.

Question 29 1 / 1 point

elements instance variables properties constants Question 30
Which of the following statements is false?

1 / 1 point

To apply a style to a control, you create a resource binding between a control's Style property and a Styleresource by using a markup extension-an expression enclosed in curly braces ({}) of the form {ResourceType ResourceKey}. There are two types of resources. Static resources are applied at initialization time only. Dynamic resources are applied every time the resource is modified by the app. Because styles normally change during runtime, they are usually used as dynamic resources. By default, the AppBar button styles are located in XML comments within the StandardStyles.xaml file. To use these styles you must first remove them from the comments. Question 31 1 / 1 point
Today's most popular database systems are ________.

management databases structural databases

formatted databases relational databases Question 32 True False Question 34 1 / 1 point
Keyword ________ is used for constants whose values cannot be determined at compile time.

1 / 1 point

The top tier in a multi-tier app is the app's user interface which gathers input and displays output.

const readonly static None of these.
BinaryFormatters can be used to serialize and deserialize objects coming in and going out via a stream.

Question 35

1 / 1 point

True False Question 37 1 / 1 point
A relational database model allows relationships between data to be considered without concern for the ________.

meaning of the data structure of the data application of the data All of these Question 38 True False View Feedback Question 39
Relational databases can be thought of as ________.

1 / 1 point

An instance of the web page is re-compiled each time the ASPX file is requested by a user.

1 / 1 point

rows columns tables of rows and columns three-dimensional arrays

Question 40 True False

1 / 1 point

When a file is opened, a stream object is created and associated with the file.

Question 42 1 / 1 point
An object of a subclass of ________ is used to manage the data flow between your program and the database.

DataFlow DatabaseContext DbContext EntityDataModel Question 43
.NET provides class ________ for manipulating files.

1 / 1 point

Folder FileUtil File FileManip
Method ________ of class BinaryFormatter reads a serialized object from a stream and recreates the object in memory.

Question 44

1 / 1 point

Deserial Deserialize Deserializable DSerial Question 45 True False View Feedback Question 46
Web Forms use the same controls as Windows Forms.

1 / 1 point

BinaryFormatter's Serialize and Deserialize methods are both parameterless.

1 / 1 point True False

View Feedback

Question 47 URL proxy object interface None of these Question 48 True False View Feedback Question 49 ObjectDataProvider SqlDataProvider XmlDataProvider None of these. Question 50 True False

1 / 1 point

Each operation in a RESTful web service is identified by a unique ________.

1 / 1 point

An ADO.NET Entity Data Model cannot represent the relationships between tables in a database.

1 / 1 point

Which of the following is not a data provider for WPF data binding?

1 / 1 point

The middle tier of a multi-tier app processes client requests and maintains the reliability of the stored data.

Question 51 1 / 1 point
Every XAML document must define the presentation XAML namespace and the standard XAML namespace.

True False Question 52 1 / 1 point
The pathname to a file on a web server specifies the location of an actual directory on the web server's file system.

True False View Feedback Question 53
Which of the following statements is false?

1 / 1 point A data binding is a pointer to data that's represented by

a DataSource object. You can create bindings to a broad range of data types, including objects, collections, data in XML documents, data in databases and LINQ query results. Data bindings can be created declaratively in XAML markup with markup extensions. To declare a data binding, you must specify the data's source. If it's another element in the XAML markup, you use property ElementName; otherwise, you use Source. Many controls have built-in support for data binding, and do not require a separate Binding object. A ListView, for example, has an ItemsSource property that specifies the data source of the ListView's items-when you setItemsSource to a collection of data, the objects in the collection automatically become the items in theListView. Question 54 1 / 1 point
A ________ ASP.NET data control displays data on a Web Form in a tabular format.

TabView GridView TabFormat GridFormat Question 55 True False View Feedback Question 56 1 / 1 point Any variables to be accessed during runtime must be declared WebVar. The class with the web methods must provide a Public default constructor. Properties and instance variables that should be serialized must be declared Public. Properties that should be serialized must provide both get and set accessors.
Which is a not requirement of a custom data type to be used in web services?

1 / 1 point

The file that contains the coding for a Web Form is a Web-code file.

Question 57
The information tier of a multi-tier app holds the app's data.

1 / 1 point

True False Question 59 1 / 1 point
The ________ attribute declares the control modified by a control template.

Type TargetType TargetControl Control Question 60 one-to-one foreign one-to-many structural
Data members declared as readonly must be initialized in their declaration.

1 / 1 point

There is a ________ relationship between a primary key and its corresponding foreign key.

Question 61

1 / 1 point

True False View Feedback Question 62
One byte is composed of:

1 / 1 point

2 bits. 4 bits. 8 bits. 10 bits. Question 63 1 / 1 point
Directory's method GetDirectories returns:

a string of all the names of sibling directories. an array of strings of all the names of sibling directories. a string of all the names of subdirectories. an array of strings of all the names of subdirectories.

Question 64

1 / 1 point

JSON is a text-based data-interchange format used to represent objects in JavaScript as collections of ________ represented as strings.

data/format pairs primary key/data rows definition/key pairs name/value pairs Question 66
A web server translates a hostname into an IP address.

1 / 1 point

True False View Feedback Question 67 True False View Feedback Question 68
For a WCF web service to return data in JSON format, WebGet's ResponseFormat property must be set to ________.

1 / 1 point

A WPF Grid control allows child elements to be positioned using explicit coordinates.

1 / 1 point

WebMessageFormat.Json MessageFormat.Json an SVC file All of these Question 69 1 / 1 point
A Windows 8 control's position should be specified based on its position relative to the layout container in which it's included and the other controls in the same container. All controls have three properties for doing this-HorizontalAlignment, VerticalAlignment and ________ (which specifies how much space to put around a control's edges).

Padding Fill Border Margin Question 70 1 / 1 point
Visual Studio creates a class for every ASPX file it creates in a .NET language.

True False Question 71 1 / 1 point
Characters in C# are Unicode characters, each represented by one byte.

True False View Feedback Question 72
A Grid is a type of layout container.

1 / 1 point

True False Question 74 1 / 1 point
DBExtensions method Load loads an entire database's data into a DbContext.

True False View Feedback Question 76 System.Web.Creation System.ASP System.Web.GUI System.Web.UI Question 78 template (.temp) master (.master) model (.mod) guide (.guide) Question 79
Data stored in a file is considered:

1 / 1 point

Namespace ________ contains classes for creating web apps and controls.

1 / 1 point

A ________ page defines common GUI elements that are inherited by each page in a set of content pages.

1 / 1 point

temporary data. persistent data. recurring data.

There is no need to store data in files. Question 80
XAML is a specialized vocabulary of ________.

1 / 1 point

HTML XML ASP.NET WPF Question 81 1 / 1 point
Each foreign key can be created independently.

True False View Feedback Question 82
A MouseEventArgs object's GetPosition event always returns a position relative to the top left of the WPF window.

1 / 1 point

True False View Feedback Question 83 1 / 1 point
Console.In, Console.Out and Console.Error are used to take data in, to display data and to show error messages, respectively.

True False Question 84 1 / 1 point
Files can be stored in:

hard drives. optical disks. magnetic tapes. All of these. Question 85 True False Question 86 1 / 1 point
Layout of controls refers to the controls' ________.

1 / 1 point

Method GetFiles of class Directory can be used to display all the files in a given directory.

size event handlers position size and event handlers size and position Question 87
The host is the computer that requests a Web page for display.

1 / 1 point

True False View Feedback Question 88
Which of the following statements is false?

1 / 1 point MainPage.xaml defines the first Page that's loaded in the app. StandardStyles.xaml (in the Common folder) defines styles that enable your app's GUI to have the look-andfeel of Windows Store apps. The Assets folder typically contains media files, such as images, audio and video files. By default this folder contains four images that are used as logos and a splash screen. The Standard folder contains files typically used by all Pages in an app, such as the StandardStyles.xaml file.

Question 89
A layout container's ________ property stores a list of its child elements.

1 / 1 point

Children ElementList FlowItems List Question 90
A XAML document's root element is a ________.

1 / 1 point

Window Form Grid

UserControl Question 92 Filter Equals Where None of these Question 93
An OpenFileDialog allows a user to select a file to open.

1 / 1 point

The extension method ________ is used to filter the results of a LINQ query.

1 / 1 point

True False Question 94 1 / 1 point
Which of the following methods of FileStream will reset the file-position pointer back to the beginning of the file?

Reset Origin Seek Beginning Question 95
A serialized object is an object that includes:

1 / 1 point

a sequence of bytes that contain the object's data. information about the object's type. information about the types of data stored in the object. All of these.
Setting the ________ property to None removes the standard window frame containing the title and buttons to minimize, maximize and close the app.

Question 96

1 / 1 point

Frame Title WindowStyle WindowFrame Question 97 1 / 1 point
________ is an Internet standard that specifies the way in which certain types of data must be formatted so that programs can interpret the data correctly.

IIS

DNS MIME None of these.
When a FileStream object is opened, the file-position pointer is ________.

Question 98

1 / 1 point

set to Null set to 0 needs to be explicitly created set to the end of the file Question 99 1 / 1 point

The CanExecute event for a command allows programmers to implement logic that determines whether a command should be enabled or disabled.

True False Question 1 Memory cards Buffers Files Data structures Question 3 web service host service machine web machine None of these.
The name of the file to open is specified as the first argument to the FileStream constructor.

1 / 1 point

________ are used for long-term retention of large amounts of data.

1 / 1 point

The machine on which the web service resides is commonly referred to as the ________.

Question 4

1 / 1 point

True False Question 5 1 / 1 point
XAML is used to define the app's ________.

program logic

graphical user interface code behind classes All of these. Question 6 True False Question 7 1 / 1 point
For variables of reference types, you must check the class declaration to ensure that the type is serializable.

1 / 1 point

Custom control templates allow you to completely customize a control's appearance.

True False Question 10 1 / 1 point
.NET provides session-tracking capabilities in class ________.

Session HttpState HttpSessionState SessionState Question 11 HTML document database file C# code-behind file None of these. Question 13 data locator file counter file-position pointer byte-number counter Question 14
The app's primary code-behind class has filename ________.

1 / 1 point

A simple Web Form consists of two related files, an ASPX file and a(n) ________.

1 / 1 point

A ________ contains the byte number of the next byte in a file to be read or written to a file.

1 / 1 point

Application.xaml Application.xaml.cs

Window1.xaml Window1.xaml.cs Question 17
JSON format is ________ compared to XML format.

1 / 1 point

of higher quality more verbose less verbose None of these Question 18 True False View Feedback Question 19 True False Question 20 1 / 1 point
Directory's method GetDirectories returns:

1 / 1 point

The file that contains the coding for a Web Form is a Web-code file.

1 / 1 point

The StartupUri attribute defines which XAML document loads first.

a string of all the names of sibling directories. an array of strings of all the names of sibling directories. a string of all the names of subdirectories. an array of strings of all the names of subdirectories. Question 21 1 / 1 point
A XAML document defines the ________ of a Windows 8 UI app.

appearance sequencing threading priority Question 22 template (.temp) master (.master) 1 / 1 point
A ________ page defines common GUI elements that are inherited by each page in a set of content pages.

model (.mod) guide (.guide) Question 23 expandable events tunneling events bubbling events direct events Question 24 1 / 1 point
A master/detail view app typically allows the user to select an entry to see (and potentially manipulate the details associated with that entry.

1 / 1 point

WPF events which behave like Windows Forms events are called ________.

True False Question 25 1 / 1 point
Class Directory is used to change directories.

True False Question 26 1 / 1 point
Each operation in a RESTful web service is identified by a unique ________.

URL proxy object interface None of these Question 27 True False View Feedback Question 28
A XAML document's root element is a ________.

1 / 1 point

An ADO.NET Entity Data Model cannot represent the relationships between tables in a database.

1 / 1 point

Window Form Grid UserControl

Question 29 True False View Feedback Question 30 True False

1 / 1 point

Characters in C# are Unicode characters, each represented by one byte.

1 / 1 point

The FileAccess.Read enumeration member is used if the file should not be modified.

Question 31 1 / 1 point
A serialized object is an object that includes:

a sequence of bytes that contain the object's data. information about the object's type. information about the types of data stored in the object. All of these. Question 32
Computer circuitry is able to:

1 / 1 point

get the value of a bit. examine the value of a bit. reverse the value of a bit. All of these. Question 33
Which of the following statements is false?

1 / 1 point

Various events occur during an app's lifecycle. The Suspending event occurs when an app transitions to the suspended state. Usually the Suspending event occurs because the app is no longer visible on the screen. This typically occurs when the user exits another app. The Resuming event occurs when the app transitions from suspended to running. Question 35 1 / 1 point

A shape can be given an absolute position in a Canvas using the Canvas's methods ________ and ________.

SetX, SetY

SetLeft, SetTop PositionX, PositionY PadLeft, PadTop Question 36
Use the ________ method to programmatically close an app.

1 / 1 point

Application.Shutdown Application.Exit Application.Current.Exit Application.Current.Shutdown Question 37 True False Question 38 1 / 1 point
Binary code is actually:

1 / 1 point

Visual Studio creates a class for every ASPX file it creates in a .NET language.

a complex programming language. a series of 0's and 1's. machine language instructions. a series of characters representing the numbers 0 to 9. Question 39 1 / 1 point
Web Form files have the extension:

.wbfm .wasp .aspc .aspx Question 40 1 / 1 point
Console.In, Console.Out and Console.Error are used to take data in, to display data and to show error messages, respectively.

True False Question 41 1 / 1 point
Which of the following attributes is needed to indicate to the CLR that objects of the class can be serialized?

[Serializable] [DeSerializable]

[Serialize] both [Serializable] and [DeSerializable] Question 42
The enumeration FileAccess is used to:

1 / 1 point

control user access to a file. control program access to a file. control the amount of updating that can be done on a file at once. FileAccess is a method, not an enumeration. Question 43
HTTP is a ________ protocol: it does not support persistent connections.

1 / 1 point

connectionful connectionless stateless stateful Question 44
The Console.Error property returns:

1 / 1 point

a standard error stream object. a new error. an object of type error. None of these. Question 45
Data stored in a file is considered:

1 / 1 point

temporary data. persistent data. recurring data. There is no need to store data in files. Question 46 True False View Feedback Question 48 1 / 1 point
A routed event is ignored after its Handled property is set to True.

1 / 1 point

A WPF Grid control allows child elements to be positioned using explicit coordinates.

True False Question 49 1 / 1 point
It's possible to select only a subset of a relational database table's columns.

True False Question 50 1 / 1 point
A bubbling event travels down the container hierarchy, and a tunneling event travels up the container hierarchy.

True False View Feedback Question 51 set to Null set to 0 needs to be explicitly created set to the end of the file Question 52 chronological non-sequential sequential record-key Question 53 1 / 1 point
The first time a client connects to a server for a web app that uses sessions, the server creates a unique ________ that can later be compared to others in the server's memory in order to identify the client.

1 / 1 point

When a FileStream object is opened, the file-position pointer is ________.

1 / 1 point

In a ________ file, a record typically stored in order by a record-key field.

session ID HttpSessionState object cookie None of these. Question 54 Target 1 / 1 point

The ________ property of an event stores a reference to the control that triggered the event.

Source SourceControl EventTarget Question 55
A recursive search on a directory is one where:

1 / 1 point

a directory is searched and then all of its sub directories are searched. each sub directory is searched and then the main directory is searched. a search is done randomly on all directories. a directory is searched and then all of its sub directories are searched and a search is done randomly on all directories a directory is searched and then all of its sub directories are searched and each sub directory is searched and then the main directory is searched Question 56 1 / 1 point

Depending on your app's purpose, you may choose to support the orientations Landscape, Portrait, ________ and ________.

High-definition-horizontal, High-definition-vertical Landscape-flipped, Portrait-flipped Diagonal-left, Diagonal-right Perspective-left, Perspective-right Question 57
A CollectionViewSource provides multiple "views" of the same data.

1 / 1 point

True False Question 58 1 / 1 point
There is a ________ relationship between a primary key and its corresponding foreign key.

one-to-one foreign one-to-many structural Question 59 1 / 1 point
The CanExecute event for a command allows programmers to implement logic that determines whether a command should be enabled or disabled.

True False Question 61 1 / 1 point
The ScriptManager control ________.

is the key control in Ajax apps is placed before the controls it affects cannot be put on a page with another ScriptManager Both is the key control in Ajax apps and is placed before the controls it affects. All of these.
The ItemsSource property of a ListView must refer to the name of a DataTemplate element.

Question 62 True False

1 / 1 point

View Feedback Question 63
A Grid is a type of layout container.

1 / 1 point

True False
For a WCF web service to return data in JSON format, WebGet's ResponseFormat property must be set to ________.

Question 64 1 / 1 point

WebMessageFormat.Json MessageFormat.Json an SVC file All of these Question 65 DNS URL ASPX None of these. Question 66 1 / 1 point
Another way that a class could indicate to the CLR that objects of the class can be serialized is through implementing the ________ interface.

1 / 1 point

A ________ is an address indicating the location of a resource on the web.

Serializable ISerializable Serial Serialize Question 67
Multiple TabPanels are placed inside a TabContainer.

1 / 1 point

True False Question 68 1 / 1 point
Web forms are customized by programmers by adding Web ________ such as labels and buttons.

features controls servers None of these Question 69 True False Question 70 1 / 1 point
It's possible to nest LINQ queries to produce hierarchical results.

1 / 1 point

The classes dealing with files and directories are located in the System.IO namespace.

True False Question 71 1 / 1 point
The information tier typically stores data in a(n) ________.

DataGrid XML document relational database management system None of these Question 72 True False
A Canvas is a layout container that allows you to position controls by defining explicit coordinates from the Canvas's ________ corner.

1 / 1 point

An EntityDataSource control allows an ASP.NET app to interact with a database via LINQ to Entities.

Question 73 1 / 1 point

lower-left lower-right upper-left upper-right Question 74 validation control format control user control certification control Question 75
Dependency properties provide built-in change notification.

1 / 1 point

A ________ checks whether data entered into another web control is correct or in the proper format.

1 / 1 point

True False
An OpenFileDialog allows a user to select a file to open.

Question 76 1 / 1 point

True False Question 77 1 / 1 point
Microsoft's ________ technology is used for web-based app development.

ASP .NET APM .NET PHP .NET All of these Question 78
Relational databases can be thought of as ________.

1 / 1 point

rows columns tables of rows and columns three-dimensional arrays Question 79 1 / 1 point

The BindingNavigator allows the user ________.

to control which row of the table is currently in view

to add new and delete new rows to save changes to the data in view All of these Question 80
The template ________ defines a single-page app for which you must define your own GUI.

1 / 1 point

Split App Blank App Elementary App Basic App Question 81 True False View Feedback Question 82 JavaScript C# Visual Basic None of these. Question 83 1 / 1 point
A web service's methods can be called by methods on other machines using ________.

1 / 1 point

An instance of the web page is re-compiled each time the ASPX file is requested by a user.

1 / 1 point

When HTML for a page is created, a validator is converted into ________.

Representational State Transfer (REST) architecture Simple Object Access Protocol Both Representational State Transfer (REST) architecture and Simple Object Access Protocol None of these. Question 84
The code-behind file is a(n) ________ class.

1 / 1 point

partial full abstract virtual Question 85 1 / 1 point

A relational database model is a way of organizing data and considering relationships based on the physical structure of the data.

True False View Feedback Question 86
Method ________ of class BinaryFormatter reads a serialized object from a stream and recreates the object in memory.

1 / 1 point

Deserial Deserialize Deserializable DSerial Question 87 brightness opacity a blending constant None of these. Question 90 1 / 1 point
A MouseEventArgs object's GetPosition event always returns a position relative to the top left of the WPF window.

1 / 1 point

Colors are represented by three color values and the alpha value, specifying ________.

True False View Feedback Question 91 True False View Feedback Question 92 1 / 1 point
JSON is a text-based data-interchange format used to represent objects in JavaScript as collections of ________ represented as strings.

1 / 1 point

DBExtensions method Load loads an entire database's data into a DbContext.

data/format pairs primary key/data rows definition/key pairs

name/value pairs Question 93
Which of the following statements is false?

1 / 1 point

A class's property can be defined in XAML as a nested element with the name ClassName.PropertyName. You can specify the Height of a RowDefinition and the Width of a ColumnDefinition with an explicit size, a relative size (using *) or Auto. Auto makes the row or column only as big as it needs to be to fit its contents. If you click the ellipsis button next to the RowDefinitions or ColumnDefinitions property in the Propertieswindow, the Collection Editor window will appear. This tool can be used to add, remove, reorder, and edit the properties of rows and columns in a Grid. When defining a control in a Grid, the control is placed in row 1 and column 1 unless you specify otherwise. View Feedback Question 94
Which of the following statements is false?

1 / 1 point The template Grid App defines three-page app with predefined layouts and GUI controls. The provided pages allow the user to view a collection of groups of items displayed in a grid of rows and columns, view particular group's details and view a particular item's details. The template Split App defines a two-page app with predefined layouts and GUI controls. The first page allows the user to view a collection of groups of items displayed in a grid. The second page allows the user to view particular group and a selected item's details. There are two predefined themes for Windows Store apps: Black (the default) and White. Microsoft recommends using the Black theme for apps that present mostly images and video and the White theme for apps that display lots of text.

The IDE's Design view is used for drag-and-drop GUI design and the XAML view shows the generated XAML markup. Question 95 1 / 1 point
GridView method Refresh refreshes the information displayed in the GridView.

True False View Feedback Question 96 True False View Feedback Question 97 True False Question 98 1 / 1 point
Flow-based layouts allow the GUI to display correctly when the user resizes the window.

1 / 1 point

XAML is similar to .NET, a language that allows Internet apps to share data.

1 / 1 point

A primary key must be unique for each record in the relational database table.

True False Question 99 1 / 1 point
The UpdatePanel control ________.

is reloaded with a partial page update holds static (non-changing) controls must come before a ContentTemplate holds static (non-changing) controls and must come before a ContentTemplate All of these. Question 2 True False View Feedback Question 3 SerialException 1 / 1 point
What exception is thrown when an error occurs during serialization or deserialization?

1 / 1 point

Ajax apps have the advantage of using synchronous requests.

DeserialException SerializationException DeserializationException SerializationException and DeserializationException , respectively Question 1/1 6 point
The information tier typically stores data in a(n) ________.

DataGrid XML document relational database management system None of these Question 9
A query is a request to the database for the data that satisfies the specified criteria.

1 / 1 point

True False Question 10 1 / 1 point
The technique of defining what the GUI should contain without specifying how to generate it is an example of ________ programming.

procedural generic declarative object-oriented programming Question 12
A XAML document has exactly one ________.

1 / 1 point

root element start tag end tag child element Question 13 features controls servers 1 / 1 point
Web forms are customized by programmers by adding Web ________ such as labels and buttons.

None of these Question 14
The smallest data item in a computer is the ________.

1 / 1 point

bit byte kilobyte None of these. Question 16 True False Question 17 1 / 1 point
The BindingNavigator allows the user ________.

1 / 1 point

An EntityDataSource control allows an ASP.NET app to interact with a database via LINQ to Entities.

to control which row of the table is currently in view to add new and delete new rows to save changes to the data in view All of these Question 18 1 / 1 point
Relative positioning specifies that controls will be located exactly where they're dragged and dropped onto the form by the programmer.

True False View Feedback Question 19
Which of the following statements is false?

1 / 1 point To apply a style to a control, you create a resource binding between a control's Style property and a Styleresource by using a markup extension-an expression enclosed in curly braces ({}) of the form {ResourceType ResourceKey}. There are two types of resources. Static resources are applied at initialization time only. Dynamic resources are applied every time the resource is modified by the app. Because styles normally change during runtime, they are usually used as dynamic resources.

By default, the AppBar button styles are located in XML comments within the StandardStyles.xaml file. To use these styles you must first remove them from the comments. Question 20 1 / 1 point
In a ________ file, a record typically stored in order by a record-key field.

chronological non-sequential sequential record-key
When a FileStream object is opened, the file-position pointer is ________.

Question 21

1 / 1 point

set to Null set to 0 needs to be explicitly created set to the end of the file Question 22 System.Web.Creation System.ASP System.Web.GUI System.Web.UI Question 23 True False View Feedback Question 25 1 / 1 point
Static resources and dynamic resources differ because static resources are set at initialization time and dynamic resources can be modified by the app.

1 / 1 point

Namespace ________ contains classes for creating web apps and controls.

1 / 1 point

Resources are similar to private members. They're accessible only to the controls they're defined in.

True False Question 26 1 / 1 point
Binary code is actually:

a complex programming language.

a series of 0's and 1's. machine language instructions. a series of characters representing the numbers 0 to 9. Question 27 1 / 1 point
It's possible to nest LINQ queries to produce hierarchical results.

True False Question 28 1 / 1 point
JSON is a text-based data-interchange format used to represent objects in JavaScript as collections of ________ represented as strings.

data/format pairs primary key/data rows definition/key pairs name/value pairs Question 29 1 / 1 point

WPF provides the ability to create ________, actions or tasks that may be triggered by many different user interactions.

multi-events shared events commands shared events and commands Question 30 1 / 1 point

The first time a client connects to a server for a web app that uses sessions, the server creates a unique ________ that can later be compared to others in the server's memory in order to identify the client.

session ID HttpSessionState object cookie None of these. Question 31
A XAML document's root element is a ________.

1 / 1 point

Window Form Grid UserControl Question 32 1 / 1 point

The UpdatePanel control ________.

is reloaded with a partial page update holds static (non-changing) controls must come before a ContentTemplate holds static (non-changing) controls and must come before a ContentTemplate All of these. Question 33
Each resource should be released as soon as it's no longer needed.

1 / 1 point

True False Question 34 1 / 1 point
The StartupUri attribute defines which XAML document loads first.

True False Question 35 1 / 1 point
Computer circuitry is able to:

get the value of a bit. examine the value of a bit. reverse the value of a bit. All of these. Question 36 expandable events sourced events bubble events routed events Question 37
For ASP .NET apps, IIS is usually the web server.

1 / 1 point

Events which can travel up or down the container hierarchy are called ________.

1 / 1 point

True False Question 38 1 / 1 point
Tables from databases are commonly shown in a GUI through a ________.

DataBoxView

DataGridView ListBoxView SpreadSheet
A MouseLeftButtonDown event passes information using a MouseButtonEventArgs object.

Question 41

1 / 1 point

True False
What kind of exception is thrown if there's a problem opening or creating a StreamWriter?

Question 42 1 / 1 point

Exception StreamException OpenAndCreatingException IOException
WPF GUIs can be created by dragging predefined controls from the Toolbox onto the design surface.

Question 43

1 / 1 point

True False Question 44 1 / 1 point
The information tier of a multi-tier app holds the app's data.

True False
Which of the following methods of FileStream will reset the file-position pointer back to the beginning of the file?

Question 45 1 / 1 point

Reset Origin Seek Beginning Question 46 True False
A control's Background property is a customizable ________ object.

1 / 1 point

If a command is disabled, all methods of executing that command are disabled.

Question 47 1 / 1 point

Color BackColor GUIcolor None of these Question 48
Each ________ in a GridView is represented as a BoundField.

1 / 1 point

row column table database Question 49 1 / 1 point
An instance of the web page is re-compiled each time the ASPX file is requested by a user.

True False View Feedback Question 51 validation control format control user control certification control Question 54 expandable events tunneling events bubbling events direct events Question 55 True False Question 56 1 / 1 point
It's possible to select only a subset of a relational database table's columns.

1 / 1 point

A ________ checks whether data entered into another web control is correct or in the proper format.

1 / 1 point

WPF events which behave like Windows Forms events are called ________.

1 / 1 point

Every XAML document must define the presentation XAML namespace and the standard XAML namespace.

True False Question 57 1 / 1 point
Which of the following statements is false?

A data binding is a pointer to data that's represented by a DataSource object. You can create bindings to a broad range of data types, including objects, collections, data in XML documents, data in databases and LINQ query results. Data bindings can be created declaratively in XAML markup with markup extensions. To declare a data binding, you must specify the data's source. If it's another element in the XAML markup, you use property ElementName; otherwise, you use Source. Many controls have built-in support for data binding, and do not require a separate Binding object. A ListView, for example, has an ItemsSource property that specifies the data source of the ListView's items-when you setItemsSource to a collection of data, the objects in the collection automatically become the items in theListView. Question 58 1 / 1 point
Data stored in a file is considered:

temporary data. persistent data. recurring data. There is no need to store data in files. Question 59
GridView method Refresh refreshes the information displayed in the GridView.

1 / 1 point

True False View Feedback Question 61
Use the ________ method to programmatically close an app.

1 / 1 point

Application.Shutdown Application.Exit

Application.Current.Exit Application.Current.Shutdown
BinaryFormatter allows only for reading objects.

Question 63

1 / 1 point

True False View Feedback Question 64 True False Question 65 1 / 1 point
A ________ ASP.NET data control displays data on a Web Form in a tabular format.

1 / 1 point

If the array contains references to other objects, those objects may or may not be serializable.

TabView GridView TabFormat GridFormat Question 67 HTML document database file C# code-behind file None of these.
The Console.Error property returns:

1 / 1 point

A simple Web Form consists of two related files, an ASPX file and a(n) ________.

Question 68

1 / 1 point

a standard error stream object. a new error. an object of type error. None of these. Question 69 True False 1 / 1 point

XAML is similar to .NET, a language that allows Internet apps to share data.

View Feedback Question 70
Each foreign key can be created independently.

1 / 1 point True

False View Feedback Question 71 1 / 1 point Representational State Transfer (REST) architecture Simple Object Access Protocol Both Representational State Transfer (REST) architecture and Simple Object Access Protocol None of these.
Class Directory is used to change directories. A web service's methods can be called by methods on other machines using ________.

Question 72 True False

1 / 1 point

Question 73 1 / 1 point
Class File can only create new files.

True False View Feedback Question 74 appearance sequencing threading priority Question 75
An example of when a file should not be used is:

1 / 1 point

A XAML document defines the ________ of a Windows 8 UI app.

1 / 1 point

to save the status of a video game for another session. to save the value of a variable at runtime. to log errors in the execution of a program.

These are all good examples of when files should be used. Question 76
To create a new file and return a stream that can be used to process the file, use the:

1 / 1 point

CreateFile method of class File. NewFile method of class File. Create method of class File. New method of class File. Question 77
Which of the following statements is true?

1 / 1 point

One advantage of Windows 8 UI over Windows Forms is that you can customize the look and feel of controls to meet your app's needs. Many controls that allowed only text content in Windows Forms are ContentControls in Windows 8 UI. ContentControls can host any type of content-including other controls. All of these Question 78
Which of the following is false?

1 / 1 point The two most common HTTP request types (also known as request methods) are get and post. Both get and post requests send form data to the server as part of the URL. An HTTP request often sends data to a server-side form handler that processes the data.

A ? separates the query string from the rest of the URL in a get request. Question 79 1 / 1 point
Which of the following statements is false?

An app that's running is on the screen so that the user can interact with it. An app that's suspended is on the screen, so Windows 8 suspends its execution to conserve power and reduce the load on the CPU. An app that's terminated was shut down by Windows 8typically to recover resources like memory that are

needed by other apps. An app that's closed by the user was shut down explicitly by the user by swiping from the top of the screen to the bottom. Question 81 1 / 1 point
A key benefit of WPF is that it provides a single platform to handle GUI, images, animation 2D and 3D graphics, audio and video.

True False Question 82 1 / 1 point
The Windows 8 simulator ________ option (the default) runs the app directly on the Windows 8 computer that's running Visual Studio.

Local Machine Remote Machine Simulator Multicore Machine Question 83
XAML is used to describe the ________ of a WPF app.

1 / 1 point

classes program logic code-behind file GUI Question 84 1 / 1 point
WPF graphics are resolution-independent, meaning that they're designed to look similar on screens of different sizes.

True False Question 85 1 / 1 point
The ItemsSource property of a ListView must refer to the name of a DataTemplate element.

True False View Feedback Question 86 1 / 1 point
The ________ attribute maps a method to a unique URL that can be accessed via an HTTP GET operation programmatically or in a web browser.

OperationContract

WebGet OperationBinding UriTemplate Question 87
A content control can have text or several child elements.

1 / 1 point

True False View Feedback Question 88 True False
BinaryFormatters can be used to serialize and deserialize objects coming in and going out via a stream.

1 / 1 point

Method GetFiles of class Directory can be used to display all the files in a given directory.

Question 89 1 / 1 point

True False Question 91 1 / 1 point
XAML is used to define the app's ________.

program logic graphical user interface code behind classes All of these. Question 92 1 / 1 point
A routed command declared in the XAML changes a control's appearance when that control enters a certain state.

True False View Feedback Question 93
Layout of controls refers to the controls' ________.

1 / 1 point

size event handlers position size and event handlers

Deserialize returns a reference of type:

size and position Question 95

1 / 1 point

object which must be cast to the appropriate type to manipulate the object. the type that the object was originally. Deserialized which must be cast to the appropriate type to manipulate the object. None of these. Question 96 1 / 1 point
Another way that a class could indicate to the CLR that objects of the class can be serialized is through implementing the ________ interface.

Serializable ISerializable Serial Serialize Question 97 1 / 1 point
A master/detail view app typically allows the user to select an entry to see (and potentially manipulate the details associated with that entry.

True False Question 98 1 / 1 point
Controls and other elements are placed on a Web From sequentially.

True False
A WPF Grid control allows child elements to be positioned using explicit coordinates.

Question 99 1 / 1 point

True False

Similar Documents

Premium Essay

Answer

...Answering Exam Questions Many of the semester exams allow you to choose 2 or 3 questions to answer from a list. The first thing to do once you have made your choice of questions to answer is to see how much time this gives you per question – and stick to it. If you overrun badly on the first answer it means that you have less time to answer other questions well. It is also probable that you are not writing a clear answer either! Leave space to come back to it at the end if you have time and go on to the next question. For each question….. 1. Re state the question in your own words at the top. This shows the examiner your basic understanding and how you are thinking. It also helps you to frame your answer and focus your mind. 2. Write your answer plan. Choose the key words in the question and from these plan your answer. E.g. does it ask for examples, does it ask you to critically evaluate rather than discuss? What are the areas that you need to concentrate on? Use these key words and themes to form the basis of the answer plan. 3. Use your plan to write out the answer in full. Use theory and frameworks and cite references where appropriate. From an examiner’s viewpoint it is always good to see frameworks applied in context as it shows understanding. 4. Stick to the time you have allowed...

Words: 252 - Pages: 2

Premium Essay

Regulation Answer

...Quiz Results - The Regulations - SBE You correctly answered 5 of 5 and received 5 of 5 possible points. Scroll down to review the quiz questions and the explanation of the answers. Question 1 Question : According to the federal regulations, research is eligible for exemption, if Your answer : The research falls into one of six categories of research activity described in the regulations. Correct Answer : The research falls into one of six categories of research activity described in the regulations. Comment : Research is only eligible for exemption if all the activity associated with the research fall into one of six categories of activities described in the federal regulations. The regulations do allow some research with children to be exempt (although institutional policy may not). The duration of the study and the experience of the investigator are not criteria for determining eligibility for exemption. Points Earned : 1 Question 2 Question : In addition to pregnant women, fetuses, and neonates, another subpart of the DHHS regulations provides additional protections for which of the following vulnerable populations? Your answer : Prisoners. Correct Answer : Prisoners. Comment : Prisoners are provided additional protections in the DHHS regulations. The DHHS regulations do not have specific additional protections for the elderly, for students, or for persons whose decision-making capabilities are impaired. Investigators may consider and the...

Words: 283 - Pages: 2

Premium Essay

Short Answer Questions

...Beau Smith, Zach Chrzan, Robbie Wacker, Terence Heiser 9/16/12 Business Comm. Short Answer Questions 45. An accounting career would be an interesting career to pursue. Listening can be a vital part of the job. One example would be having a more people oriented style of listening and being able to understand what they say more effectively to be able to help them with their problem. Along with being people oriented, being versatile in our listening style can make us better accountants. An action oriented style can help us accomplish that. Asking questions as an accountant is important. By asking questions we can obtain more information to help accomplish a goal for customers. When being people-oriented, the best way to improve your communication is to not worry so much about the factual information at that point. There will be time to make up all of the information that may be lost at another time. When asking questions, don’t just ask questions to make the person feel involved, rather really listen to the content of what they are saying. Really listen to the answer which they give, and take it for what it is worth. When being task-oriented, the best way to improve listening skills in this area is to remove the emotion from the situation, and focus solely on the information at hand. 46. The three barriers which affect our listening the most are preoccupation, fear of appearing ignorant and physical distractions. A lot of times in our busy lives, we can become...

Words: 621 - Pages: 3

Premium Essay

Sample Answer for Novel Question

...MARKING SCHEME: CONTENT : 10 MARKS LANGUAGE : 5 MARKS TOTAL : 15 MARKS SAMPLE QUESTION & GUIDELINE ON HOW TO ANSWER NOVEL QUESTION. QUESTION :CHOOSE A CHARACTER THAT YOUADMIRE FROM THE NOVEL THAT YOU HAVE STUDIED. WITH CLOSE REFERENCE TO THE TEXT ,GIVE REASONS FOR YOUR CHOICE AND HOW THE CHARACTER HELPS YOU IN YOUR LIFE. STEP 1: Start you answer by writing the title of the novel and the person who wrote it. At the same time the character you admire the most. STEP 2: Give reasons for your choice in a new paragraph and start your sentence with something like; First of all or just as easy as firstly. In giving your reason you must give the incident that is related to the situation in order to proof your point. STEP 3: Give a few more reasons/proof from the novel to support your answer. STEP 4: Remember to answer the second part of the question after giving your reasons/proof. You can do this in each of the paragraphs or write it as conclusion at the end of your answer. STEP 5: To end your writing, give a conclusion by combining the reasons or answering the second part of the question SAMPLE ANSWER BY FOLLOWING THE ABOVE GUIDELINE (THE CURSE) Based on the novel “The Curse” by Lee Su Ann the character that I like and admire is Azreen because of a few reasons. The first reason is because Azreen is such a strong character that has great courage as she is open, positive and always fights for what she believes in. Firstly, she ignores...

Words: 507 - Pages: 3

Premium Essay

Citi Irb Regulations Answers

...Quiz Results - The Regulations - SBE You correctly answered 5 of 5 and received 5 of 5 possible points. Scroll down to review the quiz questions and the explanation of the answers. Question 1 Question : According to the federal regulations, research is eligible for exemption, if Your answer : The research falls into one of six categories of research activity described in the regulations. Correct Answer : The research falls into one of six categories of research activity described in the regulations. Comment : Research is only eligible for exemption if all the activity associated with the research fall into one of six categories of activities described in the federal regulations. The regulations do allow some research with children to be exempt (although institutional policy may not). The duration of the study and the experience of the investigator are not criteria for determining eligibility for exemption. Points Earned : 1 Question 2 Question : In addition to pregnant women, fetuses, and neonates, another subpart of the DHHS regulations provides additional protections for which of the following vulnerable populations? Your answer : Prisoners. Correct Answer : Prisoners. Comment : Prisoners are provided additional protections in the DHHS regulations. The DHHS regulations do not have specific additional protections for the elderly, for students, or for persons whose decision-making capabilities are impaired. Investigators may consider and the IRB may require...

Words: 553 - Pages: 3

Free Essay

Movie Questions and Answers for Hsb4U

...Movie Questions for HSB4U 1. What is the major question an anthropologist would ask? Answer it. 2. What is the major question a psychologist would ask? Answer it. 3. What is the major question a sociologist would ask? Answer it. 4. How accurate is this movie in depicting a generalization of society? 5. Is diversity a direct correlation to racism? 1. Do you think that racism still exists in today’s current culture and society? Yes, it definitely does. While we have become more a multicultural society, that does not mean that we have accepted all the other cultures and races; he have learned to tolerate them. This can be seen when Sandra Bullock’s character is having dinner with her higher class friends and she mentions a bad part of tone that is known for its black community. One of her friends reply in an almost disgusted tone that she does, but that she has no need to ever go that way. That just goes to show you that she judges the type of people that live in that area, and tries to stay clear of it. 2. Why do you think Sandra Bullock’s character invited the young black boy to live with her? Her character gives off the vibe that she is confident, supportive, caring, family-orientated, and driven. I would assume that she grew up in a home that was warm and welcoming, and supportive of her decisions. She went to University, and currently lived a happy life with her family. Her younger years clearly shaped her into the person (or character) that she was. For her to...

Words: 678 - Pages: 3

Free Essay

Lesson 2 Review Question Answers

...Review Questions - ANSWERS Name ____________________________ Answer the following questions: 1) What is a resource? People, equipment & materials necessary to complete a task 2) Why aren't resources assigned to summary tasks? Summary tasks are simply a grouping for a set of related tasks. The indiv tasks require resources but the summary task is just a compilation of those resources. 3) What is the difference between Start, Prorated and End in association with costs? Start – cost applied at the beginning of the task Prorated – cost applied as work is completed End – cost applied when the task is completed 4) Give a real-world example of the difference between a fixed cost and a cost per use? Give a real-world example of the difference between a fixed cost and a cost per use? Fixed Cost: (buy equipment) company bids $500 to clean carpet, cost of airline ticket… Cost Per Use: (rent equipment) Hourly rate on moving van, rental of shampoo machine, landing fee each time plane lands… 5) Why is a fixed cost entered with the task and not the resource? Because the cost is the same no matter how many people, hours, materials used. Not dependent upon the amount of time or number of resources it takes to complete. 6) Why is the resource cost for the Wiring Contractor $0.00? Because the installation of the wiring is a fixed contractual price of $4000 – it will not matter how many hours the contractor takes – still the...

Words: 283 - Pages: 2

Free Essay

Identifying Tctotmtks Variables Using Science Process Skill and Circling Method to Answer Section B Questions for Science Year 5

...IDENTIFYING TCTOTMTKS VARIABLES USING SCIENCE PROCESS SKILL AND CIRCLING METHOD TO ANSWER SECTION B QUESTIONS FOR SCIENCE YEAR 5 Murugan s/o Subramaniam M.Env., B.Sc., Dip. Edu. SK Kota Masai 2, Pasir Gudang 21 August 2008. Acknowledgement I would like to thank the headmistress of SK Kota Masai 2, Puan Rosyati Binti Jani for giving me the permission and encouragement to conduct this study. I also would like to appreciate Mr. Rodzuan B. Raziki and Mr. Calen Woi for their moral support. A special thank to the pupils of 5A3 and 5A4 for their involvement in this study. Without their cooperation and the grace of god, this research won’t be successful. 1 Abstract This research was carried out to assist the pupils in answering section B Science Year 5 questions using TCTOTMTKS method. The objective of study was to identify TCTCTMTKS variables using science process skill and circle method. 98 respondents were involved in this study. Respondents are from 5A3 and 5A4 pupils were selected from 7 classes. Early observations had been carried out through exercises in classrooms. Through the observations, it was seen that the students were having difficulty in identifying variables from the experiment and unable to answer the following questions. Thus, this research focuses on how to identify to change, to observe, to measure and to keep the same variables by using science process skill and circling method. Pre-test and post-test were used to assess respondent achievement...

Words: 3619 - Pages: 15

Free Essay

Sample Paper

...contents of the UNIV 103 course information as you prepare for this unique learning experience. Please answer the questions below based on the UNIV 103 course information. 1. What is the name of your online textbook and where can it be found within the classroom? Answer: 2. How many Live Chats will your instructor be holding each week? Answer: 3. Are the Live Chats recorded for your review anytime during the week? Answer: 4. Is there a Small Group assignment in this course? Answer: 5. How many Discussion Board posts in total, will need to be made each week? (including your Main Post) Answer: 6. Should you submit your Discussion Board Main Post to the Discussion Thread area, or submit it to the “Submit Assignments” area? Answer: 7. Where do you submit your Individual Project each week? Answer: 8. Who are the authors of your online textbook? Answer: 9. Submitting another person's work as one's own is called what? Answer: 10. In addition to calling your instructor’s office phone #, or e-mailing your instructor, what is another way you can communicate with your instructor during the week? Answer: 11. What are your instructor’s Office Hours? Answer: 12. Where are all of your weekly assignment directions located? Answer: 13. How much is your Unit 2 Individual Project worth? Answer: 14. How many Discussion Board posts (either a Reply to Message post to a classmate, or your Reply...

Words: 401 - Pages: 2

Premium Essay

Kkkk

...Examiners’ Report June 2013 GCE Geography 6GE03 01 Edexcel and BTEC Qualifications Edexcel and BTEC qualifications come from Pearson, the UK’s largest awarding body. We provide a wide range of qualifications including academic, vocational, occupational and specific programmes for employers. For further information visit our qualifications websites at www.edexcel.com or www.btec.co.uk. Alternatively, you can get in touch with us using the details on our contact us page at www.edexcel.com/contactus. Giving you insight to inform next steps ResultsPlus is Pearson’s free online service giving instant and detailed analysis of your students’ exam results. • See students’ scores for every exam question. • Understand how your students’ performance compares with class and national averages. • Identify potential topics, skills and types of question where students may need to develop their learning further. For more information on ResultsPlus, or to log in, visit www.edexcel.com/resultsplus. Your exams officer will be able to set up your ResultsPlus account in minutes via Edexcel Online. Pearson: helping people progress, everywhere Pearson aspires to be the world’s leading learning company. Our aim is to help everyone progress in their lives through education. We believe in every kind of learning, for all kinds of people, wherever they are in the world. We’ve been involved in education for over 150 years, and by working across 70 countries, in 100 languages, we have built an international...

Words: 6917 - Pages: 28

Free Essay

Statistics Report

...were gained from all the participants before the participation. All participants were naive as to the nature of the questionnaires. PROCEDURE After done and printing out the questionnaires, we the researchers started to distribute the questionnaires randomly using a random sampling method which is a coin toss method at University Tunku Abdul Rahman Perak Campus. We explained the objective of this research to the participants and obtained informed consent from participants after the participants agreed to participate in this research. Participants were given 10-15 minutes to complete the questionnaires. Researchers collected back the questionnaires right after participants completed it. Participants are not allowed to change any of the answers after the submission of questionnaire. The process of this data collection took 2 days. It started from 17th January 2014 to 18th January 2014. HOW TO GET SAMPLE The population of this research is UTAR, Perak Campus students. While our sample is 50 undergraduate students from Faculty of Arts and Social (FAS). These 50 students were divided into 2 groups according to gender which is male and female. Therefore, our sample was 25 male students and 25 female students from FAS. We got this sampling method through random sampling method. Random sampling means every member of the population have an equal chance of being selected. Our sample is said to be an unbiased sample because the sample is chosen at random from the population. We used...

Words: 1386 - Pages: 6

Premium Essay

None

...Netherlands Cheap and fast BV foundingwww.bvfounding.com Birnbaum Bard ConferenceInternational Academic Conference on Birnbaum's Summa Metaphysicawww.Conference1000.com New Toyota HybridsFind Out About Our Best-In-Class Hybrid Technology.facebook.com/ToyotaHybridSolution Ads Answered Questions - is one of these your question? What is the summary of Sunshine by Norma Klein What is the summary of the other woman by virgilio samonte Who is norma What is the summary of the three century woman What is summary of too soon a woman What is a summary of the wise old woman An old woman Poem Summary What is a summary of the story the woman in the snow Summary of poetry an old woman Summary of The Wise Old Woman Answer this question Answer Anonymously or Login Answer History Note that although your question will be anonymous we do save your computer's Internet IP address (112.209.39.169) in the page history so that contributors can track spammers and vandals. Contributors Supervisors « Myrab51 Trust: 5927...

Words: 389 - Pages: 2

Free Essay

Yoyo

...exam if you do not have your Student ID Card in the exam hall. Course Date Time Duration Type of Exam Comments OMR PartYou should write with pencil to answer OMR part of exam Answers to the multiple choice questions to be marked in the separate bubble sheet provided, which would be scored by an OMR scanner • PFMG 31/10/14 0900 hrs-1100 hrs 2 hrs • • • • Closed book, Closed notes Laptops not allowed Calculators are allowed One A4 size page One sided, handwritten or printed cheat sheet is allowed • • • Descriptive PartYou should write with pen to answer descriptive part of exam Answers to be written in the question booklet provided Rough sheets will not be provided PMGT 31/10/14 1400 - 1600 hrs 2 hrs • • • • Closed book, Closed notes Laptops not allowed Calculators are allowed Cheat Sheet not allowed (formula sheet will be provided along with the exam) • • • You should write with pen only Answers to be written in the question booklet provided Space for rough work will be provided in the question booklet. (Additional rough sheets are provided on request). CCMA 01/11/14 0900 hrs-1200 hrs 3 hrs • • • • Closed book, Closed notes Laptops not allowed Calculators (Non –Programmable) are allowed One A4 size page two sided, handwritten or printed cheat sheet is allowed • • • You should write with pen only Answers to be written in the question booklet provided Rough sheets will not be provided (expected to show all workings in question booklet) • • • • OPFR 02/11/14...

Words: 435 - Pages: 2

Free Essay

Carl Taylor Lecture

...USMLE Step 2 CK Test Question Formats …………………………………...………. 3 Introduction to USMLE Step 2 CK Sample Test Questions ………………………….. 5 Normal Laboratory Values ………………………………...………..…….….……….. 6 USMLE Step 2 CK Sample Test Questions………………………………………….... 8 Answer Sheet for USMLE Step 2 CK Sample Test Questions……………………….. 52 Answer Key for USMLE Step 2 CK Sample Test Questions……………………….… 53 2 USMLE Step 2 CK Test Question Formats Single-Item Questions This is the traditional, most frequently used multiple-choice format. It consists of a vignette and question followed by three to twenty-six options that are in alphabetical or logical order. The response options in this format are lettered (eg, A, B, C, D, E). You are required to select the one best answer to the question. Other options may be partially correct, but there is only ONE BEST answer. Items with an associated abstract or pharmaceutical ad were introduced into the examination in August 2011. Each abstract or pharmaceutical ad appears as a 2- or 3-item set; there are no more than 5 of these item sets in each examination. Because item sets with an associated abstract or pharmaceutical ad may require more time to answer than traditional multiple-choice items, blocks that include these item sets contain fewer items....

Words: 24245 - Pages: 97

Premium Essay

Study Guide

...environment, the Windows clipboard is disabled, so you will not be able to copy exam questions or answers to or from other applications. 2. You should click the Save Answers button in the exam frequently! This helps prevent connection timeouts that might occur with certain Internet service providers, and also minimizes lost answers in the event of connection problems. If your Internet connection does break, when you reconnect, you will normally be able to get back into your Final Exam without any trouble. Remember, though, that the exam timer continues to run while students are disconnected, so students should try to re-login as quickly as possible. The Help Desk cannot grant any student additional time on the exam. 3. See Syllabus "Due Dates for Assignments & Exams" for due date information. 4. Reminders * You will only be able to enter your online Final Exam one time. * Click the Save Answers button often. * If you lose your Internet connection during your Final Exam, logon again and try to access your Final Exam. If you are unable to enter the Final Exam, first contact the Help Desk and then your instructor. * You will always be able to see the time remaining in the Final Exam at the top right of the page. 5. Assessments with Multiple Pages * Make sure you click the Save Answers button before advancing to the next page (we also suggest clicking on Save Answers while you are working). * Complete all of the pages before submitting your Final Exam...

Words: 1634 - Pages: 7