Tag: technology

Questions Related to technology

Extended Reastart ( XRST ) to be used with what type of checkpint?

  1. Basic Checkpoint

  2. Intermediate Checkpint

  3. Symbolic Checkpint

  4. Para-symbolic checkpint


Correct Option: C
  1. foreach( x ) System.out.println(z);

  2. for( int z : x ) System.out.println(z);

  3. while( x.hasNext() ) System.out.println( x.next() );

  4. for( int i=0; i< x.length; i++ ) System.out.println(x[i]);


Correct Option: B,D
  1. The code will compile without changes.

  2. The code will compile if public Tree() { Plant(); } is added to the Tree class.

  3. The code will compile if public Plant() { Tree(); } is added to the Plant class.

  4. The code will compile if public Plant() { this("fern"); } is added to the Plant class

  5. The code will compile if public Plant() { Plant("fern"); } is added to the Plant class.


Correct Option: D
  1. Alternate PCB

  2. IO PCB

  3. Database PCB

  4. Any one


Correct Option: B
  1. java.lang.RuntimeException: Problem

  2. run.java.lang.RuntimeException: Problem

  3. End of method.java.lang.RuntimeException: Problem

  4. End of method.run.java.lang.RuntimeException: Problem

  5. run.java.lang.RuntimeException: ProblemEnd of method.


Correct Option: D,E
  1. High intensity

  2. Modified Data Tag

  3. Protected

  4. Numeric


Correct Option: B
  1. Basic Test Screen

  2. Batch Test Screen

  3. Batch Terminal Simulator

  4. Batch Terminal Selection


Correct Option: C
  1. Compilation fails.

  2. An exception is thrown at runtime

  3. Synchronizing the run() method would make the class thread-safe.

  4. The data in variable "x" are protected from concurrent access problems.

  5. Declaring the doThings() method as static would make the class thread-safe.

  6. Wrapping the statements within doThings() in a synchronized(new Object()) { } block would make the classthread-safe.


Correct Option: F