






























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Complete details regarding RELATIONAL database
Typology: Lecture notes
1 / 38
This page cannot be seen from the preview
Don't miss anything!
1.. Which of the following is/are true with reference to 'view' in DBMS? (a) A 'view' is a special stored procedure executed when certain event occurs. (b) A 'view' is a virtual table, which occurs after executing a pre-compiled query. Code: (1) Only (a) is true (2) Only (b) is true (3) Both (a) and (b) are true (4) Neither (a) nor (b) are true Answer: 2 2.. In SQL, .................. is an Aggregate function. (1) SELECT (2) CREATE (3) AVG (4) MODIFY Answer: 3 3.. Match the following with respect to RDBMS: List - I (a) Entity integrity (b) Domain integrity (c) Referential integrity (d) Userdefined integrity List - II (i) enforces some specific business rule that do not fall into entity or domain (ii) Rows can't be deleted which are used by other records (iii) enforces valid entries for a column (iv) No duplicate rows in a table Code: (a) (b) (c) (d) (1) (iii) (iv) (i) (ii) (2) (iv) (iii) (ii) (i) (3) (iv) (ii) (iii) (i) (4) (ii) (iii) (iv) (i) Answer: 2 4.. In RDBMS, different classes of relations are created using ................... technique to prevent modification anomalies. (1) Functional Dependencies (2) Data integrity (3) Referential integrity (4) Normal Forms Answer: 4 5.. .................. SQL command changes one or more fields in a record. (1) LOOK-UP (2) INSERT (3) MODIFY
Answer: 3
6.. An attribute A of datatype varchar(20) has value 'Ram' and the attribute B of datatype char(20) has value 'Sita' in oracle. The attribute A has .......... memory spaces and B has .......... memory spaces. (1) 20, 20 (2) 3, 20 (3) 3, 4 (4) 20, 4 Answer: 2 7.. Integrity constraints ensure that changes made to the database by authorized users do not result into loss of data consistency. Which of the following statement(s) is (are) true w.r.t. the examples of integrity constraints? (A) An instructor Id. No. cannot be null, provided Instructor Id. No. being primary key. (B) No two citizens have same Adhar-Id. (C) Budget of a company must be zero. (1) (A), (B) and (C) are true. (2) (A) false, (B) and (C) are true. (3) (A) and (B) are true; (C) false. (4) (A), (B) and (C) are false. Answer: 3
II. E-R diagrams are useful to logically model concepts. III. An update anomaly is when it is not possible to store information unless some other, unrelated information is stored as well. IV. SQL is a procedural language. (A) I and IV only (B) III and IV only (C) I, II and III only (D) II, III and IV only Answer: D
Answer: A
(B) Maintains before and after database images (C) Maintains appropriate concurrency control (D) All of the above Answer: D
(A) entity type (B) relationship type (C) entity and relationship type (D) None of these Answer: A
IV. Functional relationship. (A) I, II (B) I, II, IV (C) II, II, IV (D) I, II, III Answer: D
Answer: C
Answer: A
Answer: B