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. Hyper Text Markup Language

  2. Home Tool Markup Language

  3. Hyperlinks and Text Markup Language

  4. Hyper Tool Markup Language

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

HTML stands for Hyper Text Markup Language. It is the standard markup language for creating web pages. 'Hyper Text' refers to the cross-linking of documents, 'Markup' indicates the tags that define elements, and 'Language' identifies it as a coding system for web content structure.

Multiple choice technology programming languages
  1. It defines the standard tag that works the same everywhere

  2. It is a single library and we can use it in multiple jsp containers

  3. It has support for the common structural tasks like iteration and condition

  4. All of the above

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

JSP Tag Libraries (JSTL - JSP Standard Tag Library) define standard tags that work consistently across different JSP containers, are portable as single libraries usable in multiple containers, and provide built-in support for common structural patterns like iteration and conditional logic.

Multiple choice technology programming languages
  1. AirthmaticFormat

  2. CurrencyFormat

  3. NumberFormat ==

  4. StringBuffer

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

To solve this question, the user needs to know what class can be used for formatting money on a JSP page.

The correct answer is:

C. NumberFormat

Option C is correct because the NumberFormat class is used for formatting numbers, including currency values. It provides methods for formatting numbers into strings that can be displayed on a JSP page. The CurrencyFormat class does not exist in Java and AirthmaticFormat and StringBuffer are not used for formatting currency values.

Therefore, the answer is: C. NumberFormat.

Multiple choice technology programming languages
  1. <%= expressions %>

  2. <% code fragment %

  3. <%! Declarations %>

  4. <%-- comment -- %>

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

The <% code fragment %> tag (scriptlet) contains Java code fragments that are valid in the page scripting language. This code is placed in the _jspService() method of the generated Servlet and executes during request processing.

Multiple choice technology web technology
  1. RPC/encoded

  2. RPC/document

  3. RPC/literal

  4. Document/encoded

  5. Document/literal,

Reveal answer Fill a bubble to check yourself
A,C,D,E Correct answer
Explanation

WSDL defines five valid SOAP binding style/use combinations. Document/literal and RPC/literal are WS-I compliant and recommended. RPC/encoded was common in early SOAP but is now deprecated. Document/encoded is technically valid though rarely used. RPC/document is not a standard WSDL combination.

Multiple choice technology web technology
  1. Header

  2. Envelope

  3. Body

  4. Fault is the Root Element

  5. None of the above

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

According to SOAP specification, a Fault element must appear within the Body element of the SOAP message. It cannot be in Header, Envelope (the root), or be a root element itself. The Fault element carries error or fault information from the endpoint.

Multiple choice technology web technology
  1. 1) A SOAP message MUST NOT use the SOAP Encoding namespace

  2. 1) A SOAP message MUST use the SOAP Envelope namespace

  3. 2) A SOAP message MUST contain XML Processing Instructions

  4. 2) A SOAP message MUST NOT contain a DTD reference

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

SOAP messages MUST use the SOAP Envelope namespace (xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/') as it defines the message structure. They MUST NOT contain DTD references because SOAP is designed to work with XML parsers that may not validate against DTDs. SOAP Encoding namespace is optional (used with rpc/encoded style).

Multiple choice technology programming languages
  1. JSP

  2. ASP

  3. CSS

  4. HTML

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

Oracle 9i Reports uses JSP (JavaServer Pages) technology to embed reports directly into web pages, enabling dynamic report generation within web applications. ASP is Microsoft's technology, CSS is for styling, and HTML is the markup language itself. JSP allows seamless integration of Oracle reports with Java-based web infrastructure.

Multiple choice technology testing
  1. web_reg_save_param

  2. . lr_set_debug

  3. lr_think_time()

  4. None of the above

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

web_reg_save_param is the LoadRunner function (in web Vuser scripts) that captures and saves dynamic values from server responses into parameters. These parameters can then be used in subsequent requests. lr_set_debug is for debugging settings, lr_think_time simulates user think time.