Computer Knowledge

Markup and Web Languages

1,701 Questions

Test your understanding of HTML tags, XML structures, and web page creation technologies. The questions cover elements like CSS styling, parsing documents, and defining web attributes. This section is essential for candidates appearing for computer proficiency tests in various competitive exams.

HTML tags and attributesXML document parsingCSS styling levelsWeb page creation basicsBrowser compatibility

Markup and Web Languages Questions

Multiple choice technology web technology
  1. X-Markup Language

  2. eXtensible Markup Language

  3. Example Markup Language

  4. eXtra Modern Link

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

XML stands for eXtensible Markup Language. The 'X' represents 'eXtensible', reflecting that XML allows users to define their own tags and document structure, unlike HTML which has fixed tags.

Multiple choice technology web technology
  1. <link type="text/xsl" href="mystyle.xsl" />

  2. <?xml-stylesheet type="text/xsl" href="mystyle.xsl" ?>

  3. <stylesheet type="text/xsl" href="mystyle.xsl" />

  4. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The correct way to reference an XSL stylesheet in XML is using the xml-stylesheet processing instruction: . This is placed in the XML prolog, not as an HTML-style link tag.

Multiple choice technology web technology
  1. Web Services Data Language

  2. Web Services Describing Language

  3. Web Services Description Language

  4. None of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

WSDL stands for Web Services Description Language. It is an XML-based language for describing web services, including their location, operations, and message formats. Option C has the correct expansion.

Multiple choice technology web technology
  1. 2

  2. 3

  3. 4

  4. 1

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In WSDL (Web Services Description Language), the `element has exactly two attributes:nameandtype. Thenameattribute provides a unique identifier for the binding, while thetype` attribute references the port type being bound, making "2" the correct answer.

Multiple choice technology web technology
  1. style attribute

  2. both 1 and 3

  3. transport attribute

  4. message attribute

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

To answer this question, the user needs to know about the SOAP protocol and its binding element.

The SOAP protocol is an XML-based messaging protocol used to exchange information between different systems. The soap:binding element is used to define the binding of a web service operation to a particular communication protocol.

The soap:binding element has two attributes:

A. style attribute: This attribute is used to define the encoding style used for the message. It specifies whether the message is encoded using the SOAP encoding rules or some other encoding rules.

B. transport attribute: This attribute is used to specify the communication protocol used for the message. It specifies the transport protocol used for sending and receiving the SOAP message. The transport protocol can be HTTP, SMTP, or any other protocol.

C. message attribute: This attribute is not a valid attribute for the soap:binding element. The message attribute is used in the soap:operation element to specify the input and output messages for the operation.

Therefore, the correct answer is:

B. Both 1 and 3

Multiple choice technology operating systems
  1. The file is really a directory and was named incorrectly.

  2. It is impossible for an html file to have permissions set that way.

  3. Everyone can read, write, and execute the file.

  4. The file can not be viewed on the WWW.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The permission string rwxrwxrwx grants read (r), write (w), and execute (x) permissions to the owner, group, and all other users (everyone). It is entirely possible for an HTML file to have these permissions, and it does not mean the file is a directory or unviewable.

Multiple choice technology programming languages
  1. Type

  2. Fixed values

  3. Length

  4. Header

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

To solve this question, the user needs to be familiar with the concept of a domain and its attributes.

A domain is a set of possible values for a specific attribute. It is used to define the type of data that can be stored in a database table column or an object property. The attributes of a domain specify the characteristics of the data that can be stored in it.

Option D is incorrect because "Header" is not a valid attribute of a domain. The attributes of a domain include:

A. Type: Specifies the data type of the attribute, such as integer, string, or date.

B. Fixed values: Specifies a set of allowed values for the attribute, such as a list of predefined options.

C. Length: Specifies the maximum length of the attribute's value, such as the maximum number of characters in a string.

Therefore, the answer is: D

Multiple choice technology web technology
  1. Security purpose

  2. easy to make change

  3. reusability

  4. none of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

PS tags are designed to enhance security, facilitate easy changes, and promote reusability in development. Since all three listed options are valid benefits and standard usages of PS tags, "none of the above" is the correct choice.

Multiple choice technology web technology
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

JSP pages created using PS tags cannot be decrypted easily because PS tags are server-side constructs that are processed before the page is served. The resulting output is standard HTML/JSP without the original PS tags, making reverse engineering difficult. False is the correct answer.

Multiple choice technology web technology
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

PS tags are a proprietary or specialized technology used within specific systems (likely presentation server frameworks), not a worldwide standard. The statement that they are 'used world wide' as a universal standard is false.

Multiple choice technology web technology
  1. WSDL is used to call a service

  2. WSDl is similar to SOAP

  3. Both 1 &2

  4. an XML grammar

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

WSDL (Web Services Description Language) is an XML grammar for describing web services - it defines the service interface, operations, messages, and binding details. Option D correctly identifies it as 'an XML grammar'. Options A and B are incorrect because WSDL describes services but doesn't call them, and it's complementary to SOAP (not similar).

Multiple choice technology web technology
  1. XHTML-based

  2. XSLT-based

  3. XSL-based

  4. XML-based

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

RSS is written in XML-based format, using standard XML syntax with specific RSS elements like , , , , and . The XML structure ensures compatibility with XML parsers and enables cross-platform consumption. RSS is not XHTML, XSL, or XSLT-based - it's a straightforward XML application that defines its own markup vocabulary within the XML framework.

Multiple choice technology web technology
  1. XHTML

  2. SOAP

  3. WSDL

  4. RSS

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

RDF is conceptually similar to RSS as both are XML-based formats for structuring web content. RSS (Really Simple Syndication) was originally based on RDF 1.0, and both share similar XML syntax and structure for describing data.