🗄

Database Management System MCQs

749+ questions with answers

551

The database system must take special actions to ensure that transactions operate properly without interference from concurrently executing database statements. This property is referred to as

a Atomicity
b Durability
c Isolation
d All of the mentioned
Medium
View Details →
552

The property of a transaction that persists all the crashes is

a Atomicity
b Durability
c Isolation
d All of the mentioned
Medium
View Details →
553

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 a data
Medium
View Details →
554

The Oracle RDBMS uses the ____ statement to declare a new transaction start and its properties.

a BEGIN
b SET TRANSACTION
c BEGIN TRANSACTION
d COMMIT
Medium
View Details →
555

____ means that the data used during the execution of a transaction cannot be used by a second transaction until the first one is completed.

a Consistency
b Atomicity
c Durability
d Isolation
Medium
View Details →
556

In SQL, which command is used to issue multiple CREATE TABLE, CREATE VIEW and GRANT statements in a single transaction?

a CREATE PACKAGE
b CREATE SCHEMA
c CREATE CLUSTER
d All of the mentioned
Medium
View Details →
557

In SQL, the CREATE TABLESPACE is used

a To create a place in the database for storage of scheme objects, rollback segments, and naming the data files to compris
b To create a database trigger
c To add/rename data files, to change storage
d All of the mentioned
Medium
View Details →
558

Which character function can be used to return a specified portion of a character string?

a INSTR
b SUBSTRING
c SUBSTR
d POS
Medium
View Details →
559

Which of the following is TRUE for the System Variable $date$?

a Can be assigned to a global variable
b Can be assigned to any field only during design time
c Can be assigned to any variable or field during run time
d Can be assigned to a local variable
Medium
View Details →
560

What are the different events in Triggers?

a Define, Create
b Drop, Comment
c Insert, Update, Delete
d Select, Commit
Medium
View Details →
561

Which is the subset of SQL commands used to manipulate Oracle Database Structures, including tables?

a Data Definition Language
b Data Manipulation Language
c Data Described Language
d Data Retrieval Language
Medium
View Details →
562

Which of the following SQL command can be used to modify existing data in a database table?

a MODIFY
b UPDATE
c CHANGE
d NEW
Medium
View Details →
563

When SQL statements are embedded inside 3GL, we call such a program as

a Nested query
b Nested programming
c Distinct query
d Embedded SQL
Medium
View Details →
564

_______________ provides option for entering SQL queries as execution time, rather than at the development stage.

a PL/SQL
b SQL*Plus
c SQL
d Dynamic SQL
Medium
View Details →
565

The storage structure which do not survive system crashes are ______

a Volatile storage
b Non-volatile storage
c Stable storage
d Dynamic storage
Medium
View Details →
566

Storage devices like tertiary storage, magnetic disk comes under

a Volatile storage
b Non-volatile storage
c Stable storage
d Dynamic storage
Medium
View Details →
567

For a transaction to be durable, its changes need to be written to ________ storage.

a Volatile storage
b Non-volatile storage
c Stable storage
d Dynamic storage
Medium
View Details →
568

The unit of storage that can store one are more records in a hash file organization are

a Buckets
b Disk pages
c Blocks
d Nodes
Medium
View Details →
569

A ______ file system is software that enables multiple computers to share file storage while maintaining consistent space allocation and file content.

a Storage
b Tertiary
c Secondary
d Cluster
Medium
View Details →
570

A file produced by a spreadsheet

a is generally stored on disk in an ASCII text format
b can be used as is by the DBMS
c all of the mentioned
d none of the mentioned
Medium
View Details →
571

Which of the following are the process of selecting the data storage and data access characteristics of the database?

a Logical database design
b Physical database design
c Testing and performance tuning
d Evaluation and selecting
Medium
View Details →
572

Which of the following is the oldest database model?

a Relational
b Hierarchical
c Physical
d Network
Medium
View Details →
573

The process of saving information onto secondary storage devices is referred to as

a Backing up
b Restoring
c Writing
d Reading
Medium
View Details →
574

A transaction may not always complete its execution successfully. Such a transaction is termed

a Aborted
b Terminated
c Closed
d All of the mentioned
Medium
View Details →
575

