Database Concepts: Questions and Answers
Database Fundamentals: Q&A
Questionnaire 1
- What method is needed for flexible storage and retrieval of large amounts of data?
Management System Database (DBMS) - What is a set of data elements that describes itself with relations between these elements?
Database - What is a relationship?
It’s a sense of unity that exists between certain data elements. - Mention the 5 models of database:
- Relational
- Object Oriented
- Deductive
- Network
- Hierarchical
- What is the most popular database model?
Relational model. - What is an abstract method for organizing data elements and their relationships?
Model database. - What is the role of a data dictionary?
Used to resolve entity references that appear in application service requests. - Mention and explain the three levels of database services:
- Physical level: deals with storage structures
- Conceptual level: represents custom views
- External level.
- What are the responsibilities that a database administrator (DBA) must assume?
- Keep the conceptual scheme.
System database.
Questionnaire 2
- Joint specified by enumeration or by a predicate.
Domain. - It is an ordered pair (N, D) where N is the YD is a Domain Name.
Attribute. - It is a set of associations.
Tuple. - Finite set of relations where each of them contains a relational schema and a corresponding body.
Relational Database. - Application-specific connection between multiple entities.
Relationship. - It is the number of entities involved.
Degree of relationship. - Mention the 3 types of relationships.
From one to many, many to many, one to one. - It is the relationship in which an entity involving more than one time, assume a different role in each entry in the relationship.
Related resources. - Limit the data that appear in the bodies of relations.
Restricted Database. - Constitute an annotation to document an attempt of a Design Database.
ER Diagram.
Questionnaire 3
- What is relational algebra?
It is a system of operations on relations, is a closed system because each operation returns a new relationship, which can then serve as operator for further operations. - What are the names of the seven basic operators of relational algebra?
The union, set difference, Cartesian product, selection, projection, name change and aggregation. - What basic operators should have the same number of attributes, and tribute must carry the same names?
The union and set difference. - Does the basic function of this operator is to form all the possible concatenation of the form (x: y), with the taking of an operand prefix and suffix borrowed from another?
The Cartesian product. - What basic operators conducting operations in horizontal and vertical sections respectively?
The selection and projection. - What basic operator tuples isolated groups that have common values in certain attributes chosen and each group reduces to a single tuple?
The operator added. - What type operations may be natural union?
Associative and commutative. - At that type of query is a candidate tuple contributes wing command response if a path to a tuple anchor?
Existential Search - At that kind of consultation, a tuple contributes wing candidate commands a response if trajectories package that fully embrace a set of tuples anchor?
Universal Search - Is a method of writing otherwise the expressions of relational algebra to increase efficiency while maintaining functional equivalence?
Query optimization
Questionnaire 4
- What are the predicates?
The functions that return true or false - What are simple predicates?
They are the atomic - What is WFF?
A well-formed formula - Any WFF that is assembled?
Atomic predicates using connectives and quantifiers Logic - What is a notation that personalizes the traditional predicate calculus to a particular database?
Tuple relational calculus - With which we can calculate an attribute value?
With constant - How existential query as meet the requirements of each element?
By assigning a path to some tuple anchor - A universal query qualify an element?
When you assign a package paths sufficient to produce some set of anchors - What type of variable using the tuple relational calculus?
It varies on the group of tuples in the database - What type of variable is used the domain relational calculus?
They vary on the union of all domains in the database
Questionnaire 5
- What is a list of comma?
It is a list of items separated by commas that specifies the attributes of answer. - What is a Cartesian product of a set of relationships?
It’s a new relationship tuples containing all possible combinations of tuples from the original relations. - What is a subquery?
It’s a select statement embedded in a query assistant hostess. - Remove and identify inappropriate combinations anchor?
The Boolean expression in the WHERE clause - Subqueries appearing in solving universal SQL query?
A set of tuples calculates the anchor and the other the calculated set of tuples accessible - It is a conceptual grouping of the tuples of Cartesian product in order to perform calculations on the attribute values within each group?
A Partition - Specify ORDER BY clause?
Specify a key sequence classification - What is an aggregate?
It’s a function that operates in a specified column - That makes the optional GROUP BY clause?
Divide the horizontal section of the Cartesian product - It adds new tuples to database tables:
The INSERT