0% found this document useful (0 votes)
33 views3 pages

RDBMS INTERNAL EXAM Key Paper

1. The document contains questions about SQL commands and concepts related to relational database management systems. 2. It covers topics such as data definition language (DDL), data manipulation language (DML), data control language (DCL), transaction control language (TCL), SELECT statements, ALTER commands, synonyms, indexes, concurrency control, backups, locking, and transactions. 3. Fill-in questions are also included testing knowledge of SQL clauses, database objects, joins, locking, authentication and disk failures.

Uploaded by

HUNTER GAMING
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views3 pages

RDBMS INTERNAL EXAM Key Paper

1. The document contains questions about SQL commands and concepts related to relational database management systems. 2. It covers topics such as data definition language (DDL), data manipulation language (DML), data control language (DCL), transaction control language (TCL), SELECT statements, ALTER commands, synonyms, indexes, concurrency control, backups, locking, and transactions. 3. Fill-in questions are also included testing knowledge of SQL clauses, database objects, joins, locking, authentication and disk failures.

Uploaded by

HUNTER GAMING
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

RDBMS INTERNAL EXAM-2

1. Multiple choice: 10x1/2=5m


1. __________consist of SQL commands for the creation of database objects like table, views,
indexes etc.,
a. DDL
b. DML
c. DCL
d. TCL
2. SELECT col 1, col 2
FROM table-name
WHERE condition
ORDER By col 1 [col 2, ....col n] ASC/DESC;
The above statement is a syntax of __________.
a. DISTINCT clause
b. GROUP BY clause
c. UPDATE
d. ORDER BY
3. ALTER TABLE <table_name>
RENAME COLUMN <old column name> To <New column name>;
The above state is a syntax of ________.
a. Dropping table column
b. Renaming table column
c. ALTER table
d. DROP column
4. A synonym is referred to as ________ if it is defined within the schema of a specific uses.
a. Public synonym
b. DROP synonym
c. Private synonym
d. ALTER
5. ______is used for creating index for table
a. NOT NULL
b. DROP VIEW
c. CREATE TABLE
d. CREATE INDEX
6. ________ is a way to maintain data integrity in multiuser environment.
a. Access control
b. View control
c. Encryption
d. Concurrency control
7. ________are the synchronization points between the database and the log file for reducing the
time taken to recover from the system crash.
a. Transaction
b. Disk
c. Deferred database modification
d. Checkpoint
8. ______ only those contents of the database that have been modified as compared to previous
backup copy, are copied to permanent secondary storage.
a. Differential backup
b. Transaction log backup
c. Full back up
d. None of the above
9. A __________refers to a lock that is provided on a page so as to restrict a transaction T 2 to
access a page when another transaction T1 is accessing the same page.
a. Table level
b. Page level
c. Field level
d. Row level
10. In_________ the copies of the database item(their values) are stored in local variables and the
modifications are made to these local variables and the actual values are not modified in this
phase.
a. Read phase
b. Write phase
c. Validation phase
d. None of the above

II. FILL IN THE BLANKS

1. _______________clause is used for specifying conditions on rows by using conditional


expression
2. ___________can be defined as a logical representation of some other table or mixture tables.
3. ________ are generally the alias name given to a base table or any schema object.
4. A_______ refers to a join operator that multiplies all the rows of one table with all the rows of
another table so as to obtain a single table.
5. _____________clause is used within the SELECT statement in order to arrange the columns of
the resultant table.
6. A transaction acquires __________on data item P which can execute read instruction but not
write instruction.
7. ________ is a non-pre emptive scheme wherein the transaction either waits for the lock or dies.
8. ________follows the read phase where the assurance of the serializability is checked upon each
update.
9. _________ is a technique that verifies the identity of the person who is interested in using the
system.
10. In ______________ the disk in which information is stored is damaged or crashed.
III. Very short Questions and Answers 5x1=5m

1. Define nested query.


2. Create a table named Account with following attributes and constraints.
Acno, Name, Actype, Loc, balance, Acno must be unique and NOTNULL.
3. Give the syntax of UPDATE command.
4. Define lock granularity
5. What is access control

Fill in the blanks answers

1. WHERE
2. Views
3. Synonyms
4. Cross join
5. ORDER BY
6. Shared lock
7. Wait-Die
8. Validation phase
9. Authentication
10. Disk failure

You might also like