
Databases Fundamental Quiz 1
Authored by William Sanjaya
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
75 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
In which situation do you need to perform a restore on a database?
when data becomes corrupted in the database
when you need to roll back a transaction
when you encounter an error in your application
when data needs to be deleted from the database
2.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Which command should you use to give a user permission to read the data in a table?
ALLOW SELECT
LET READ
PERMIT READ
GRANT SELECT
3.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Which keyword can be used in a create table statement?
ORDER BY
DISTINCT
GROUP BY
UNIQUE
4.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
You need to store product quantities, and you want to minimize the amount of storage space that is used. Which data type should you use?
INTEGER
DOUBLE
COUNT
FLOAT
5.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Which statement will result in the creation of an index?
Option A
Option B
Option C
Option D
6.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
You have the following table definition: CREATE TABLE Road (RoadID INTEGER NOT NULL, Distance INTEGER NOT NULL) The Road table contains the following data: You execute the following statement: INSERT INTO Road VALUES (1234, 36) What is the result?
an error stating that NULL values are not allowed
a new row in the table
an error stating that duplicate IDs are not allowed
a syntax error
7.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
One reason to create a stored procedure is to:
Improve performance.
Minimize storage space.
Bypass case sensitivity requirements.
Give the user control of the query logic.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?