Tag: databases

Questions Related to databases

  1. Databases accessed must be online.

  2. No data communication services are used.

  3. Transactions are entered at the terminal and stored in a message queue.

  4. True batch processing.


Correct Option: C

PROCOPT cannot be used on PCB and SENSEG.

  1. True

  2. False


Correct Option: B
  1. Hard-coded SQL statements in a program language such as Java

  2. The process of making an application capable of generating specific SQL code on the fly.

  3. Hard-coded SQL statements in a procedure.

  4. Hard-coded SQL statements in a trigger.


Correct Option: A
  1. Combines the output from no more than two queries and must include the same number of columns.

  2. Combines the output from no more than two queries and does not include the same number of columns.

  3. Combines the output from multiple queries and must include the same number of columns.

  4. Combines the output from multiple queries and does not include the same number of columns.


Correct Option: C

What type of join is needed when you wish to include rows that do not have matching values?

  1. Equi-join

  2. Natural join

  3. Outer join

  4. All of the above.


Correct Option: C
  1. Both consist of procedural code

  2. Both have to be called to operate.

  3. Both run automatically.

  4. Both are stored in the database.


Correct Option: A