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 testing
  1. Site template

  2. Features

  3. List Definition

  4. All the above

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

WSP (SharePoint Solution Package) files are deployment packages that can contain features, site definitions, list templates, web parts, assemblies, and other SharePoint artifacts. They're the standard unit for deploying custom SharePoint components. Option D correctly indicates WSP files are versatile containers for multiple solution types.

Multiple choice technology testing
  1. From DB

  2. From XML

  3. From CSV file

  4. All of The Above

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

VSTS (Visual Studio Team System) web tests support multiple parameterization sources including databases, XML files, and CSV files. This allows test data to be externalized and varied across test iterations. Since all three sources (DB, XML, CSV) are supported, Option D is the correct comprehensive answer.

Multiple choice technology web technology
  1. Add Tag prefix, Tag name

  2. Add Source, Tag prefix

  3. Add Src, Tagprefix, Tagname

  4. None of these

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

To register a user control in an ASP.NET page, you use the @Register directive with the Source attribute (pointing to the .ascx file) and TagPrefix attribute. The TagName is optional in some contexts but Source and TagPrefix are the essential required elements for proper registration.

Multiple choice technology web technology
  1. 2

  2. 3

  3. 4

  4. None of the above

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

There are three main types of XML parsers: SAX (Simple API for XML) - event-based push parser, DOM (Document Object Model) - tree-based parser, and StAX (Streaming API for XML) - pull parser. Some might also consider character-only parsers, but the three major programming models are SAX, DOM, and StAX.

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