True False
Select the most correct answer.
Question 1 (1 point)
Most databases are just in 1NF.
Question 1 options:
True | |
False |
Question 2 (1 point)
A subquery is always preferred over a join.
Question 2 options:
True | |
False |
Question 3 (1 point)
A database may consist only of multiple files.
Question 3 options:
True | |
False |
Question 4 (1 point)
A database may exist without a database management system.
Question 4 options:
True | |
False |
Question 5 (1 point)
The insert statement may violate constraints.
Question 5 options:
True | |
False |
Question 6 (1 point)
The relational model is a new model for databases.
Question 6 options:
True | |
False |
Question 7 (1 point)
Databases management systems are generally compatible with one another.
Question 7 options:
True | |
False |
Question 8 (1 point)
You must have an FK constraint to join one table to another.
Question 8 options:
True | |
False |
Question 9 (1 point)
A relation is automatically in 2NF if it's primary key consists of one column that all the other columns functionally depend on.
Question 9 options:
True | |
False |
Question 10 (1 point)
A left join may result in NULLs on the right hand side of the result.
Question 10 options:
True | |
False |
Question 11 (1 point)
A plain text file will always be well organized enough to be used as a database.
Question 11 options:
True | |
False |
Question 12 (1 point)
Typically an aggregate function will be used with the group by clause.
Question 12 options:
True | |
False |
Question 13 (1 point)
SQLite supports the update statement on views.
Question 13 options:
True | |
False |
Question 14 (1 point)
SQLite is often used as a replacement for custom file structures.
Question 14 options:
True | |
False |
Question 15 (1 point)
A select statement must always return rows.
Question 15 options:
True | |
False |
Multiple Choice
Select the most correct answer.
Question 16 (1 point)
If you wanted to get the amount of entries that exist, what would be the best aggregate function?
Question 16 options:
AVG |
|
IF |
|
COUNT |
|
SUM |
Question 17 (1 point)
Which of the following SQL statement(s) are not syntactically correct?
Question 17 options:
SELECT * FROM Order WHERE item = ‘Medium Pepperoni Pizza’; |
|
SELECT artistId, count(*) FROM ArtistsAndAlbums WHERE artistname = ‘Red Hot Chili Peppers’ group by artistId; |
|
none are correct |
|
SELECT CodeName FROM SecretAgents WHERE Lastname = ‘Archer’; |
|
all are correct |
Question 18 (1 point)
DDL stands for:
Question 18 options:
Data Definition Language |
|
Data Development List |
|
Data Definition Layer |
|
Data Derived Layer |
Question 19 (1 point)
Which of the following would best describe a database?
Question 19 options:
a collection of unrelation key-value pairs |
|
a data structure designed to be held in main memory for finding information |
|
something boring about suppliers and parts |
|
data mostly held on secondary storage, organized in a way allowing for relationships and fast retriveal |
Question 20 (1 point)
Views are generally used for...
Question 20 options:
To replace tables entirely |
|
Providing access to only certain information |
|
Replacing RBAC Role-Based Access Control |
|
All of the above |
Question 21 (1 point)
Which of the following is correct?
Question 21 options:
SQLite is always the fastest database |
|
Some databases, like MySQL, have many files in a DB |
|
Low normal forms save the most space |
|
High normal forms are always faster |
Question 22 (1 point)
Databases, for the most part, are usually found generally following the rules of...
Question 22 options:
1NF |
|
2NF |
|
3NF |
|
BCNF |
Question 23 (1 point)
Which of the following is an object in the relational model?
Question 23 options:
attribute |
|
relation |
|
tuple |
|
schema |
|
all of the above |
Question 24 (1 point)
In the relational model, a table is also called a/an...
Question 24 options:
Schema |
|
Database |
|
Entity |
|
Relation |
Question 25 (1 point)
Given a PK (Make, Model), select the option that represents a PK constraint violation:
Question 25 options:
(Honda, Accord), (Toyota, Camry) , (Toyota, 86), (Honda, Accord) |
|
(Toyota, Camry), (Honda, Accord), (Mazda, 3), (Mazda, CX5) |
|
(Honda, Accord), (Mazda, 3), (Mazda, 6), (Toyota, Camry) |
|
(Toyota, Camry), (Honda, Accord), (Mazda, 3), (Mazda, 6) |
Please answer with the correct answers above.
Question 1
Therefore the correct option is “True”.
Question 2
Therefore the correct option is “False”.
Question 3
Therefore the correct option is “False”.
Question 4
Therefore the correct option is “True”.
Question 5
Therefore the correct option is “True”.
Question 6
Therefore, the correct option is “True”.
Question 7
Therefore the correct option is “False”.
Question 8
Therefore the correct option is “False”.
Question 9
Therefore the correct option is “True”.
Question 10
Therefore the correct option is “True”.
Question 11
Therefore the correct option is “False”.
Question 12
Therefore the correct option is “True”.
Question 13
Therefore the correct option is “False”.
Question 14
Therefore the correct option is “True”.
Question 15
Therefore the correct option is “False”.
Question 16
Thus, the correct option is “COUNT”
Question 17
Thus, the correct option is “all are correct”
Question 18
Thus, the correct option is “Data Definition Language”
Question 19
Thus, the correct option is “data mostly held on secondary storage, organized in a way allowing for relationships and fast retrieval”
Question 20
Thus, the correct option is “Providing access to only certain information”.
Question 21
Thus the correct option is “SQLite is always the fastest database”.
Question 22
Thus, the correct option is “1NF”.
Question 23
Thus, the correct option is “Tuple”
Question 24
Thus, the correct option is “Relation”.
Question 25
Thus, the correct option is “(Honda, Accord), (Toyota, Camry) , (Toyota, 86), (Honda, Accord)”.
Get Answers For Free
Most questions answered within 1 hours.