Tag: technology

Questions Related to technology

21Which statement is correct concerning the assertion mechanism?

  1. 1 This is the pseudocode representing the two types of assert statements:

  2. 2 Always handle an AssertionError in a try-catch-finally block.

  3. 3 This is the pseudocode representing the two types of assert statements:

  4. 4 Assertions of the 'assert booleanExpression;' variety should not be disabled before distributing the software.


Correct Option: A
    1. static String [50] sSyntax = new String[];
    1. String [] sSyntax = new String[50];
    1. static String [] sSyntax = new String[50];
    1. static string [] sSyntax = new string[50];

Correct Option: C
    1. The quotes should not be around false.
    1. New should be after Boolean.
    1. A boolean is expected not a Boolean.
    1. The Semi-colon should not be used.

Correct Option: C

When adding an image to a report,why would you want to use a relative URL rather than a complete URL?

  1. So the link is portable and the image can be viewd on another user's machine

  2. So the image expands and contracts with window size

  3. So the image will remain stationary when the report is scrolled

  4. so that the URL can be used as an Image object or Background image


Correct Option: A

What does the star and the arrow adornments beside the prompt indicate?

  1. the prompt is mandatory and u can make only one selection

  2. you can make only one selection and no selection has been made yet

  3. the prompt is mandatory and no selection has been made yet

  4. the prompt is not mandatory and no selection has been made yet


Correct Option: C