【单选题】【消耗次数:1】
设计一个判别表达式中括号是否配对的算法,采用( )数据结构最佳。
顺序表
链表
队列
参考答案:
复制
纠错
相关题目
【判断题】 在正则表达式中,一个方括号“[]”可以匹配一个单词。
①  正确
②  错误
【判断题】 栈和队列是一种非线性数据结构。
①  正确
②  错误
【判断题】 栈和链表是两种不同的数据结构。
①  正确
②  错误
【单选题】 如果在一个运算表达式中包含有逻辑运算、关系运算和算术运算,并且其中未用圆括号规定这些运算的先后顺序, 那么这样的综合型表达式的运算顺序是
①  逻辑→算术→关系
②  关系→逻辑→算术
③  算术→逻辑→关系
④  算术→关系→逻辑
【判断题】 使用括号改善表达式的清晰性。
①  正确
②  错误
【单选题】 表达式和表达式语句的区别是( )。
①  表达式的后面加一个分号就构成了表达式语句
②  表达式的后面加一个冒号就构成了表达式语句
③  表达式的后面加一个点就构成了表达式语句
④  表达式的后面加一个句号就构成了表达式语句
【判断题】 分区的分配和回收算法使用的数据结构是空闲区队列
①  正确
②  错误
【判断题】 在ifthen结构中,条件可以是逻辑表达式或关系表达式。
①  正确
②  错误
【单选题】 在正则表达式中,下列选项哪些是括号字符“()”的作用( )。
①  定义限定符
②  分组
③  固定限定符的作用范围
④  表示字符范围
【单选题】 在正则表达式中,下列选项哪些是括号字符“()”的作用( )。
①  定义限定符
②  分组
③  固定限定符的作用范围
④  表示字符范围
随机题目
【单选题】 Do you have any ice? I am used to have a nightcap before I go to bed.What is the meaning of the word “nightcap”?
①  沐浴
②  夜读
③  夜宵
④  睡前饮料
【单选题】 I used my drivers license as ( )
①  identification
②  identity
③  identify
④  identifying
【单选题】 A convention guarantees a good occupancy ( )over a period.
①  discount
②  guarantee
③  quotation
④  rate
【单选题】 I am a bit ( ) at the moment. Can you come back later?
①  tied over
②  tied out
③  tied up
④  tied
【单选题】 This letter is to ( ) my fax and your answer of today in which you agreed to reserve two separate room with shower and bath, full pension
①  confirm
②  confirmation
③  Confirming
④  firm
【判断题】 Service passport . 意思是普通护照
①  正确
②  错误
【判断题】 I just spent the summer holiday working as an intern at the Safari Park. 中文意思为:今年暑假我作为一名实习生在植物园工作
①  正确
②  错误
【判断题】 Travel agency can provide travelers with Substantial discounts on airfares and hotel accommodations
①  正确
②  错误
【判断题】 Some people without experience in traveling may feel disappointment during the traveling.
①  正确
②  错误
【判断题】 Tour leaders are well-equipped with historical background, geography ,current affairs.
①  正确
②  错误