Quick Revision

GK One-Line Question & Answer

15541+ short questions with short answers, covering every category and sub-category on the site — no long articles to scroll through. Good for a fast recap before an exam, or a few minutes of daily practice.

DBMS → Concurrency Control 3

An                          consists of a search-key value and pointers to one or more records with that value as their search-key value.
index entry
click to copy
To identify the deleted records we use the
existence bitmap
click to copy
The strategy can retrieve a single record if the equality condition is on a key; multiple records may be retrieved if the indexing field is not a key is
a4
click to copy

DBMS → Deadlock 3

In a                clustering index, the index record contains the search-key value and a pointer to the first data record with that search-key value and the rest of the records will be in the sequential pointers.
dense
click to copy
Bitmaps can be combined with regular B+- tree indices for relations where a few attribute values are extremely common, and other values also occur, but much less frequently.
bitmap, b+tree
click to copy
The algorithm that uses a secondary ordered index to guide retrieval for comparison conditions involving <,≤,≥, or > is
a6
click to copy

DBMS → Database Security 3

In a                      index, an index entry appears for only some of the search-key values.
dense
click to copy
What is the purpose of the index in sql server?
all of the mentioned
click to copy
The        algorithm scans each index for pointers to tuples that satisfy an individual condition.
a9
click to copy

DBMS → PL/SQL 3

A search key containing more than one attribute is referred to as a                    search key.
composite
click to copy
How many types of indexes are there in sql server?
2
click to copy
If access paths are available on all the conditions of a disjunctive selection, each index is scanned for pointers to tuples that satisfy the individual condition. This is satisfied by
a10
click to copy

DBMS → Introduction to DBMS 2

In B+ tree the node which points to another node is called
internal node
click to copy
How non clustered index point to the data?
it is used for pointing data rows containing key values
click to copy

DBMS → Database Architecture 2

If h is any hashing function and is used to hash n keys in to a table of size m, where n<=m, the expected number of collisions involving a particular key x is :
less than 1
click to copy
Which one is true about clustered index?
clustered index is built by default on unique key columns
click to copy

DBMS → Data Models 2

A technique for direct search is
hashing
click to copy
What is true about indexes?
it makes harder for sql server engines to work to work on index which have large keys
click to copy

DBMS → ER Model 2

Consider a hash table of size seven, with starting index zero, and a hash function (3x + 4)mod7. Assuming the hash table is initially empty, which of the following is the contents of the table when the sequence 1, 3, 8, 10 is inserted into the table using closed hashing? Note that ‘_’ denotes an empty location in the table.
1, 8, 10, _, _, _, 3
click to copy
Does index take space in the disk?
yes, indexes are stored on disk
click to copy

DBMS → Relational Model 2

Key value pairs is usually seen in
hash tables
click to copy
If an index is                                    the metadata and statistics continue to exists
disabling
click to copy

DBMS → Normalization 2

What is the best definition of a collision in a hash table?
two entries are identical except for their keys
click to copy
In                                index instead of storing all the columns for a record together, each column is stored separately with all other rows in an index.
column store
click to copy

DBMS → Functional Dependency 2

Which of the following scenarios leads to linear running time for a random search hit in a linear-probing hash table?
all keys hash to same index
click to copy
A                                    index is the one which satisfies all the columns requested in the query without performing further lookup into the clustered index.
covering
click to copy

DBMS → SQL Basics 2

Breadth First Search is used in
graphs
click to copy
Which of the following schemas does define a view or views of the database for particular users?
external schema
click to copy

DBMS → DDL Commands 2

A(n)                    can be used to preserve the integrity of a document or a message.
encrypted message
click to copy
Which of the following is an attribute that can uniquely identify a row in a table?
candidate key
click to copy

DBMS → DML Commands 2

The property (or set of properties) that uniquely defines each row in a table is called the:
primary key
click to copy
The relationship between DEPARTMENT and EMPLOYEE is a
one-to-many relationship
click to copy

DBMS → Joins 2

The separation of the data definition from the program is known as:
data independence
click to copy
If the state of the database no longer reflects a real state of the world that the database is supposed to capture, then such a state is called
inconsistent state
click to copy

DBMS → Views 2

In the client / server model, the database:
resides on the server side
click to copy
In query processing, the                        is the lowest-level operator to access data.
file scan
click to copy

DBMS → Indexes 2

The association role defines:
how tables are related in the database
click to copy
In a                          the system scans each file block and tests all records to see whether they satisfy the selection condition.
linear search
click to copy

DBMS → Transactions 2

A                on the attribute A of relation r consists of one bitmap for each value that A can take.
bitmap index
click to copy
Which algorithm uses equality comparison on a key attribute with a primary index to retrieve a single record that satisfies the corresponding equality condition.
a2
click to copy