Tag: databases

Questions Related to databases

  1. character streams

  2. byte streams

  3. Both (A) and (B)

  4. None of the Above


Correct Option: C

In order to initialize a servlet the initialization code is placed in

  1. service() method

  2. init() method

  3. constructor for HttpServlet()

  4. None of the Above


Correct Option: B

Which of the following statement is False?

  1. out is a PrintStream object

  2. Java support pointers

  3. AWT components are heavy-weight

  4. An abstract class has to be sub-classed


Correct Option: B

Which two parameters can be set to tell the Oracle to use OMF (Oracle Managed Files)?

  1. DB_CREATE_FILE_DEST

  2. DB_CREATE_ONLINE_LOG_n

  3. USER_DUMP_DEST

  4. LOG_ARCHIVE_DEST


Correct Option: A
  1. SystemException

  2. ApplicationException

  3. Both (A) and (B)

  4. None of the Above


Correct Option: B

Which is Microsoft’s open source project hosting web site?

  1. CodeSite

  2. CodePlex

  3. A & B

  4. None of the Above


Correct Option: B

What is one of the disadvantages of database mirroring?

  1. You need to have the same hardware.

  2. The database you mirror to will be in an unused standby state.

  3. You cannot have automatic failover.

  4. You need to have at minimum three servers.


Correct Option: B