Tag: programming languages

Questions Related to programming languages

  1. All the statements are true

  2. All XML elements must have a closing tag

  3. All XML elements must be lower case

  4. All XML documents must have a DTD


Correct Option: B

XSLT

  1. Improves Server Performance

  2. Allows customize data presentations

  3. Replaces XML

  4. Used to store xml to databases


Correct Option: B

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

  1. None of the above


Correct Option: C

Move by name performs

  1. Resets the values

  2. Copies the values of mathcing column names

  3. Copies and rests the value specified

  4. None of the above


Correct Option: B
  1. REASSIGN

  2. REDECLARE

  3. REDEFINE

  4. None of the above


Correct Option: C

Use of Examine command

  1. Inspect the content of an alphanumeric

  2. Inspect the content of a binary field

  3. Range of fields within an array

  4. Add a pattern

  5. Delete a pattern

  6. None of the above


Correct Option: A,B,C,E

What will be the ouput of the following code snippet? StringBuffer myBuffer = new StringBuffer(15); myBuffer.append("Hello World!"); System.out.println(myBuffer.length()+","+ myBuffer.capacity());

  1. 15,15

  2. 12,12

  3. 12,15

  4. 15,12


Correct Option: C

What will be the ouput of the following code snippet? String myString1 = "Hello World!"; myString1.replace('e', 'o'); System.out.println(myString1);

  1. Hallo World!

  2. Hello World!

  3. Compile time error

  4. NullPointerException


Correct Option: B