Exam 11: String Manipulation and Menus

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The ____ method pads the string on the right, which means it inserts the padded characters at the end of the string.

(Multiple Choice)
4.9/5
(36)

A menu item's ____ key can be used only when the menu is open.

(Multiple Choice)
4.7/5
(37)

The ____ character represents zero or more characters.

(Multiple Choice)
4.9/5
(31)

If you need to determine whether a string contains a specific sequence of characters, you can use the ____ method.

(Multiple Choice)
4.9/5
(30)

____ is the syntax for inserting characters into a string.

(Multiple Choice)
4.8/5
(33)

The Substring method accesses one or more characters contained in a string.

(True/False)
4.9/5
(34)

When processing the Insert method, the computer first makes a temporary copy of the string in memory.

(True/False)
4.7/5
(39)
Match each term with the correct statement below.
Returns a -1 if the subString is not contained in the string
Remove method
Removes a specified number of characters located anywhere in a string
menu title
Aligns the characters in a string
PadLeft
Correct Answer:
Verified
Premises:
Responses:
Returns a -1 if the subString is not contained in the string
Remove method
Removes a specified number of characters located anywhere in a string
menu title
Aligns the characters in a string
PadLeft
Appears to the right of the menu item and allow the user to select the item without opening the menu
IndexOf method
Used to include one or more menus on a Windows form
Like operator
Returns the Boolean value True when the substring is contained anywhere in the string
menu strip control
Removes any space characters from both the beginning and end of a string
Contains method
Displays a list of options when clicked
Trim method
Allows you to use pattern-matching characters to determine whether one string is equal to another string
shortcut key
(Matching)
4.7/5
(37)

A menu item's ____________________ keys can be used only when the menu is closed.

(Short Answer)
4.9/5
(36)

If an item on a menu or submenu is a command, you enter the appropriate instructions in the item's ____________________ event procedure.

(Short Answer)
4.9/5
(37)

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.

(True/False)
4.8/5
(37)

To insert the value at the beginning of a string, you use a startIndex of 1.

(True/False)
4.9/5
(34)

You specify a menu item's shortcut keys in the ShortcutKeys property in the ____ window.

(Multiple Choice)
4.7/5
(49)

Explain what the Like operator does.

(Essay)
4.8/5
(27)

Explain how the PadLeft and PadRight methods work.

(Essay)
4.7/5
(38)

A ____ character forces a literal constant to assume a data type other than the one its form indicates.

(Multiple Choice)
4.9/5
(26)

What does the Substring method return?

(Essay)
4.7/5
(35)

The ____________________ method pads the string on the left, which means it inserts the padded characters at the beginning of the string.

(Short Answer)
4.9/5
(38)

Discuss why applications might need to work with strings.

(Essay)
4.8/5
(42)

In Windows applications that have an Edit menu, ____ is used to select the Cut command when the Edit menu is closed.

(Multiple Choice)
4.9/5
(36)
Showing 21 - 40 of 42
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)