网站大量收购独家精品文档,联系QQ:2885784924

第四章 串(The fourth chapter string).doc

  1. 1、本文档共28页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第四章 串(The fourth chapter string)

第四章 串(The fourth chapter string) The fourth chapter, string.Txt, my advantage is: I am very handsome, but my shortcoming is: I am handsome is not obvious. What is happiness? Happiness is a cat fish, dog meat, Altman played a small monster! But your mother your cousin? I am not a fat man. The fourth chapter, string fourth chapters string First, the multiple-choice question 1. which one of the following statements about string is incorrect? () [Northern Jiaotong University, 2001, one, 5 (2 points)] The A. string is a finite sequence of B. null character is formed by a space series C. pattern matching is an important operation of string. D. string can be either sequential storage or chained storage 2 if the string ABCDEFG S1=, S2= 9898 S3= ### , 012345 , S4= implementation Concat (replace (S1), substr (S1, length (S2), length (S3)), S3), substr (S4, index (S2, 8), length (S2)) The result was () [Northern Jiaotong University, 1999, one, 5 (25/7)) A.ABC###G0123 B.ABCD###2345 C.ABC###G2345 D.ABC###2345 E.ABC###G1234 F.ABCD###1234 G.ABC###01234 3., there are two strings P and Q, where q is the substring of P, and the algorithm for finding the first position of Q in P is called () A. B. C. D., her series connection for string length [Beijing University of Posts and Telecommunications, 2000, two, 4 (20/8), [Xian Electronic and Science University, 1996, one, 1 (2 points)] 4. known string S= aaab whose Next array value is (). Xian Electronic and Science University, 1996, one, 7 (2 points) A.0123 B.1123 C.1231 D.1211 The next array of 5. string ababaaababaa is (). [Zhongshan University, 1999, one, 7] A.012345678999 B.012121111212 C.011234223456 D.0123012322345 The nextval of string 6. ababaabab is () A. (0,1,0,1,04,1,0,1) B. (0,1,0,1,0,2,1,0,1) C. (0,1,0,1,0,0,0,1,1) D. (0,1,0,1,0,1,0,1,1) Beijing University of Posts and Telecommunications, 1999, one, 1 (2 points) The 7. mode string t= abcaabbcabcaabdab, the value of the next array of this pattern string is (), and the value of

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档