Professional Documents
Culture Documents
Database Theory Level-3
Database Theory Level-3
Database Theory Level-3
A. Duplicated
B. Individual
C. Separate
D. Distinct
3. Following is a simple SQL quiz that beginners may find interesting. Study the 3 tables below,
answer the following questions.
F. One---to---one relation
G. One---to---many relation
H. Many---to---many relation
I. Has no relation
6. Which of the ff records would be addressed in creating query having the criteria between 1/1/99
and 31/12/99?
A. Record between the actual 1/1/99 & 31/12/99 includes 1/1/99 & 31/12/99
B. Record between the actual 1/1/99 & 31/12/99 Excluding 1/1/99 & 31/12/99
C. Record which data equal 1/1/99 & 31/12/99
D. All data excepts 1/1/99 & 31/12/99
7. SQL server system database component
A. Master database
B. Model database
C. Conventional database
D. Tmpdb
8. Which of the following is data type?
A. Ole-Object
B. Input mask
C. Index
D. Caption
A.C++
B. Oracle
C. Adobe Reader
D. Dreamweaver
10. Which one of the following is not necessary information to backup database type?
A. Name of the database to back-up
B. Back-up devices where the database backup will be written
C. Whether you are generated operate the backup task
D. Model of the database
11. Which of the following is memo data type?
A. N12
B. &123
C. ZYX
D. 01-march -05
A. Relational Database
B. Object Objected
C. Network
D. Hierarchical
13. Revoking Involves
A. Removing a previously granted permission for user account group in a database
B. Removing a previously denied permission for user account group in a database
C. Removing a previously granted or denied permission from a role or group in database
D. Removing User from a role or group
14. What is an index?
A. An index is a special way to join 2 or more tables
B. An index is the same as alias
C. An index is a database table attribute, which speeds-up data search within a table
15. Which of the following is not true about primary key?
A. Primary key don’t allow null values
B. No two rows can have the same primary key values
C. A primary key values uniquely identified a values
D. All table must have a primary key
A. It is a base table
B. It is derived attribute
C. It is apply a derived & a base table
D. It is stored procedures
19. Which of the following are central to normalization
A. Functional dependency
B. Foreign key
C. Query
D. Data type
20. Which of the following not modular programming benefits
A. Less code has to be written
B. allows many programmers to collaborate on the same application
C. Code is short, simple and easy to understand
D. different developers can’t work in parallel
A. Select
B. Insert
C. Update
D. Drop
24. Which of the following is TRUE about Primary Key?
A. A column that is defined as Primary Key value can be same value more than once
B. A column that is defined as Primary Key cannot contain NULL value
C. Primary key should be long type only
25. Which type of Join should you use .If you want to return only matches?
A. Inner Join
B. Left Outer join
C. Right outer join
D. Full join
26. What does the following SQL command output SELECT empname from emp where empname
like 'S---';
A. This displays all empname whose empname is ending with "S"
B. This displays all empname whose empname is starting with "S"
C. This displays all empname whose empname is with four letter and ending with "S"
D. This displays all empname whose empname is with four letter and starting with “S"
A. Data Security
B. Data Manipulation
C. Data Independence
D. Data Integrity
31. A NULL value is treated as a blank or 0.
A. True
B. False
32. Which of the following data types are used in SQL?
A. LONG
B. DATE
C. CHAR
D. All the above
33. authors and the titles table relationship will be:
A. One---to---one relation
B. One---to---many relation
C. Many---to---many relation
D. Has no relation
34. Which of the following terms used to validate and improve a logical design so that it satisfies
certain constraints that avoid unnecessary duplication of data?
A. Data Security
B. Data Manipulation
C. Normalization
D. Data Integrity
35. When creating a referential constraint, which keyword(s) identifies the table and column in the
parent table?
A. Foreign key
B. References
C. Table Name
D. All
36. In order to remove the index created the SQL command used is:
A. DROP INDEX;
B. DELETE INDEX;
C. REMOVE INDEX;
D. CUT INDEX;
37. In which case we use nulls in tuple of relation or table?
A. value known to exist, but unavailable
B. reduce Waste of disk space
C. Avoid Insert anomalies
D. Disallowing generating Spurious
38. ------------------------ denote derived attributes.
A. Double ellipse
B. Dashed ellipse
C. Squared ellipse
D. Ellipse with attribute name underlined
39. What type of lock will deny users any access to a table?
A. EXPLICIT
B. IMPLICIT
C. EXCLUSIVE
D. SHARED
E. READ ONLY
40. What is a collection of all entities of particular entity type in the database?
A. Entity
B. Entity type
C. Entity set
D. Attributes
41. Which normal form applies if all the determinants are prime attribute or candidate keys?
A. First normal
B. Second normal
C. Third normal
D. Boyce-Codd Normal
42. Which one is not entity type?
A. Book
B. Gender
C. Order
D. Customer
43. Flow chart return show decision that must made represent by:
A. Diamond
B. Rectangle
C. Round
D. Circle
44. Which type of constraint by default requires that a column be both unique and not null?
A. Primary key
B. Unique
C. Not NULL
D. Check
Oral Question