Quiz DP 1

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Section 1 Quiz

(Answer all questions in this section)


1. When you use the SELECT clause to list one or two columns only from a table and no
WHERE clause, which SQL capability is used? Mark for Review
(1) Points
Projection and Selection

Selection only

Joining only

Projection only (*)

Correct.

2. The SQL SELECT statement is capable of:


Mark for Review
(1) Points
Selection and protection

Selection and projection (*)

Projection and updating

None of the above

Correct

3. You query the database with this SQL statement:


Mark for Review
SELECT * (1) Points
FROM transaction
WHERE product_id = 4569;

Which SQL SELECT statement capabilities are achieved when this statement is
executed?
Selection only

Selection and projection only (*)

Projection, selection and joining

Projection only

Correct.

4. What is a NULL value?


Mark for Review
(1) Points
A known value less than zero

A perfect zero

An unknown value (*)

A blank space

Correct
5. In a SELECT clause, what is the result of 2 + 3 * 2?
Mark for Review
(1) Points
8 (*)

10

13

Correct.

Section 1 Quiz
(Answer all questions in this section)
6. Databases are used in most countries and by most governments. Life, as we know it,
would change drastically if we no longer had access to databases. True or False? Mark for Review
(1) Points
True (*)

False

Correct

7. Every row in a relational database table is unique.


Mark for Review
(1) Points
True (*)

False

Correct

8. The basic storage structure in a Relational Database is a _________:


Mark for Review
(1) Points
Table (*)

Key

Row

Field

Correct

9. Most of the well know Internet search engines use databases to store data. True or
False? Mark for Review
(1) Points
True (*)

False

Correct

10. A Relational Database generally contains two or more tables. True or False?
Mark for Review
(1) Points
True (*)

False

Correct

Section 1 Quiz
(Answer all questions in this section)
11. What command can be used to create a new row in a table in the database?
Mark for Review
(1) Points
ADD

CREATE

INSERT (*)

NEW

Incorrect. Refer to Section 1 Lesson 1.

12. There is only one kind of software used by all computers. True or False?
Mark for Review
(1) Points
True

False (*)

Correct.

13. All computers in the world speak the same languages, so you only need to learn one
programming language - Oracle SQL. True or False? Mark for Review
(1) Points
True

False (*)

Correct.

14. What command do you use to add rows to a table


Mark for Review
(1) Points
INSERT (*)

ADD

ADD_ROW

NEW_ROW

Correct

15. The DESCRIBE command returns all rows from a table. True or False?
Mark for Review
(1) Points
True

False (*)

Incorrect. Refer to Section 1 Lesson 1.

You might also like