Case-based Critical Thinking Questions
Case 3-2
Judy has begun to apply the basic information that you have given her about schemas, and she would now like your help in mastering the details of how schemas work.
Judy has included the following element definition in her schema:
In this schema, what type of element isingredient?
?
A. an element containing only attributes
B. an element with nested children
C. an element with nested elements and attributes
D. a sequence element
Answer: B
You might also like to view...
What is the following code an implementation of?
public class Program { public static void main(String[] args) { String text = "AABAACAADAABAAABAA"; String pattern = "AABA"; search(text, pattern); } private static void search(String text, String pattern) { int M = pattern.length(); int N = text.length(); for (int i = 0; i <= N - M; i++) { int j; for (j = 0; j < M; j++) { if (text.charAt(i + j) != pattern.charAt(j)) { break; } } if (j == M) { System.out.println("Pattern found at index " + j); } } } } a. Naive search algorithm b. Boyer-Moore algorithm c. Knuth-Morris-Pratt algorithm d. Rabin-Karp algorithm
A(n)________ is a connection between two information systems for the purpose of exchanging data
a. Interface b. Message c. Protocol d. Point-to-point connection
Programs that are based on ________ graphics record your images on a pixel by pixel basis and will typically save files in formats such as JPG, GIF, and PNG.
A. PIM B. bitmap C. vector D. 3D
FIGURE EX 2-1 Which button would you select in the dialog box shown in Figure EX 2-1 above to fill in the series with formatting intact?
A. Growth B. Linear C. AutoFill D. Trend