Explore topic-wise MCQs in Testing Subject.

This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.

1.

Which of the following expressions evaluates to True when the strPart variable contains the string 123X45 ?

A. strPart Like 999[A-Z]99
B. strPart Like ######
C. strPart Like ###[A-Z]##
D. strPart Like ##??##
Answer» D. strPart Like ##??##
2.

The Like operator returns _______________ value.

A. Integer
B. Boolean
C. String
D. Float
Answer» C. String
3.

The _____________ in a pattern represents a single digit.

A. ?
B. *
C. #
D. **
Answer» D. **
4.

The _____________ in a pattern represents zero or more characters.

A. ?
B. *
C. #
D. **
Answer» C. #
5.

The ___________ in a pattern represents one character only.

A. ?
B. *
C. #
D. **
Answer» B. *
6.

The _______________ operator allows you to use pattern matching characters to determine whether one String is equal to another String.

A. Like
B. Pattern
C. Match
D. StringMatch
Answer» B. Pattern
Previous Next