Tag: testing

Questions Related to testing

  1. returns all the matching rows from 2 tables.

  2. returns only the rows from the first table, which have non-matching values with the second table in the field on which the 2 tables are joined.

  3. returns all rows from 2 tables.

  4. returns all rows that have matching value in the field on which the 2 tables are joined.


Correct Option: D
  1. Indexes are only used in special cases

  2. Indexes are used to make table storage more efficient

  3. Indexes rarely make a difference in SQL performance

  4. Indexes exist solely to improve query speed


Correct Option: D

What is an index?

  1. An index is the same as alias.

  2. An index is a special way to join 2 or more tables.

  3. An index is a database table attribute, which speeds-up data search within a table.

  4. An index is a database row attribute, which speeds-up data search within a table.


Correct Option: C

Sub-queries can be nested in…

  1. UPDATE, DELETE, INSERT and SELECT statements.

  2. UPDATE statements only.

  3. DELETE statements only.

  4. INSERT statements only.


Correct Option: A

Which of the following database design features is most important to SQL performance?

  1. Removal of data redundancy

  2. The introduction of data redundancy

  3. The introduction of non-first normal form relations

  4. The introduction of SQL*Plus


Correct Option: B

AI Explanation

To answer this question, you need to understand the concept of database design and its impact on SQL performance. Let's go through each option to understand why it is correct or incorrect:

Option A) Removal of data redundancy - This option is incorrect because removing data redundancy is generally considered a good practice in database design, but it does not necessarily have a direct impact on SQL performance.

Option B) The introduction of data redundancy - This option is correct because introducing data redundancy can improve SQL performance in certain situations. Redundancy allows for denormalization, which can speed up query execution by reducing the number of joins required.

Option C) The introduction of non-first normal form relations - This option is incorrect because introducing non-first normal form relations can lead to data duplication and redundancy. While it may have some benefits in terms of query simplicity, it generally does not improve SQL performance.

Option D) The introduction of SQL*Plus - This option is incorrect because SQL*Plus is a command-line interface for Oracle databases and is not directly related to database design features. It does not have a significant impact on SQL performance.

The correct answer is B) The introduction of data redundancy. This option is correct because introducing data redundancy can improve SQL performance by allowing for denormalization and reducing the need for joins.

  1. The number of CPUs on the server

  2. The degree of parallelism on the tables

  3. The quality of the SQL optimization

  4. The use of bitmap indexes


Correct Option: C
  1. Black box testing

  2. System testing

  3. Independent testing

  4. Acceptance Testing


Correct Option: D

To divide & conquer while testing requires

  1. Stubs

  2. Manual simulation

  3. Coverage metrics

  4. All of the above


Correct Option: B