ILP PAT TEST on DBMS on 11-09-2011 at 01:03 AM 1.

The DBMS acts as an interface between what two components of an enterprise-class database system? A.Database application and the database B.Data and the database C.The user and the database application D.Database application and SQL Ans:- A 2. SQL stands for ________ . A.Structured Query Language B.Sequential Query Language C.Structured Question Language D.Sequential Question Language Ans:-A 3. Because it contains a description of its own structure, a database is considered to be _______ . A.Described B.metadata compatible C.self-describing D.an application program. Ans:-C 4. You can add a row using SQL in a database with which of the following? A.ADD B.CREATE C.INSERT D.MAKE Ans:- C 5. The wildcard in a SELECT statement is which of the following? A.% B.& C.∗ D.# Ans:- C 6. The command to eliminate a row from a table is: A.REMOVE FROM CUSTOMER B.DROP FROM CUSTOMER C.DELETE FROM CUSTOMER D.UPDATE FROM CUSTOMER

B 10. Which of the following is the original purpose of SQL? A.B 8.C 7.A base table that cannot be accessed via SQL commands Ans:.Neither A nor B are correct. The SQL WHERE clause: A.To specify the syntax and semantics of SQL data definition language B. Ans:. C.A 11.A virtual table that cannot be accessed via SQL commands C. B.A base table that can be accessed via SQL commands D. A view is which of the following? A.limits the row data are returned. D.limits the column data that are returned. C. B.All of the above.An exact match is not possible in a SELECT statement.To specify the syntax and semantics of SQL manipulation language C. D. Ans:-D 9. B.An exact match is necessary in a CREATE statement.An exact match is necessary in a SELECT statement. DROP TABLE CUSTOMER.A virtual table that can be accessed via SQL commands B. REMOVE TABLE CUSTOMER. . C. The wildcard in a WHERE clause is useful when? A.Both A and B are correct.Ans:. DELETE TABLE CUSTOMER.To define the data structures D. Ans:.An exact match is not possible in a CREATE statement. The command to eliminate a table from a database is: A.

Normalization B.braces — {…}.FROM Ans:-A 16. WHERE. NOT IN only D. Ans:-B 13. UPDATE TABLE CUSTOMER. SELECT. WHERE.CAPITAL LETTERS. SELECT.SELECT D.Data Integrity C. FROM. SELECT C.WHERE. A.DML C. LIKE only B.DDL B. The SQL keyword(s) ________ is used with wildcards. Which of the following is the correct order of keywords for SQL SELECT statements? A. ON UPDATE CASCADE ensures which of the following? A. FROM. Ans:-B 12.HTML D. IN only C. IN and NOT IN Ans:-A 15. WHERE B. A.XML Ans:-A 14. . All of the above. FROM. B. A subquery in an SQL SELECT statement is enclosed in: A. Materialized Views D. SQL data definition commands make up a(n) ________ .D.

MIN B.C 20.parenthesis — (…) . report B. brackets — [. Grant & Revoke are the commands ___________. A. drop Ans:. Ans:-C 17. file D.D. COUNT. DCL D. MULT . NONE OF THESE Ans:-A 21. The result of a SQL SELECT statement is a(n) ________ .C. SUM. create B.]. MAX. SUM. TCL Ans:. AVG. Which one is not the command of DDL? A. table Ans:. A.. AVG. DROP & TRUNCATE C. UPDATE & DELETE D. form C..C 19. MIN. Which of the following are the five built-in functions provided by SQL? A.D 18. Commands of TCL are ? A. DDL B. delete D. MAX. alter C. COMMIT & ROLLBACK B. DML C.

AVG. SUM. MIN D. DIV.C. MIN. MULT. AVG. MAX. SUM. NAME Ans:.A .

Sign up to vote on this title
UsefulNot useful