If an transaction is performed in a database and committed, the changes are taken to the previous state of transaction by

a Flashback
b Rollback
c Both Flashback and Rollback
d Cannot be done
Medium
View Details →
576

Each modification done in database transaction are first recorded into the

a Harddrive
b Log
c Disk
d Datamart
Medium
View Details →
577

When the transaction finishes the final statement the transaction enters into

a Active state
b Committed state
c Partially committed state
d Abort state
Medium
View Details →
578

The name of the transaction file shall be provided by the operator and the file that contains the edited transactions ready for execution shall be called

a Batch. Exe
b Trans. Exe
c Opt. Exe
d Edit.Exe
Medium
View Details →
579

Which of the following is an atomic sequence of database actions?

a Transaction
b Concurrency
c Relations
d All of the mentioned
Medium
View Details →
580

_______ means that data used during the execution of a transaction cannot be used by a second transaction until the first one is completed.

a Serializability
b Atomicity
c Isolation
d Time stamping
Medium
View Details →
581

DBMS periodically suspends all processing and synchronizes its files and journals through the use of

a Checkpoint facility
b Backup facility
c Recovery manager
d Database change log
Medium
View Details →
582

Which of the following is not a state in transaction?

a Active
b Terminated
c Aborted
d Partially committed
Medium
View Details →
583

_______________ joins are SQL server default

a Outer
b Inner
c Equi
d None of the Mentioned
Medium
View Details →
584

The ________________ is essentially used to search for patterns in target string.

a Like Predicate
b Null Predicate
c In Predicate
d Out Predicate
Medium
View Details →
585

Which of the following is/are the Database server functions? i) Data management ii) Transaction management iii) Compile queries iv) Query optimization

a i, ii, and iv only
b i, ii and iii only
c ii, iii and iv only
d All i, ii, iii, and iv
Medium
View Details →
586

To delete a database ___________ command is used

a Delete database database_name
b Delete database_name
c drop database database_name
d drop database_name
Medium
View Details →
587

____________ is a combination of two of more attributes used as a primary key

a Composite Key
b Alternate Key
c Candidate Key
d Foreign Key
Medium
View Details →
588

Which of the following is not the function of client?

a Compile queries
b Query optimization
c Receive queries
d Result formatting and presentation
Medium
View Details →
589

______________ requires that data should be made available to only authorized users.

a Data integrity
b Privacy
c Security
d None of the Mentioned
Medium
View Details →
590

Some of the utilities of DBMS are _____________ i) Loading ii) Backup iii) File organization iv) Process Organization

a i, ii, and iv only
b i, ii and iii only
c ii, iii and iv only
d All i, ii, iii, and iv
Medium
View Details →
591

____________ allows individual row operation to be performed on a given result set or on the generated by a selected by a selected statement.

a Procedure
b Trigger
c Curser
d None of the Mentioned
Medium
View Details →
592

Which s essential a business problem not a data problem:

a Data
b Database
c Database design
d All of the mentioned
Medium
View Details →
593

Which is primarily the result of a thorough understanding of information about an enterprise:

a Data
b Database
c Database design
d Data modeling
Medium
View Details →
594

McFadden has defined normalization in his which book___________

a Database modern management
b Management database of modern
c Modern database management
d Database management
Medium
View Details →
595

The database design prevents some data from being represented due to _______

a Deletion anomalies
b Insertion anomalies
c Update anomaly
d None of the mentioned
Medium
View Details →
596

How many types of insertion anomalies:

a 1
b 2
c 3
d 4
Medium
View Details →
597

Who developed the normalization process:

a E.F. codd
b F.F. codd
c E.E. codd
d None of the mentioned
Medium
View Details →
598

Which is a bottom-up approach to database design that design by examining the relationship between attributes:

a Functional dependency
b Database modeling
c Normalization
d Decomposition
Medium
View Details →
599

Which is the process of breaking a relation into multiple relations:

a Functional dependency
b Database modeling
c Normalization
d Decomposition
Medium
View Details →
600

Which formal method that locates and analyses relation schemas on the basis of their primary, candidate keys, and the FD’s that are present among the attributes of these schemas:

a Functional dependency
b Database modeling
c Normalization
d Decomposition
Medium
View Details →