Sunteți pe pagina 1din 8

Contact www.solvedcare.

com for best and lowest cost solution or email solvedcare


@gmail.com
Database Management System V1
Assignment A
1 . What do you mean by Normalization? Explain in detail.
2 . Explain the role of data types and data constraints in a database with e
xample.
3 . Write a short note on UML.
4 . Explain the architecture of object oriented DBMS.
5 . Explain the concepts of OOPs applied in DBMS.
6 . Explain Data Control Language statements in SQL.
7 . Explain the working of JOIN clause in SQL with example.
8 . Explain the concept of VIEWS in SQL and its types.
Assignment B
Case Detail :
A view is nothing more than a SQL statement that is stored in the database with
an associated name. A view is actually a composition of a table in the form of a
predefined SQL query.
A view can contain all rows of a table or select rows from a table. A view can b
e created from one or many tables which depends on the written SQL query to crea
te a view.
Views, which are kind of virtual tables, allow users to do the following:
Structure data in a way that users or classes of users find natural or intuitive
.
Restrict access to the data such that a user can see and (sometimes) modify exac
tly what they need and no more.
Summarize data from various tables which can be used to generate reports.

1 Explain how you will delete row in a view with example.


2. Write syntax how you will update a view.
3. Explain how you will insert row in a view.
Assignment C
The DBMS acts as an interface between what two components of an enterprise-class
database system?
Options
Database application and the database
Data and the database
The user and the database application
Database application and SQ
Question No. 2
Which of the following products was an early implementation of the relational mo
del developed by E.F. Codd of IBM?
Options
IDMS
DB2
dBase-II
R:base
Question No. 3
The following are components of a database except ________ .
Options
user data
metadata
reports
indexes
Question No. 4
SQL stands for .....________ .
Options
Structured Query Language
Sequential Query Language
Structured Question Language
Sequential Question Language

Question No. 5
The following are functions of a DBMS except ________ .
Options
creating and processing forms
creating databases
processing data
administrating databases
Question No. 6
The different classes of relations created by the technique for preventing modif
ication anomalies are called:
Options
normal forms.
referential integrity constraints.
functional dependencies.
None of the above is correct.
Question No. 7
A relation is in this form if it is in BCNF and has no multivalued dependencies:
Options
second normal form.
third normal form.
fourth normal form.
domain/key normal form.

Question No. 8
Row is synonymous with the term:
Options
record.
relation.
column
field.
Question No. 9
The primary key is selected from the:
Options
composite keys.
determinants.
candidate keys.
foreign keys.
Question No. 10
When the values in one or more attributes being used as a foreign key must exist
in another set of one or more attributes in another table, we have created a(n)
:
Options
transitive dependency.
insertion anomaly.
referential integrity constraint.
normal form
Question No. 11
Which of the following is a group of one or more attributes that uniquely identi
fies a row?
Options
Key
Determinant
Tuple
Relation

Question No. 12
In the relational model, relationships between relations or tables are created b
y using
Options
composite keys.
determinants.
candidate keys.
foreign keys.
Question No. 13
A relation is considered a:
Options
Column.
one-dimensional table.
two-dimensional table.
three-dimensional table
Question No. 14
The SQL command to create a table is:
Options
MAKE TABLE.
ALTER TABLE.
DEFINE TABLE.
CREATE TABLE.
Question No. 15
A functional dependency is a relationship between or among
Options
tables.
rows.
relations.
attributes.
Question No. 16
SQL views can be used to hide:
Options
columns and rows only.
complicated SQL syntax only.
both of the above can be hidden by an SQL view.
None of the above is correct.
Question No. 17
The SQL statement to create a view is:
Options
CREATE VIEW.
MAKE VIEW.
SELECT VIEW.
INSERT VIEW.

