阅读下面XML文档,下列说法正确的是______。<book><author>tony</author><!--作者信息--><bookcode>97873022</book> A.<book>是元素对象,同样也是数据内容 B.<author>是数据内容 C.<!--作者信息-->是元素对象 D.97873022是数据内容

题目
阅读下面XML文档,下列说法正确的是______。<book><author>tony</author><!--作者信息--><bookcode>97873022</book>

A.<book>是元素对象,同样也是数据内容
B.<author>是数据内容
C.<!--作者信息-->是元素对象
D.97873022是数据内容

相似考题
参考答案和解析
答案:D
解析:
依题意,book、author、bookcode都是元素标记名称;tony、97873022是元素的数据内容。
更多“阅读下面XML文档,下列说法正确的是______。<book><author>tony</author><!--作者信息--><bookcode>97873022</book> ”相关问题
  • 第1题:

    在XML中,元素book的声明语句如下:<1ELEMENT book(title.price+,author?,borrow*)>该声明语句表明,元素book中子元素______至少出现一次。

    A.title
    B.price
    C.author
    D.borrow

    答案:B
    解析:
    本题考查XML的基础知识。XML(Extensible Markup Language,可扩展标记语言)是专门为Web应用设计且简化的SGML(Standard Generalized Markup Language,标准通用标记语言)子集。在XML文档中,元素出现次数的默认值为一次。如果希望元素可以出现多次或控制其出现的次数,可以使用量词来指定。常用的量词有“?”、“*”、“+”和“|”。·问号(?):表示该子元素在文档中最多出现一次;·星号(*):表示该子元素在文档中出现的次数不受限制;·加号(+):表示该子元素在文档中至少出现一次;·竖号(|):表示子元素可以从多个元素中选择一个。

  • 第2题:

    The author of the book lived in ().

    Athe early 30

    Bthe early 30’s

    Cearly 30

    Dearlier 30’s


    B

  • 第3题:

    BookStore数据库中有图书表Book(BookCode,BookName,Author,PublisherCode,PublishTime查询作者名长度大于等于8的图书信息,显示书名(BookName)及作者(Author)。SQL语句:SELECTBookName,AuthorFROMBookWHERELenth(Author)=8


    正确答案:错误

  • 第4题:

    BookStore数据库中有图书表Book(BookCode,BookName,Author,PublisherCode,PublishTime,PublishTime是datetime类型。查询Book表中的图书类别(BookSort),要求每个类别只显示一次。SQL语句:SELECT()BookSort FROM Book

    • A、DISTINCT
    • B、ONLY
    • C、ONE
    • D、PERCENT

    正确答案:A

  • 第5题:

    BookStore数据库中有图书表Book(BookCode,BookName,Author,PublisherCode,PublishTime查询图书名称(BookName)含有“程序”的图书信息。SQL语句:SELECTBookCode,BookName,Author,Price,DiscountFROMBookWHEREName=“%程序%”


    正确答案:错误

  • 第6题:

    表book中包含三个字段:title(varchar),author(varchar),price(float)。Author的默认值是’UNKNOW’,执行sql语句:insertbook(title,price)values(‘jsp’,50)。以下结果正确的是()。

    • A、插入失败,sql语句有错
    • B、插入成功,author列的数据是UNKNOW
    • C、插入成功,author列的数据是NULL
    • D、插入成功,author列的数据是50

    正确答案:B

  • 第7题:

    单选题
    The author is required to _____ his book and send it to the publisher as soon as possible.
    A

    venture

    B

    abstract

    C

    verify

    D

    index


    正确答案: B
    解析:
    abstract写提纲,摘要。venture大胆提出,斗胆。verify证实,校检。index做索引。

  • 第8题:

    单选题
    BookStore数据库中有图书表Book(BookCode,BookName,Author,PublisherCode,PublishTime,PublishTime是datetime类型。查询Book表中的图书类别(BookSort),要求每个类别只显示一次。SQL语句:SELECT()BookSort FROM Book
    A

    DISTINCT

    B

    ONLY

    C

    ONE

    D

    PERCENT


    正确答案: A
    解析: A、DISTINCT B、ONLY C、ONE D、PERCENT

  • 第9题:

    单选题
    表book中包含三个字段:title(varchar),author(varchar),price(float)。Author的默认值是’UNKNOW’,执行sql语句:insertbook(title,price)values(‘jsp’,50)。以下结果正确的是()。
    A

    插入失败,sql语句有错

    B

    插入成功,author列的数据是UNKNOW

    C

    插入成功,author列的数据是NULL

    D

    插入成功,author列的数据是50


    正确答案: D
    解析: 暂无解析

  • 第10题:

    单选题
    Which parts of the book did the reviewer enjoy reading most?
    A

    The author’s experience in family business operation.

    B

    The lists of helpful information offered by the author.

    C

    The advice on skills in selling made by some business owners.


    正确答案: A
    解析:
    由第二段的“But what absorbed me most was the story of running a family business.”可以判断出书中关于经营家族企业的故事是最吸引书评人的地方,选项A的意思与此相符。虽然B项内容在文中提及了,但后面的转折词“But”表明书评人最喜欢的部分是“story of running a family business”。文中未提及C项内容。因此正确选项为A。

  • 第11题:

    多选题
    BookStore数据库中有图书表Book(BookCode,BookName,Author,PublisherCode,PublishTimePublishTime是datetime类型。将Book表中的所有“外语”类图书的价格降低10%,并将折扣均设为8折。SQL语句:UPDATEBookSET()WhereBookSort=‘外语‘。
    A

    Price=Price*0.9,Discount=0.8

    B

    Price=Price*(1-10%),Discount=0.8

    C

    Price=0.9,Discount=0.8

    D

    Discount=0.8,Price=Price*0.9


    正确答案: D,A
    解析: 暂无解析

  • 第12题:

    单选题
    Which of the following is the best version of sentence 1 (reproduced below)?Mike Reynolds who is the author of the book, The New Girl came to our school to speak about his book, which tells about him portraying a woman for six weeks.
    A

    (As it is now)

    B

    Mike Reynolds, the author of The New Girl, spoke at our school about his book, in which he describes how he portrayed a woman for six weeks.

    C

    Mike Reynolds, the author of The New Girl, came to our school and told us about his book, where he portrayed a woman for six weeks.

    D

    The author of The New Girl, Mike Reynolds came to our school to speak, in it he portrayed a woman for six weeks,

    E

    The author of The New Girl, Mike Reynolds, spoke at our school about his book, that portrays a woman for six weeks.


    正确答案: D
    解析:
    A项不正确因为同位语“The New Girl”应该用逗号括起来,“him”应改为“his”。B项没有错误。C项中“where”的使用不正确。D项中的同位语不正确,且用一个逗号连接两个独立的主句,因此不正确。D项也改变了句子的意思。E项也不正确,因为“that”的使用不恰当,因为“that”不能用来修饰人。

  • 第13题:

    在XML中,元素book的声明语句如下:<1ELEMENT book (title.price+, author?, borrow*)>该声明语句表明,元素book中子元素______至少出现一次。

    A.title]
    B.price]
    C.author
    D.borrow

    答案:B
    解析:
    本题考查XML的基础知识。XML(Extensible Markup Language,可扩展标记语言)是专门为Web应用设计且简化的SGML(Standard Generalized Markup Language,标准通用标记语言)子集。在XML文档中,元素出现次数的默认值为一次。如果希望元素可以出现多次或控制其出现的次数,可以使用量词来指定。常用的量词有“?”、“*”、“+”和“|”。·问号(?):表示该子元素在文档中最多出现一次;·星号(*):表示该子元素在文档中出现的次数不受限制;·加号(+):表示该子元素在文档中至少出现一次;·竖号(|):表示子元素可以从多个元素中选择一个。

  • 第14题:

    The author of the book lived in ().

    • A、the early 30
    • B、the early 30’s
    • C、early 30
    • D、earlier 30’s

    正确答案:B

  • 第15题:

    阅读下面XML文档,然后判断下列说法正确的是()。 <book> <author>tom</author> <bookcode>12</bookcode> </book>

    • A、<book>是元素对象,同样也是文本对象
    • B、<author>是元素对象,同样也是文本对象
    • C、tom是文本对象
    • D、tom是元素对象

    正确答案:C

  • 第16题:

    BookStore数据库中有图书Book(BookCode,BookName,Author,PublisherCode,PublishTimePublishTime是datetime类型。查询2009年出版的少儿类图书,要求显示图书名称(BookName)、作者(Author)、出版时间(PublishTime)、价格(Price)和折扣(Discount),并且字段标题分别为图书名称、作者、内容简介、价格和折扣。SQL语句SELECTBookNameAs图书名称,AuthorAs作者,convert(char(10),PublishTime,120)As出版时间,PriceAs价格,DiscountAs折扣FROMBookWHEREBookSort=‘少儿’AND()

    • A、PublishTime=2009
    • B、YEAR(PublishTime)=2009
    • C、PublishTime>=‘2009-1-1‘ANDPublishTime<‘2010-1-1’
    • D、PublishTime>=‘2009-1-1‘ANDPublishTime<=‘2009-12-31‘

    正确答案:B,C,D

  • 第17题:

    XPath是表示XML文档的节点路径,book/@isbn表示节点的isbn属性 ,book/*表示()。


    正确答案:节点下的所有子节点

  • 第18题:

    关于SQL语句“SELECTAuthor,BookName,ID,ISBN,Price FROM book ORDER BY ID DESC”的说法错误的是()。

    • A、该语句表示从表“book”中查询所有记录
    • B、该语句显示的字段是“Author”、“BookName”、“ID”、“ISBN”和“Price”
    • C、该语句对查询到的记录将根据ID按升序排列
    • D、该语句中的“book”表示数据表

    正确答案:C

  • 第19题:

    单选题
    Some readers think the words in the author’s book is too _____.
    A

    depressing

    B

    frightening

    C

    delighting

    D

    idealistic


    正确答案: D
    解析:
    文章第三段第二句提到“Some readers said it’s too sorrowful to expect things to go wrong”。一些读者认为作者的话太过消沉,悲观。故选A。

  • 第20题:

    判断题
    BookStore数据库中有图书表Book(BookCode,BookName,Author,PublisherCode,PublishTime查询作者名长度大于等于8的图书信息,显示书名(BookName)及作者(Author)。SQL语句:SELECTBookName,AuthorFROMBookWHERELenth(Author)=8
    A

    B


    正确答案:
    解析: 暂无解析

  • 第21题:

    单选题
    The reviewer didn’t make notes in the margin of the book because
    A

    it was not convenient on the plane.

    B

    the author of the book had made them.

    C

    he borrowed the book from others.


    正确答案: A
    解析:
    根据第二段第二、三句可知,作者已经做了笔记,而且已经一条条地把要点列出来了。可知B项正确,而文中未提及A、C两项。

  • 第22题:

    单选题
    The author of the book lived in ().
    A

    the early 30

    B

    the early 30’s

    C

    early 30

    D

    earlier 30’s


    正确答案: A
    解析: 暂无解析

  • 第23题:

    判断题
    BookStore数据库中有图书表Book(BookCode,BookName,Author,PublisherCode,PublishTime查询图书名称(BookName)含有“程序”的图书信息。SQL语句:SELECTBookCode,BookName,Author,Price,DiscountFROMBookWHEREName=“%程序%”
    A

    B


    正确答案:
    解析: 暂无解析