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 → Indexes 3

The database design that consists of multiple tables that are linked together through matching data stored in each table is called
Relational database
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
Database __________ which is the logical design of the database, and the database _______ which is a snapshot of the data in the database at a given instant in time.
Schema, Instance
click to copy

DBMS → Transactions 3

The association role defines:
How tables are related in the database
click to copy
Ensuring isolation property is the responsibility of the
Concurrency-control component of the DBMS
click to copy
Course(course_id,sec_id,semester) Here the course_id,sec_id and semester are __________ and course is a _________
Attributes, Relation
click to copy

DBMS → Concurrency Control 3

The purpose of an N-Ary association is:
To deal with relationships that involve more than two tables
click to copy
Relational Algebra is a __________ query language that takes two relations as input and produces another relation as an output of the query.
Procedural
click to copy
Department (dept name, building, budget) and Employee (employee_id, name, dept name, salary) Here the dept_name attribute appears in both the relations. Here using common attributes in relation schema is one way of relating ___________ relations.
Tuple of distinct
click to copy

DBMS → Deadlock 3

In ordered indices the file containing the records is sequentially ordered, a ___________ is an index whose search key also defines the sequential order of the file.
Clustered index
click to copy
For select operation the ________ appear in the subscript and the ___________ argument appears in the paranthesis after the sigmA:)
Predicates, relation
click to copy
A domain is atomic if elements of the domain are considered to be ____________ units.
Indivisbile
click to copy

DBMS → Database Security 2

Indices whose search key specifies an order different from the sequential order of the file are called ___________ indices.
All of the mentioned
click to copy
The ___________ operation, denoted by −, allows us to find tuples that are in one relation but are not in another.
Set-difference
click to copy

DBMS → PL/SQL 2

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
In precedence of set operators, the expression is evaluated from
Left to right
click to copy

DBMS → Introduction to DBMS 2

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
Which one of the following is a set of one or more attributes taken collectively to uniquely identify a record?
Super key
click to copy

DBMS → Database Architecture 2

In a __________ index, an index entry appears for only some of the search-key values.
Dense
click to copy
Consider attributes ID, CITY and NAME. Which one of this can be considered as a super key?
ID
click to copy

DBMS → Data Models 2

Incase the indices values are larger, index is created for these values of the index. This is called
Multilevel index
click to copy
A _____ is a property of the entire relation, rather than of the individual tuples in which each tuple is unique.
Key
click to copy

DBMS → ER Model 2

A search key containing more than one attribute is referred to as a _________ search key.
Composite
click to copy
An attribute in a relation is a foreign key if the _______ key from one relation is used as an attribute in that relation.
Primary
click to copy

DBMS → Relational Model 2

Insertion of a large number of entries at a time into an index is referred to as __________ of the index.
Bulk loading
click to copy
The relation with the attribute which is the primary key is referenced in another relation. The relation which has the attribute as a primary key is called ______________
Referenced relation
click to copy

DBMS → Normalization 2

While inserting the record into the index, if the search-key value does not appear in the index.
The system inserts an index entry with the search-key value in the index at the appropriate position
click to copy
The ______ is the one in which the primary key of one relation is used as a normal attribute in another relation.
Referenced relation
click to copy

DBMS → Functional Dependency 2

A collection of data designed to be used by different people is called a/an
Database
click to copy
A _________ integrity constraint requires that the values appearing in specified attributes of any tuple in the referencing relation also appear in specified attributes of at least one tuple in the referenced relation.
Referential
click to copy

DBMS → SQL Basics 2

Which of the following is the oldest database model?
Network
click to copy
A relational database consists of a collection of
Tables
click to copy

DBMS → DDL Commands 2

Which of the following schemas does define a view or views of the database for particular users?
External schema
click to copy
A ________ in a table represents a relationship among a set of values.
Row
click to copy

DBMS → DML Commands 2

Which of the following are the process of selecting the data storage and data access characteristics of the database?
Physical database design
click to copy
The term _______ is used to refer to a row.
Tuple
click to copy

DBMS → Joins 2

Which of the following terms does refer to the correctness and completeness of the data in a database?
Data integrity
click to copy
The term attribute refers to a ___________ of a table.
Column
click to copy

DBMS → Views 2

A table can be logically connected to another table by defining a
Primary key
click to copy
For each attribute of a relation, there is a set of permitted values, called the ________ of that attribute.
Domain
click to copy