You are on page 1of 4

Section 1 Quiz

(Answer all questions in this section)


1. In the default order of precedence, which operator would be evaluated
first?

Mark for
Review
(1) Points

Divisions and Subtractions are at the same level and would be


evaluated first based on left to right order
Multiplications and Divisions are at the same level and would be
evaluated first based on left to right order (*)
Additions and Multiplications are at the same level and would be
evaluated first based on left to right order
Subtractions and Additions are at the same level and would be
evaluated first based on left to right order
Correct.
2. You query the database with this SQL statement:
SELECT *
FROM transaction
WHERE product_id = 4569;

Mark for
Review
(1) Points

Which SQL SELECT statement capabilities are achieved when this


statement is executed?

Selection and projection only (*)


Projection only
Selection only
Projection, selection and joining
Incorrect. See Section 1 Lesson 3.
3. The SELECT statement retrieves information from the database. In a
SELECT statement, you can do all of the following EXCEPT:

Mark for
Review
(1) Points

Selection
Manipulation (*)
Joining
Projection
Correct.
4. Which SQL statement will return an error?

Mark for
Review
(1) Points

SELECT * FROM sky;


SELECT star FROM sky;
SEL * FR sky; (*)
select star from sky;
Correct.
5. SELECT * FROM departments; is a:

Mark for
Review
(1) Points

Statement (*)
Keyword
Strategy
Declaration
Correct
6. The
_______
clause
can be
added to
a
SELECT
stateme
nt to
return a
subset
of the
data.

Mark for Review


(1) Points

EVERY
WHERE (*)
WHICH
ANYWHERE
Correct.
7. What command retrieves data from the database?

Mark for
Review
(1) Points

ALTER
INSERT
DESCRIBE
SELECT (*)
Correct

8. The DESCRIBE command returns all rows from a table. True or


False?

Mark for
Review
(1) Points

True
False (*)
Correct.
9. 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.
10. What command can be used to show information about the
structure of a table?

Mark for
Review
(1) Points

DESCRIBE (*)
ALTER
SELECT
INSERT
Correct
11. Databases
are used in
most
countries
and by
most
governmen
ts. 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
12. What language is used to query data in a Relational Database?

Mark for
Review
(1) Points

SQL (*)
Java
BASIC
C++
Correct
13. In the real world, databases used by businesses generally have
a single table . True or False?

Mark for
Review
(1) Points

True
False (*)
Correct
14. The basic storage structure in a Relational Database is a
_________:

Mark for
Review
(1) Points

Key
Table (*)
Row
Field
Incorrect. Refer to Section 1 Lesson 2.
15. Every time you shop online, it is likely you will be accessing a
database. True or False?

Mark for
Review
(1) Points

True (*)
False
Correct

You might also like