LATEST

Friday, May 1, 2020

COMPUTER AWARENESS - DATE BASE MCQS SET 76

COMPUTER AWARENESS - DATE BASE MCQS SET 76

1. The SQL statement to create a view is:
A.CREATE VIEW.    B.MAKE VIEW.        C.SELECT VIEW.        D.INSERT VIEW.

2. To update an SQL view, the DBMS must be able to associate the column(s) to be updated with:
A.a particular column in a particular underlying table.
B.a particular column in a particular row.
C.a particular row in a particular underlying table.
D.None of the above is correct.

3. Which of the following is NOT a type of SQL constraint?
A.PRIMARY KEY        B.FOREIGN KEY        C.ALTERNATE KEY        D.UNIQUE

4. A ________ is a program that performs some common action on database data and that is stored in the database.
A.trigger    B.stored procedure        C.pseudofile        D.None of the above is correct.

5. For what purposes are views used?
A.To hide columns only        B.To hide rows only    C.To hide complicated SQL statements only
D.All of the above are uses for SQL views.

6.What is an SQL virtual table that is constructed from other tables?
A.Just another table        B.A view        C.A relation        D.Query results

7. When using the SQL INSERT statement:
A.rows can be modified according to criteria only.
B.rows cannot be copied in mass from one table to another only.
C.rows can be inserted into a table only one at a time only.
D.rows can either be inserted into a table one at a time or in groups.

8. What is not an advantage of stored procedures?
A.Greater security        B.SQL can be optimized        C.Code sharing       
D.Increased network traffic

9.A reason for using an SQL view to hide columns is:
A.to simplify a result only.            B.to prevent the display of sensitive data only.
C.to accomplish both of the above.        D.None of the above are reasons for using an SQL view.

10. Which of the following is an SQL trigger supported by Oracle?
A.BEFORE        B.INSTEAD OF        C.AFTER        D.All of the above.
ANSWER:
1.A
2.C
3.C
4.B
5.D
6.B
7.D
8.D
9.C
10.D

No comments:

Post a Comment