搜题
网友您好,请在下方输入框内输入要搜索的题目:
搜题
题目内容 (请给出正确答案)
提问人:网友rvampire 发布时间:2022-01-07
[单选题]

定义名为“学号”的属性,该属性的类型为“string”,该属性在XML中必须出现,下面正确的选项是()。

A. <attribute name="学号" type="string" use="prohibited">

B. <attribute name="学号" type="string" use="required">

C. <attribute name="学号" type="string" use="optional">

参考答案
简答题官方参考答案 (由简答题聘请的专业题库老师提供的解答)
查看官方参考答案
网友提供的答案
位网友提供了参考答案,
查看全部
  • · 有4位网友选择 C,占比40%
  • · 有3位网友选择 B,占比30%
  • · 有3位网友选择 A,占比30%
匿名网友[12.***.***.33]选择了 C
1天前
匿名网友[113.***.***.129]选择了 C
1天前
匿名网友[113.***.***.129]选择了 C
1天前
匿名网友[230.***.***.80]选择了 C
1天前
匿名网友[60.***.***.75]选择了 B
1天前
匿名网友[84.***.***.160]选择了 A
1天前
匿名网友[77.***.***.254]选择了 C
1天前
匿名网友[241.***.***.253]选择了 B
1天前
匿名网友[251.***.***.106]选择了 A
1天前
匿名网友[168.***.***.161]选择了 A
1天前
匿名网友[230.***.***.170]选择了 B
1天前
匿名网友[12.***.***.33]选择了 C
1天前
匿名网友[113.***.***.129]选择了 C
1天前
匿名网友[230.***.***.80]选择了 C
1天前
匿名网友[60.***.***.75]选择了 B
1天前
匿名网友[84.***.***.160]选择了 A
1天前
匿名网友[77.***.***.254]选择了 C
1天前
匿名网友[241.***.***.253]选择了 B
1天前
匿名网友[251.***.***.106]选择了 A
1天前
匿名网友[168.***.***.161]选择了 A
1天前
提交我的答案
登录提交答案,可赢取奖励机会。
更多“定义名为“学号”的属性,该属性的类型为“string”,该属性在XML中必须出现,下面正确的选项是()。”相关的问题
第1题
布局中的属性xmlns代表的含义

A、命名空间

B、文件格式

C、工程路径

D、布局内容

点击查看答案
第2题
● 在如下所示的一段 XML 代码中,根元素名为 (41 ) 。

<?xml version=”1.0” encoding=”GB2312” standalone=”yes”>

amp;$lt;/courseid>

(41 )A. xml B. state C. coursename D. courseid

点击查看答案
第3题
写出至少四种Windows操作系统常用的文件扩展名,并说明文件类型。
点击查看答案
第4题
以下不属于XML中合法的标记命名的是()。

A. _datetime

B. xml_datetime

C. date-time

D. 5datatime

点击查看答案
第5题
SharedPreferences保持的xml文件的根元素为

A、 <resources> … </resources>

B、 <application> … </application>

C、 <map>…</map>

D、 <string …>

点击查看答案
第6题
定义名为“联系方式”的属性组,该属性组包含两个名称分别为“邮箱”和“电话”的属性,这两个属性的类型均为"string",下面正确的选项为( )。

A、 <attributegroup name="联系方式"> <attribute name="邮箱" type="xsd:sting"> <attribute name="电话" type="“xsd:sting" "> </attribute> </attribute></attributegroup>

B、 <attributegroup name="联系方式"> <attribute name="邮箱" type="xsd:sting"> <attribute name="电话" type="“xsd:sting" "> </attribute> </attribute> </attributegroup>

C、 <attribute name="联系方式"> <attribute name="邮箱" type="xsd:sting"> <attribute name="电话" type="“xsd:sting" "> </attribute>

D、 <attribute name="联系方式"> <attribute name="邮箱" type="xsd:sting"> <attribute name="电话" type="“xsd:sting" "> </attribute>

点击查看答案
第7题
枚举限制:假设 Schema的名字空间前缀为“xsd”,现在需要定义名为“musicType”的简单类型,要求取值为“古典”、“流行”、“民族”三个字符串的其中之一,下面正确的选项是( )。

A、 <xsd:simpletype name="musicType"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="古典"> <xsd:enumeration value="流行"> <xsd:enumeration value="民族"> </xsd:enumeration> </xsd:enumeration> </xsd:enumeration> </xsd:restriction> </xsd:simpletype>

B、 <xsd:simpletype name="musicType"> <xsd:restriction base="xsd:enumeration"> <xsd:enumeration value="古典"> <xsd:enumeration value="流行"> <xsd:enumeration value="民族"> </xsd:enumeration></xsd:enumeration></xsd:enumeration></xsd:restriction> </xsd:simpletype>

C、 <xsd:simpletype name="musicType"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="古典"> <xsd:enumeration value="流行"> <xsd:enumeration value="民族"> </xsd:enumeration></xsd:enumeration></xsd:enumeration></xsd:restriction> </xsd:simpletype>

D、 <xsd:simpletype name="musicType"> <xsd:restriction base="xsd:string"> <xsd:string value="古典"> <xsd:string value="流行"> <xsd:string value="民族"> </xsd:string></xsd:string></xsd:string></xsd:restriction> </xsd:simpletype>

