A.is a pattern in which a topic is introduced at the beginning and minor or supporting arguments are presented afterwards
B.is from specific to general
C.tends to use a “comment-topic” order of presentation
D.is a pattern in which the point is to think in terms of images
第1题:
A.description-oriented
B.experimental research
C.action research
D.deductive
第2题:
第3题:
假设re模块已成功导入,并且有pattern = re.compile('^'+'.'.join([r'd{1,3}' for i in range(4)]) + '$'),那么表达式pattern.match('192.168.1.103')的值为None
第4题:
A.<jsp-property-group>.<url-pattern>*.jsp</url-pattern>.<permit-scripting>false</permit-scripting>.</jsp-property-group>
B.<jsp-config>.<url-pattern>*.jsp</url-pattern><permit-scripting>false</permit-scripting>.</jsp-config>
C.<jsp-config>.<url-pattern>*.jsp</url-pattern>.<scripting-invalid>true</scripting-invalid>.</jsp-config>
D.<jsp-property-group>.<url-pattern>*.jsp</url-pattern>.<scripting-invalid>true</scripting-invalid>.</jsp-property-group>
第5题:
第6题:
以下算法在什么情况会出现怎样的错误?举例说明。怎样改正? //将串中所有与pattern匹配的子串替换为str void MyString::replaceAll(MyString &pattern, MyString &str) { int start=search(pattern); while (start!=-1) { remove(start, pattern.n); insert(start, str); start = search(pattern, start); } }