CS403 MIDTERM SOLVED MCQS BY JUNAID MALIK
CS403 MIDTERM SOLVED MCQS BY JUNAID MALIK
CS403 MIDTERM SOLVED MCQS BY JUNAID MALIK
(SOLVED MCQs)
FROM MIDTERM PAPERS
LECTURE (1-22)
A 1 1 B 1 1 C
A 1 M B M 1 C
A M 1 B
BB1 M C
None of these
60. Choose the symbol that corresponds to a discriminator attributes.
Attribute
ÂL-JÛÑÂÎD TÊCH
Attribute
Attribute
None of these
61. Consider the following relation R and its sample dat (Consider that these are the only
tuples for given relation)
Emp No Dep No Project No
1001 01 12
1001 01 13
1002 01 12
1003 01 14
Which of the following statements is not correct?
The functional dependency (Emp No, Dept No) -> Project No holds over R.
The functional dependency Emp No -> Dept No holds over R.
The functional dependency Project No-> Dept No holds over R.
The functional dependency (Emp No, Project No) -> Dept No holds over R.
62. Identify the incorrect statement among the given
An entity be an object with a physical existence like a car.
Age can be considered as a single value attribute of a person.
The attribute Date-of-Birth can be considered as a derived attribute.
Skill is a multivalued attribute.
63. ………constraint states that no primary key can’t be null.
Entity Integrity
Referential Integrity
Null
Domain
64. Which of the following shows least amount of detail?
Context DFD
Level 0 DFD
Level 1 DFD
Level 2 DFD
65. Which of the following is created by "Database Management System" for its usage?
Free standing data dictionary
Cross reference matrix
Weak entity
Integrated data dictionary
66. Which of the following is sematic Data Model?
E-R Data Model
ÂL-JÛÑÂÎD TÊCH
Hierarchical Model
Network Data Model
Relational Model
67. Name and………. are part of the definitions of an attribute.
Domain
Symbol
Property
Entity Instance
68. ………. provides the change transparency between Conceptual and External Level?
Physical Data Independence
Concurrency Control
Logical Data Independence
Functional Dependency
69. Which of the following is correct about Three Level Schema Architecture?
External level presents data to the user.
Internal level in a database system will definitely be relational
External level can’t contain user views
Conceptual level is one of the architectures
70. ………..is not the responsibility of DBMS.
Support for data communication
Integrity service
Data processing
Grant of access rights.
71. Which of the following design elements does not require as entire table to implement?
Entity
Recursive relationship
Many-to-many relationship
Multi-valued attribute
72. …………..is not as operation of relational algebr
Addition
Subtract
Cartain Product
Set Difference
73. Which of the following features enforces a relation into 2nd normal form?
Relation is in INF and every non-key attribute is partially dependent co super key
Relation is not in INF and non-key attribute is non-transitively dependent co
primary key
Relation is in INF and every non-key attribute is fully functionally dependent on
primary key
The domain of attribute may inclose multiple values
74. If in a relation R, all non-key attributes are fully functionally dependent on key
attributes. The relation R is in………..
2NF
ÂL-JÛÑÂÎD TÊCH
3NF
BCNF
Higher NF
75. A student has free courses at max registered in a semester and there are many students
as well in courses student and courses entities have………..cardinality.
One-to-one
One-to-many
Many-to-many
Many-to-one
76. R, X 𝜃 S, If S are relational and 𝜃 is a…….
Table name
Attributes
Primary key
Condition
77. Which of the following represents a valid primary key for a student registration table?
Student ID
Student-Father-Name
Student Class
Student-Semester
78. Which of the following normal form deals multi valued dependency?
2NF
3NF
4NF
5NF
79. Maximum Cardinality shows that how many.........of our entity can be placed in another
relation at most.
Keys
Instances
Attributes
Relationships
80. Identify the incorrect statement among the given.
Employee can’t be considered as an entity
Student “ID” can be considered as a single value attribute.
Parking area can be considered as an entity
Existence of course in a degree can be considered as an entity.
81. “Database System” is the combination of………..
Database and DBMS
Database and data
Data and information
Operating system and database
82. Given are the relations of student and Instructor
Student Instructor
ÂL-JÛÑÂÎD TÊCH
First Name Last Name First name Last name
Saman Peera Ajit Gamage
Romesh Dias
Sujith Hewage
Jeeva Silva
Nadeem Alwis Sanam Perera
Kumari Costa Kasun Peiris
Geetha Zoysa Romesh Dias
Prasad Fernando
Consider the following table obtained using Student and Instructor relation.
First Name Last Name
Ajith Gamage
Sujith Hewage
Kasun Peiris
Which of the following table obtained using have applied on the pair of relations Student
and Instructor to obtained the above data?
Instructor – Student
Student ∩ Instructor
Instructor ÷ Student
Student – Instructor
83. Identify the correct statement with respect to normalization.
Normalization is a formal technique that can be used only at the starting phase of
the database design.
Normalization can be used as a top-down standalone database design technique.
The process of normalization through decomposition must achieve the lossless
join property at any cost whereas the dependency reservation property is
sometimes sacrifice
The process of normalization through decomposition must achieve the
dependency reservation property at any cost whereas lossless join property is
sometimes sacrifice
84. Consider the following diagram depicting a kind of a relationship type where X and Z are
entities and Y is a relationship type:
X Y Z
X1 Y1
Z1
X2 Z2
Y2
X3 Z3
Y3
X4
ÂL-JÛÑÂÎD TÊCH
Select the correct statement among the following on the above diagram.
The relationship type Y is of cardinality ratio 1: N
The diagram depicts existence dependencies
The participation of X in the Y relationship type is a total.
The participation of Z in the Y relationship type is a partial.
85. Select the correct statement among the following.
Role names are not technically necessary in relationship types when all the
participating entity types are distinct.
When different entity types participate only once in a single relationship type it is
called a recursive relationship.
Cardinality ratios for binary relationship are displayed on entity relationship
diagrams by using a diamond shape notation.
Partial participation which is also called existence dependency is displayed as a
double line connecting the participating entity type to the relationship.
86. Which one of the following E-R diagrams most correctly represents the relationship
between student and grade entities?
1 M
Student Has Grade
M 1
Student Has Grade
None of these