点击查看答案
第8题
定义名为“作者”的元素,其在XML中出现的次数至少一次,多则不限,下面正确的选项是( )。

A、 <element name="作者" minoccurs="1" maxoccurs="unbounded">

B、 <element name="作者" minoccurs="1" maxoccurs="100">

C、 <element name="作者" maxoccurs="unbounded">

D、 <element name="作者" maxoccurs="1" minoccurs="unbounded">

点击查看答案
第9题
范围限制:假设 Schema的名字空间前缀为“xsd”,现在需要定义名为“ageType”的简单类型,在“integer”类型的基础上增加范围限制,要求取值为[0,200]闭区间内的数,下面正确的选项是( )。

A、 <xsd:simpletype name="ageType"> <xsd:restriction base="xsd:string"> <xsd:minexclusive value="0"> <xsd:maxexclusive value="200"> </xsd:maxexclusive></xsd:minexclusive></xsd:restriction> </xsd:simpletype>

B、 <xsd:simpletype name="ageType"> <xsd:restriction base="xsd:decimal"> <xsd:minexclusive value="0"> <xsd:maxexclusive value="200"> </xsd:maxexclusive></xsd:minexclusive></xsd:restriction> </xsd:simpletype>

C、 <xsd:simpletype name="ageType"> <xsd:restriction base="xsd:integer"> <xsd:minexclusive value="0"> <xsd:maxexclusive value="200"> </xsd:maxexclusive></xsd:minexclusive></xsd:restriction> </xsd:simpletype>

D、 <xsd:simpletype name="ageType"> <xsd:restriction base="xsd:integer"> <xsd:mininclusive value="0"> <xsd:maxinclusive value="200"> </xsd:maxinclusive></xsd:mininclusive></xsd:restriction> </xsd:simpletype>

点击查看答案
第10题
范围限制:假设 Schema的名字空间前缀为“xsd”,现在需要定义名为“namestringType”的简单类型,在“string”类型的基础上增加范围限制,要求字符串的最小长度为2,最大长度为20,下面正确的选项是( )。

A、 <xsd:simpletype name="namestringType"> <xsd:restriction base="xsd:string"> <xsd:minlength value="2"> <xsd:maxlength value="20"> </xsd:maxlength></xsd:minlength></xsd:restriction> </xsd:simpletype>

B、 <xsd:simpletype name="namestringType"> <xsd:restriction base="xsd:string"> <xsd:length value="2"> <xsd:maxlength value="20"> </xsd:maxlength></xsd:length></xsd:restriction> </xsd:simpletype>

C、 <xsd:simpletype name="namestringType"> <xsd:restriction base="xsd:string"> <xsd:minlength value="2"> <xsd:length value="20"> </xsd:length></xsd:minlength></xsd:restriction> </xsd:simpletype>

D、 <xsd:simpletype name="namestringType"> <xsd:restriction base="xsd:string"> <xsd:minlength value="2"> <xsd:maxlength value="20"> </xsd:maxlength> </xsd:minlength> </xsd:restriction> </xsd:simpletype>

点击查看答案
重要提示: 请勿将账号共享给其他人使用,违者账号将被封禁!
查看《购买须知》>>>
重置密码
账号:
旧密码:
新密码:
确认密码:
确认修改
购买搜题卡查看答案
购买前请仔细阅读《购买须知》
请选择支付方式
微信支付
支付宝支付
点击支付即表示你同意并接受《服务协议》《购买须知》
立即支付
搜题卡使用说明

1. 搜题次数扣减规则:

功能 扣减规则
基础费
(查看答案)
加收费
(AI功能)
文字搜题、查看答案 1/每题 0/每次
语音搜题、查看答案 1/每题 2/每次
单题拍照识别、查看答案 1/每题 2/每次
整页拍照识别、查看答案 1/每题 5/每次

备注:网站、APP、小程序均支持文字搜题、查看答案;语音搜题、单题拍照识别、整页拍照识别仅APP、小程序支持。

2. 使用语音搜索、拍照搜索等AI功能需安装APP(或打开微信小程序)。

3. 搜题卡过期将作废,不支持退款,请在有效期内使用完毕。

请使用微信扫码支付(元)

订单号:

遇到问题请联系在线客服

请不要关闭本页面,支付完成后请点击【支付完成】按钮
遇到问题请联系在线客服
恭喜您,购买搜题卡成功 系统为您生成的账号密码如下:
重要提示:请勿将账号共享给其他人使用,违者账号将被封禁。
发送账号到微信 保存账号查看答案
怕账号密码记不住?建议关注微信公众号绑定微信,开通微信扫码登录功能
警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

- 微信扫码关注简答题 -
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反简答题购买须知被冻结。您可在“简答题”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
- 微信扫码关注简答题 -
请用微信扫码测试
欢迎分享答案

为鼓励登录用户提交答案,简答题每个月将会抽取一批参与作答的用户给予奖励,具体奖励活动请关注官方微信公众号:简答题

简答题官方微信公众号

简答题
下载APP
关注公众号
TOP