已知xml文档包含如下内容(list为根元素): <list> <item id="0001"> <price>18</price> </item> <item id="0002"> <price>15</price> </item> <item/> <product> <item id="01"></item> </product> </list> 使用xslt进行转换时,语句<xsl:template match=”/list/item[@id]”>能够匹配到()个item元素。
第1题:
有如下命令序列: USE ORDERS LIST OFF AVERAGE OTY TO AQTY FOR ITEM=”奔腾2” INDEX ON ITEM TO XRD TOTAL ON ITEM TO TTT FILEDS QTY ?AQTY 其中LIST命令显示的结果是: ITEM QTY 奔腾2 150 HP打印机 260 奔腾2 220 华硕主板 314 HP打印机 380 奔腾2 122 执行以上命令序列,?AQTY命令显示的值是( )。
A.241
B.220
C.164
D.150
第2题:
An application needs a table for each connection that tracks the ID and Name of all items previously ordered and committed within the connection. The table also needs to be cleaned up and automatically removed each time a connection is ended. Assuming the ITEMS table was created with the following SQL statement:CREATE TABLE items item_no INT, item_name CHAR(5), item_qty INT)Which of the following SQL statements will provide the table definition that meets the specified requirements?()
A.DECLARE GLOBAL TEMPORARY TABLE tracker AS (SELECT item_no, item_name FROM items) WITH NO DATA ON COMMIT PRESERVE ROWS ON DISCONNECT DROP TABLE
B.DECLARE GLOBAL TEMPORARY TABLE tracker AS (SELECT item_no, item_name FROM items) WITH NO DATA ON COMMIT PRESERVE ROWS
C.CREATE TABLE systmp.tracker AS (SELECT item_num, item_name FROM items) WITH NO DATA ON COMMIT PRESERVE ROWS
D.CREATE TABLE tracker AS (SELECT item_num, item_name FROM items) ON COMMIT PRESERVE ROWS ON DISCONNECT DROP TABLE
第3题:
print({x:’item’+str(x**2)forxin(2,4,6)})输出什么?()
第4题:
使用CSS,要隐藏元素,应选用()显示方式。
第5题:
在J2EE中,假设sample.xml文档有一个元素是
第6题:
翻译:Please quote us your price for 100 units of Item 6 in your catalog.
第7题:
What is a rotating item?()
第8题:
在J2EE中,假设sample.xml文档有一个元素是
第9题:
What does the FIND_MENU_ITEM built-in function return?()
第10题:
A new Item object is created with the preferred value in the id attribute.
The attribute id in the Item object is modified to the new value.
Compilation fails.
An exception is thrown at runtime.
The attribute id in the Item object remains unchanged.
第11题:
((Element)doc.getElementsByTagName(PERSON).item(0)).getNodeValue();
((Element)doc.getElementsByTagName(PERSON).item(0)).getElementsByTagName(NAME).item(0).getFirstChild().getNodeValue();
((Element)doc.getElementsByTagName(PERSON).item(0)).getElementsByTagName(NAME).item(0).getNodeValue();
((Element)doc.getElementsByTagName(PERSON).item(0)).item(0).getNodeValue();
第12题:
The internal ID of a menu.
The internal ID of a menu item.
The internal ID of a menu module.
The internal ID of form module to which the menu is attached.
第13题:
请完成下列Java程序:实现2个下拉式菜单,一个包含exit菜单项,另一个包含item1和item2共2个菜单项。要求选择exit菜单项时,退出程序;选择item1菜单项之后,item1项变为不可选而item2可选;选择item2菜单项时,item2变为不可选而item1可选。
注意:请勿改动main()主方法和其他已有语句内容,仅在下划线处填入适当的语句。
程序运行结果如下:
import java.awt.*;
import java.awt.event.*;
public class ex18_2 extends Frame. implements ActionListener {
private choiceHandler ch;
private MenuItem item1;
private MenuItem item2;
public static void main(String[] arg) {
new ex18_2 ( );
}
ex18_2 ( ) {
setTitle("ex18_2");
MenuItem item;
ch = new choiceHandler();
MenuBar mb = new MenuBar();
Menu fm = new Menu("File");
fm.addSeparator();
fm.add(item = new MenuItem("Exit"));
item.addActionListener(this);
fm.add(item);
mb.add(fm);
Menu mm = new Menu("Choice");
mm.add(item1 = new MenuItem("item1"));
item1.addActionListener(ch);
mm.add(item2 = new MenuItem("item2"));
item2.addActionListener(ch);
mb.add(mm);
setMenuBar(mb);
setSize(200,200);
show();
}
public void actionPerformed(ActionEvent ae) {
if(ae.getActionCommand().equals("Exit"))
System.exit(0);
else
System.out.println(ae.getActionCommand());
}
class choiceHandler implements ActionListener {
public void actionPerformed(ActionEvent ae) {
String strCommand = ae.getActionCommand();
if(_________________) {
item2.setEnabled(true);
item1.setEnabled(false);
} else if(______________________) {
item2.setEnabled(false);
item1.setEnabled(true);
}
}
}
}
第14题:
A.Strinfotrace:brdcp=btrm,brdid=XXX,item=“rssi”;
B.Strinfotrace:brdtp=btrm,brdid=XXX,item=“rssi”;
C.Strinfotrace:brdtp=btrm,id=XXX,item=“rssi”;
D.Strinfotrace:brdcp=btrm,id=XXX,item=“rssi”。
第15题:
display有()属性值?
第16题:
Given the following table definition: STOCK: item VARCHAR(30) status CHAR(1) quantity INT price DEC(7,2) If items are indicated to be out of stock by setting STATUS to NULL and QUANTITY and PRICE to zero, which of the following statements would be used to update the STOCK table to indicate that all the items whose description begins with the letter "S" are out of stock?()
第17题:
public class ItemTest { private final mt id; public ItemTest(int id) { this.id = id; } public void updateId(int newId) { id = newId; } public static void main(String[] args) { ItemTest fa = new ItemTest(42); fa.updateId(69); System.out.println(fa.id); } } What is the result?()
第18题:
An application needs a table for each connection that tracks the ID and Name of all items previously ordered and committed within the connection. The table also needs to be cleaned up and automatically removed each time a connection is ended. Assuming the ITEMS table was created with the following SQL statement: CREATE TABLE items item_no INT, item_name CHAR(5), item_qty INT) Which of the following SQL statements will provide the table definition that meets the specified requirements?()
第19题:
在J2EE中,假设sample.xml文档有一个元素是
第20题:
Which built-in copies values from a record group into a list item? ()
第21题:
POPULATE_LIST
POPULATE_GROUP
POPULATE_LIST_ITEM
POPULATE_LIST_FROM_GROUP
POPULATE_LIST_ITEM_FROM_GROUP
第22题:
第23题:
Strinfotrace:brdcp=btrm,brdid=XXX,item=“rssi”;
Strinfotrace:brdtp=btrm,brdid=XXX,item=“rssi”;
Strinfotrace:brdtp=btrm,id=XXX,item=“rssi”;
Strinfotrace:brdcp=btrm,id=XXX,item=“rssi”。