CSC 340 Test 2-2

Is this your test? Login to manage it. If not, you can develop a quiz just like it.

This is a non-interactive preview of the quiz content.

1.
1 point
The access key allows the user to open the menu by pressing the ____ key in combination with the access key.
2.
1 point
A(n) ____ is a single item of information about a person, place, or thing.
3.
1 point
In Windows applications that have an Edit menu, ____ is used to select the Cut command when the Edit menu is closed.
4.
1 point
When an expression contains more than one method, the computer processes the methods from right to left.
5.
1 point
The Contains method always begins the search with ____.
6.
1 point
In a Structure statement, each member variable’s definition contains the keyword ____ followed by the variable’s name.
7.
1 point
The Structure statement ends with the ____ keyword(s).
8.
1 point
Commonly used menu items should be assigned ____.
9.
1 point
____ is the syntax to access characters in a string.
10.
1 point
You can create your own data types in Visual Basic using the ____ statement.
11.
1 point
To represent a single digit in a pattern, you use the ____ character.
12.
1 point
Sending data to a file is referred to as ____ the file.
13.
1 point
The ____ argument in the syntax of the PadRight method is an integer that represents the total number of characters you want the string’s copy to contain.
14.
1 point
A form’s ____ event occurs when a form is about to be closed.
15.
1 point
The only time that a form’s FormClosing event occurs is when the user clicks the Close button on the form’s title bar.
16.
1 point
Visual Basic provides the ____ method for accessing any number of characters in a string.
17.
1 point
You refer to a member variable in an array element using the syntax ____.
18.
1 point
You can use a structure to declare a variable.
19.
1 point
A form’s FormClosing event can occur when the computer processes the ____ statement in the form’s code.
20.
1 point
A menu item’s ____ key can be used only when the menu is open.
21.
1 point
To specify a different starting location in the IndexOf method, you use the optional ____ argument.
22.
1 point
The “____” filename extension typically is used when naming sequential access files.
23.
1 point
The ____ method can be used to avoid the run time error that occurs when the computer cannot locate an input file.
24.
1 point
In Visual Basic, you use a ____ object to read data from a sequential access file.
25.
1 point
The Substring method accesses one or more characters contained in a string.
26.
1 point
The PadLeft and PadRight methods pad a string with a character until the string is a specified length.
27.
1 point
When processing the PadLeft and PadRight methods, the computer first makes a temporary copy of the string in memory; it then pads the copy only.
28.
1 point
You can prevent the computer from closing a form by setting the Cancel property of the FormClosing procedure’s ____ parameter to True.
29.
1 point
The ____ character represents zero or more characters.
30.
1 point
A ____ is used to separate the row subscript from the column subscript in a two-dimensional array.
31.
1 point
If you need to determine whether a string contains a specific sequence of characters, you can use the ____ method.
32.
1 point
You can write data to a sequential access file using the ____ method.
33.
1 point
The most commonly used properties for a menu element are the ____ properties.
34.
1 point
____ is the syntax for removing the characters from a string.
35.
1 point
A sequential access file is often referred to as a ____ file.
36.
1 point
The members included in a structure can be variables, constants, or procedures.
37.
1 point
A(n) ____ is a group of related fields that contain all of the necessary data about a specific person, place, or thing.
38.
1 point
The ____ character in a pattern represents one character only.
39.
1 point
A class-level structure variable is declared using the keyword ____.
40.
1 point
Programmers use ____ to group related items into one unit.
41.
1 point
In most cases, an application will not need to read each line of text contained in a sequential access file.
42.
1 point
Which of the following statements removes the first item from the booksList box?
43.
1 point
In Windows applications that have an Edit menu, ____ is used to select the Paste command when the Edit menu is closed.
44.
1 point
When processing the Insert method, the computer first makes a temporary copy of the string in memory.
45.
1 point
____ is the syntax for inserting characters into a string.
46.
1 point
Getting data from a file is referred to as ____ the file.
47.
1 point
A ____ character forces a literal constant to assume a data type other than the one its form indicates.
48.
1 point
You specify a menu item’s shortcut keys in the ShortcutKeys property in the ____ window.
49.
1 point
To insert the value at the beginning of a string, you use a startIndex of 1.
50.
1 point
The Exists method returns a(n) ____ value.