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 → DDL Commands 3

Drop Table cannot be used to drop a table referenced by a                    constraint.
foreign key
click to copy
Which of the following indicates the maximum number of entities that can be involved in a relationship?
maximum cardinality
click to copy
The department relation has the an entry budget whose type has to be replaced by
numeric (12,2)
click to copy

DBMS → DML Commands 3

                         is preferred method for enforcing data integrity
constraints
click to copy
In E-R diagram generalization is represented by
triangle
click to copy
In the above DDL command the foreign key entries are got by using the keyword
references
click to copy

DBMS → Joins 3

The entity relationship set is represented in E-R diagram as
diamond
click to copy
What is a relationship called when it is maintained between two entities?
binary
click to copy
Identify the error in the section relation
no error
click to copy

DBMS → Views 3

The Rectangles divided into two parts represents
entity set
click to copy
Which of the following is a low level operator?
directory
click to copy
Which of the following can be used as a primary key entry of the instructor relation.
id
click to copy

DBMS → Indexes 2

We indicate roles in E-R diagrams by labeling the lines that connect                         to                      
diamond, rectangle
click to copy
Key to represent relationship between tables is called
foreign key
click to copy

DBMS → Transactions 2

An entity set that does not have sufficient attributes to form a primary key is termed a
weak entity set
click to copy
A window into a portion of a database is
view
click to copy

DBMS → Concurrency Control 2

Weak entity set is represented as
double diamond
click to copy
A primary key is combined with a foreign key creates
parent-child relation ship between the tables that connect them
click to copy

DBMS → Deadlock 2

If you were collecting and storing information about your music collection, an album would be considered a(n)            
entity
click to copy
The entity set person is classified as student and employee. This process is called
specialization
click to copy

DBMS → Database Security 2

What term is used to refer to a specific record in your music database; for instance; information stored about a specific album?
instance
click to copy
Which relationship is used to represent a specialization entity?
isa
click to copy

DBMS → PL/SQL 2

Which one of the following can be treated as a primary key in teaches relation?
id
click to copy
The refinement from an initial entity set into successive levels of entity subgroupings represents a                  design process in which distinctions are made explicit.
top-down
click to copy

DBMS → Introduction to DBMS 2

The primary key in the section relation is
both course_id and sec_id
click to copy
There are similarities between the instructor entity set and the secretary entity set in the sense that they have several attributes that are conceptually the same across the two entity sets: namely, the identifier, name, and salary attributes. This process is called
generalization
click to copy

DBMS → Database Architecture 2

The relation with primary key can be created using
create table instructor (id, name, primary key (id))
click to copy
If an entity set is a lower-level entity set in more than one ISA relationship, then the entity set has
multiple inheritance
click to copy

DBMS → Data Models 2

How can the values in the relation teaches be deleted?
delete from teaches;
click to copy
A                            constraint requires that an entity belong to no more than one lower- level entity set.
disjointness
click to copy

DBMS → ER Model 2

In the above teaches relation ” Select * from teaches where Year = ‘2010’” displays how many rows?
2
click to copy
Consider the employee work-team example, and assume that certain employees participate in more than one work team. A given employee may therefore appear in more than one of the team entity sets that are lower level entity sets of employee. Thus, the generalization is                            
overlapping
click to copy

DBMS → Relational Model 2

The relation changes can be got back using                  command
flashback
click to copy
The completeness constraint may be one of the following: Total generalization or specialization, Partial generalization or specialization. Which is the default?
partial
click to copy

DBMS → Normalization 2

Let us consider phone_number ,which can take single or several values . Treating phone_numberas an                    permits instructors to have several phone numbers (including zero) associated with them.
entity
click to copy
Functional dependencies are a generalization of
key dependencies
click to copy

DBMS → Functional Dependency 2

The total participation by entities is represented in E-R diagram as
double line
click to copy
Which of the following is another name for a weak entity?
child
click to copy

DBMS → SQL Basics 2

Given the basic ER and relational models, which of the following is INCORRECT?
in a row of a relational table, an attribute can have more than one value
click to copy
Which is the main relation which is used in the university database which is referenced by all other relation of the university?
department
click to copy