Home
Current Affairs January 2024

What is the correct answer?

4

Which of the following Key is used to represent relationship between the tables?

A. Primary key

B. Secondary Key

C. Foreign Key

D. None of these

Correct Answer :

C. Foreign Key


Related Questions

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

The syntax to select all column from the table is

A. select all from tablename

B. select * from tablename

C. select from tablename

D. none of these

What is the correct answer?

4

The index table has …… Columns.

A. 1

B. 2

C. 3

D. 4

What is the correct answer?

4

A fragmentation is categorized in

A. 1 part

B. 2 part

C. 3 part

D. 4 part

What is the correct answer?

4

Select the correct statement
i) Aggregate functions work on a group of data and return a single value.
ii) ODBC connects the frontend with the database without considering its compatibility
iii) View definition cant be used at multiple places through with clause .

A. i and ii only

B. ii and iii only

C. i and iii only

D. i only

What is the correct answer?

4

An entity set that does not have sufficient attributes to form a primary key is a

A. strong entity set.

B. weak entity set.

C. simple entity set.

D. primary entity set.

What is the correct answer?

4

Extended Entity Relationship model consists of which of the following
i) Specialization
ii) Generalization
iii) Categorization

A. i and ii only

B. ii and iii only

C. i and iii only

D. All i, ii iii

What is the correct answer?

4

Which one of the following is provided by a data dictionary ?

A. User data

B. Database structure data

C. Sorted data

D. Functional data

What is the correct answer?

4

The left outer join takes all tuples

A. in the left relation which didnt match with any tuple in right relation

B. in the left relation which matched with a tuple in right relation

C. in the right relation which didnt match with any tuple in left relation

D. in the right relation which matched with a tuple in left relation

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

Select the incorrect statement(s)
i) Foreign key values can be left blank
ii) In SQL duplicates may be present
iii) Theta join operation doesnt remove duplicate columns.
iv) NULL value means string of blank characters.

A. i ,iii only

B. ii, iv only

C. iii, iv only

D. ii, iii, iv

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

The statement in SQL which allows to change the definition of a table is

A. Select

B. Update

C. Create

D. Alter

What is the correct answer?

4

B-Tree is used for

A. searching data

B. storing data

C. both A and B

D. none of these

What is the correct answer?

4

Object based data models are used in describing the abstraction of the following levels?

A. Conceptual and view

B. Only physical

C. Physical and conceptual

D. Only conceptual

What is the correct answer?

4

Volatile storage

A. loses its contents when power is switched off.

B. doesnt loses its contents when power is switched off.

C. creates backup when power is switched off.

D. none

What is the correct answer?

4

Transaction access data using two operations

A. read(), print()

B. read(), write()

C. scan(), write()

D. none of the above

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

Expand the acronym OLAP

A. Object Linked Access Program

B. Organizational Architecture Processing

C. Online Analytical Processing

D. none of these

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

The mode in which data item may be locked

A. Partner

B. Mutual

C. Exclusive

D. Atomic

What is the correct answer?

4

Natural mask for a Class A network

A. 255.0.0.0

B. 255.255.0.0

C. 255.255.255.0

D. none of these

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

Select the incorrect statement(s)
i) Shared locks are compatible with each other.
ii) A relation which is in 3NF may have redundancy due to composite keys.
iii) A table in a database can have multiple indexes.

A. i only

B. ii, only

C. ii, iii only

D. none of the above

What is the correct answer?

4

The output of the Data Definition Language is stored in the

A. view table

B. schema

C. metadata

D. all of the above.

What is the correct answer?

4

QBE

A. Query By Execution

B. Query By Example

C. Query By Extraction

D. None of the above.

What is the correct answer?

4

A composite attribute is converted to individual attributes in which of the following normal form ?

A. first

B. Second

C. third

D. fourth

What is the correct answer?

4

Range variables are designed using the

A. TO clause

B. FROM clause

C. RANGE clause

D. none of the above

What is the correct answer?

4

Relational Algebra is

A. Data Definition Language.

B. Data Manipulation Language

C. Procedural query Language

D. None of the above

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.