Index
=>
Quiz 6
Quiz
Show all questions
<=
=>
Which of the following can be validated by an XML Schema but not by a DTD
?
That the names of the elements are correct
?
That a compulsory attribute is present
?
That the ordering of elements is correct
?
That an element contains data in the correct format for a date
XML Namespaces are useful because
?
They specify the name of the DTD to use with an XML document
?
They can be used to apply a cacading style sheet to an XML document
?
The are used to name the source file of the XML document
?
They identify in which document a particular element is specified
Look at the following fragment from an XML Schema
Which of the following elements could occur four times but could not occur zero times in an XML document that was valid according to this schema
?
isbn
?
editor
?
editions
?
author
A foreign key is used to
?
Select the end user language in an internationalised web page
?
Relate two database tables together
?
Unlock a secure web page
?
Define a Boolean data type as a media type
The following is SQL code to create a database table
What is the primary key?
?
ID
?
PAPER
?
SEMESTER
?
DATE
The PAPER field can contain
?
exactly 20 characters
?
up to 20 characters
?
a numeric value
?
a primary key value
Given the table created above, what is wrong with the following line of SQL?
?
It is not syntactically correct SQL
?
The 1 should be in speech marks
?
The date is not in the correct format
?
The 1 should be omitted
The default value in a database table that will be used if no other data is provided is
?
NULL
?
ZERO
?
0
?
""
Which of the following is the most appropriate use for JavaScript?
?
To generate a JavaServer Page
?
To validate form data on the client
?
To dynamically generate a complete HTML page
?
To create a JavaBean from the database
Here is a small part of a Web page that uses JavaScript
In this code, status is
?
A variable
?
A property of the window
?
A method of the window
?
An object inside the window
OK
Index
=>