Home
Current Affairs January 2024

What is the correct answer?

4

The ________ states that a foreign key must either match a primary key value in another relation or it must be null.

A. entity integrity rule

B. referential integrity constraint

C. composite attribute

D. action assertion

Correct Answer :

A. entity integrity rule


Related Questions

What is the correct answer?

4

The collection of information stored in a database at a particular moment is?

A. View

B. Instance

C. Scheme

D. None of these

What is the correct answer?

4

…………… is responsible for using that the database remains in a consistent state despite system failure.

A. Storage manager

B. Admin

C. Transaction manager

D. none of the above

What is the correct answer?

4

An advantage of the database management approach is

A. data is dependent on programs.

B. data redundancy increases.

C. data is integrated and can be accessed by multiple programs.

D. none of the above.

What is the correct answer?

4

The ________ states that a foreign key must either match a primary key value in another relation or it must be null.

A. entity integrity rule

B. referential integrity constraint

C. composite attribute

D. action assertion

What is the correct answer?

4

Which of the following file organization provides very fast access to any arbitrary record of a file?

A. Ordered file

B. Unordered file

C. Hashed file

D. B-tree

What is the correct answer?

4

DBMS utility which allows to reconstruct the correct state of database from the backup and history of transactions

A. Backup

B. Recovery

C. Grant

D. Troubleshooting

What is the correct answer?

4

Which of the following operator preserves unmatched rows of the relations being joined?

A. Inner join

B. Outer join

C. union

D. Intersect

What is the correct answer?

4

The method by which the structure of the database is modified to eliminate hidden dependencies and replacing groups is

A. Normalization

B. Indexing

C. Enforcing referential integrity

D. Enforcing data integrity

What is the correct answer?

4

Which command is used to cancel privileges granted through the GRANT command ?

A. CANCEL

B. OVER

C. STOP

D. REVOKE

What is the correct answer?

4

Authorization command in SQL

A. Allow

B. Access

C. Grant

D. none of the above

What is the correct answer?

4

The union of primary keys of a related entity becomes …………. Of a relation.

A. primarykey

B. superkey

C. candidatekey

D. foreignkey

What is the correct answer?

4

Noiseless channel has ……… types of protocols.

A. 2

B. 3

C. 4

D. 5

What is the correct answer?

4

The class based addressing is known as

A. Classless addressing

B. Classful addressing

C. Classified addressing

D. Classical addressing

What is the correct answer?

4

A lock that allows concurrent transactions to access different rows of the same table is known as a

A. Field-level lock

B. Row-level lock

C. Table-level lock

D. Database-level lock

What is the correct answer?

4

The exists construct returns the value true, if the argument subquery is

A. empty

B. nonempty

C. contains null values

D. none of the above

What is the correct answer?

4

Datalog is

A. procedural query language

B. nonprocedural query language

C. scan(), write()

D. none of the above

What is the correct answer?

4

A data dictionary contains:
i) The name of all fields in all files.
ii) The data type of all fields in all files.
iii) The width of all fields in all files.

A. only i)

B. only i) and ii)

C. only ii) and iii)

D. i) ii) iii)

What is the correct answer?

4

As a side-effect of database update ,the system automatically executes a statement called

A. a view

B. a grant permission

C. a trigger

D. all of the above

What is the correct answer?

4

Which of the following are the properties of entities?

A. Groups

B. Table

C. Attributes

D. Switchboards

What is the correct answer?

4

A transaction is said to have terminated if it has

A. either committed or aborted

B. either partially committed or aborted

C. either committed or failed

D. none of these

What is the correct answer?

4

Symbol to represent weak entity set in ER Model

A. Dotted rectangle

B. Square

C. Doubly outlined rectangle

D. Diamond

What is the correct answer?

4

Which of the following normalization is needed, if an attribute of a composite key is dependent on an attribute of the other composite key?

A. BCNF

B. Second

C. Third

D. Fourth

What is the correct answer?

4

Technique used in log based recovery

A. Immediate database modification

B. Graph-based recovery

C. key dependencies

D. none of the above

What is the correct answer?

4

Which topology requires a central controller or hub?

A. Ring

B. Tree

C. Switch

D. Graph

What is the correct answer?

4

What is the result of the following SQL statement ?
SELECT A.emp_Name, B.ph_num
FROM emp A LEFT OUTER JOIN phone B
ON A. emp_ID = B.emp_ID

A. A list of employees phone number

B. A list of all employees that have spouses, with phone number included in the list

C. A list of all employees names, including the phone number if they have one

D. Two lists : One list of employees, the other of phone numbers

What is the correct answer?

4

The command used to delete a particular column in a relation

A. UPDATE

B. DROP

C. ALTER

D. DELETE

What is the correct answer?

4

A logical description of some portion of database that is required by a user to perform task is called as

A. System View

B. User View

C. Logical View

D. Data View

What is the correct answer?

4

A transaction which completes successfully is called

A. Granted

B. Committed

C. Compensated

D. Accomplished

What is the correct answer?

4

Data independence means

A. data is defined separately and not included in programs.

B. programs are not dependent on the physical attributes of data.

C. programs are not dependent on the logical attributes of data.

D. both B) and C).

What is the correct answer?

4

RAID

A. Redundant Arrays of Independent Disks

B. Redundant Arrays of Independent Drives

C. Redundant Arrays of Interconnected Drives

D. Redundant Arrays of Interconnected Disks