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 programming languages
  1. XML imposes important limitations on the receiving program or tool.

  2. The receiving program or tool can use the XML tagging information to determine how to best handle the incoming data

  3. XML tags offer an extra level of security.

  4. XML tags specify to the receiving program or tool exactly how to format and display the data.

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

XML's tagging structure allows receiving programs to parse and understand data structure without prior knowledge. The tags describe what the data IS, not how to FORMAT or display it (that's XSLT/CSS's job). XML doesn't impose limitations on receivers or add security - its value is in self-describing, structured data exchange.

Multiple choice technology web technology
  1. Action not to be taken on the page defined in Page Context

  2. Where you can use $Any, $None
  3. Action will be taken on the properties of the page defined in Page Context

  4. Only used in Declarative rules

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

Page Context specifies the specific clipboard page on which a rule or property operates. Actions and validations are performed directly on the properties of the page defined in that context. Distractors incorrectly state it restricts actions, is exclusively for wildcards, or is limited solely to declarative rules.

Multiple choice technology web technology
  1. To show XML pages in Display

  2. To add HTML Screens in Display

  3. For Customizing the Display

  4. To display special HTML characters

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

An HTML property rule (now known as a Control rule) is used to customize the display of property values on user interface screens, allowing developer-defined custom formatting and behaviors.

Multiple choice technology web technology
  1. Action not to be taken on the page defined in Page Context

  2. Where you can use $Any, $None
  3. Action will be taken on the properties of the page defined in Page Context

  4. Only used in Declarative rules

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

Page Context in Pega defines the scope of where an action or rule will apply - specifically, it targets the properties of the page defined in that context. $Any and $None are special page list keywords, not directly related to Page Context definition. Page Context is not limited to declarative rules and can be used in various rule types to specify the target page.

Multiple choice technology web technology
  1. To show XML pages in Display

  2. To add HTML Screens in Display

  3. For Customizing the Display

  4. To display special HTML characters

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

The HTML property type in Pega is used for customizing display by allowing rich HTML content to be embedded in sections and harnesses. It enables developers to add custom HTML markup, styling, and formatting to enhance the user interface beyond standard property displays. It is not specifically for XML pages, adding HTML screens as separate entities, or just for special HTML characters.

Multiple choice technology web technology
  1. Show-Page

  2. Show – XML

  3. Apply-Parse-XML

  4. Display – XML

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

The Show-Page method is the standard Pega method for displaying XML-formatted output. It serializes page data into XML format for display or transmission. Options B, C, and D are not valid Pega methods for this purpose.

Multiple choice technology web technology
  1. a. Rule-HTML-Harness

  2. b. Rule-Harness-HTML

  3. c. Rule-Obj-HTML

  4. d. Rule-HTML

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

In Pega's rule naming convention, Harness rules are named 'Rule-HTML-Harness'. The naming follows the pattern Rule-{Type}-{Specific}. Option A correctly identifies the full rule type name.

Multiple choice technology web technology
  1. Show-Page

  2. Show – XML

  3. Apply-Parse-XML

  4. Display – XML

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

The Show-Page method in Pega PRPC is used to display a clipboard page in XML format. This is the standard method for viewing page data structured as XML. Apply-Parse-XML is used for parsing XML into clipboard pages (the reverse operation), and Show-XML or Display-XML are not standard Pega methods.

Multiple choice technology web technology
  1. Action not to be taken on the page defined in Page Context

  2. Where you can use $Any, $None
  3. Action will be taken on the properties of the page defined in Page Context

  4. Only used in Declarative rules

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

Page Context in PRPC rules specifies which page's properties the rule will operate on. It's not about excluding actions (A), not specifically about $Any/$None usage (B), and not limited to declarative rules (D). The Page Context directly targets the property scope.

Multiple choice technology web technology
  1. Use * line *

  2. Use * Line *\

  3. Use {COMMENT} text {/COMMENT}

  4. Use // Comment (Java Style)

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

Pega HTML rules use a custom comment syntax with curly braces: {COMMENT} text {/COMMENT}. This is not standard HTML (which uses ), but specific to Pega's HTML rule format. The other options show incorrect syntaxes (* line *, // Comment) that aren't valid in Pega HTML.

Multiple choice technology web technology
  1. To show XML pages in Display

  2. To add HTML Screens in Display

  3. For Customizing the Display

  4. To display special HTML characters

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

In Pega, 'HTML' type properties or rules containing HTML code are primarily used for rendering and customizing the display of user interfaces, screens, and fields, rather than manipulating XML or simply displaying escape characters.