Tag: programming languages

Questions Related to programming languages

Among the following what is the advantage of StringBuilder over StringBuffer?

  1. Faster performance

  2. Methods are synchronised

  3. Thread-safety

  4. Multithreading


Correct Option: A

As per the Coding Guidelines of the Project, Which of the following follows the spacing guidelines while using operators

  1. anyVal=10;

  2. anyVal = 10;

  3. anyVal= 10;

  4. anyVal =10;


Correct Option: B

Which of the following is the only category of Messages where the developer should place information for his debugging purposes

  1. TRACE (T)

  2. BUSINESS_INFO (N)

  3. SERIOUS_WARNING (S)

  4. BUSINESS_WARNING (G)


Correct Option: A

As per the Coding Guidelines of the Project, Which of the following is a valid Class Attribute ?

  1. mMemberAttribute

  2. mmemberAttribute

  3. MemberAttribute

  4. member_attribute


Correct Option: A

Which of the following directory in an MDDS instance contains initialisation files which are used during MDDS installation (data files, but installation scripts

  1. bin

  2. etc

  3. data/boc/manual/incoming

  4. None of the above


Correct Option: B

Which clearcase command is used to create a new element

  1. mkelem

  2. mvelem

  3. mkview

  4. ctelem


Correct Option: A