- 1、本文档共28页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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
您可能关注的文档
- 广场舞(Square dance).doc
- 广州鞋子批发市场大全(Guangzhou shoes wholesale market).doc
- 广工 c语言 经典例题(C language classic example).doc
- 广日gvp-2(Guang RI gvp-2).doc
- 序号 学科门类(Subject categories).doc
- 应付债券核算问题探讨(Discussion on Accounting payable bonds).doc
- 应收账款坏账准备的核算(Accounts receivable bad debt preparation accounting).doc
- 建筑室内设计施工图水平的提高及能力培养(Improvement of interior design and construction drawing and ability training).doc
- 建筑专业考研书目(Bibliography of architecture major).doc
- 建筑工程法规案例(Cases of construction engineering regulations).doc
- 2024年度党员干部民主生活会班子对照检查材料.docx
- 公司党委领导班子2024年度民主生活会对照检查材料4个带头方面.docx
- 市府办(政府办)领导班子2024年民主生活会会后综合情况报告.docx
- 在2025年市司法局信息宣传工作推进会上的讲话.docx
- 在2025年全省文化旅游高质量发展推进会上的讲话.docx
- 在2025年全区工业、住建大规模设备更新推进会上的讲话.docx
- 党支部2024年组织生活会民主评议党员情况总结报告_1.docx
- 2024年度组织生活会个人对照检查剖析材料.docx
- 镇党委书记2024年度民主生活会对照检查材料1.docx
- 党支部2024年组织生活会民主评议党员情况总结报告.docx
最近下载
- 新能源车与传统燃油车PK.pptx
- 电桩车位出租合同6篇.docx
- 成人肥胖食养指南(2024年版).pdf
- 机械制图习题集第4版张绍群习题答案.pdf
- 2025届广东省深圳高级中学高中园高三下学期第一次模拟考试政治试题(原卷版+解析版).docx VIP
- 新教科版(2024)小学一年级科学下册第一单元第4课《4.认识物体的形状》精品课件.pptx VIP
- 基于EPC模式的项目管理项目协调管理80课件讲解.pptx
- 东菱EPS-BS驱动器技术手册V1.5.pdf
- 老年心房颤动诊治中国专家共识2024版.pptx VIP
- 新时代思想学生读本(高中)5.5《促进人与自然和谐共生》课件.pptx VIP
文档评论(0)