0

programming languages Online Quiz - 270

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

First broswer to incorporate Java technology is

  1. Internet explorer

  2. Safari

  3. Firefox

  4. Netscape navigator


Correct Option: D

Which one of the following is true

  1. The JDK and SDK holds the same features with different name

  2. The JDK forms an extended subset of a SDK

  3. The SDK forms an extended subset of a JDK

  4. None


Correct Option: B

'java' command converts source code into Java bytecode

  1. True

  2. False


Correct Option: B
  1. the meta data file that contains name-value pairs organized in different sections

  2. specific file contained within a JAR archive

  3. the manifest file is named MANIFST.MFT

  4. All the above


Correct Option: A,B

public class AQuestion{ public static void main(String args[]){ System.out.println("Before Try"); try{ } catch(Throwable t){ System.out.println("Inside Catch"); } System.out.println("At the End"); } }

  1. Compiler error complaining about the catch block where no IOException object can ever be thrown.

  2. Compiler error - IOException not found. It must be imported in the first line of the code.

  3. No compiler error. The lines “Before Try” and “At the end” are printed on the screen.

  4. None of Above


Correct Option: A,B,C,D

The class java.lang.Exception

  1. Is public

  2. Extends Throwable

  3. Implements Throwable

  4. Is serializable


Correct Option: A
  1. Clickonce deployment

  2. User access control(UAC) support

  3. Improved performance

  4. all of the above

  5. none of the above


Correct Option: D

ASMX and WSE do not provide efficient ways for providing security,routing,reliable messaging and transaction handling.

  1. True

  2. False


Correct Option: A
  1. BasicHttpBinding

  2. WSHttpBinding

  3. MSHttpBinding

  4. NetMsmqBinding


Correct Option: A,B,D

ASMX and WSE technologies do not provide interoperable model.

  1. True

  2. False


Correct Option: B
  1. Subsequent statements in the current processing blocks are executed

  2. There is an error message

  3. Program gets terminated

  4. Subsequent statements in the current processing blocks are not executed


Correct Option: D
  1. Code will give compile time error

  2. Code will give runtime error

  3. Code will print "Equal"

  4. Code will print "Not Equal" ==


Correct Option: D

Contents in AQuestion.java private class AQuestion { public void method(Object o){ System.out.println("Object Verion"); } public void method(String s){ System.out.println("String Version"); } public static void main(String args[]){ AQuestion question = new AQuestion(); question.method(null); } }

  1. The code does not compile.

  2. The code compiles cleanly and shows “Object Version”.

  3. The code compiles cleanly and shows “String Version”

  4. The code throws an Exception at Runtime.


Correct Option: A
  1. Code will give compile time error

  2. Code will give runtime error

  3. Code will print "Equal"

  4. Code will print "Not Equal"


Correct Option: D
- Hide questions