More Classes
5th Class
6th Class
7th Class
8th Class
9th Class
10th Class
11th Class
12th Class
NAT I
NAT II
CSS
IQ
General Knowledge
MDCAT
ECAT
GAT General
GAT Subject
Other Links
Go to Home
Online Tests
ICS Part 2 Computer Science Chapter 4 Online Test MCQs With Answers
Question # 1
In relational database, table is also called:
Choose an answer
Table
Relation
File
Schema
Previous
Skip
Next
Question # 2
------------------- is created when two different names are used for the same information
Choose an answer
synonyms
homonyms
mutually exclusive data
redundant information
Previous
Skip
Next
Question # 3
A rule that states each foreign key value must match a primary key value in the other relation is called:
Choose an answer
Referential integrity constraints
Key match rule
Entity key group rule
Foreign/ primary match rule
Previous
Skip
Next
Question # 4
Database integrity refers to the
Choose an answer
correctness of data
consistency of data
both a and b
none of these
Previous
Skip
Next
Question # 5
In 3NF, a non-key attribute must not depend on a :
Choose an answer
Non-key attribute
Key attribute
Composite key
Sort key
Previous
Skip
Next
Question # 6
The goal of normalization is to:
Choose an answer
Get stable data structure
Increase number of relation
Increase redundancy
Remove constraints
Previous
Skip
Next
Question # 7
The type of expression x > y is
Choose an answer
arithmetic
logical
relational
conditional
Previous
Skip
Next
Question # 8
Which of the following anomalies result from a transitive dependency ?
Choose an answer
Insertion
Modification
Deletion
All
Previous
Skip
Next
Question # 9
Two or more attributes with different name but same meaning create a problem:
Choose an answer
Homonyms
Synonyms
Aliases
Alternate attributes
Previous
Skip
Next
Question # 10
The columns of a table correspond to:
Choose an answer
Table
Record
Field
Cell
Previous
Skip
Next
Question # 11
------------ is a constraint on primary values that states that no attribute of a primary key should contain nulls
Choose an answer
referential integrity
entity integrity
normalization
acronyms
Previous
Skip
Next
Question # 12
How many table views are available in MS Access?
Choose an answer
1
3
2
4
Previous
Skip
Next
Question # 13
Every relation should have :
Choose an answer
Primary key
Candidate key
Secondary key
Mutually exclusiveness
Previous
Skip
Next
Question # 14
------------- is the process of converting complex data structures into simple and stable data structures
Choose an answer
database integrity
homonyms
normalization
mutually exclusive data
Previous
Skip
Next
Question # 15
A constraint between two attributes is called:
Choose an answer
Functional relation
Attribute dependency
Functional dependency
Functional relation constaint
Previous
Skip
Next
Question # 16
Which is a possible value of flag?
Choose an answer
-
+
Space
All of these
Previous
Skip
Next
Question # 17
The value of expression in switch statement must be type of
Choose an answer
int
char
float
both a and b
Previous
Skip
Next
Question # 18
A relation is in 2NF if it is in 1NF and all its non-key attributes are:
Choose an answer
Dependent on part of the primary key
Dependent on the entire primary key
Independent on the primary key
Independent of any other relation
Previous
Skip
Next
Back