You can test for the presence or absence of an attribute or element by entering the attribute or element name without any _____ operator.

A. ?comparison
B. ?conditional
C. ?node
D. ?choose


Answer: A

Computer Science & Information Technology

You might also like to view...

In Tutorial 15, your Lottery Picker application selected numbers for four different types of lotteries. In this exercise, you enhance the Lottery Picker to select four different sets of number for the five-number lottery and to pre- vent duplicate numbers from being selected (Fig. 17.34). Recall that the lottery is played as follows:

? Five-number lotteries require players to choose five unique numbers in the range of 0–39.
a) Copying the template to your work directory. Copy the C:ExamplesTutorial17 ExercisesEnhancedLotteryPicker directory to your C:SimplyJava directory.
b) Opening the template file. Open the LotteryPicker.java file in your text editor.
c) Iterating over the four lotteries. Add code on line 138 to begin a for statement in your application which will execute four times—once for each lottery. Use variable lottery as the for statement’s counter.
d) Initialize the boolean array. To generate unique numbers in each lottery, you will use a two-dimensional boolean array, uniqueNumber (declared for you in the tem- plate). When a number has been selected for a lottery, the value of that variable in the array (indexed by the lottery and the number selected) will be true. First, you must initialize the value for the lottery’s numbers to false. Add a nested for state-
ment to set the

Computer Science & Information Technology

Applying a font attribute such as boldface is an example of editing text

Indicate whether the statement is true or false

Computer Science & Information Technology

You can use the UML's ____ to construct different kinds of software diagrams and model different kinds of systems.

A. characters B. charts C. text D. shapes

Computer Science & Information Technology

Case Based Critical Thinking Questions

Case 5-1 Carlos has developed a database for his organic farm.The farm sells organic produce and meat. In addition to the retail sales of his products, he offers cooking demonstrations five times each month for a small fee. The demonstrations are limited to 10 people. The database contains the following tables: Products, ProductPrices, ProductCosts, Suppliers, Customers, and CookingDemos. The Products, Product Prices, Product Costs and Suppliers tables are related using the ProductID field. The Customers and CookingDemos tables are related on the CustomerID field. Carlos needs to make some decisions using his database. Determine the best method for Carlos to use to achieve the results he wants. ? ? Carlos would like to create a query based on the Customer table that allows him to type in the name of the cooking demonstration for which the query will run. Which type of query should Carlos create so that he can type in the name of the cooking demonstration before the query runs? A. parameter query B. top values query C. crosstab query D. pattern match query

Computer Science & Information Technology