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:
    
            
                  
                        
                        
                  

            

    

Judy would like to indicate that the ingredient element must appear at least once in a recipe, and that it cannot appear more than 20 times. Which of the following should she add to the element declaration to indicate these restrictions?

A. occurs="1:20"
B. occurs="[1:20]"
C. use="1:20"
D. minOccurs="1" maxOccurs="20"


Answer: D

Computer Science & Information Technology

You might also like to view...

Which of the following is a benefit of using certificates with the self-service portal?

A. higher-speed communication B. fault tolerance C. host identification D. unencrypted messages

Computer Science & Information Technology

You are troubleshooting your laptop because it just will not keep an IP address. When it gets an IP address, it releases it and cycles through repeatedly. You have replaced the cable, plugged into a known good network jack, and successfully connected a different laptop. Which of the following tools should you try next?

A. Tone generator B. Multimeter C. Cable tester D. Loopback plug

Computer Science & Information Technology

__________ sockets and the __________ protocol are more desirable for the vast majority of Java programmers.

a. Stream, UDP. b. Stream, TCP. c. Datagram, UDP. d. Datagram, TCP.

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

1. Programs in all high-level programming languages are compiled into efficient machine code. 2. In C++, you can insert a comment in your program by surrounding the comment with braces { }. 3. In C++, the statement const double pi = 3.14; is an executable statement. 4. In C++, the statement x = y + z; is a declaration statement. 5. The syntax of a particular computer language is a set of rules defining the form of a correct program in that language

Computer Science & Information Technology