Fundamentals - of - Relational - Database - Management - Systems QUIZ
Fundamentals - of - Relational - Database - Management - Systems QUIZ
MySQL
Microsoft Acess
IBM DB2
Google
Yes, the answer is correct.
Score: 1
Accepted Answers:
Google
1 point
What does an RDBMS consist of?
Collection of Records
Collection of Keys
Collection of Tables
Collection of Fields
Yes, the answer is correct.
Score: 1
Accepted Answers:
Collection of Tables
1 point
What is information about data called?
Hyper data
Tera data
Meta data
Relations
Yes, the answer is correct.
Score: 1
Accepted Answers:
Meta data
1 point
Schema Definition is written by __________.
Application Programmer
Naive User
Database Administrator
Sophisticated user
Yes, the answer is correct.
Score: 1
Accepted Answers:
Database Administrator
1 point
In DBMS data models are classified into
In tabular form
As file
Both of the above
None
Yes, the answer is correct.
Score: 1
Accepted Answers:
In tabular form
1 point
RDBMS supports ______ users.
One
Two
Three
Multiple
Yes, the answer is correct.
Score: 1
Accepted Answers:
Multiple
1 point
Periodically adding, changing and deleting file records is called
Updating
Upgrading
Renewing
Restructuring
Yes, the answer is correct.
Score: 1
Accepted Answers:
Updating
1 point
Which of following is not a function of DBA?
Network Maintenance
Routine Maintenance
Schema Definition
Authorization for data access
No, the answer is incorrect.
Score: 0
Accepted Answers:
Network Maintenance
1 point
Which of the following database activities allow for the actual retrieval and use of a database?
Enterprise modeling
Logical database design
Physical database design and definitionelements.
Database implementation
Yes, the answer is correct.
Score: 1
Accepted Answers:
Database implementation
1 point
The person who implements the specification of database programs is considered as
Software engineers
Application programmers
Software Developers
All of the above
No, the answer is incorrect.
Score: 0
Accepted Answers:
All of the above
1 point
Storage Structure and defining access method is the job done by
Database System
Database Manager
Database Administrator
Database Users
Yes, the answer is correct.
Score: 1
Accepted Answers:
Database Administrator
Assessment #02
The due date for submitting this assignment has passed.
Due on 2022-03-19, 23:59 IST.
Fetching data from disk storage into main memory, and deciding what data to cache in main
memory.
Allocation of space on disk storage and the data structures used to represent information stored
on disk.
Storing details such as how many users, which user has which permissions etc.
None of the above
Yes, the answer is correct.
Score: 1
Accepted Answers:
Fetching data from disk storage into main memory, and deciding what data to cache in main
memory.
1 point
The ability to grant the table to the user, as well as revoking the table from the particular user is
offered by ____________
DDL
DML
DCL
TCL
No, the answer is incorrect.
Score: 0
Accepted Answers:
TCL
1 point
The users who access the database occasionally but need different information every time are
classified as
Isolated Users
Occasional Users
Logical Users
Casual End Users
Yes, the answer is correct.
Score: 1
Accepted Answers:
Casual End Users
1 point
The responsiblity of the database administrator includes
Authorize Users
Structure database
Restructure database
all of these
Yes, the answer is correct.
Score: 1
Accepted Answers:
all of these
1 point
Which command is neither DML nor DDL?
Truncate
Rename
Update
Revoke
Yes, the answer is correct.
Score: 1
Accepted Answers:
Revoke
1 point
A table is a collection of relationships,there is a close correspondence between concept of:
Fortran
Java
DML
DDL
Yes, the answer is correct.
Score: 1
Accepted Answers:
DDL
1 point
Which of following language is used to specify database schema?
ALTER TABLE
ADD ROW
INSERT
APPEND
No, the answer is incorrect.
Score: 0
Accepted Answers:
INSERT
1 point
A tablespace is further broken down into
Tablespace
Segments
Extents
Blocks
Yes, the answer is correct.
Score: 1
Accepted Answers:
Segments
1 point
Given SQL statement is an example of : select * from table_name
IBM
SQL
ANSI
ORACLE
Yes, the answer is correct.
Score: 1
Accepted Answers:
SQL
Assessment #03
The due date for submitting this assignment has passed.
Due on 2022-03-23, 23:59 IST.
As per our records you have not submitted this assignment.
1 point
Entity is a _______
Object of relation
Present working model
Thing in real world
Model of relation
No, the answer is incorrect.
Score: 0
Accepted Answers:
Thing in real world
1 point
E-R modeling technique is a :
Top-down approach
Bottom-up approach
Left-right approach
None of these
No, the answer is incorrect.
Score: 0
Accepted Answers:
Top-down approach
1 point
In ER model the details of the entities are hidden from the user. This process is called :
generalization
specialization
abstraction
aggregation
No, the answer is incorrect.
Score: 0
Accepted Answers:
abstraction
1 point
The number of entities to which another entity can be associated via a relationship set is expressed
as :
Entity
Cardinality
Schema
Attributes
No, the answer is incorrect.
Score: 0
Accepted Answers:
Cardinality
1 point
Unit 01 Test 03 Q06::An association of several entities in an Entity-Relation model is called :
Tuple
Record
Relationship
Field
No, the answer is incorrect.
Score: 0
Accepted Answers:
Relationship
1 point
In which of following is a single-entity instance of one type of related to a single entity instance of
another type?
Divided Rectangles
Diamonds
Lines
Undivided Rectangles
No, the answer is incorrect.
Score: 0
Accepted Answers:
Diamonds
1 point
An Entity-Relationship provides a graphical representation of
Context
Framework
Schema
Modules
No, the answer is incorrect.
Score: 0
Accepted Answers:
Schema
1 point
Properties that describes characteristics of entities called____________
Entities
Identifiers
Relationship
attributes
No, the answer is incorrect.
Score: 0
Accepted Answers:
attributes
1 point
The attribute AGE is calculated from DATE_OF_BIRTH. The attribute AGE is
Phone_number
Name
Date_of_birth
All of the mentioned
No, the answer is incorrect.
Score: 0
Accepted Answers:
Phone_number
1 point
Which of the following is a single valued attribute
Register Number
Address
Subject_taken
Reference
No, the answer is incorrect.
Score: 0
Accepted Answers:
Register Number
1 point
Entities of a given type are grouped into an___________
Database
Entity Class
attribute
ERD
No, the answer is incorrect.
Score: 0
Accepted Answers:
Entity Class
1 point
Mapping cardinalities can be of type
2 types
3 types
4 types
5 types
No, the answer is incorrect.
Score: 0
Accepted Answers:
4 types
Unit_2_Week 4_Assessment
The due date for submitting this assignment has passed.
Due on 2022-03-27, 23:59 IST.
As per our records you have not submitted this assignment.
1 point
A relation is a concept based on
Sets
Procedures
Algorithms
Functions
No, the answer is incorrect.
Score: 0
Accepted Answers:
Sets
1 point
In formal model, a row is referred as
Schema
State
Attribute
Tuple
No, the answer is incorrect.
Score: 0
Accepted Answers:
Tuple
1 point
Which of the following is the correct representation for a relation schema?
r(R)
No, the answer is incorrect.
Score: 0
Accepted Answers:
R(A1,A2,…..,An)
1 point
Each value in a tuple must be
from dom(Ai)
Unique
from any type
NULL
No, the answer is incorrect.
Score: 0
Accepted Answers:
from dom(Ai)
1 point
State of a relation is a subset of
0
NULL
1
False
No, the answer is incorrect.
Score: 0
Accepted Answers:
NULL
1 point
One of the candidate keys is chosen as
Secondary key
Foreign key
Alternate key
Primary key
No, the answer is incorrect.
Score: 0
Accepted Answers:
Primary key
1 point
Underline identifies
Unit_2_Week 5_Assessment
The due date for submitting this assignment has passed.
Due on 2022-04-03, 23:59 IST.
As per our records you have not submitted this assignment.
1 point
A relational database state is
Domain Constraint
Entity Integrity
Key Constraint
Referential Integrity
No, the answer is incorrect.
Score: 0
Accepted Answers:
Referential Integrity
1 point
In relational algebra, Unary operations are
Horizontal partitioning
Row-based partitioning
Vertical partitioning
Tuple-based partitioning
No, the answer is incorrect.
Score: 0
Accepted Answers:
Vertical partitioning
1 point
Count of tuples in the result of PROJECT operation is
n+1
n
n-1
Always 1
No, the answer is incorrect.
Score: 0
Accepted Answers:
n
1 point
Union operation on relations r and s needs
Unit_2_Week 6_Assessment
The due date for submitting this assignment has passed.
Due on 2022-04-10, 23:59 IST.
As per our records you have not submitted this assignment.
1 point
Which of the following is an aggregate function?
like
in
count
exists
No, the answer is incorrect.
Score: 0
Accepted Answers:
count
1 point
Which of the following aggregation function does not ignore NULL values?
count
avg
max
sum
No, the answer is incorrect.
Score: 0
Accepted Answers:
count
1 point
Join operation can be replaced by a combination of
in relation R
in relation S
in R INTERSECT S
in relations R or in S or in both
No, the answer is incorrect.
Score: 0
Accepted Answers:
in relations R or in S or in both
1 point
Which of the following operation should be used to get the tuples in the first relation R but not in
second relation S?
Union
Difference
Intersection
Project
No, the answer is incorrect.
Score: 0
Accepted Answers:
Difference
1 point
Types of relational calculus are
Relation
Row
Domain
Column
No, the answer is incorrect.
Score: 0
Accepted Answers:
Relation
1 point
An example value in QBE is preceded by
Column Level
Row Level
Both A and B
None of the above
No, the answer is incorrect.
Score: 0
Accepted Answers:
Both A and B
1 point
NULL means –
-1
1
Zero
Empty
Yes, the answer is correct.
Score: 1
Accepted Answers:
Empty
1 point
___________ integrity is achieved by using a foreign key.
Referential Integrity
Domain integrity
User defined integrity
Entity Integrity
Yes, the answer is correct.
Score: 1
Accepted Answers:
Referential Integrity
1 point
What is the full form of SQL?
only 1
only 2
Depends on number of columns
Depends on DBA
Yes, the answer is correct.
Score: 1
Accepted Answers:
only 1
1 point
Which is a column level constraint?
Primary key
Foreign key
Not Null
Check Constraint
No, the answer is incorrect.
Score: 0
Accepted Answers:
Not Null
1 point
Which of the following is not Constraint in SQL?
Primary Key
Not Null
Check
Union
Yes, the answer is correct.
Score: 1
Accepted Answers:
Union
1 point
Which command is used to change the definition of a table in SQL?
Create
Update
Alter
Select
Yes, the answer is correct.
Score: 1
Accepted Answers:
Alter
1 point
Foreign key also called
Context key
Unique define key
Candidate key
Parent key
Yes, the answer is correct.
Score: 1
Accepted Answers:
Candidate key
1 point
Which of the following is true for a primary key?
Before
After
Inside
Outside
Yes, the answer is correct.
Score: 1
Accepted Answers:
Inside
1 point
With which of the following statements can the SQL sub queries be used?
Select
Update
Insert
All of the above
Yes, the answer is correct.
Score: 1
Accepted Answers:
All of the above
1 point
A subquery that uses a correlation name from outer query is called_________
Derived Subquery
Induced Subquery
Deduced Subquery
Correlated Subquery
Yes, the answer is correct.
Score: 1
Accepted Answers:
Correlated Subquery
1 point
Cartesian Joins are also called
Semi Join
Cross Join
Anti Join
Natural Join
Yes, the answer is correct.
Score: 1
Accepted Answers:
Cross Join
1 point
Which join returns all the rows that are in the first (left) table listed. Matching rows from the right
table are also returned?
Left Join
Right Join
Full Join
None of the above
Yes, the answer is correct.
Score: 1
Accepted Answers:
Left Join
1 point
Which join is needed when you need to find out all the possibilities of combining two tables?
RIGHT OUTER JOIN is equivalent to LEFT OUTER JOIN if order of tables are reversed
FULL OUTER JOIN is same as CROSS JOIN
SELF JOIN is a special type of OUTER JOIN
Full Outer Join is same as cross join and Self join is a special type of outer join
No, the answer is incorrect.
Score: 0
Accepted Answers:
Full Outer Join is same as cross join and Self join is a special type of outer join
1 point
To specify inner join, the keyword inner is
Mandatory
Optional
Independent
Free
Yes, the answer is correct.
Score: 1
Accepted Answers:
Optional
1 point
Joining a table itself is called
Self Join
Equi Join
Anti Join
Outer Join
Yes, the answer is correct.
Score: 1
Accepted Answers:
Self Join
1 point
Which join is using comparison operator in the where clause to refer equality?
Anti Join
Equi Join
Outer Join
Natural Join
Yes, the answer is correct.
Score: 1
Accepted Answers:
Equi Join
Week 9_Assessment
The due date for submitting this assignment has passed.
Due on 2022-05-08, 23:59 IST.
As per our records you have not submitted this assignment.
1 point
An ____________ performs a calculation on a set of values, and returns a single value.
Scalar Function
Aggregate Function
Function
Cumulative Function
No, the answer is incorrect.
Score: 0
Accepted Answers:
Aggregate Function
1 point
An aggregate function always returns a _____
Null Value
Single Value
Multiple Values
Both single and multiple values
No, the answer is incorrect.
Score: 0
Accepted Answers:
Single Value
1 point
Which of the following is not an aggregate function?
sum()
calculate()
max()
count()
No, the answer is incorrect.
Score: 0
Accepted Answers:
count()
1 point
Which of the following SQL statement returns the number of distinct Non-Null values over the
column salary.
boolean
char
varchar
null
No, the answer is incorrect.
Score: 0
Accepted Answers:
boolean
1 point
While using the IN predicate in subquery, how many times the inner query gets executed?
Only once
Twice
It depends on the number of rows in outer query.
Thrice
No, the answer is incorrect.
Score: 0
Accepted Answers:
Only once
1 point
Unique constraint in SQL is used to check whether the sub query has ____________ in it’s result.
duplicate tuples
Null Values
At least one row.
Zero tuples
No, the answer is incorrect.
Score: 0
Accepted Answers:
duplicate tuples
1 point
By default ORDER BY sorts the data in
ascending order
descending order
both ascending and descending order
mixed order
No, the answer is incorrect.
Score: 0
Accepted Answers:
ascending order
Unit_4_Week 10_Assessment
The due date for submitting this assignment has passed.
Due on 2022-05-08, 23:59 IST.
Maximum redundancy
Minimum redundancy
Information preservation and maximum redundancy
Information preservation and minimum redundancy
Yes, the answer is correct.
Score: 1
Accepted Answers:
Information preservation and minimum redundancy
1 point
Number of informal design guidelines is
3
4
6
2
Yes, the answer is correct.
Score: 1
Accepted Answers:
4
1 point
Informal design guidelines determine the
One entity
Two entities
Four entities
Three entities
Yes, the answer is correct.
Score: 1
Accepted Answers:
One entity
1 point
A relational schema design should not suffer from
Insertion anomaly
Insertion, Deletion and Updation anomalies
Deletion anomaly
Updation anomaly
Yes, the answer is correct.
Score: 1
Accepted Answers:
Insertion, Deletion and Updation anomalies
1 point
Spurious tuples are generated for
Unit_4_Week 11_Assessment
The due date for submitting this assignment has passed.
Due on 2022-05-15, 23:59 IST.
Relation dependencies
Database dependencies
Key dependencies
Row dependencies
Yes, the answer is correct.
Score: 1
Accepted Answers:
Key dependencies
1 point
Compound determinants in a functional dependency is
Y -> X
XY -> X
X -> Y
YX -> X
Yes, the answer is correct.
Score: 1
Accepted Answers:
X -> Y
1 point
The process of analyzing relation schema to achieve minimum redundancy and updation or insertion
anomalies is
Specialization of data
Isolation of data
Normalization of data
Aggregation of data
Yes, the answer is correct.
Score: 1
Accepted Answers:
Normalization of data
1 point
The constraint between two sets of attributes is
Functional dependency
Deletion anomaly
Insertion anomaly
Updation anomaly
Yes, the answer is correct.
Score: 1
Accepted Answers:
Functional dependency
1 point
A normal form which is based on the full functional dependency is
Week 12_Assessment
The due date for submitting this assignment has passed.
Due on 2022-06-03, 23:59 IST.
Prime
Non Prime
Foreign key
CoPrime
Yes, the answer is correct.
Score: 1
Accepted Answers:
Prime
1 point
A relation is said to be in fourth normal form if
Transitive dependencies exist.
No multivalued dependencies exist.
Partial Functional Dependencies exist.
Multivalued dependencies exist.
Yes, the answer is correct.
Score: 1
Accepted Answers:
No multivalued dependencies exist.
1 point
Candidate keys are selected from the set of
Super keys.
Sub Keys.
Foreign keys
Super Keys and Foreign keys
Yes, the answer is correct.
Score: 1
Accepted Answers:
Super keys.
1 point
_________ attribute can store a value many times.
Prime
Non Prime
Key
CoPrime
Yes, the answer is correct.
Score: 1
Accepted Answers:
Non Prime
1 point
Third Normal Form comes into picture when _________ occur in any relation.
Multi-valued Dependency
Partial Dependency
Transitive Dependency
No Dependency
Yes, the answer is correct.
Score: 1
Accepted Answers:
Transitive Dependency
1 point
A table should have at-least _______ columns to have a multi-valued dependency.
0
1
2
3
Yes, the answer is correct.
Score: 1
Accepted Answers:
3
1 point
For a dependency A → B, if for a single value of A, Multiple value of B exists, then the table may
have
Multi-valued Dependency
Partial Dependency
Transitive Dependency
No Dependency
Yes, the answer is correct.
Score: 1
Accepted Answers:
Multi-valued Dependency
1 point
5NF is also known as
KDNF
DKNF
JPNF
PJNF
Yes, the answer is correct.
Score: 1
Accepted Answers:
PJNF
1 point
Denormalization is an optimization technique that is applied
After Normalization
Before Normalization
Before Database Design
After storing the data
Yes, the answer is correct.
Score: 1
Accepted Answers:
After Normalization
1 point
_____________ is a database optimization technique in which we add redundant data to one or
more tables.
Normalization
Denormalization
Join
Group By
Yes, the answer is correct.
Score: 1
Accepted Answers:
Denormalization
1 point
Fourth normal form is introduced by
Elmasri
Silberschatz
William stallings
Ronald Fagin
Yes, the answer is correct.
Score: 1
Accepted Answers:
Ronald Fagin
Week 13_Assessment
The due date for submitting this assignment has passed.
Due on 2022-06-06, 23:59 IST.
Transaction
Procedure
Function
Trigger
Yes, the answer is correct.
Score: 1
Accepted Answers:
Transaction
1 point
If the database operations in a transaction do not update the database but only retrieve data, the
transaction is called a
Write-only transaction
Concurrent transaction.
Read-only transaction.
Parallel transaction
Yes, the answer is correct.
Score: 1
Accepted Answers:
Read-only transaction.
1 point
If a transaction T has obtained an exclusive lock on item Q, then T can
read Q
write Q
both read and write Q
write Q but not read Q
Yes, the answer is correct.
Score: 1
Accepted Answers:
both read and write Q
1 point
Which of the following is not a consequence of concurrent operations?
Recovery protocol.
Application programmers.
Concurrency control protocol.
Read-Write protocol.
Yes, the answer is correct.
Score: 1
Accepted Answers:
Recovery protocol.
1 point
____________ are used as a means of synchronizing the access by concurrent transactions to the
database items.
Locks
Hardware
Software
Firmware
Yes, the answer is correct.
Score: 1
Accepted Answers:
Locks
1 point
___________ occurs when a transaction cannot proceed for an indefinite period of time.
Deadlock.
Starvation.
Circular wait.
Salvation
Yes, the answer is correct.
Score: 1
Accepted Answers:
Starvation.
1 point
Deadlock does not occur with
Locks
Timestamp ordering.
Two-phase Locks
Semaphores.
Yes, the answer is correct.
Score: 1
Accepted Answers:
Timestamp ordering.
1 point
In ______________ a transaction does not release exclusive locks until after it commits or aborts.
Strict 2PL
Rigorous 2PL
Static 2PL
Dynamic 2PL
Yes, the answer is correct.
Score: 1
Accepted Answers:
Strict 2PL
1 point
______________ is used commonly to test Serializability of a schedule.
Precedence Graph
Wait-for graph
Wait-Die graph
Wound-Wait graph
Yes, the answer is correct.
Score: 1
Accepted Answers:
Precedence Graph
Week 14_Assessment
The due date for submitting this assignment has passed.
Due on 2022-06-10, 23:59 IST.
Procedural Language.
Assembly Language.
Machine Language.
Non Procedural Language.
Yes, the answer is correct.
Score: 1
Accepted Answers:
Procedural Language.
1 point
A ______________ is an PL/SQL block without a name.
Procedure
Anonymous Block
Function
Trigger
Yes, the answer is correct.
Score: 1
Accepted Answers:
Anonymous Block
1 point
Which of the following is an example for scalar data type?
Record.
Character.
Collection.
Block.
Yes, the answer is correct.
Score: 1
Accepted Answers:
Character.
1 point
If you impose the NOT NULL constraint then the variable
Variable
Constants
NULL Constraint
Comments
Yes, the answer is correct.
Score: 1
Accepted Answers:
Comments
1 point
The GOTO statement transfers control to an
Labeled block
Procedure
Trigger
Exception Handler
Yes, the answer is correct.
Score: 1
Accepted Answers:
Labeled block
1 point
In the PL/SQL program the label is placed
Bottom to top.
Left to Right.
Right to Left.
Top to Bottom.
Yes, the answer is correct.
Score: 1
Accepted Answers:
Top to Bottom.
1 point
In PL/SQL ________________ are used to repeat the execution of one or more statements for
specified number of times.
Exit Loop
While Loop
For Loop
All the above.
Yes, the answer is correct.
Score: 1
Accepted Answers:
All the above.
1 point
In Basic loop the execution block start with _____________ keyword.
Declare
Begin
Loop
Start
Yes, the answer is correct.
Score: 1
Accepted Answers:
Loop
1 point
_______________ is an example for entry-controlled loop.
Exit Loop
While Loop
IF-THEN
IF-THEN-ELSIF
Yes, the answer is correct.
Score: 1
Accepted Answers:
While Loop
Week 15_Assessment
The due date for submitting this assignment has passed.
Due on 2022-06-12, 23:59 IST.
Functions
Procedures
Packages
Cursors
Yes, the answer is correct.
Score: 1
Accepted Answers:
Procedures
1 point
It is not possible to pass parameters to
Functions
Procedures
Triggers
Cursors
Yes, the answer is correct.
Score: 1
Accepted Answers:
Triggers
1 point
Which of the following statement is used to delete a function named Display?
Return a value
Return the control to the calling block
Return the control to another function
Return the control to another procedure
Yes, the answer is correct.
Score: 1
Accepted Answers:
Return the control to the calling block
1 point
When an exception occurs in the executable section
The execution of the current block stops and the program gets terminated.
The execution of the current block stops and control transfers to the next procedure
The execution of the current block stops and control transfers to the exception-handling section.
The execution of the current block stops and control transfers to the beginning of the program.
Yes, the answer is correct.
Score: 1
Accepted Answers:
The execution of the current block stops and control transfers to the exception-handling section.
1 point
NO_DATA_FOUND is an example for
User-defined exceptions
Predefined exceptions
User-defined Trigger
Predefined Trigger
Yes, the answer is correct.
Score: 1
Accepted Answers:
Predefined exceptions
1 point
A user-defined exception can be raised explicitly using
RAISE statement
CREATE statement
SHOW statement
DISPLAY statement
Yes, the answer is correct.
Score: 1
Accepted Answers:
RAISE statement
1 point
The set of rows the cursor holds is referred as
Active set
Passive set
Sorted set
Collection
Yes, the answer is correct.
Score: 1
Accepted Answers:
Active set
1 point
PL/SQL has two types of cursors named
%ISOPEN.
%FOUND
%NOTFOUND
%ROWCOUNT
Yes, the answer is correct.
Score: 1
Accepted Answers:
%ROWCOUNT