下列属于SAX解析XML需要用到的类和接口是
A.DocumentBuilder
B.SAXParser
C.DefaultHandler
D.SAXParserFactory
A.DocumentBuilder
B.SAXParser
C.DefaultHandler
D.SAXParserFactory
第2题
A.正确
B.错误
第4题
从供选择的答案中,选出最确切的解答。
DOM is a platform-and language(1)API that allows programs and scripts to dynamically access and update the content, structure and style of WWW documents (currently, definitions for HTML and XML documents are part of the specification). The document can be further processed and the results of that processing can be incoporporated back into the presented(2). DOM is a(3)-based API to documents, which requires the whole document to be represented in(4)while processing it. A simpler alternative to DOM is the event-based SAX, which can be used to process very large(5)documents that do not fit into the memory available for processing.
第6题
In the following sentences, which is not a metonymy?
A.The sax has the flu today.
B.Watergate changed American politics.
C.Wall Street is in a panic.
D.She is the apple in her parents" eyes.
第7题
A.将光标定位在GetEmployeeCount前一行,然后输入///
B.将光标定位在GetEmployeeCount前一行,然后输入XML/XML
C.将光标定位在GetEmployeeCount前一行,然后输入\\\
D.将光标定位在GetEmployeeCount前一行,然后输入//?
第8题
A.在Activity中,可以使用findViewById()方法,通过资源id,获得指定视图元素
B. 在Activity中,可以使用R.drawable-system.***方式引用Android系统所提供的图片资源
C. 在Activity中,可以使用setContentView()方法,确定加载哪一个布局文件
D. 可以使用View类的findViewById()方法,获得当前View对象中的某一个视图元素
第10题
A小剂量产生镇静作用
B必须用到镇静剂量才有抗焦虑作用
C剂量由小到大,可相继出现镇静、催眠、抗惊厥、麻醉作用
D中等量可轻度抑制呼吸中枢
E10倍催眠剂量可致病人死亡
第11题
A.常常过于抽象、模糊和太过于高尚,以至于很难将它们运用到需要伦理指导的具体问题中去
B. 为公共行政人员面临和解决伦理冲突和伦理困境设定了一般性的限制
C. 对那些超出由公民设立的权限范围进行活动的公务员实行制裁;
D. 尽管伦理有被动性,能提供树立反面教材的方法