11 If the null string is a substring of any string, the number of substrings of string S= 'Computer' is ( ).
查看答案
12 StrIndex(‘DATASTRUCTURE',‘STR')=( ).
A. 5
B. 3
C. 4
D. 6
13 If the length of main body string is n and the length of pattern string is m, the time complexity of KMP algorithm for pattern matching is ( ).
A. O(m+n)
B. O(m*n)
C. O(m)
D. O(n)
14 StrIndex(‘Index of String’,1,‘Str’)=( ).
A. 10
B. 9
C. 8
D. 7
15 The return value of SubStr('I like University',8,3) is ( ).
A. Uni
B. ike
C. ver
D. ers