Home
Current Affairs January 2024

What is the correct answer?

4

A transaction has following states
i) Active
ii) Fail
iii) Abort
iv) Commit

A. i and ii only

B. ii and iii only

C. i and iii only

D. iii and iv only

Correct Answer :

D. iii and iv only


Related Questions

What is the correct answer?

4

Transaction processing is associated with everything below except

A. producing detail, summary, or exception reports.

B. recording a business activity.

C. confirming an action or triggering a response.

D. maintaining data.

What is the correct answer?

4

In two-phase locking

A. the data items are locked in growing phase.

B. the data items are released in shrinking phase.

C. Both A and B are true

D. Both A and B are false

What is the correct answer?

4

Referential integrity

A. controls relationships between operations of an object

B. controls relationships between instances of a class

C. controls relationships between attributes in a table

D. controls relationships between tables in a database

What is the correct answer?

4

Select the incorrect statement

A. View is derived from other tables.

B. Once a transaction has executed commit work its effect cant be undone by rollback work .

C. The input to the aggregate function avg can be non numeric data types

D. A primary key can never be null.

What is the correct answer?

4

A table that displays data redundancies yields ____________ anomalies

A. Insertion

B. Deletion

C. Update

D. All of the above

What is the correct answer?

4

Which of the following concurrency control schemes is not based on serializability property?

A. Two-phase locking

B. Timestamped based locking

C. Graph-based locking

D. none of the above

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 race condition occurs when

A. Two concurrent processes attempt to interact with each other.

B. Two concurrent processes interact with different data files.

C. Two concurrent processes attempt to hold a data item .

D. none of the above.

What is the correct answer?

4

By default a user who has been granted some form of authorization

A. is allowed to pass them to others

B. is not allowed to pass them to others

C. may be or may not be allowed to pass them to others

D. none

What is the correct answer?

4

Commit operation …………… writes the changes made to the database.

A. temporarily

B. permanently

C. none of these

D. all of the above

What is the correct answer?

4

In case of entity integrity, the primary key may be

A. not Null

B. Null

C. both Null & not Null.

D. any value.

What is the correct answer?

4

In two-phase locking protocol the two phases are

A. growing phase and shrinking phase

B. execution phase and blocking phase.

C. running phase and sleeping phase.

D. none of the above

What is the correct answer?

4

A logical schema

A. is the entire database.

B. is a standard way of organizing information into accessible parts.

C. describes how data is actually stored on disk.

D. both A) and C)

What is the correct answer?

4

For large networks, _______ topology is used

A. Ring

B. Bus

C. Mesh

D. none of these

What is the correct answer?

4

The degree of the table with 500 rows and 7 columns is

A. 500

B. 7

C. 3500

D. none of these

What is the correct answer?

4

An entity set which have sufficient attributes to form a primary key

A. Tree structure

B. Subtree structure

C. Strong entity set

D. Table structure

What is the correct answer?

4

The host part in a class A type of an IP address has

A. 12 bits

B. 16 bits

C. 24 bits

D. 28 bits

What is the correct answer?

4

The overall design of a database is called

A. Subschema of the database

B. Schema of the database

C. Structure of the database

D. View of the database

What is the correct answer?

4

Benefit of database normalization is

A. smaller number of tables

B. higher query processing efficiency

C. reduced I/O for most queries

D. reduced data redundancy

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

A transaction has following states
i) Active
ii) Fail
iii) Abort
iv) Commit

A. i and ii only

B. ii and iii only

C. i and iii only

D. iii and iv only

What is the correct answer?

4

A ………… clause permits a view definition to be used in multiple places within a query.

A. where

B. exist

C. with

D. select

What is the correct answer?

4

Which of the following extracts its data from the result of an SQL SELECT statement.

A. View

B. Synonym

C. Sequence

D. Transaction

What is the correct answer?

4

Data stored in cursor is called ……………

A. record

B. active data set

C. object

D. none of the above

What is the correct answer?

4

The mode in which data item may be locked

A. Partner

B. Mutual

C. Exclusive

D. Atomic

What is the correct answer?

4

In an E-R diagram attributes are represented by

A. rectangle.

B. square.

C. ellipse.

D. triangle.

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

Select the incorrect statement

A. BCNF is stronger than 3NF

B. Relational algebra is a non-procedural language

C. Every conflict serializable schedule is view serializable.

D. none of the above

What is the correct answer?

4

Functional dependencies are generalization of

A. Relation dependencies

B. Data dependencies

C. key dependencies

D. none of the above

What is the correct answer?

4

Technique(s) used for data recovery after any failure

A. Logging

B. Recovery manager

C. Both A and B are true

D. Both A and B are false