You are on page 1of 6

City College of Science and Commerce

Chapter 3 Test No:9


Subject: Computer Science Class : ICS 2nd Year
Student Name:________________________ Roll No:_________
Choose the correct option: 8x1=8
1. An Index may be created on:
(A) Primary Key (B) Secondary Key (C) Foreign Key (D) All
2. Which of the following is used to associate entities with one another?
(A) Entity (B) Attribute (C) Relationship (D) Identifier
3. A relationship can be:
(A) One to One (B) One to many (C) Many to many (D) All
4. In an E-R diagram, a rectangle represents a (n)
(A) Entity (B) Attribute (C) Relationship (D) None
5. Which of the following are basic data distribution strategies?
(A) Centralized (B) Partitioned (C) Replication (D) All
6. Which of the following represent the entities?
(A) Teacher (B) Student (C) Principal (D) All
7. A technique for physically arranging the records of a file on secondary storage
devices is called:
(A) Physical (B) File organization (C) Retrieval (D) Update
pointer program Program
8. Which of the following is related to Modality?
(A) Optional (B) Mandatory (C) Unidirectional (D) A and B

Write short answers. 8x2=16


1. Define modality. 2. Write the use of ER Diagram.
3. Define an Attribute with example 4. State the purpose of Database design process.
5. Why is requirement analysis conducted? 6. List major inputs to physical design.
7. What is the purpose of feasibility study? 8. Define Database integrity.
Attempt all questions. 2x8=16
1. Define Data Modeling. What are the ingredients of Data modeling?
2. Briefly describe basic data distribution strategies.

City College of Science and Commerce


Chapter 4 Test No:10
Subject: Computer Science Class : ICS 2nd Year
Student Name:________________________ Roll No:_________
Choose the correct option: 8x1=8
1. Which of the following states that no attribute of a primary key should contain null
value?
(A) Redundant (B) Transitive (C) Data Security  (D) Entity
Information  dependency Integrity
2. Two or more attributes having different names but same meaning are called:
(A) Homonyms (B) Aliases (C) Synonyms (D) Alternate
attribute
3. 2NF, which form of dependency is removed?
(A) Functional (B) Partial (C) Associative (D) Transitive
4. Which of the following anomalies result from a transitive dependency?
(A) Insertion (B) Modification (C) Deletion (D) All
5. ____________ is the process of converting complex data structures into simple data
structures.
(A) Correctness (B) Filter (C) Fact (D) Normalization
6. When all the non key attributes are fully dependent on primary key then the state is
known as ____________ .
(A) Entity Integrity  (B) Fourth Normal (C) Second Normal (D) Functional
Form Form Dependency 
7. ____________ must refer to the PK in another table or it must be null.
(A) Redundant (B) Simple Data (C) Transitive (D) Referential
Information  structure dependency  Integrity
8. Which of the following states that no attribute of a primary key should contain null
value?
(A) Redundant (B) Transitive (C) Data Security (D) Entity
Information  dependency  Integrity
Write short answers. 8x2=16
1. Describe transitive dependency. 2. Define functional dependency.
3. What is partial dependency? 4. Define Normalization.
5. What are the database anomalies? 6. Define mutual exclusiveness of data.
7. Describe repeating group. 8. Define the term of redundancy.
Attempt all questions. 2x8=16
1) What is functional dependency? Explain with example.
2) Apply first normal form on this table.

Dept_No Dept_Name Emp_no Emp_Name


20 Stiching S01 Javid
S02 Bilal
30 Finance S10 Ali
S11 Abdal
10 Management S12 Khan
S13 Usman
20 IT S09 Asif
City College of Science and Commerce
Chapter 5 Test No:11
Subject: Computer Science Class : ICS 2nd Year
Student Name:________________________ Roll No:_________
Choose the correct option: 8x1=8
1. Which of the following is the correct association?
(A) File = column (B) Record = row (C) Field = row (D) Record = table
2. A collection of data that consists of name, address and email of a person is called:
(A) Byte (B) Record (C) Character (D) Field
3. A report may be based on a
(A) Table (B) Query (C) Both a and b (D) None
4. The column of a table corresponded to:
(A) Table (B) Record (C) Field (D) Cell
5. A database consists of various components called:
(A) Tools (B) Properties (C) Entities (D) Objects
6. The output of the query is in the form of a
(A) Table (B) Form (C) Report (D) Query
7. An MS access table contains:
(A) Records but no (B) Fields but no (C) Both records (D) None of these
fields records and fields
8. Which of the following is NOT a database object:

(A) Table (B) Query (C) Report (D) MS Word

Write short answers. 8x2=16


1. What is database wizard? 2. Define query.
3. Why Reports are important? 4. Define any two database objects.
5. Define form. 6. What is database object?
7. What are reports? 8.  How does a database is differ from a table?
Attempt all questions. 2x8=16
1. Describe Form and Report. Discuss their advantages and disadvantages
2. Explain the procedure of creating a new database in Access.
City College of Science and Commerce
Chapter 6&7 Test No:12
Subject: Computer Science Class : ICS 2nd Year
Student Name:________________________ Roll No:_________
Choose the correct option: 8x1=8
1. A one-to-many relationship is created through:
(A) Relationship (B) New (C) Relationships (D) Relationship
s Wizard Relationships window Design
Command Command
2. Which row in Design grid determines the records selected in query:
(A) Show (B) Criteria (C) Field (D) Sort
3. The result of a query are displayed in a:
(A) Form (B) Design grid (C) Report (D) Dynast
4. Which of the following is NOT found in totals function in query?
(A) If (B) Average (C) Sum (D) Group by
5. Which query is used to calculate sum, average and count?
(A) SELCT (B) FIND (C) FIND (D) CROSSTABLE
UNMATCHED DUPLICATES
6. Which type of relationship is most common?
(A) One to One (B) One to Many (C) Many to Many (D) Many to One
7. What is Z to A order called:
(A) Ascending (B) Descending (C) Condescending (D) Alphabetical
8. How many types of relationship can be used?
(A) 2 (B) 3 (C) 4 (D) 5

Write short answers. 8x2=16


1.  Define form. 2. What is degree of relation.
3. Write some uses of form. 4. Define the term cardinality.
5. Differentiate between form and report. 6. Define action quires and its types.
7. Which two database object can be used to 8. Define Crosstab and parameter quires.
create a report?
Attempt all questions. 2x8=16
1. What is report? Explain the different types of reports.
2. Define the different data types available in Microsoft Access.

You might also like