0

programming languages Online Quiz - 266

Description: programming languages Online Quiz - 266
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

What will be the output of the following program : void main() { int i=5; printf("%d %d %d %d %d",++i,i++,i++,i++,++i); }

  1. Compile-Time Error

  2. 10 9 8 7 6

  3. 9 8 7 6 6

  4. 10 8 7 6 6


Correct Option: D

What will be the output of the following program : void main() { unsigned ch='Y'; printf("%d",sizeof ch); }

  1. Compile-Time Error

  2. 2

  3. 4

  4. 1


Correct Option: B

What will be the output of the following program : void main() { int a=5; printf("%d"); }

  1. Compile-Time Error

  2. 5

  3. Unpredictable

  4. No output


Correct Option: B

What will be the output of the following program : void main() { int a=5,b=6; printf("%d"); }

  1. Compile time error

  2. 5

  3. 6

  4. Unpredictable


Correct Option: B

What will be the output of the following program : void main() { int a=5,b=6,c=7; printf("%d %d %d"); }

  1. Compile-Time Error

  2. 5 6 7

  3. 7 6 5

  4. Unpredictable


Correct Option: C

XSLT is:

  1. Extensible Stylesheet Language Translators

  2. Extended Stylesheet Language Transformation

  3. Extensible Style Language Transformation

  4. Extensible Stylesheet Language Transformation


Correct Option: D
  1. W3C Recommendation

  2. Cascading Style Sheets

  3. uses XPath to navigate in XML documents

  4. transforms an XML document into another XML document


Correct Option: B

XSLT stylesheets having number of templates.

  1. TRUE

  2. FALSE

  3. Not always true

  4. Not always false


Correct Option: A

From ________ onwards Firefox has support for XML and XSLT (and CSS).

  1. version 1.0.2

  2. version 1.0.0

  3. version 1.0.3

  4. version 2.0.0


Correct Option: A

_______ onwards Internet Explorer supports XML, Namespaces, CSS, XSLT, and XPath.

  1. Version 7

  2. Version 4

  3. Version 5

  4. Version 6


Correct Option: D

What is the correct symtax of for-each in XSLT ?

  1. CODE.....

  2. CODE.....

  3. CODE.....

  4. CODE.....


Correct Option: C

To facilitate the editing of XML a markup language editor should be used with

  1. basic functionality

  2. advanced functionality

  3. no functionality

  4. None of these


Correct Option: B

XSD is:

  1. XSL Schema Definition

  2. XSLT Schema Definition

  3. XML Schema Definition

  4. XHTML Schema Definition


Correct Option: C

XML Schemas are the Successors of

  1. XML

  2. DTD

  3. XSL

  4. XSLT


Correct Option: B
- Hide questions