Ugrás a fő tartalomra

Kérdés/Válasz : Adatbázis kezelés angol 2

 Saját gyűjteményem gyöngy szemei. Csak saját felelősségre használd.   Link

Pearl eyes from my own collection. Use at your own risk.  





If the nested query result is independent of the current tuple being examined in the outer query, the nested query is called _______________.

-

Uncorrelated

----

TRUE OR FALSE? Domain constraints stipulate that it isn't a must for the actual values of an attribute in any tuple, to belong to a declared domain.

-

False

----

TRUE OR FALSE? Relationship types can't have attributes.

-

False

----

In redo logging, the incomplete transaction is ignored and the work of committed transactions are _______.

-

repeated

----

TRUE OR FALSE? When grouping data in SQL, some of the grouping attributes don’t have to appear in the ‘select’ clause.

-

Fals

----

TRUE OR FALSE? When locks are used in a transaction, there is also a possibility of deadlocks.

True

----

How many kinds of Outer Joins are there?

3

----

While a database is running, the selectivity value can be kept and maintained in the Database ____.

-

Catalog

----

In query optimization, the main heuristic rule that is used is to apply _________ before other operations.

-

Select and project

----

 File blocks are a sequence of _______, containing all the records of the file.

-

Blocks

blocks

----

Select four reasons the Database Management System approach is preferred to the File System Storage approach, to the management of a database?

-

It separates data from Meta data

Provision of program-data independence

Easy query formulation

System development of a database requires less effort

----

Which of the following are contained in a block address?

Block number

Cylinder number

Surface number

----

TRUE OR FALSE? To create an entity relationship model, the specifications are gathered and used to construct a diagrammatic notation.

True

----

TRUE OR FALSE: If two relations are different, it is best to combine information from both relations by using the union operator.

false

----

____________ are used, in order to capture the associated information for an entity.

Attributes

----

 The Closed World Assumption assumes that the relation name used as a predicate will be __________, if you substitute the tuple that is present in the current relational instance for the predicate.

-

True

true

----

 In the equi-join operation, ________ is the only comparison operator used in the join condition.

-

equality

Equality

----

A unary operator that can be used to keep only the required attributes of relation instance is called a ____________.

Project operator

----

 A ___________ is the collection of a related piece of data that represents or captures the information about a real-world enterprise or part of an enterprise.

-

database

Database

----

A basic SQL query syntax contains a _________ clause, From clause and Where condition.

-

Select

----

TRUE OR FALSE? Physical Data Independence is when a Database Management System is architected such that the physical level scheme can be modified without affecting the logical or view level scheme.

True

----

TRUE OR FALSE? When performing deletion in a B+ tree, underflows can occur.

True

----

TRUE OR FALSE? Relation scheme R is in third normal form, If it is in second normal form, and in addition, a non-prime attribute of R is transitively dependent on any key of R.

-

False

----

Which of the following Normal Forms are defined in terms of functional dependencies?

Boyce-Codd Normal Form (BCNF)

----

TRUE OR FALSE? In a database system, after system failure occurs, the recovery manager takes control.

True

----

There is an algorithm that checks for whether a decomposition is indeed lossless or not. This algorithm works on a small m by n matrix, where m is the number of components that are there in the decomposition and n is the __________________.

-

Total number of attributes that are present in the original scheme

----

Which of the following types of attributes have atomic or indivisible values?

-

Simple attributes

----

If E1 and E2 are two entities that are connected to relationships R, which of the following possibilities indicates that an entity E1 may be associated with at most one entity E2 and that an E2 entity may be associated with at most one E1 entity?

-

One to one

----

ACID properties are important properties that should be satisfied by transaction processing systems. What does the acronym ACID stand for?

-

Atomicity, Consistency, Isolation, Durability

----

Which of the following conditions can cause the conflicting of a pair of operations in a schedule? Choose three answers:

-

One of the operations is a write operation

Both operations deal with the same database item

The operations belong to two different transactions

---

Set operations are applicable to two relations if their schemes are ___________

-

Union-compatible

----

 Views give a specific user group a _____________ view of the database, without giving full access to the database.

-

Restricted

restricted

----

The query of a tuple relational calculus has _________ sides separated by a bar.

-

2

----

In terms of buffer usage for the nested loop join, how many blocks are reserved for storing the results of join?

-

1

----

Megjegyzések