DBMS - 2 Marks
DBMS - 2 Marks
Banking
Airlines
Universities
Credit card transactions
Tele communication
Finance
Sales
Manufacturing
Human resources
level, which is the lowest level of abstraction describing how the data are actually stored.
Logical schema: The logical schema describes the database design at the logical level,
which describes what data are stored in the database and what relationship exists among
the data.
Example: possible attributes of customer entity are customer name, customer id,
customer street, customer city.
The select operation selects tuples that satisfy a given predicate. We use the lowercase
letter □ to denote selection.
UNIT 3: SQL
10. What are aggregate functions? And list the aggregate functions supported by SQL?
Aggregate functions are functions that take a collection of values as input and return a
single value.
Aggregate functions supported by SQL are Average: avg, Minimum: min, Maximum:
max Total: sum, Count: count
24. List some security violations (or) name any forms of malicious access.
Unauthorized reading of data
Unauthorized modification of data
Unauthorized destruction of data.
26. List out various user authorization to modify the database schema.
Index authorization
Resource authorization
Alteration authorization
Drop authorization
2. Write a query to find the ID, name, dept name, salary for instructors whose salary is
greater than $80,000.
9. Find the instructorID, name, dept name, and salary for instructors whose salary is greater
10 | P a g e Prepared by R.Kanchana
II – B.Sc., CS Sem - IV
than $80,000.
{< i, n, d,s > | < i, n, d,s > ∈ instructor ∧ s > 80000}
11 | P a g e Prepared by R.Kanchana
II – B.Sc., CS Sem - IV
Multivalued attributes can have more than one values. For example, a student can
have more than one mobile number, email address, etc.
The Unified Modeling Language (UML) is a standard developed under the auspices of
the Object Management Group (OMG) for creating specifications of various components of a
software system.
Class diagram. A class diagram is similar to an E-R diagram. Later in this section we
illustrate a few features of class diagrams and how they relate to E-R diagrams.
Use case diagram. Use case diagrams show the interaction between users and the system,
in particular the steps of tasks that users perform (such as withdrawing money or
registering for a course).
Activity diagram. Activity diagrams depict the flow of tasks between various components
of a system.
Implementation diagram. Implementation diagrams show the system components and
their interconnections, both at the software component level and the hardware component
level.
12 | P a g e Prepared by R.Kanchana
II – B.Sc., CS Sem - IV
A weak entity is a type of entity which doesn't have its key attribute. It can be
identified uniquely by considering the primary key of another entity. For that, weak entity
sets need to have participation.
24. List out the difference between strong entity and weak entity set.
13 | P a g e Prepared by R.Kanchana
II – B.Sc., CS Sem - IV
14 | P a g e Prepared by R.Kanchana
II – B.Sc., CS Sem - IV
Multivalued dependencies, do not rule out the existence of certain tuples. Instead,
they require that other tuples of a certain form be present in the relation. For this reason,
functional dependencies sometimes are referred to as equality-generating dependencies,
and multivalued dependencies are referred to as tuple-generating dependencies.
15 | P a g e Prepared by R.Kanchana
II-B.Sc., CS Database Systems (16SCCCS4)
Unit III
Unit IV
UNIT V
10 Marks Questions
Unit -1
1. Explain about Database-System Applications.
2. Discuss about the architecture of database.
3. Discuss about database languages.
4. Discuss about Database Administrator.
5. Describe about Purpose of Database Systems.
Unit II
Unit III
Unit IV
UNIT V