MCQ C
MCQ C
MCQ C
2) The ER model is relevant to which of the following steps among the 6 steps in database
a) requirement analysis b) conceptual database design
c) logic database design d) all the above
4) An instance is ___________
a) a set of relationships b) set of attributes
c) set of entites d) schema
6) The owner entity set and weak entity set should participate in
a) many to many relationship set b) many to one relationship set
c) one to many relationship set d) one to one relationship set
7) The language used application programs to request data from the DBMS is referred to as the
a) DML b) DDL
c) query language d) none
8) A top-to-bottom relationship among the items in a database is established by a
a) hierarchical schema b) network schema
c) relational schema d) all of the above
9) Which of the following levels of abstraction involves the views of data?
a) external level b) conceptual level c) physical level d) none
14) The relational database environment has all of the following components except
a) users b) separate files
c) database d) query languages
15) The language associated with a database management system that is employed by end users and
programmers to manipulate data in the database is the:
a) data definition language. b) data presentation language.
c) Data manipulation language. d) data translation language.
a) bit-byte-record-field-file-database b) byte-bit-field-record-file-database
c) bit-byte-field-record-file-database d) bit-byte-file-record-field-database
18) The situation that occurs when different divisions, functional areas, and groups in an organization
independently collect the same piece of information best describes:
a) Program-data independence. b) Data redundancy.
c) Lack of flexibility. d) Poor security.
21) A table
a) Cannot be empty b) consists of rows and columns
c) Consists of Alphanumeric data d) can only store data of one type.
22) The users who use the database by writing special database application programs are called
a) Sophisticated user b) Specialized user
c) Naïve user d) Native user
23) The person who is having centra control over data and programs accessing that data
a) DBA b) Database Designer c) Developer d) none
24) The persons who interact with the system through DML calls embedded in a program written in host
language
a) System developers b) System analysts
c) DBA d) Application Programmers
27) The ability to modify the internal schema without causing any change to the external schema
a) Physical data independence b) Logical Data independence
c) External Data independence d) none
28) The ability to modify the conceptual schema without causing any change to the application program
a) Physical data independence b) Logical Data independence
c) External Data independence d) none
31) Which of the following features is supported in the relational database model?
a. Complex data types b. Multi-valued attributes
c. Associations with multiplicities d. Generalization relationships
32) Which of the following is the most likely prediction of future database systems?
a. Relational technology will be replaced by object-oriented technology.
b. Relational technology will be extended to include object-oriented features.
c. Relational technology will dominate without use of object-oriented features.
d. Relational and object-oriented technologies will both be replaced with hierarchical data models.
33) The links between rows of a master table and those of a nested table are maintained using:
a. pointers. b. foreign keys. c. determinants. d. clusters.
37) A field, or a combination of fields, that has a unique value is a (check only one)
a) secondary key. b) foreign key.
c) primary key. d) alternate key.
39) This Relational Algebra operation requires two tables as input and the two tables must have one common
column
a) RESTRICTION b) JOIN c) DIVISION
d) CARTESIAN PRODUCT (MULTIPLICATION) e) PROJECTION
40) Combination of one or more columns used to identify particular rows in a relation is a(n) _____________ .
a. ) record b. ) field
c. ) key d. ) tuple e. ) dependency
41) A combination of two or more columns used to identify particular rows in a relation is a(n) _____ .
a. ) record b. ) field
c. ) composite key d. ) foreign key e. ) surrogate key
42) An attribute (or combination of attributes) used strictly for data retrieval purposes is called a (check only
one)
a. superkey b. candidate key
c. secondary key d. primary key
44) Which of the following is a group of one or more attributes that uniquely identifies a row?
A) Key B) Dependent
C) Determinant D) Relation
45) Which SQL keyword must be used to remove duplicate rows from the result relation ?
a) DELETE b) DISTINCT
c) NOT EXISTS d) UNIQUE
46) SQL keyword used to state the condition that specifies which rows are to be selected ?
a) EXISTS b) FROM c) SELECT d) SET
49) Which keyword is used to determine if a column value is equal to any one of a set of values ?
a) AND b) EXISTS c) HAVING d) IN
b. the value of a foreign key must appear in a primary key of the related table.
c. the value of a primary key cannot appear in a foreign key of the related table.
d. the value of a foreign key cannot appear in a primary key of the related table.
55) An ________ is an alternate name given to column or table in any SQL statement.
A: Another name B: Alias C: Field D: Row
57) Use the ___________ clause to restrict groups returned by a grouped query.
A: WHERE B: DISTINCT C: HAVING D: UNIQUEROWS
61) A relation containing minimum data redundancy and allowing insertion, deletion, and modification of rows
without introducing data inconsistencies is considered to be:
a. generalized. b. well-structured. c. unified. d. referential.
62) Which of the following factors indicates that a table is not well-structured?
a. It contains multiple foreign keys.
b. The primary key consists of more than one attribute.
c. The data in the table represents more than one entity.
d. Referential integrity is violated when attempting to enter data.
63) Which SQL command would you use to define the primary key for a new table called 'Employee' with the
primary column to be 'empid'?
A: ADD TABLE Employee ADD PRIMARY KEY (empid)
B: ATTACH TABLE Employee ADD PRIMARY KEY (empid)
C: ADD TABLE Employee ATTACH PRIMARY KEY (empid)
D: ALTER TABLE Employee ADD PRIMARY KEY (empid)
66) To change the value of a customer’s discount from 3 to 5, what command do we need
to use:
a) INSERT b) SELECT c) DELETE d) UPDATE.
67) The WHERE keyword comes before the condition in a normal Select query. When using the command
GROUP BY in the Select query, what keyword is used to start the condition section ?
A) Having B) Find C) Order D) Provide
68) The term first normal form (1NF) describes the tabular format in which
(check only one)
a. all the key attributes are defined
b. there are no repeating groups in the table. Row/column intersection can contain one and only one value,
Dept of Computer Science SSBN Degree College
69) The referential integrity rule requires that (check only one) :
a. it makes it possible for an attribute to have a corresponding value.
b. every null foreign key value must reference an existing primary key value.
c. every non-null foreign key value must reference an existing primary key value
d. it makes it possible to delete a row in one table whose primary key does not have a matching foreign key
value in another table.
75) Higher normal forms are better than lower normal forms because higher normal forms yield fewer
_____________ _______________ in the database.
A: update, delete B: data storage C: data redundancies D: none of the above
77) The process of converting complex object data structures into well-structured relations is called:
a. object-relational modeling. b. normalization.
c. referential integrity. d. determinant analysis.
78) A relation is considered to be in second normal form if it is in first normal form and it has no ____________
dependencies.
a. referential b. functional c. partial key d. transitive
80) If one attribute is a determinant of a second, which in turn is a determinant of a third, then the relation
cannot be:
a. well-structured. b. in 1NF. c. in 2NF. d. in 3NF.
81) An attribute in one table that references a unique record in another table is called a:
a. determinant. b. foreign key. c. referential attribute. d.functional dependency.
82) The essential characteristic of____________ normal form is that every determinant in the table must be a
candidate key.
a. Boyce Codd b. Domain Key c. Fourth d. Fifth
83) LIKE operator performs pattern matching.
84) ‘ / ‘ command displays the SQL command in the SQL buffer, and then executes it?
A collection of conceptual tools for describing data, data relationships data semantics and constraints.
2. What is E-R model?
This data model is based on real world that consists of basic objects called entities and of relationship among
these objects. Entities are described in a database by a set of attributes.
3. What is an Entity?
It is a ‘thing’ in the real world with an independent existence.
4. What is an Entity type?
It is a collection (set) of entities that have same attributes.
5.What is an Entity set?
It is a collection of all entities of particular entity type in the database