Computer Knowledge

Markup and Web Languages

1,492 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. True

  2. False

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

SAX (Simple API for XML) is an event-driven parser that reads XML documents sequentially and triggers callback methods as it encounters elements, attributes, and text, rather than loading the entire document into a tree structure.

Multiple choice technology web technology
  1. True

  2. False

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

This is false. SAX cannot be used to modify XML because it's a read-only, forward-only parser. It doesn't build a tree structure or maintain the document in memory - it just fires events as it reads. To modify XML, you need DOM (which loads the full tree) or use StAX with write capabilities. The claimed answer (B/False) is correct.

Multiple choice technology web technology
  1. True

  2. False

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

The Document Object Model (DOM) parser loads the entire XML document into memory and builds a tree structure for navigation and manipulation. This approach makes it easy to traverse the document, but it requires substantial memory for large files. Alternative parsers, such as SAX, process XML sequentially without loading the entire tree into memory.

Multiple choice technology web technology
  1. True

  2. False

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

StAX (Streaming API for XML) uses a pull-based parsing model where the application controls when to read the next event. Push-based parsers like SAX generate events automatically and the application must handle them. Since StAX is pull-based, not push-based, the statement is False.

Multiple choice technology performance
  1. a.web_reg_find()

  2. b.web_reg_save_param()

  3. c.web_regsave_param()

  4. d.web_reg_saveparam()

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

web_reg_save_param() is the function used to correlate dynamic values in HTTP/HTML scripts. It registers a request to save dynamic data from server responses to a parameter. web_reg_find() is for content verification, not parameter saving.

Multiple choice technology operating systems
  1. Binding

  2. StaticResource

  3. DynamicResource

  4. Button

  5. Object

  6. x:Type

Reveal answer Fill a bubble to check yourself
A,B,C,F Correct answer
Explanation

XAML markup extensions include Binding (data binding), StaticResource (lookup static resources), DynamicResource (lookup dynamic resources), and x:Type (pass a Type object). Button is a regular control, not a markup extension, and Object is not a standard markup extension.

Multiple choice technology testing
  1. Java Script

  2. VB Script

  3. SQL Server Management Studio

  4. Web service

  5. ActiveX

  6. Flash

Reveal answer Fill a bubble to check yourself
A,B,E,F Correct answer
Explanation

JavaScript, VBScript, ActiveX, and Flash are all client-side scripting technologies that can execute code in browsers, making them vectors for XSS attacks. SQL Server Management Studio is a database administration tool, not a browser scripting platform. Web services themselves don't execute XSS - the client that consumes them does.

Multiple choice technology web technology
  1. True

  2. False

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

The statement is FALSE. The include directive (<%@ include %>) performs better than the include tag () because the directive includes content at translation/compile time (once), while the tag includes at runtime (every request). The tag is slower but more dynamic. The claimed answer (B/False) correctly identifies this.

Multiple choice technology web technology
  1. Cascading Style Structure, defines how to display HTML elements

  2. Cascading Style Sheets, defines how to display XML elements

  3. Cascading Style Sheets, defines how to display HTML elements

  4. Cascading Style Structure, defines how to display the webpage

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

CSS stands for Cascading Style Sheets. It is a stylesheet language used to describe the presentation and formatting of HTML documents. CSS separates content (HTML structure) from presentation (styling), allowing developers to control colors, fonts, layouts, and other visual aspects of web pages. The 'Structure' in options A and D is incorrect - CSS refers to 'Sheets,' not 'Structure'.

Multiple choice technology web technology
  1. Asynchronous Javascript and XML, is the art of exchanging data with a server, and update parts of a web page - without reloading the whole page

  2. Asynchronous Javascript and XSLT, is the art of exchanging data with a server, and update parts of a web page - without reloading the whole page

  3. Asynchronous Javascript and XML, is the art of exchanging data with a server, and updates entire web page reloading the whole page

  4. Asynchronous Javascript and XSLT, is the art of exchanging data with a server, and updates entire web page reloading the whole page

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

AJAX stands for Asynchronous JavaScript and XML. It is a technique for creating interactive web applications where web pages can exchange data with a server and update specific parts of the page asynchronously, without requiring a full page reload. This creates a smoother, more responsive user experience. The 'XSLT' variants in options B and D are incorrect, and option C wrongly states it updates the entire page.

Multiple choice technology web technology
  1. Server side

  2. Client side

  3. Both client and Server side

  4. DB Server

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

JavaScript traditionally executes on the client-side within the web browser. It runs in the user's browser environment, allowing for interactive features, form validation, DOM manipulation, and dynamic content updates without server interaction. While Node.js now enables server-side JavaScript, in the context of traditional web development fundamentals, JavaScript is primarily a client-side scripting language.

Multiple choice technology architecture
  1. SOAP

  2. UDDI

  3. WSDL

  4. WS-I

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

WSDL (Web Services Description Language) is an XML-based language that describes web services' functionality, including available operations, message formats, and endpoint locations. It tells clients HOW to access a web service. SOAP is a messaging protocol, UDDI is a registry for publishing/discovering services, and WS-I is an interoperability organization - none of these describe the service interface like WSDL does.

Multiple choice technology platforms and products
  1. Using Joiner

  2. Create xml using Denormalized XML views( Hierarchical relationship)

  3. Direct Move possible

  4. None of the above

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

XML source groups require specific methods to combine into a single target. Joiner transformation merges XML groups based on keys. Denormalized XML views with hierarchical relationships can create unified XML output from multiple source groups.