0% found this document useful (0 votes)
30 views

Quiz

Uploaded by

Min Khant
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Quiz

Uploaded by

Min Khant
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Database System Concepts(CST-2124)

1. In data abstraction which is lowest level of abstraction.


(a) Physical level
(b) Logical level
(c) Conceptual level
(d) None of all
2. External level is an ------.
(a) User view
(b) Logical view
(c) Physical view
(d) None of all
3. Snapshot of the data in the database at a given instance of time is called ------.
(a) Database instance
(b) Database schema
(c) Database snapshot
(d) All of the above
4. What does SQL stands for?
(a) Standard Query Language
(b) Structured Query Language
(c) Simple Query Language
(d) None of the above
5. Which authorization allows addition of new data, but not modification of existing data?
(a) Read authorization
(b) Delete authorization
(c) Insert authorization
(d) Update authorization
6. The processing of DDL statement, the output is stored in the -------.
(a) Data files
(b) Table
(c) Relation
(d) Data dictionary
7. Data Manipulation language (DML) are used for
(a) Delete information
(b) Insert information into database
(c) Read information from database
(d) All of the above
8. A query take as input several tables and always return a ------table.
(a) Several
(b) Two
(c) Single
(d) None
9. SQL query language is -----.
(a) Nonprocedural
(b) Procedural
(c) Application program
(d) Programming
10. Which of the following refers to the number of tuples in a relation?
(a) Entity
(b) Column
(c) Cardinality
(d) All of the above
11. Which of the following is not modification of the database?
(A) Deletion
(B) Insertion
(C) Sorting
(D) Updating
12. Which of the following SQL commands is used for removing (or deleting) a relation from the
database?
(a) Drop
(b) Delete
(c) Remove
(d) Rollback
13. After groups have been established, SQL applies predicates in the ----- clause, allowing
aggregate functions to be used.
(a) Where
(b) Having
(c) Group by
(d) With
14. To which of the following the term ‘DBA’ referred?
(a) Data Bank Administrator
(b) Database Administrator
(c) Data Administrator
(d) All of the above
15. Which of the following keys is generally used to represents the relationships between the
tables?
(a) Primary key
(b) Super key
(c) Foreign key
(d) Candidate key
16. Null is -----.
(a) Not a value
(b) The same as 0 for integer
(c) The same as blank for character
(d) None of the above
17. A ------ entity set is one whose existence is dependent on another entity set.
(a) Strong
(b) Weak
(c) Relationship
(d) All of the above
18. The entity relationship set in represented in E-R diagram as-----
(a) Diamond
(b) Dashed lines
(c) Double diamonds
(d) Rectangle
19. The minimal set of super key is called
(a) Primary key
(b) Candidate key
(c) Foreign key
(d) Alternate key
20. A ----- is a collection multiple interconnected databases, which are spread physically across
various locations that communicate via a computer network.
(a) Parallel database
(b) Distributed database
(c) Centralized database
(d) Client-Server database
21. Monitoring the jobs running on the database, should be supervised by------.
(a) Database system
(b) Database administrator
(c) Database user
(d) Database manager
22. What does an RDBMS consists of?
(a) Collection of records
(b) Collection of keys
(c) Collection of tables
(d) Collection of fields
23. To select all columns from the table the syntax is:
(a) Select all from table_name
(b) Select * from table_name
(c) Select from table_name
(d) None of the above
24. An association of several entities in an Entity-Relation model is known as
(a) Relationship
(b) Record
(c) Tuple
(d) Field
25. AS Clause is used for?
(a) Join
(b) Union
(c) Selection
(d) Rename
26. Which of the following is a comparison operator in SQL?
(a) =
(b) LIKE
(c) Between
(d) None of the above
27. Which one of the following given statements possibly contains the error?
(a) Select * from employee where eid=’e1’;
(b) select count(*) from employee;
(c) Select ename where city=’Mandalay’ and salary > 250000;
(d) Select eid from employee;
28. In the following query, which of the following can be placed in the query’s blank portion to
display the salary from highest to lowest amount, and sorting the employees name
alphabetically?
Select * from employee order by salary ----, name ----.
(a) Ascending, Descending
(b) Desc, Asc
(c) Asc, Desc
(d) All of the above
29. Which of the following is a command of DDL?
(a) Alter
(b) Insert
(c) Delete
(d) Select
30. What is rows of a relation known as?
(a) Tuple
(b) Attribute
(c) Degree
(d) Entity

You might also like