0
Alien head

programming languages Online Quiz - 152

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

Which of the following statements is false?

  1. XSLT is a subset of XSL

  2. XSLT uses XPath

  3. XSLT is not a W3C Recommendation

  4. XSLT is written in XML


Correct Option: C

For XML Parser to ignore a certain section of XML Document, which syntax is correct?

  1. Text to be ignored

  2. Text to be ignored


Correct Option: A

Well formed XML document means

  1. it contains a root element

  2. it contain an element

  3. it contains one or more elements

  4. must contain one or more elements and root element must contain all other elements


Correct Option: D

What is the correct syntax of the declaration which defines the XML version?

  1. None of the above


Correct Option: B

Comment in XML document is given by

  1. -- -->

  2. -- -- >


Correct Option: C
  1. What does DTD stand for?
  1. Direct Type Definition

  2. Document Type Definition

  3. Do The Dance

  4. Dynamic Type Definition


Correct Option: B
  1. What does XML stand for?
  1. eXtra Modern Link

  2. eXtensible Markup Language

  3. Example Markup Language

  4. X-Markup Language


Correct Option: B

A Java object is subject to garbage collection when it becomes unreachable to the program in which it is used.

  1. True

  2. False


Correct Option: A

Map is Interface and Hashmap is class that implements Map

  1. True

  2. False


Correct Option: A

Vector is synchronized whereas arraylist is not.

  1. True

  2. False


Correct Option: A

A final class can be extended

  1. True

  2. False


Correct Option: B

Static means one per class, not one for each object

  1. True

  2. False


Correct Option: A

Assembly manifest contains

  1. Assembly’s Identity

  2. Assembly’s Reference List

  3. Both A & B

  4. NONE


Correct Option: C

Which program will you use to assemble a program written in IL

  1. ilasm

  2. ildasm

  3. clr

  4. NONE


Correct Option: A

What is the output of the following code in Test class Class Myclass Dim Num as Integer Private Sub New (i as integer) Num=I End sub End class Class Test Sub Main() Dim c as Myclass C=New Myclass (10) End sub End Class Num variable of Myclass is initialized to 10

  1. Run Time Error

  2. Compiler Error

  3. StackOverflow Exception

  4. NONE


Correct Option: B

What is the operator that is used to cast up & down the inheritance hierarchy?

  1. Casting

  2. DirectCast

  3. InheritenceCast

  4. LevelCasting


Correct Option: B

Which of the following can be used to run other application or batch file from VB.Net

  1. System.Diagnostics.Process

  2. System.App.Run

  3. System.Diagnostics.Run

  4. System.Fileapp.Execute


Correct Option: C

How do you create method which can be accessed without the use of objects reference ?

  1. Using FRIEND Keyword

  2. Using STATIC Keyword

  3. Using SHARED Keyword

  4. NONE


Correct Option: C

You can create COM Dll’s using VB.NET

  1. True

  2. False


Correct Option: B

A ‘Queue’ Collection provides ‘first-in-first-out’ functionality:

  1. True

  2. False


Correct Option: B
+ View questions