Filters
Question type

Study Flashcards

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


A) Properties
B) System
C) Menu
D) Interface

Correct Answer

verifed

verified

Explain how the Contains method works.

Correct Answer

verifed

verified

The Contains method returns the Boolean ...

View Answer

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.

Correct Answer

verifed

verified

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


A) control
B) menu
C) access
D) shortcut

Correct Answer

verifed

verified

____ is the syntax to access characters in a string.


A) string.Find(startIndex[, numCharsToFind])
B) string.Substring(startIndex[,numCharsToAccess])
C) string.Insert(startIndex, value)
D) string.Remove(startIndex[, numCharsToRemove])

Correct Answer

verifed

verified

B

What happens when you omit the numCharsToAccess argument from the Substring method?

Correct Answer

verifed

verified

If you omit the numCharsToAcce...

View Answer

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


A) Ctrl+Y
B) Ctrl+C
C) Ctrl+V
D) Ctrl+X

Correct Answer

verifed

verified

When an expression contains more than one method, the computer processes the methods from right to left.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

Commonly used menu items should be assigned ____.


A) shortcut keys
B) header keys
C) global keys
D) control keys

Correct Answer

verifed

verified

Explain how the PadLeft and PadRight methods work.

Correct Answer

verifed

verified

You can use Visual Basic's PadLeft and P...

View Answer

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.


A) firstChars
B) totalChars
C) countChars
D) replaceChars

Correct Answer

verifed

verified

B

The Contains method always begins the search with ____.


A) the last character in the string
B) the middle character in the string
C) both ends of the string
D) the first character in the string

Correct Answer

verifed

verified

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


A) Ctrl+X
B) Ctrl+V
C) Ctrl+C
D) Ctrl+P

Correct Answer

verifed

verified

Visual Basic provides the ____ method for accessing any number of characters in a string.


A) Mid
B) Left
C) Substring
D) Right

Correct Answer

verifed

verified

C

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


A) PadLeft
B) Pad
C) TrimRight
D) PadRight

Correct Answer

verifed

verified

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


A) static type
B) conditioned type
C) literal type
D) reconditioned type

Correct Answer

verifed

verified

Visual Basic's ____________________ method allows you to insert characters anywhere in a string.

Correct Answer

verifed

verified

Match each term with the correct statement below. -Allows you to use pattern-matching characters to determine whether one string is equal to another string

Correct Answer

verifed

verified

The most commonly used properties for a menu element are the ____ properties.


A) Name and Text
B) Name and Action
C) Action and Text
D) Label and Text

Correct Answer

verifed

verified

Showing 1 - 20 of 50

Related Exams

Show Answer