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
B
Correct answer
Explanation
Rule Resolution in Pega is the mechanism that selects the best rule to execute based on factors like class hierarchy, rule set availability, circumstance, and other criteria. It applies to rule types that can have multiple versions targeting different contexts, like Declare-OnChange, Declare-Constraints, Declare-Trigger. Rule-HTML-Property is a UI rule that defines how a property is displayed and is selected directly by its class and rule set - it does not participate in rule resolution.
B
Correct answer
Explanation
In Pega, property names with the 'py' prefix indicate standard properties that are part of the Pega platform and can be updated through user input. Other prefixes like 'px' are reserved for Pega internal use, 'pz' for inherited properties, and 'ps' for specialized purposes.
-
Each parse xml rule contains set of parsing instructions for the PRPC
-
XML message mapped to clipboard properties
-
Rule extracts the data between delimiters
-
None of the above
A,B
Correct answer
Explanation
Rule-Parse-XML defines parsing instructions that map XML message elements to clipboard page properties. Each parse rule contains instructions for PRPC on how to extract and map data from XML to the clipboard. It does not extract data between delimiters (that's delimited parsing) and is specifically for XML-clipboard mapping.
-
a.Show-XML
-
b.Show-Html
-
c.Show-Page
-
d.Show-Step-Page
C
Correct answer
Explanation
The Show-Page method displays step page information in XML format, which is useful for debugging activities. Show-XML and Show-Step-Page are not valid PRPC methods, and Show-Html would show HTML format, not XML.
-
a.Show-XML
-
b.Show-Html
-
c.Show-Page
-
d.Show-Step-Page
C
Correct answer
Explanation
Show-Page is the Pega method that displays a step page's complete structure in XML format, making it invaluable for debugging. It shows all properties and their values in the current clipboard context. Despite the name, it outputs XML, not HTML, and is specifically designed for page inspection.
A
Correct answer
Explanation
JSP technology was specifically designed to process HTML form data as part of Java EE web application development. JSP pages can access form parameters through implicit objects like request.getParameter(), making form processing a core capability.
-
error-page
-
exception-type
-
location
-
None of the above
A
Correct answer
Explanation
The 'error-page' tag in web.xml is used to define error pages for JSP/servlet applications. It maps error codes or exception types to specific location URLs where error handling pages reside. The other options are sub-elements within error-page configuration, not the defining tag itself.
-
AirthmaticFormat
-
CurrencyFormat
-
NumberFormat
-
StringBuffer
C
Correct answer
Explanation
The NumberFormat class (specifically NumberFormat.getCurrencyInstance()) is the correct Java class for formatting monetary values on JSP pages. ArithmeticFormat is not a standard Java class, CurrencyFormat doesn't exist in the standard API, and StringBuffer is for string manipulation not formatting.
A
Correct answer
Explanation
The action tag is used to embed client-side components like Applets or JavaBeans into a web page. It automatically generates the browser-specific HTML elements and `` depending on the client browser, making the statement and stored answer correct.
A
Correct answer
Explanation
SOAP messages do not have a default encoding style. SOAP supports multiple encoding styles including document/literal and RPC/encoded. The encoding is specified in the WSDL and SOAP message itself, not predefined by the SOAP specification.
B
Correct answer
Explanation
The element in WSDL defines the abstract interface - a collection of operations. This is analogous to a function library or interface signature in programming languages, not to function parameters. Parameters would correspond to individual message parts within operations.
B
Correct answer
Explanation
Multiple XML Schemas can be referenced in a single XML document by mapping different namespaces to their respective schema locations using the xsi:schemaLocation attribute. The statement is false, making the stored choice correct since it claims this is impossible.
-
Hyper Text Makeup Language
-
Hyper Text Markup Language
-
Hyper Text MainframeLanguage
-
Hyper Text Machine Language
B
Correct answer
Explanation
HTML stands for Hyper Text Markup Language. It is the standard language used for creating web pages. The alternative options containing Makeup, Mainframe, or Machine are incorrect fabrications and do not represent the actual name of the web standard.
D
Correct answer
Explanation
The IMG tag (image) inserts images into HTML documents. It is a self-closing empty element using the src attribute to specify the image URL. Alternative names like photo, graphic, and pic are not valid HTML elements.
-
announce
-
attribute
-
anchor
-
assign