0% found this document useful (0 votes)
53 views1 page

2nd Year Test 4th Chapter

The document is a practice test for computer science students taking their second year class. It contains 18 multiple choice questions testing concepts related to database design and normalization. Key topics covered include data integrity constraints, primary keys, foreign keys, functional dependencies, different normal forms (1NF, 2NF, 3NF), and anomalies that can arise from certain dependency types. The test is worth a total of 18 marks and students have 15 minutes to complete it.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views1 page

2nd Year Test 4th Chapter

The document is a practice test for computer science students taking their second year class. It contains 18 multiple choice questions testing concepts related to database design and normalization. Key topics covered include data integrity constraints, primary keys, foreign keys, functional dependencies, different normal forms (1NF, 2NF, 3NF), and anomalies that can arise from certain dependency types. The test is worth a total of 18 marks and students have 15 minutes to complete it.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

TOP STAR ACADEMY

TEST FOR 2nd YEAR CLASS

Computer Science
Subject: _____________________________ Total Time: 15 Mints

Student Name: _________________________ Roll No. ____________________

18
Total Marks: __________________________ Obtain Marks _______________

Objective Type

1. Encircle the Correct Option. (1 x 18 = 18)

1) A foreign key constraint is also called .


a) Referential Integrity b) Entity integrity c) Integrity d) Redundancy

2) In relational database , a table is also called .


a) Tuple b) Relation c) Record d) Schema
3) Data integrity is expressed in terms of .
a) Constraints b) Consistency rules c) Correctness d) All of these

4) Integrity is concerned with the .


a) Reliability of data b) Feasibility of data c) Quality of data d) Accessibility of data
5) The entity integrity rules states the following .
a) No primary key attribute b) Primary key must have c) Each entity must have a d) None of these
can be null only one attribute primary key

6) A rule that states that each foreign key value must match a primary key value in the other relation is called .
a) Referential integrityconstraint b) Entity key group rule c) Key match rule d) Foreign / Primary matchrule

7) The Goal of Normalization is to .


a) Increase b) Get Stable c) Increase InconsistencyRedundancy d) Increase Anomalies DataStructure

8) In 2NF , which form of dependency is removed ?


a) Functional b) Partial c) Associative d) Transitive

9) In 3NF , which form of dependency is removed ?


a) Functional b) Non - Functional c) Associative d) Transitive

10) The attribute on left hand side of arrow in functional dependency is called .
a) Entity b) Determinant c) Dependent d) Attribute

11) In following normal form , any repeating group from the table is removed .
a) 1 NF b) 2 NF c) 3 NF d) 4 NF

12) In 2NF , a non - key attribute must not depend on another .


a) Non - key attribute b) Key attribute c) Composite key d) Sort key

13) Following anomalies arise due to transitive dependency .


a) Insertion b) Deletion c) Modification d) All of these

14) In 3NF , which form of dependency is removed ?


a) Functional b) Non-functional c) Associative d) Transitive

15) In relational database a table is also called a .


a) Tuple b) Relation c) File d) Scheme

16) In 3NF , a non-key attribute must not depend on a (n) .


a) Non-key attribute b) Composite key c) Key attribute d) Sort key

17) Different attributes in two different tables having same name are referred to as .
a) Synonym b) Homonym c) Acronym d) Mutually exclusive
18) Every relation must have a .
a) Primary key b) Candidate key c) Secondary key d) Composite key
Page 1 of 1

You might also like