Beruflich Dokumente
Kultur Dokumente
UNIT - I
1. Data is:
a) Operational b) EDW
c) Data mart d) all of these
Answer: c) Data mart
10. A file is a collection of related sequence of records:
a) Database b) RDBMS
c) DBMS d) None of the above
Answer: a) Database
12. Which of the following is a characteristic of the data in database?
a) processor b) memory
c) Independent d) all of these
Answer: c) Independent
13. Which of the following is the database management activity of
coordinating the actions of database manipulation process that operate
concurrently, access shared data and can potentially interfere with
each other?
a) Inheritance b) abstraction
c) Polymorphism d) network
Answer: d) network
a) APARC b) E.F.Cord
c) ANSI d) chen.
Answer: d) chen.
20. What is the smallest unit of data in the relational model?
a) Degree b) relationships
c) Domain d) Tuple.
Answer: c) Domain
23. What is the RDBMS terminology for a set of legal values that an
attribute can have?
a) Tuple b) Relation
c) Attribute d) Domain
Answer: d) domain
24. What is the RDBMS terminology for a column?
a) Tuple b) Relation
c) Attribute d) Domain
Answer: c) Attribute
a) 50 b) 500
c) 5000 d) all of this
Answer: a) 50
27. The father of relational database is:
a) Pascal b) C.J Date
c) Dr.Edgar F. Cord d) none of these
Answer: c) Dr.Edgar F. Cord
28. Which of the following is not a relational database system?
a) Ingress b) DB2
c) IMS d) None of these
Answer: c) IMS
29. What is the RDBMS terminology for row?
a) Tuple b) Relation
c) Attribute d) domain
Answer: a) Tuple
30. What is the cardinality of a table with 5000 rows and 50 columns?
a) 10 b) 50
c) 500 d) 5000
Answer: d) 5000
UNIT II
31. Who developed SEQUEL?
a) Tuple b) Relation
c) Attribute d) A and B
Answer: d) A and B
33. Which of the following is a data query statement in QUEL?
a) GET b) RETRIEVE
c) SELECT d) None of these.
Answer: b) RETRIEVE
34. The first commercial RDBMS is:
a) INGRESS b) DB2
c) ORACLE d) None of these.
Answer: a) INGRESS
35. Which of the following is the result of a SELECT statement?
a) TRIGGER b) INDEX
c) TABLE d) None of these.
Answer: c) TABLE
36. Which of the following is a clause in SELECT statement?
39. Which of the following clause specifies the table or tables from where
the data has to be retrieved?
a) WHERE b) TABLE
c) FROM d) None of these
Answer: c) FROM
40. SELECT operation of SQL is a:
a) 1 b) 2
c) Database dependent d) None of these.
Answer: d) None of these
42. Which of the following is used to get all the columns of a table?
a) * b) @
c) % d) #
Answer: a) *
43. REVOKE command of SQL is a:
a) ALTER b) DROP
c) CREATE d) SELECT
Answer: d) SELECT
45. Which of the following is not a DML statement?
a) UPDATE b) COMMIT
c) INSERT d) DELETE.
Answer: b) COMMIT
46. Codds formation rule states that:
a) Like b) BETWEEN
c) IN d) Not equal to
Answer: d) Not equal to
49. GRANT command of SQL is a:
a) INDEX b) CREATE
c) MODIFY d) DELETE
Answer: a) INDEX
55. The SQL data definition language (DDL) provides comment for:
a) Definition b) deletion
c) Modifying relation schemas d) Updation
Answer: c) Modifying relation schemas
56. You can add a row using SQL in a database with which of the
following?
a) ADD b) CREATE
c) INSERT d) MAKE
Answer: c) INSERT
57. The command to remove rows from a table 'CUSTOMER' is:
a) Limits the column data that b) Limits the row data are
are returned. returned.
a) Parser. b) Compiler
c) Syntax checker d) none of these
Answer: a) Parser.
62. The query is parsed, validated and optimized in the method called
a) Transformation b) detection
c) elimination d) all the three
Answer: d) all the three
66. Which of the following is not true
a) RUS=SUR. b) RS=SR
c) R-S=S-R d) All of these.
Answer: c) R-S=S-R
67. Which of the following query processing method is more efficient?
a) pipelining b) Materialization
c) Tunneling d) none of these
Answer: d) pipelining
68. The success of estimating size and cost of intermediate relational
algebra operations depends on the emphasis of cost minimization
depends on the
a) Decomposition b) Restructuring
c) Analysis d) None of these.
Answer: a) Decomposition
74. Normalization is a process of
a) Record. b) Relation.
c) Column. d) Field.
Answer: a) Record.
76. A relation is in this form if it is in BCNF and has no multivalued
dependencies:
a) A B. b) A C.
c) A (B, C). d) (B, C) A.
Answer: a) A B.
79. The primary key is selected from the:
a) E. F. Codd b) R. F Boyce.
c) R. Fagin d) none of these
Answer: c) R. Fagin
86. The explanation of BCNF is
a) Tables. b) Rows.
c) Relations. d) Attributes.
Answer: d) Attributes.
89. An attribute is a(n):
a) SQL b) PL/SQL
c) Advanced SQL d) PQL
Answer: b) PL/SQL
92. ..................... combines the data manipulating power of SQL with the
data processing power of Procedural languages.
a) PL/SQL b) SQL
c) Advanced SQL d) PQL
Answer: a) PL/SQL
93. . ................... has made PL/SQL code run faster without requiring
any additional work on the part of the programmer.
a) Comments b) Literals
c) Delimiters d) Identifiers
Answer: b) Literals
97. If no header is specified, the block is said to be a......................
PL/SQL block.
a) Strong b) Weak
c) Empty d) Anonymous
Answer: d) Anonymous
98. ............. Is a sequence of zero or more characters enclosed by single
quotes?
a) Cursor b) Trigger
c) Keywords d) Replace
Answer: d) Replace
102. .............................. is used to define code that is executed / fired when
certain actions or event occur.
a) Cursor b) Trigger
c) Keywords d) Replace
Answer: b) Trigger
103. . ................. provide a way for your program to select multiple rows of
data from the database and then process each row individually.
a) Implicit b) Explicit
c) Internal d) External
Answer: a) Implicit
105. ......................... cursors are declared and used by the user to process
multiple row, returned by SELECT statement.
a) Implicit b) Explicit
c) Internal d) External
Answer: b) Explicit
106. ....................... contain a pointer that keeps track of current row being
accessed, which enables your program to process the rows at a time.
a) Tracker b) Cursor
c) Accesser d) Trigger
Answer: b) Cursor
107. ....................... a cursor enables you to define the cursor and assign a
name to it.
a) Declearing b) Stating
c) Extracting d) Importing
Answer: a) Declearing
108. In ................... the cursor advances to the next row in the active set
each time the fetch command is executed.
a) Recreating process b) redefining process
c) iterative process d) none of the above
Answer: c) Iterative process
109. A ......................... is a database object that groups logically related
PL/SQL types, objects and subprograms.
a) Module b) Package
c) Body d) Name
Answer: b) Package
110. In the PL/SQL, the package specification contains.......................
Declarations.
a) Public b) Private
c) Friend d) Protected
Answer: a) Public
111. What does a COMMIT statement do to a CURSOR
a) Error b) 10
c) 5 d) None of these
Answer: a) error
115. Which of the following is not correct about an Exception?
a) Yes b) No
c) None of these d) All of these
Answer: a) yes
120. Is it possible to use Transactional control statements in Database
Triggers?
a) Yes b) No
c) None of these d) All the above
Answer: b) no
UNIT V
121. The concurrency control has the following problem:
a) Isolation b) Durability
c) Atomicity d) Scalability
Answer: d) Scalability.
124. Which of the following ensures the durability of a transaction?
a) Read_item(X) b) Write_item(X)
c) Both A and B d) None of these.
Answer: c) Both A and B
127. Which of the following is not a deadlock handling strategy?
a) Operations b) Design
c) Physical d) All the above
Answer: c) Physical
134. Which of the following is most dangerous type of failures?
a) Hardware b) Network
c) Media d) Software
Answer: a) Media
135. Hardware failure may include
a) Lorie b) Codd
c) IBM d) Boyce.
Answer: a) lorie
141. In which case is the query executed as a single large task?
a) Data b) DBMS
c) Operating system d) Software
Answer: b) DBMS
146. A global locking system is required in
a) shared-disk architecture b) shared- nothing architecture
c) Shared memory architecture d) none of these.
Answer: a) shared-disk architecture
147. Locking is the
********************