题目内容 (请给出正确答案)
[主观题]

中缀表达式求值

提问人:网友KingLeung 发布时间:2022-01-07
参考答案
查看官方参考答案
如搜索结果不匹配,请 联系老师 获取答案
更多“中缀表达式求值”相关的问题
第1题
试利用运算符优先数法,画出对如下中缀算术表达式求值时运算符栈和运算对象栈的变化。a+b*(c-d)-e^f/g

点击查看答案
第2题
算术表达式采用逆波兰式表示时不用括号,可以利用(1)进行求值。与逆波兰式ab-cd+*对应的中缀表达式是(2)。空白(1)处应选择()

A. 数组

B. 栈

C. 队列

D. 散列表

点击查看答案
第3题
表达式采用逆波兰式表示时可以不用括号,而且可以用基于__(1)__的求值过程进行计算,与逆波兰式ab+c*d+对应的中缀表达式是__(2)__。空白(2)处应选择()

A. a+b+c*d

B. (a+B.*c+d

C. (a+B.*(c+D.

D. a+b*c+d

点击查看答案
第4题
密码翻译(名词解释题)

密码翻译

点击查看答案
第5题
设有两个串p和q,其中q是p的子串,求q在p中首次出现的位置的算法称为( )(单选) There are two strings p q, q is p’s substring. The algorithm to search the first time q appeared in p is called ( )(There is only one correct answer)

A、求子串 Seeking substring

B、联接 Concatenation

C、匹配 Matching

D、求串长 Seeking length

点击查看答案
第6题

若串S1=‘ABCDEFG’, S2=‘9898’ ,S3=‘###’,S4=‘012345’,执行 concat(replace(S1,substr(S1,length(S2),length(S3)),S3),substr(S4,index(S2,‘8’),length(S2))) 注意:substr(S,i,j)是对字符串S的下标为i开始取j个字符,这里的下标是从0开始的(单选) If the string S1 = 'ABCDEFG', S2 = '9898', S3 = '###', S4 = '012345', execute concat (replace (S1, substr (S1, length (S2), length (S3)), S3), substr (S4, index (S2, '8'), length (S2))) Note substr (S, i, j) is the operation to take string S’s j characters from subscript i. Subscript here is starting from 0.(There is only one correct answer)

A、ABC###G0123

B、ABCD###2345

C、ABCD###1234

D、ABC###G2345

点击查看答案
第7题
下列说法正确的是:(单选) Which of the following statements is correct? (There is only one correct answer)

A、空串就是空白串“Empty string” is blank string.

B、空串是任意字符串的子串 Empty string is a substring of arbitrary string.

C、串只可以采用顺序存储,不可以采用链式存储 String only can be stored in sequential method and cannot be stored in linked method.

D、在C++标准中,char S[M]最多能表示长度为M的字符串 In C ++ standards, char S[M] can represent up to a string of length M.

点击查看答案
第8题
下面关于串的的叙述中,哪一个是不正确的:(单选) Which of the following descriptions about string is not correct? (There is only one correct answer)

A、串是字符的有限序列 String is a finite sequence of characters.

B、模式匹配是串的一种重要运算 Pattern matching is an important operation.

C、串是一种数据对象和操作都特殊的线性表 String is a linear list whose data objects and operations both special

D、空串是由空格构成的串 Empty string is a string consisting of spaces.

点击查看答案
第9题

在字符{A, C, G, T}组成的DNA序列中,A和T、C和G是互补对。判断一个DNA序列中是否存在互补回文串(例如,ATCATGAT的补串是TAGTACTA,与原串形成互补回文串)。下面DNA序列中存在互补回文串的是:(多选) In the DNA sequences consisting of character {A, C, G, T}, A and T, C and G are complementary pairs. Judging whether there is a complementary palindrome sequence in a DNA sequence (e.g., ATCATGAT’s complement strings is TAGTACTA, it is complementary palindrome sequence with the original sequence). Which of the following DNA sequences have complementary palindrome string? (There are more than one answers.)

A、CTGATCAG

B、AATTAATT

C、TGCAACGT

D、CATGGTAC

E、GTACGTAC

F、AGCTAGCT

点击查看答案
第10题
若字符串s=“software”,则其子串个数为: If the string s = "software", then the number of its sub-string is:
点击查看答案
账号:
你好,尊敬的用户
复制账号
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
欢迎分享答案

为鼓励登录用户提交答案,简答题每个月将会抽取一批参与作答的用户给予奖励,具体奖励活动请关注官方微信公众号:简答题

简答题官方微信公众号

警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

微信搜一搜
简答题
点击打开微信
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反简答题购买须知被冻结。您可在“简答题”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
微信搜一搜
简答题
点击打开微信