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,j=5; i=i++i++*i++*i++; printf("i=%d ",i); j=++j++j*++j*++j; printf("j=%d",j); }

  1. Compile-Time Error

  2. i=1680 j=1680

  3. i=629 j=6561

  4. i=1681 j=3024


Correct Option: C

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,c=7; printf("%d %d %d"); }

  1. Compile-Time Error

  2. 5 6 7

  3. 7 6 5

  4. Unpredictable


Correct Option: C
  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

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

  1. CODE.....

  2. CODE.....

  3. CODE.....

  4. CODE.....


Correct Option: C
  1. basic functionality

  2. advanced functionality

  3. no functionality

  4. None of these


Correct Option: B

Schema is an _____ based alternative

  1. XHTML

  2. XML

  3. XSL

  4. XSLT


Correct Option: B

XSD is:

  1. XSL Schema Definition

  2. XSLT Schema Definition

  3. XML Schema Definition

  4. XHTML Schema Definition


Correct Option: C
- Hide questions