Multiple Choice Identify the
choice that best completes the statement or answers the question.
|
|
|
1.
|
To customize a VSTO template by adding interactive objects, the ____ view of
Visual Studio is used.
a. | Debug | c. | Build | b. | Interactive | d. | Design |
|
|
|
|
|
|
2.
|
As shown in the accompanying figure, the ____ property of a DateTimePicker
object determines the default date that appears in the object.
a. | Value | c. | Selected | b. | Date | d. | Time |
|
|
|
3.
|
When working with tables in a VSTO application, the ____ key is used to advance
from one cell to the next.
|
|
|
4.
|
The ____ object acts as a container for Visual Basic objects in a Document
Actions task pane.
a. | Pane | c. | Actions | b. | ActionsPane | d. | PaneControl |
|
|
|
5.
|
The VSTO ____ event executes as the Word document is loaded and
displayed.
a. | ThisDocument_Startup | c. | ThisDocument_Shutdown | b. | Document_Shutdown | d. | Document_Startup |
|
|
|
6.
|
The VSTO ____ event executes as the Word document is closed.
a. | ThisDocument_Startup | c. | ThisDocument_Shutdown | b. | Document_Shutdown | d. | Document_Startup |
|
|
|
7.
|
The ____ object allows users either to select an existing value or enter a new
value.
a. | ComboBox | c. | DropDownComboBox | b. | DropDownBox | d. | ListBox |
|
|
|
8.
|
The ____ property of a ComboBox returns an integer value corresponding to the
position of the selected item in the list.
a. | Index | c. | SelectedIndex | b. | CurrentIndex | d. | SelectedInteger |
|
|
|
9.
|
The ____ property of a ComboBox object returns the text value of the selected
value.
a. | SelectedValue | c. | SelectedItem | b. | Value | d. | SelectedIndex |
|
|
|
10.
|
The ____ function calculates the payments for a loan based on constant payments
and a constant interest rate.
a. | Pmt | c. | LoanPmt | b. | Loan | d. | Interest |
|
|
|
11.
|
The Math class provides the ____ method to compute the absolute value of a
number.
a. | Abs(x) | c. | Absolute(x) | b. | AbsVal(x) | d. | AbsoluteValue(x) |
|
|
|
12.
|
The Math class provides the____ method that returns the integer to the right of
the number on the number line.
a. | Ceil(x) | c. | Int(x) | b. | Ceiling(x) | d. | Integer(x) |
|
|
|
13.
|
The ____ method in the Math class returns the x number raised to the power of
the y number.
a. | Power(x,y) | c. | Exp(x,y) | b. | Pow(x,y) | d. | Exponent(x,y) |
|
|
|
14.
|
The ____ method of the Math class returns the square root of the number.
a. | SquareRt(x) | c. | SquareRoot(x) | b. | SqRoot(x) | d. | Sqrt(x) |
|
|
|
15.
|
The ____ constant returns the value for PI (the constant ratio between a circle
and its diameter).
a. | Math.PI | c. | Math.PIval | b. | Math.valPI | d. | PIval |
|
True/False Indicate whether the
statement is true or false.
|
|
|
16.
|
Visual Basic can be used to write applications that work inside existing
applications such as Microsoft Word or Microsoft Excel.
|
|
|
17.
|
A template defines the basic structure of a document, including its font
settings and styles.
|
|
|
18.
|
Visual Studio Tools for Office helps you build a Word document or Excel
spreadsheet containing VB code.
|
|
|
19.
|
Visual Studio Tools for Office is an add-on that can be downloaded with Visual
Studio Professional.
|
|
|
20.
|
When using the VSTO (Visual Studio Tools for Office) add-on to create a custom
document, Word or Excel opens in the Visual Basic IDE to allow you to design the style of the
document.
|
|
|
21.
|
VSTO can place objects on a new or existing Word document.
|
|
|
22.
|
The Office toolbars for the selected Office application appear within the Visual
Studio window and function the same as they do in Microsoft Office.
|
|
|
23.
|
When in VSTO, toolbars for the selected Office application appear on the menu
bar.
|
|
|
24.
|
VSTO uses exactly the same Toolbox as Visual Basic.
|
|
|
25.
|
To add a control to a VSTO document, you must type in the control’s
keyword shown in the VSTO Toolbox.
|
|
|
26.
|
The GroupBox object can be used in VSTO to contain RadioButton objects.
|
|
|
27.
|
A DatePicker object allows a user to select dates from a calendar of
dates..
|
|
|
28.
|
A table is unique to VSTO and is not found in Microsoft Office.
|
|
|
29.
|
Visual Basic Toolbox objects cannot be placed in a table on a VSTO
document.
|
|
|
30.
|
The number of rows and columns are defined when you create a table,and cannot be
altered later.
|
|
|
31.
|
Tables must be manually formatted in.a VSTO document.
|
|
|
32.
|
The Actions Pane Control is a customizable task pane that can be used in an
Office application window.
|
|
|
33.
|
A VSTO document can be tested by running its Debug mode from within Visual
Studio.
|
|
|
34.
|
If you resize the Actions Pane Control in Design mode, the changes will be
reflected when the application is executed.
|
|
|
35.
|
An Actions Pane Control must be displayed at runtime by a programmatic request
to open it.
|
|
|
36.
|
The SelectedItem property of a ComboBox returns a null string if the user
entered a value into the text box portion of the ComboBox.
|
|
|
37.
|
The Pmt function is a standard function included as part of Visual
Studio.
|
|
|
38.
|
The SelectedIndex property of a ComboBox returns the value of the list item that
was selected by the user.
|
|
|
39.
|
The Math class in Visual Studio provides standard procedures for mathematical
calculations.
|
|
|
40.
|
The Math class contains only functions.
|
Completion Complete each
statement.
|
|
|
41.
|
A(n) ____________________ is a special type of document that determines the
basic structure for a document.
|
|
|
42.
|
The VSTO Toolbox contains many of the same objects that are found in Visual
Basic in a category called ____________________ Controls.
|
|
|
43.
|
The ____________________ object allows the user to select a date from a calendar
of dates and times.
|
|
|
44.
|
A(n) ____________________ consists of rows and columns that form cells, and is
used to organize information in a document.
|
|
|
|
|
|
45.
|
As shown in the accompanying figure, an image can be displayed in a cell of a
table by using a(n) ____________________ object.
|
|
|
46.
|
The ____________________ key is used to advance one cell in a table.
|
|
|
47.
|
Cells in a table can be divided into multiple cells by using the
____________________ command on the Table menu.
|
|
|
48.
|
A table can be formatted by using the ____________________ table feature in
Word.
|
|
|
49.
|
The ____________________ object creates a customizable task pane that appears in
the Office application window.
|
|
|
50.
|
The VSTO ____________________ event is executed when the document is
opened.
|
|
|
51.
|
The VSTO ____________________ event is executed when the document is
closed.
|
|
|
52.
|
The ____________________ property of a ComboBox object returns the value of the
item that was selected by the user.
|
|
|
53.
|
A(n) ____________________ object is used to allow users to select from a
pre-existing list or enter a different value.
|
|
|
54.
|
The ComboBox object has a property named ____________________ that returns an
integer value corresponding to the selected list item.
|
|
|
55.
|
The built-in ____________________ function calculates the payments for a loan
based on constant payments and a constant interest rate.
|
|
|
56.
|
The ____________________ class provides standard math procedures required for
mathematical calculations.
|
|
|
57.
|
The ____________________ method of the Math class returns the smaller of two
numbers.
|
|
|
58.
|
The Math class provides a method named ____________________ that returns the
absolute value of a number.
|
|
|
59.
|
The Math class method named ____________________ will raise a number to a
power.
|
|
|
60.
|
The Math class provides a constant named ____________________, which is the
natural exponent.
|