DOM is a platform- and language- (65) 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 (66) . DOM is a (67) -based API to documents, which requires the whole document to be represented in (68) while processing it. A simpler alternative to DOM is the event-based SAX, which can be used to process very large (69) documents that do not fit into the memory available for processing. 68()
A. document
B. processor
C. disc
D. memory
查看答案
在高级程序设计语言中,使用参数是函数(过程、子程序)之间传递信息的一种手段。传值调用是指把实际参数的 (51) 传递给相应的形式参数,函数通过这种传值形参 (52) ;引用调用是指把实际参数的 (53) 传递给相应的形式参数,在函数中对形参的引用和赋值被处理成是对实际参数间接的访问。C语言中采用 (54) 调用方式进行参数传递。在下面的主程序中,实参a与形参x以引用调用(Call by reference)的方式传递信息,实参b与形参y以传值调用(Call by value)的方式传递信息,那么,从过程"compute"返回主程序后,a和b的值分别为 (55) 。主程序 过程computea:=2; X:=2*xq-y;b:=a*ar X:=xq+2*y;compute(a,b); return; 53()
A. 地址
B. 名
C. 值
D. 地址和值
已知有10个进程共享一个互斥段,如果最多允许6个进程同时进入互斥段,则信号量s的初值为 (58) ,信号量S的变化范围是 (59) 。 59()
A. 0
B. 1
C. 5
D. 6
MPEG-1编码器输出视频的数据率大约为 (62) ,PAL制式下其图像亮度信号的分辨率为 (63) ,帧速为 (64) 。 64()
A. 16帧/秒
B. 25帧/秒
C. 30帧/秒
D. 50帧/秒
数据存储在磁盘上的排列方式会影响I/O服务的总时间。假设每磁道划分成10个物理块,每块存放1个逻辑记录。逻辑记录R1,R2,…,R10存放在同一个磁道上,记录的安排顺序如下表所示:物理块12345678910逻辑记录R1R2R3R4R5R6R7R8R9R10假定磁盘的旋转速度为20ms/周,磁头当前处在R1的开始处。若系统顺序处理这些记录,使用单缓冲区,每个记录处理时间为4ms,则处理这10个记录的最长时间为 (56) ; 若对信息存储进行优化分布后,处理10个记录的最少时间为 (57) 。 57()
A. 40ms
B. 60ms
C. 100ms
D. 160ms