Question No. 18
To update an SQL view, the DBMS must be able to associate the column(s) to be up
dated with:
Options
a particular column in a particular underlying table
a particular column in a particular row.
a particular row in a particular underlying table.
None of the above is correct.
Question No. 19
Which of the following is NOT a type of SQL constraint?
Options
PRIMARY KEY
FOREIGN KEY
ALTERNATE KEY
UNIQUE

Question No. 20
A ________ is a program that performs some common action on database data and th
at is stored in the database.
Options
trigger
stored procedure
pseudofile
None of the above is correct.
Question No. 20
A ________ is a program that performs some common action on database data and th
at is stored in the database.
Options
trigger
stored procedure
pseudofile
None of the above is correct.
Question No. 21
For what purposes are views used?
Options
To hide columns only
To hide rows only
To hide complicated SQL statements only
All of the above are uses for SQL views
Question No. 22
What is an SQL virtual table that is constructed from other tables?

Options
Just another table
A view
A relation
Query results
Question No. 23
What is not an advantage of stored procedures?
Options
Greater security
SQL can be optimized
Code sharing
Increased network traffic
Question No. 24
What SQL structure is used to limit column values of a table?
Options
The LIMIT constraint
The CHECK constraint
The VALUE constraint
None of the above is correct.
Question No. 25
The SQL ALTER statement can be used to:
Options
change the table structure.
change the table data.
add rows to the table.
delete rows from the table.
Question No. 26
ODL supports which of the following types of association relationships?
Options
Unary
Unary and Binary
Unary and Binary and Ternary
Unary and Binary and Ternary and higher
Question No. 27
Using ODL, you can define which of the following?
Options
Attribute
Structure
Operation
All of the above.
Question No. 28
The object definition language (ODL) is which of the following?
Options
Used to develop logical schemas
A data definition language for OODB
A method to implement a logical schema
All of the above.
Question No. 29
Which of the following is true concerning an ODBMS?
Options
They have the ability to store complex data types on the Web.
They are overtaking RDBMS for all applications.
They are most useful for traditional, two-dimensional database table applicatio
ns.
All of the above.

Question No. 30
A relationship should be specified how in the ODL?
Options
One direction starting with the first class
One direction starting with the second class
Neither direction.
Both directions.
Question No. 31
Multiplicity is the same as what concept for an ERD?
Options
Relationship
Attribute
Entity
Cardinality
Question No. 32
Composition is a stronger form of which of the following?
Options
Aggregation
Encapsulation
Inheritance
All of the above.
Question No. 33
The term Complete for a UML has the same meaning as which of the following for a
n EER diagram?
Options
Overlapping rule
Disjoint rule
Total specialization rule
Partial specialization rule
Question No. 34
A UML diagram includes which of the following?
Options
Class name
List of attributes
List of operations
All of the above.
Question No. 35
An object can have which of the following multiplicities?

Options
Zero
One
More than one
All of the above.
Question No. 36
Which of the following applies to a class rather than an object?
Options
Query
Update
Scope
Constructor
Question No. 37
The benefits of object-oriented modeling are which of the following?
Options
The ability to tackle more challenging problems
Reusability of analysis, design, and programming results
Improved communication between users, analysts, etc.
All of the above.

Question No. 38
Which of the following is a technique for hiding the internal implementation det
ails of an object?
Options
Encapsulation
Polymorphism
Inheritance
All of the above.
Question No. 39
Aggregation is which of the following?
Options
Expresses a part-of relationship and is a stronger form of an association relat
ionship.
Expresses a part-of relationship and is a weaker form of an association relatio
nship.
Expresses an is-a relationship and is a stronger form of an association relatio
nship.
Expresses an is-a relationship and is a weaker form of an association relations
hip.
Question No. 40
A constructor operation does which of the following?
Options
Creates a new instance of a class
Updates an existing instance of a class
Deletes and existing instance of a class
All of the above.
Contact www.solvedcare.com for best and lowest cost solution or email solvedcare
@gmail.com

S-ar putea să vă placă și