Tag: programming languages

Questions Related to programming languages

  1. nothing happen, excution will continue.

  2. it will be handled by compiler, and excution stops.

  3. the exception will be rethrown

  4. terminate() function will be called and execution stops.


Correct Option: D
  1. try {throw 3;} catch(int i){ rethrow; }

  2. try {throw 3; rethrow ;} catch(int i){}

  3. try {throw 3;} catch(int i){ rethrow 3; }

  4. try {throw 3;} catch(int i){ throw; }


Correct Option: D
  1. logical_error

  2. runtime_error

  3. domain_error

  4. bad_exception


Correct Option: B
  1. Input Iterator

  2. Output Iterator

  3. Forward Iterator

  4. None of these


Correct Option: C
  1. Microsoft Corp.

  2. Netscape Communications Corp.

  3. Sun Microsystems Corp.

  4. Consortium of the above companies


Correct Option: B
  1. Comments can make the code easier to understand.

  2. Comments can help hide the code from browsers that cannot interpret JavaScript.

  3. Comments can help display a warning to users of old browsers that do not support JavaScript.

  4. All of above.


Correct Option: D