单选

●已知文法G[

  • A],它定义的语言描述为糧&n
  • bsp;(1) 。
  • G[A]:A → 0B|1
  • C
  • B → 1|1A|0BB
  • C → 0|0A|1CC    (1) A.G[A]定义的语言由0、1符号串组成,或者串中1的个数是0的个数2倍,或者串中0的个数是1的个数2倍
  • B.G[A]定义的语言由0、l符号串组成,串中0的个数是1的个数2倍
  • C.G[A]定义的语言由0、1符号串组成,串中1的个数是0的个数2倍    
  • D.G[A]定义的语言由0、1符号串组成,串中0和1的个数相同
参考答案
您可能感兴趣的试题

●MIMD systems c

  • an
  • be
  • classifie
  • d into(71)oriented systems,highavailability systems and responseoriented systems.The goal of(71).orlented multiprocessing is to obtain high(71)(72)minimal computing cost.The techniques employed by multiprocessor operating systems to achieve this goal t

●Prior to the UML,there w

  • as no clearleading&n
  • bsp;(66) language.Users had to
  • choose from among many similar mo
  • deling languages with minor differences in overall (67) power.Most of the modeling languages shared a set of commonly accepted concepts that are expressed slightly differently in various languages.This lack of (68) discouraged new user
  • B.modeling
  • C.formal
  • D.intelligent    (67) A.control
  • B.expressive
  • C.conductive
  • D.interactive    (68) A.agreement

对长度为n的顺序表进行顺序查找的时间复杂度为 () 。

  • A.O(n)
  • B.O([log2n])
  • C.O([log2](n+1))
  • D.O(n2)

●对于一个线性表既要求能够进行较快的插入和删除,又要求存储结构能够反应数据之间的逻辑关系,则应该用 (42) 。

(42)

  • A.顺序方式存储    &n
  • bsp;  B.链接方式存储    
  • C.散列方式存储    
  • D.以上方式均可
¥

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服