题目详情

在仅由字符a、b构成的所有字符串中,其中以b结尾的字符串集合可用正规式表示为(  )。

  • A.(b|ab)*b
  • B.(ab*)*b
  • C.a*b*b
  • D.(a|b)*b

正确答案及解析

正确答案
D
解析

正规式(a|b)*对应的正规集为{ε,a,b,aa,ab,…,所有由a和b组成的字符串},结尾为b。

包含此试题的试卷

你可能感兴趣的试题

单选题

Unified Modeling Language(UML) is a widely used method of visualizing and documenting an information system. The UML can be used to develop( 71 ), in which an object represents a person, place, event, or transaction that is significant to the information system. Systems analysts define an object's attributes during the( 72 ). An object also has( 73 )which are tasks or functions that the object performs when it receives a message, or command, to do so. A(n)( 74 )is a group of similar objects. If objects are similar to nouns, attributes are similar to adjectives that describe the characteristics of an object. Objects can have a specific attribute called a(n)( 75 ), which of an object is an adjective that describes the object's current status. All objects within a class share common attributes and methods, so a class is like a blueprint, or template for all the objects within the class.

  • A.state
  • B.constant
  • C.instance
  • D.member
查看答案
单选题

Unified Modeling Language(UML) is a widely used method of visualizing and documenting an information system. The UML can be used to develop( 71 ), in which an object represents a person, place, event, or transaction that is significant to the information system. Systems analysts define an object's attributes during the( 72 ). An object also has( 73 )which are tasks or functions that the object performs when it receives a message, or command, to do so. A(n)( 74 )is a group of similar objects. If objects are similar to nouns, attributes are similar to adjectives that describe the characteristics of an object. Objects can have a specific attribute called a(n)( 75 ), which of an object is an adjective that describes the object's current status. All objects within a class share common attributes and methods, so a class is like a blueprint, or template for all the objects within the class.

  • A.actor
  • B.instance
  • C.component
  • D.class
查看答案
单选题

Unified Modeling Language(UML) is a widely used method of visualizing and documenting an information system. The UML can be used to develop( 71 ), in which an object represents a person, place, event, or transaction that is significant to the information system. Systems analysts define an object's attributes during the( 72 ). An object also has( 73 )which are tasks or functions that the object performs when it receives a message, or command, to do so. A(n)( 74 )is a group of similar objects. If objects are similar to nouns, attributes are similar to adjectives that describe the characteristics of an object. Objects can have a specific attribute called a(n)( 75 ), which of an object is an adjective that describes the object's current status. All objects within a class share common attributes and methods, so a class is like a blueprint, or template for all the objects within the class.

  • A.methods
  • B.interactions
  • C.interfaces
  • D.behaviors
查看答案
单选题

Unified Modeling Language(UML) is a widely used method of visualizing and documenting an information system. The UML can be used to develop( 71 ), in which an object represents a person, place, event, or transaction that is significant to the information system. Systems analysts define an object's attributes during the( 72 ). An object also has( 73 )which are tasks or functions that the object performs when it receives a message, or command, to do so. A(n)( 74 )is a group of similar objects. If objects are similar to nouns, attributes are similar to adjectives that describe the characteristics of an object. Objects can have a specific attribute called a(n)( 75 ), which of an object is an adjective that describes the object's current status. All objects within a class share common attributes and methods, so a class is like a blueprint, or template for all the objects within the class.

  • A.systems maintenance process
  • B.systems implementation process
  • C.systems design process
  • D.systems testing process
查看答案
单选题

Unified Modeling Language(UML) is a widely used method of visualizing and documenting an information system. The UML can be used to develop( 71 ), in which an object represents a person, place, event, or transaction that is significant to the information system. Systems analysts define an object's attributes during the( 72 ). An object also has( 73 )which are tasks or functions that the object performs when it receives a message, or command, to do so. A(n)( 74 )is a group of similar objects. If objects are similar to nouns, attributes are similar to adjectives that describe the characteristics of an object. Objects can have a specific attribute called a(n)( 75 ), which of an object is an adjective that describes the object's current status. All objects within a class share common attributes and methods, so a class is like a blueprint, or template for all the objects within the class.

  • A.database models
  • B.object models
  • C.event models
  • D.static system models
查看答案

相关题库更多 +