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 → Introduction to DBMS 34

Which type of user writes application programs?
Application programmers
click to copy
OLAP tools help which type of user?
Analysts/Sophisticated users
click to copy
In two-tier architecture, the application resides at
The client machine
click to copy
The DML compiler performs
Query optimization and generates evaluation plans
click to copy
Which is a disadvantage of DBMS?
Complexity and large memory usage
click to copy
An active data dictionary is updated
Automatically by DBMS with every database access
click to copy
A weak entity is one that
Depends on another entity and has no key attribute of its own
click to copy
A derived attribute is one that
Can be calculated from other attributes
click to copy
A multi-valued attribute can take
More than one value per entity instance
click to copy
The degree of a relationship is
Number of entity types involved
click to copy
In total participation every entity instance
Participates in the relationship
click to copy
A superkey is
A set of one or more attributes uniquely identifying a tuple
click to copy
A minimal superkey is called
Candidate key
click to copy
Referential integrity requires
Foreign key values to match existing primary key values in referenced relation
click to copy
NULL in a database represents
Unknown or non-existent value
click to copy
Which SQL language specifies the database schema?
DDL
click to copy
A schema diagram shows
Database schema with PK and FK dependencies
click to copy
Which storage manager component handles integrity constraints?
Authorization and integrity manager
click to copy
An attribute referencing PK of another relation is called
Foreign key
click to copy
Domain of an attribute is
Set of all possible valid values for that attribute
click to copy
Integrity constraints include
Domain, key, entity integrity, and referential integrity constraints
click to copy
Entity integrity constraint states
Primary key attributes must NOT be NULL
click to copy
Concurrent access anomalies in file systems occur because
Multiple users update data simultaneously without coordination leading to inconsistency
click to copy
Security problem in file processing systems is that
Enforcing access constraints is difficult in ad hoc file-based systems
click to copy
A database-management system (DBMS) is
A collection of interrelated data AND set of programs to access those data
click to copy
Which symbol represents an entity in ER notation?
Rectangle
click to copy
Which symbol represents a relationship in ER notation?
Diamond
click to copy
A derived attribute is shown as
Dashed ellipse
click to copy
A multi-valued attribute is shown as
Double ellipse
click to copy
A weak entity is represented by
Double rectangle
click to copy
The identifying relationship of a weak entity uses
Double diamond
click to copy
Composite attribute in ER has
Ellipse with sub-component ellipses branching off
click to copy
A unary (recursive) relationship has degree
1
click to copy
A binary relationship has degree
2
click to copy

DBMS → ER Model 1

ER modeling is classified as which design approach?
Top-down approach
click to copy

DBMS → Database Security 1

Read authorization allows a user to
Only read data, not modify
click to copy

DBMS → Transactions 2

The transaction manager ensures
Database remains in consistent state despite failures and manages concurrent transactions
click to copy
Atomicity problems in file systems occur because
Operations like fund transfers may be partially completed during failures
click to copy

DBMS → Relational Model 1

A candidate key chosen as principal identifier is
Primary key
click to copy

DBMS → Views 1

The purpose of view level abstraction is to
Simplify user interaction by showing only relevant parts of database
click to copy