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. HTTP

  2. WAP

  3. JAVA

  4. W3c

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

WMLScript is part of the WAP (Wireless Application Protocol) specification. WAP was the standard for accessing internet content on early mobile devices before modern smartphones. WMLScript serves as the scripting language component of the WAP ecosystem.

Multiple choice technology web technology
  1. Validate user input

  2. View Error Messages

  3. Generate dialog boxes

  4. None

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

WMLScript is used for all the listed purposes: validating user input on the client side, generating dialog boxes for user interaction, and working with error messages. Since all these are valid uses of WMLScript, 'None' indicates there's nothing WMLScript cannot do among these options.

Multiple choice technology web technology
  1. byte code

  2. object code

  3. Hexa code

  4. binary code

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

WMLScript is compiled into byte code on the server before transmission to the client device. This compilation process reduces file size and improves execution efficiency on resource-constrained mobile devices. The byte code is then interpreted by the WMLScript virtual machine.

Multiple choice technology web technology
  1. Map.xml only

  2. page handler only

  3. both map and page handler

  4. None of the above

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

In MVC web frameworks, input and business validations can be configured declaratively via XML mapping files (such as map.xml) or programmatically within the page handler class.

Multiple choice technology web technology
  1. map.xml

  2. web.xml

  3. ps.xml

  4. tag libraries

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

In PS (PeopleSoft) applications, page handlers are defined in the ps.xml configuration file, which is specific to the PS framework. web.xml is for general servlet configuration, map.xml is for field mappings, and tag libraries are for UI components - none of these define page handlers. The correct answer is C (ps.xml).

Multiple choice technology web technology
  1. tag libraries

  2. JSP

  3. Servlet

  4. Web.xml

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

Custom JSP tags are defined in tag libraries, which are XML files with a .tld (Tag Library Descriptor) extension. These tag library descriptors contain the tag definitions, including tag names, attributes, and handler classes. The tag library is then referenced in the JSP page or web.xml configuration.

Multiple choice technology enterprise content management
  1. eXpendable Mother in Law

  2. eXtensible Markup Language

  3. eXtended Mobile Language

  4. eXtensive Machine Language

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

XML is a widely used standard markup language that stands for eXtensible Markup Language, designed to store and transport structured data.

Multiple choice technology
  1. True

  2. False

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

Custom tags in JSP (JavaServer Pages) are user-defined elements that allow developers to encapsulate reusable functionality. They extend JSP's standard tag library with domain-specific tags, improving code maintainability and reusability.

Multiple choice technology operating systems
  1. Hyper Text Markup Languauge

  2. Hyper Tension Maker Language

  3. Hyper Text Makeup Language

  4. Hyper Test Markup Language

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

HTML stands for HyperText Markup Language, which is the standard language for creating web pages. Note: option A has a typo (Languauge should be Language) but it's still the intended correct answer among the choices.

Multiple choice technology web technology
  1. var obj=document.findControl('controlId');

  2. var obj=document.getObjectById('controlId');

  3. var obj=document.getElementById('controlId');

  4. var obj=document.getObject('controlId');

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

The standard DOM method to retrieve an HTML element by its ID attribute is document.getElementById(). This returns the element object if found, or null if no element with that ID exists. Options A, B, and D reference non-standard methods that don't exist in the DOM API.

Multiple choice technology web technology
  1. One to one

  2. One to many

  3. Many to one

  4. None of the above

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

The element in Hibernate mapping is used for collections requiring key-value pair semantics, typically for one-to-many or many-to-many associations where the collection needs to be indexed. While , , and can also map one-to-many relationships, is specifically designed when you need to maintain index-based access to the collection elements.