DOM(Document Object Model)最适合应用在

题目

DOM(Document Object Model)最适合应用在()。

  • A、内存受限时
  • B、只有特定的元素需要处理
  • C、文档很大
  • D、文档必须非顺序地处理
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

DOM is a platform. and language-(66)AP1 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 incorporated back into the presented(67). DOM is a(68)-based API to documents, which requires the whole document to be represented in(69)while processing it. A simpler alternative to DOM is the event-based SAX, which can be used to process very large(70)documents that do not fit into the memory available for processing.

A.specific

B.neutral

C.contained

D.related


正确答案:B
解析:DOM是一种与平台和语言无关的应用程序接口(API),它可以动态地访问程序和脚本,更新其内容、结构和WWW文档的风格(目前,HTML和XML文档是通过说明部分定义的)。文档可以进一步被处理,处理的结果可以加入到当前的页面。DOM是一种基于树的API文档,它要求在处理过程中整个文档都表示在存储器中。另外一种简单的API是基于事件的SAX,它可以用于处理很大的XML文档,由于大,所以不适合全部放在存储器中处理。

第2题:

DOM(Document Object Model)最适合应用在()。

A.内存受限时

B.只有特定的元素需要处理

C.文档很大

D.文档必须非顺序地处理


参考答案:D

第3题:

在DOM中通过元素ID号访问对象的正确方法是()。

A.document.getElementsByName(“元素名称”)

B.document.getElementsByTagName(“标记名称”)

C.document.getElementsById(“元素id”)

D.document.getElementsById(“元素id”)


正确答案:C

第4题:

System analysis is traditionally done top-down using structured analysis based on____.Object-oriented analysis focuses on creation of models.The three types of the analysis model are__请作答此选项__.There are two substages of object-oriented analysis.____focuses on real-world things whose semantics the application captures.The object constructed in the requirement analysis shows the____of the real-world system and organizes it into workable pieces.____addresses the computer aspects of the application that are visible to users.The objects are those which can be expected to vary from time to time quite rapidly.

A.function model,class model and state model
B.class model,interaction model and state model
C.class model,interaction model and sequence model
D.function model,interaction model and state model

答案:B
解析:
传统的系统分析以功能分解为基础,利用结构化分析自顶向下完成。面向对象分析关注于模型的创建。该分析模型有三种类型:类模型、交互模型和状态模型。面向对象分析有两个子阶段。领域分析侧重于现实世界中那些语义被应用程序获取的事物。在需求分析中所构造的对象说明了现实世界系统的静态结构并将其组织为可用的片段。应用分析处理应用系统中用户可见的计算机问题。所分析的对

第5题:

在DOM中通过元素ID号访问对象的正确方法是( )。

A.document.getElementsByName(“元素名称”)
B.document.getElementsByTagName(“标记名称”)
C.document.getElementsById(“元素id”)
D.document.getElementsById(“元素”)

答案:C
解析:

第6题:

Document对象即属于BOM,又属于DOM。

此题为判断题(对,错)。


正确答案:√

第7题:

DOM is a platform. and language -(66)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 incorporated back into the presented(67)DOM is a(68)-based API to documents, which requires the whole document to be represented in(69)while processing it. A simpler alternative to DOM is the event - based SAX, which can be used to process very large(70)documents that do not fit into the memory available for processing.

A.specific

B.neutral

C.contained

D.related


正确答案:B

第8题:

System analysis is traditionally done top-down using structured analysis based on( ). Object-oriented analysis focuses on creation of models. The three types of theanalysis model are( ). There are two substages of object-oriented analysis.( )focuses on real-world things whose semantics the application captures. The object constructedin the requirement analysis shows the( )of the real-world system and organizes it intoworkable pieces.( )addresses the computer aspects of the application that are visible tousers. The objects are those which can be expected to vary from time to time quite rapidly.

A.functional decomposition B.object abstraction C.data inheritance D.information generalization A.function model,class model and state model B.class model,interaction model and state model C.class model,interaction model and sequence model D.function model,interaction model and state model A.Static analysis B.Semantic analysis C.Scope analysis D.Domain analysis A.static structure B.system components C.data flows D.program procedures A.Program analysis B.Function requirement C.Application analysis D.Physical model


正确答案:A,B,D,A,C

第9题:

System analysis is traditionally done top-down using structured analysis based on( ).Object-oriented analysis focuses on creation of models.The three types of theanalysis model are(请作答此空).There are two substages of object-oriented analysis.( )focuses on real-world things whose semantics the application captures.The object constructedin the requirement analysis shows the( )of the real-world system and organizes it intoworkable pieces.( )addresses the computer aspects of the application that are visible tousers.The objects are those which can be expected to vary from time to time quite rapidly.

A.function model,class model and state model
B.class model,interaction model and state model
C.class model,interaction model and sequence model
D.function model,interaction model and state model

答案:B
解析:
传统的系统分析以功能分解为基础,利用结构化分析自顶向下完成。面向对象分析关注于模型的创建。该分析模型有三种类型:类模型、交互模型和状态模型。面向对象分析有两个子阶段。领域分析侧重于现实世界中那些语义被应用程序获取的事物。在需求分析中所构造的对象说明了现实世界系统的静态结构并将其组织为可用的片段。应用分析处理应用系统中用户可见的计算机问题。所分析的对象可能会被预计时不时地发生较快的变化。

第10题:

关于XML接口DOM,下列描述错误的是()。

  • A、DOM的全称是“Document  Object  Model”,即文档对象模型
  • B、在应用程序中,基于DOM的XML分析器将一个XML文档转换成一个对象模型的集合(通常称DOM树)
  • C、通过DOM接口,应用程序可以在任意时刻访问XML文档中的任何一部分数据,因此,这种利用DOM接口的机制也被称作随机访问机制
  • D、DOM强制使用树模型访问XML文档中的信息,不适合XML的模式

正确答案:D