McqMate
These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Computer Science Engineering (CSE) , Bachelor of Science in Computer Science FY (BSc CS) , Bachelor of Science in Computer Science SY (BSc CS) , Bachelor of Science in Information Technology SY (BSc IT) , Bachelor of Computer Applications (BCA) .
Chapters
101. |
Which of the following is Database Language? |
A. | data definition language |
B. | data manipulation language |
C. | query language |
D. | all of the above |
Answer» D. all of the above |
102. |
Which of the following in not a function of DBA? |
A. | network maintenance |
B. | routine maintenance |
C. | schema definition |
D. | authorization for data access |
Answer» A. network maintenance |
103. |
Which of the following represents a relationship among a set of values. |
A. | a row |
B. | a table |
C. | a field |
D. | a column |
Answer» A. a row |
104. |
Column header is refer as |
A. | table |
B. | relation |
C. | attributes |
D. | domain |
Answer» C. attributes |
105. |
A Relation is a |
A. | subset of a cartesian product of a list of attributes |
B. | subset of a cartesian product of a list of domains |
C. | subset of a cartesian product of a list of tuple |
D. | subset of a cartesian product of a list of relations |
Answer» B. subset of a cartesian product of a list of domains |
106. |
In mathematical term Table is referred as |
A. | relation |
B. | attribute |
C. | tuple |
D. | domain |
Answer» A. relation |
107. |
In mathematical term Row is referred as |
A. | relation |
B. | attribute |
C. | tuple |
D. | domain |
Answer» C. tuple |
108. |
_______ allow us to identify uniquely a tuple in the relation. |
A. | superkey |
B. | domain |
C. | attribute |
D. | schema |
Answer» A. superkey |
109. |
Minimal Superkeys are called |
A. | schema keys |
B. | candidate keys |
C. | domain keys |
D. | attribute keys |
Answer» B. candidate keys |
110. |
Which of the following is not Modification of the Database |
A. | deletion |
B. | insertion |
C. | sorting |
D. | updating |
Answer» C. sorting |
111. |
Which of the following is Relation-algebra Operation |
A. | select |
B. | union |
C. | rename |
D. | all of the above |
Answer» D. all of the above |
112. |
Which of the following in not Outer join? |
A. | left outer join |
B. | right outer join |
C. | full outer join |
D. | all of the above |
Answer» D. all of the above |
113. |
Who proposed the relational model? |
A. | bill gates |
B. | e.f. codd |
C. | herman hollerith |
D. | charles babbage |
Answer» B. e.f. codd |
114. |
Set of premitted values of each attribute is called |
A. | domain |
B. | tuple |
C. | relation |
D. | schema |
Answer» A. domain |
115. |
Logical design of database is called |
A. | database instance |
B. | database snapshot |
C. | database schema |
D. | all of the above |
Answer» C. database schema |
116. |
Snapshot of the dta in the database at a given instant of time is called |
A. | database schema |
B. | database instance |
C. | database snapshot |
D. | all of the above |
Answer» B. database instance |
117. |
Which of the following is not Unary operation? |
A. | select |
B. | project |
C. | rename |
D. | union |
Answer» D. union |
118. |
Which of the following is not binary operation? |
A. | union |
B. | project |
C. | set difference |
D. | cartesian product |
Answer» B. project |
119. |
Which of the following is correct regarding Aggregate functions? |
A. | it takes a list of values and return a single values as result |
B. | it takes a list of values and return a list of values as result |
C. | it takes a single value and returns a list of values as result |
D. | it takes a single value and returns a single value as result |
Answer» A. it takes a list of values and return a single values as result |
120. |
A command to remove a relation from an SQL database |
A. | delete table |
B. | drop table |
C. | erase table |
D. | alter table |
Answer» B. drop table |
121. |
which of the following is not an Aggregate function? |
A. | min |
B. | max |
C. | select |
D. | avg |
Answer» C. select |
122. |
The attribute that can be divided into other attributes is called |
A. | simple attribute |
B. | composite attribute |
C. | multi-valued attribute |
D. | derived attribute |
Answer» B. composite attribute |
123. |
In an Entity-Relationship Diagram “Ellipses” represents |
A. | attributes |
B. | weak entity set |
C. | relationship sets |
D. | multi-valued attributes |
Answer» A. attributes |
124. |
In an Entity-Relationship Diagram “Diamonds” represents |
A. | attributes |
B. | multi-valued attributes |
C. | weak entity set |
D. | relationship sets |
Answer» D. relationship sets |
125. |
What is ACID properties of Transactions? |
A. | atomicity, consistency, isolation, database |
B. | atomicity, consistency, isolation, durability |
C. | atomicity, consistency, inconsistent, durability |
D. | automatically, concurrency, isolation, durability |
Answer» B. atomicity, consistency, isolation, durability |
126. |
If every non-key attribute is functionally dependent on the primary key, the relation will be in |
A. | first normal form |
B. | second normal form |
C. | third normal form |
D. | fourth formal form |
Answer» C. third normal form |
127. |
Database locking concept is used to solve the problem of |
A. | lost update |
B. | uncommitted dependency |
C. | inconsistent data |
D. | all of the above |
Answer» D. all of the above |
128. |
UML is stands for |
A. | universal modeling language |
B. | unified modeling language |
C. | united modeling language |
D. | uni modeling language |
Answer» B. unified modeling language |
129. |
Data Manipulation Language (DML) is not to |
A. | create information table in the database |
B. | insertion of new information into the database |
C. | deletion of information in the database |
D. | modification of information in the database |
Answer» A. create information table in the database |
130. |
Which of the following in true regarding Referential Integrity? |
A. | every primary-key value must match a primary-key value in an associated table |
B. | every primary-key value must match a foreign-key value in an associated table |
C. | every foreign-key value must match a primary-key value in an associated table |
D. | every foreign-key value must match a foreign-key value in an associated table |
Answer» C. every foreign-key value must match a primary-key value in an associated table |
131. |
ODBC stands for ______ |
A. | offline database connection |
B. | oriented database connection |
C. | open database connection |
D. | none of above |
Answer» C. open database connection |
132. |
Which algebra is widely used in DBMS? |
A. | relational algebra |
B. | arithmetic algebra |
C. | both |
D. | none |
Answer» A. relational algebra |
133. |
Which of the following is an unary operation? |
A. | selection operation |
B. | generalized selection |
C. | primitive operation |
D. | projection operation |
Answer» A. selection operation |
134. |
Which SQL Query is use to remove a table and all its data from the database? |
A. | create table |
B. | alter table |
C. | drop table |
D. | none of these |
Answer» C. drop table |
135. |
In precedence of set operators the expression is evaluated from: |
A. | left to left |
B. | left to right |
C. | right to right |
D. | right to left |
Answer» B. left to right |
136. |
In DBMS FD stands for _______ |
A. | facilitate data |
B. | functional data |
C. | facilitate dependency |
D. | functional dependency |
Answer» D. functional dependency |
137. |
How many types of keys in Database Design? |
A. | candidate key |
B. | primary key |
C. | foreign key |
D. | all of these |
Answer» D. all of these |
138. |
Which of the following is based on Multi Valued Dependency? |
A. | first |
B. | second |
C. | third |
D. | fourth |
Answer» D. fourth |
139. |
Which of the following is the structure of the Database? |
A. | table |
B. | schema |
C. | relation |
D. | none of these |
Answer» B. schema |
140. |
The minimal set of super key is called |
A. | primary key |
B. | secondary key |
C. | candidate key |
D. | foreign key |
Answer» C. candidate key |
141. |
A relation that has no partial dependencies is in which normal form |
A. | first |
B. | second |
C. | third |
D. | bcnf |
Answer» B. second |
142. |
A functional dependency between two or more non-key attributes is called |
A. | transitive dependency |
B. | partial transitive dependency |
C. | functional dependency |
D. | partial functional dependency |
Answer» A. transitive dependency |
143. |
A logical description of some portion of database that is required by a user to perform task is called as |
A. | system view |
B. | user view |
C. | logical view |
D. | data view |
Answer» B. user view |
144. |
______________ is a classical approach to database design? |
A. | left – right approach |
B. | right – left approach |
C. | top – down approach |
D. | bottom – up approach |
Answer» C. top – down approach |
145. |
_____________ refers to the correctness and completeness of the data in a database? |
A. | data security |
B. | data integrity |
C. | data constraint |
D. | data independence |
Answer» B. data integrity |
146. |
A table that displays data redundancies yields ____________ anomalies |
A. | insertion |
B. | deletion |
C. | update |
D. | all of the above |
Answer» D. all of the above |
147. |
A lock that allows concurrent transactions to access different rows of the same table is known as a |
A. | field-level lock |
B. | row-level lock |
C. | table-level lock |
D. | database-level lock |
Answer» A. field-level lock |
148. |
A type of query that is placed within a WHERE or HAVING clause of another query is called |
A. | super query |
B. | sub query |
C. | master query |
D. | multi-query |
Answer» B. sub query |
149. |
A transaction completes its execution is said to be |
A. | saved |
B. | loaded |
C. | rolled |
D. | committed |
Answer» D. committed |
150. |
A in a table represents a relationship among a set of values. |
A. | column |
B. | key |
C. | row |
D. | entry |
Answer» C. row |
Done Studing? Take A Test.
Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.