CS403 Database Management System Online Solved Quizzes/MCQ's File No 2


Question # 1 of 10 ( Start time: 05:29:03 PM ) Total Marks: 1
_______ is same as Equi-Join with a slight difference.
Select correct option:
Natural Join ok
Semi Join
Outer Join
Theta Join

Question # 1 of 10 ( Start time: 12:23:34 PM )  Total Marks: 1
Is the given SQL Statement prompt error? Select * from relation1;
Select correct option:
Logical Error
No Error      ok
Parameter Error
Time out Error


Question # 2 of 10 ( Start time: 12:24:01 PM )  Total Marks: 1
REVOKE is a ______________ statement.
Select correct option:
Data Definition
Control Access ok
Data manipulation
Data description


Which of the following statements creates a database named IMDB.
Select correct option:
CREATE DATABASE IMDB;
CREATE DB IMDB;
ADD DATABASE named IMDB;
CREATE IMDB DATABASE;

Question # 5 of 10 ( Start time:09:54:31 PM) Total M - 1
Which of the following is not true regarding clustering?
Select correct option:
It increases the efficiency since related records are placed close to each other
Clustering makes records, difficult to access
suitable to relatively static situations.
It is a process, which means to place records from different tables to place in adjacent physical locations

Question # 6 of 10 ( Start time:09:54:55 PM) Total M - 1
Which of the following is used to filter rows according to some condition(s)?
Select correct option:
SELECT
FROM
WHERE
UPDATE
  
Question # 7 of 10 ( Start time:09:55:14 PM) Total M - 1
Which of the following is not an aggregate function
Select correct option:
AVG
SUM
UPPER

MAX



Incase of Context-level Diagram, the system is represented by
Select correct option:
 One process atleast
 Two processes atleast
 One process only
 Any number of processes

Which of the following describes the job of a database administrator?
Select correct option:
 Development, implementation operation of the physical database
 Creation of the system catalog
 Monitoring and controlling database security and authorization: Setting up controls to ensure the quality and integrity of data
 All of the above


Question # 3 of 10 ( Start time: 12:25:23 PM )  Total Marks: 1
Functions in SQL return a single value
Select correct option:
True ok
False


Question # 4 of 10 ( Start time: 12:26:05 PM )  Total Marks: 1
Which of the following syntax of the functions in SQL is used to add column values?
Select correct option:
COUNT(*)
COUNT(expression)
MAX(expression)
SUM(expression) ok


Question # 5 of 10 ( Start time: 12:26:24 PM )  Total Marks: 1
Consider a table named “emp” having fields Empname, EmpID, Age, salary. Which of the following is true if the following SQL

statement tries to execute? SELECT * FROM emp WHERE Empname=’ALI’;
Select correct option:
The statement has a syntax error
The statement only displays the EmpID of those employees whose name is ALI
The statement displays the entire fields from emp in which the Empname is ALI ok
The statement must have an ORDERBY clause


Question # 6 of 10 ( Start time: 12:26:45 PM )  Total Marks: 1
DML stands for _____________.
Select correct option:
Dynamic Modeling Language
Data Manipulation Language ok
Data Management Language
Domain Modeling Language


In SQL, which command is used to delete rows from table.
Select correct option:
DELETE
REMOVE
TRUNCATE
Both I and II


Question # 5 of 10
Which of the following is the correct syntax for adding a new column into an existing table.
Select correct option:
ALTER TABLE table_name { ALTER [COLUMN] column type [(size)] [DEFAULT default] }
ALTER TABLE table_name { ADD [COLUMN] column type [(size)] [DEFAULT default] }
Both I and II.
None of the above.

Making a change to the conceptual schema of a database but not affecting the existing external schemas is an example of
Select correct option:
Physical data independence
Logical data independence
Functional dependency
Concurrency control


Question # 7 of 10 ( Start time: 05:11:48 PM ) Total M - 1
Which feature of database provides conversion from inconsistent state of DB to a consistent state ensuring minimum data loss?
Select correct option:
User accessible catalog
Data processing
Recovery service
Authorization service



Quiz Start Time: 03:56 PM
Time Left 89
sec(s)
Question # 9 of 10 ( Start time: 05:13:37 PM ) Total M - 1
A Foreign Key is
Select correct option:
A field in a table that matches a key field in another table
A field in a table that contains data that is also contained elsewhere in another table
A field in a table that has the same name as a key field in another table
A field in a table that has the same name as a key field in another table


Question # 6 of 10
GRANT belongs to which type of SQL commands classification
Select correct option:
DML
DDL
DCL
DQL

Question # 7 of 10 ( Start time: 12:27:05 PM )  Total Marks: 1
Truncate command response time is ______ as compared to Delete command.
Select correct option:
Poor
Same
Better ok
worst


Question # 8 of 10 ( Start time: 12:27:19 PM )  Total Marks: 1
Which language is used to permit or prohibit access to a table?
Select correct option:
DCL
DDL
DML
All of the above.


Question # 9 of 10 ( Start time: 12:28:15 PM )  Total Marks: 1
GRANT is a ______________ Command.
Select correct option:
DDL
DML
DCL ok
None of the above


Question # 10 of 10 ( Start time: 12:29:39 PM )  Total Marks: 1
Suppose we have two tables T1 and T2. Tuples of T1 that do not match some row in T2 will not appear in
Select correct option:
Outer Join
Inner Join ok
Both I and II
None of the above


Question # 1 of 10 ( Start time: 11:59:42 AM ) Total Marks: 1
GRANT is a ______________ Command.
Select correct option:
DDL
DML
DCL
None of the above


Question # 2 of 10 ( Start time: 12:01:03 PM ) Total Marks: 1
Truncate is an alternative of Delete command.
Select correct option:
True
False


Question # 3 of 10 ( Start time: 12:02:16 PM ) Total Marks: 1
Suppose we have two tables T1 and T2. Tuples of T1 that do not match some row in T2 will not appear in
Select correct option:
Outer Join
Inner Join
Both I and II
None of the above


Question # 4 of 10 ( Start time: 12:03:39 PM ) Total Marks: 1
Which of the following is NOT a DDL command?
Select correct option:
Create DB
Create table
Delete
Drop


Question # 5 of 10 ( Start time: 12:04:52 PM ) Total Marks: 1
Truncate command response time is ______ as compared to Delete command.
Select correct option:
Poor
Same
Better
worst


Question # 6 of 10 ( Start time: 12:06:07 PM ) Total Marks: 1
Is the given SQL Statement prompt error? Select * from relation1;
Select correct option:
Logical Error
No Error
Parameter Error
Time out Error



Question # 7 of 10 ( Start time: 12:06:52 PM ) Total Marks: 1
__________ User Interface is preferred over ________ User Interface with respect to user.
Select correct option:
Easy to understand, efficient
Hard to understand, efficient
Easy to understand, effective
Hard to understand, effective



Question # 8 of 10 ( Start time: 12:08:19 PM ) Total Marks: 1
Consider a table named “emp” having fields Empname, EmpID, Age, salary. Which of the following is true if the following SQL statement tries to execute? SELECT * FROM emp WHERE Empname=’ALI’;
Select correct option:
The statement has a syntax error
The statement only displays the EmpID of those employees whose name is ALI
The statement displays the entire fields from emp in which the Empname is ALI
The statement displays the entire fields


Question # 9 of 10 ( Start time: 12:09:37 PM )  Total Marks: 1
Consider the two relations, Supplier (S_no, S_name, Contact_No, Address) and Supply (S_no, Item_no). Which of the following 

statements give(s) a list of supplier names supplying the item with Item_no ‘555’?
Select correct option:
SELECT S_name FROM Supplier WHERE Item_no=’555’
SELECT S_name FROM Supplier, Supply WHERE Supplier.S_no=Supply.S_no AND Item_no=’555’
SELECT S_name FROM Supplier WHERE S_no EXISTS (SELECT S_no FROM Supply WHERE Item_no=’555’)

SELECT S_name FROM Supplier WHERE S_name EXISTS (SELECT S_name FROM Supply WHERE Item_no='555')



Question # 10 of 10 ( Start time: 12:11:30 PM )  Total Marks: 1
Which of the following syntax of the functions in SQL is used to add column values?
Select correct option:
COUNT(*)
COUNT(expression)
MAX(expression)

SUM(expression)

Question # 1 of 10 ( Start time: 06:28:10 PM ) Total Marks: 1
Value of a function in SQL is always determined by the input parameters
Select correct option:
True
False



Question # 2 of 10 ( Start time: 06:28:59 PM ) Total Marks: 1
Suppose we have two tables T1 and T2. Tuples of T1 that do not match some row in T2 will not appear in
Select correct option:
Outer Join
Inner Join
Both I and II
None of the above



Question # 3 of 10 ( Start time: 06:29:20 PM ) Total Marks: 1
Which of the following is not DML command?
Select correct option:
Select
Update
Delete
Truncate



Question # 4 of 10 ( Start time: 06:30:23 PM ) Total Marks: 1
DML stands for _____________.
Select correct option:
Dynamic Modeling Language
Data Manipulation Language
Data Management Language
Domain Modeling Language



Question # 5 of 10 ( Start time: 06:30:52 PM ) Total Marks: 1
Functions in SQL return a single value
Select correct option:
True
False



Question # 6 of 10 ( Start time: 06:30:52 PM ) Total Marks: 1
Consider a table named “emp” having fields Empname, EmpID, Age, salary. Which of the following is true if the following SQL statement tries to execute? SELECT * FROM emp WHERE Empname=’ALI’;

The statement has a syntax error
The statement only displays the EmpID of those employees whose name is ALI
The statement displays the entire fields from emp in which the Empname is ALI
The statement must have an ORDERBY clause


Question # 7 of 10 ( Start time: 06:31:54 PM ) Total Marks: 1
Truncate command response time is ______ as compared to Delete command.
Select correct option:
Poor
Same
Better
worst



Question # 8 of 10 ( Start time: 06:32:08 PM ) Total Marks: 1
Which language is used to permit or prohibit access to a table?
Select correct option:
DCL
DDL
DML
All of the above.



Consider the two relations, Supplier (S_no, S_name, Contact_No, Address) and Supply (S_no, Item_no). Which of the following statements give(s) a list of supplier names supplying the item with Item_no ‘555’?

SELECT S_name FROM Supplier WHERE Item_no=’555’
SELECT S_name FROM Supplier, Supply WHERE Supplier.S_no=Supply.S_no AND Item_no=’555’
SELECT S_name FROM Supplier WHERE S_no EXISTS (SELECT S_no FROM Supply WHERE Item_no=’555’)
SELECT S_name FROM Supplier WHERE S_name EXISTS (SELECT S_name FROM


Question # 10 of 10 ( Start time: 06:32:58 PM ) Total Marks: 1
GRANT is a ______________ Command.
Select correct option:
DDL
DML
DCL
None of the above

3 - If we place records from different tables in adjacent ____________, it would increase efficiency of a database.

a. Physical location
b. Table
c. Form
d. empty location


4 - Truncate command response time is ______ as compared to Delete command.

a. Poor
b. Same
c. Better
d. Worst


5 - The following SQL statement reflects as _________ in relational algebra.

Select * from relation1;

a. Projection Statement
b. Selection Statement


6 - The following SQL statement reflects as ______________ in relational algebra.

Select * from relation1 where a = b;

a. Projection Statement
b. Selection Statement


7 - Consider the two relations,
Supplier (S_no, S_name, Contact_No, Address) and
Supply (S_no, Item_no).

Which of the following statements give(s) a list of supplier names supplying the item with Item_no ‘555’?

a. SELECT S_name FROM Supplier WHERE Item_no=’555’
b. SELECT S_name FROM Supplier, Supply WHERE Supplier.S_no=Supply.S_no AND Item_no=’555’
c. SELECT S_name FROM Supplier WHERE S_no EXISTS (SELECT S_no FROM Supply WHERE Item_no=’555’)
d. SELECT S_name FROM Supplier WHERE S_name EXISTS (SELECT S_name FROM Supply WHERE Item_no='555')


8 - Consider a table named “emp” having fields Empname, EmpID, Age, salary.
Which of the following is true if the following SQL statement tries to execute?

SELECT *
FROM emp
WHERE Empname=’ALI’;

a. The statement has a syntax error
b. The statement only displays the EmpID of those employees whose name is ALI
c. The statement displays the entire fields from emp in which the Empname is ALI
d. The statement must have an ORDERBY clause


9 - Consider a table named “emp” having fields Empname, EmpID, Age, salary.
Which of the following is true if the following SQL statement tries to execute?

SELECT *
FROM emp
WHERE Empname=’ALI’
ORDERBY Age;

a. The statement displays the entire fields from emp in which the Empname is ALI in ascending order of their age
b. The statement has a syntax error
c. The statement displays the entire fields from emp in which the Empname is ALI in any order
d. The statement displays the entire fields from emp in which the Empname is ALI in descending order of their age


10 - Which of the following syntax of the functions in SQL is used to add column values?

a. COUNT(*)
b. COUNT(expression)
c. SUM(expression)
d. MAX(expression)




 A candidate key that does not have a null value and is selected to uniquely identify all other attribute values in any given row is called a __.
Select correct option: 
superkey 
candidate key
primary key
secondary key

The database management system (DBMS) is used to
Select correct option: 
Store the data
Access the data
Manage its users
All of above


Which model operates at the lowest level of abstraction? 
Select correct option: 
conceptual
internal
external
physical

A Foreign Key is
Select correct option: 
A field in a table that matches a key field in another table
A field in a table that contains data that is also contained elsewhere in another table
A field in a table that has the same name as a key field in another table
A field in a table that has the same name as a key field in another table

Each table must have a __ key.
Select correct option: 
primary 
secondary
logical
foreign

A software package designed to store and manage databases
Select correct option: 
Database
DBMS
Data model
Data


A_______________ entity has a primary key that is partially or totally derived from the parent entity in the relationship.
            Strong
            Weak
            Business
            Relationship

In ERD, the focus is on the _________ and the relationships between them.
            Attributes
            Entities
            Keys
            Indexes

“Select” and “project” are the examples of
            Unary operations
            Binary operations
            Ternary operations
            All of the above

Atomicity is a feature of _____________.
            1NF
            2NF
            3NF
            BCNF


If Aà B and AàC then Aà BC the inference Rules applies is:
            Union
            Decomposition
            Augmentation
            Reflexivity

Relational Calculus is a _____________ relational data manipulation language.
            Procedural, Informal
            Non-Procedural, Informal
            Procedural, Formal
            Non-Procedural, Formal


Question No: 7    ( M a r k s: 1 )  
 Which of the following is INCORRECT statement concerning the database design process?
    ► During requirements collection and analysis phase, one can gather the data requirements of database
users.
        ► By referring to a high level data model, it is possible to understand the data requirements of the users, entity types, relationships and constraints.
       ► Transformation of the high level data model into the implementation data model is called logical design or data model mapping.
 ► During the logical design phase of internal storage structures, access paths and file organization for the database files are specified.     (Page 53) 

Question No: 8    ( M a r k s: 1 )  
 Consider the following diagram depicting a kind of a relationship type where X and Z are entities and Y is a
relationship type:

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 total.
       ► The participation of Z in the Y relationship type is partial.

Question No: 9    ( M a r k s: 1 )  
 Identify the correct statement.

 ► Entity integrity constraints specify that primary key values can be composite.
 ► Entity integrity constraints are specified on individual relations.
► Entity integrity constraints are specified between weak entities.
► When entity integrity rules are enforced, a tuple in one relation that refers to another relation must refer to an existing tuple.

Question No: 10    ( M a r k s: 1 )  
 Identify the correct statement.

       ► Referential integrity constraints check whether the primary key values are unique.
       ► Referential integrity constraints check whether an attribute value lies in the given range.
       ► Referential integrity constraints are specified between entities having recursive relationships.
► When Referential integrity rules are enforced, a tuple in one relation that refers to another relation must refer to an existing tuple.       (Page 134) 

Question No: 11    ( M a r k s: 1 )  
 Identify the correct way to implement one-to-one relationship in tables?

 ► by splitting the data into two tables with primary key and foreign key relationships.·
 ► as a single table and rarely as two tables with primary and foreign key relationships.  
► using a junction table with the keys from both the tables forming the composite primary key of the junction table.
► by creating two separate tables

Question No: 12    ( M a r k s: 1 )  
 A collection of related data is

 ► Logical model
 ► Database     (Page 10) 
► Data
 ► Relational model

Question No: 13    ( M a r k s: 1 )  
 A collection of concepts that can be used to describe the structure of a database

 ► Database
 ► DBMS
 ► Data model     (Page 68) 
 ► Data


Question No: 14    ( M a r k s: 1 )  
 A superkey that does not contain a subset of attributes that is itself a superkey is called a ____.

 ► candidate key     (Page 82) 
 ► primary key
 ► superkey
► secondary key

Question No: 15    ( M a r k s: 1 )  
 As part of database naming conventions, attribute names should use suffixes such as ID, NUMBER or CODE for the _______.
 ► primary key 
 ► foreign key
 ► index
 ► determinant

Question No: 16    ( M a r k s: 1 )  
 Which of the following concepts is applicable with respect to 2NF?
       ► Full functional dependency 
       ► Any kind of dependency
       ► Transitive dependency
       ► Non-transitive dependency



Question  No: 1   ( Marks: 1 )    - Please choose one
Which of the following functions are NOT performed by a database administrator?
 ► Planning, designing and implementing database systems
► Establishing standards and procedures for database systems
► Communicating with database users      (Page 26)   rep 
► Allocation of storage locations and data structures

Question  No: 2   ( Marks: 1 )    - Please choose one
Identify the factor which enforces a relation in 3NF?
► Every non-key attribute is fully functionally dependent on primary key
► Every non-key attribute is partially dependent on super key
► The domain of attribute must include only atomic values.       (Page 167) 
► Every non-key attribute is non-transitively dependent on primary key.


Question  No: 3   ( Marks: 1 )    - Please choose one
 Consider two sets A and B. A contains 2 elements and B contains 3. How many elements do their
cartesian product contains?

► 6       (Page 129) 
► 9
► 5
► 4

Question  No: 4   ( Marks: 1 )    - Please choose one
Identify the operation which is NOT one of the parts of the five basic set operations in relational algebra?

► Join       Click here for Detail 
► Union
► Cartesian Product
► Set Difference

Question  No:  5   ( Marks: 1 )    - Please choose one
Consider the following statements.
A. An entity integrity constraint states that no primary key value can be null.
B. A referential integrity constraint is specified between two relations.
C. A foreign key cannot be used to refer to its own relation.
Identify which of the above statements is/are correct.
► Only A (Page 134)  
► Only B
► Only B and C
► Only A and B

Question  No: 6   ( Marks: 1 )    - Please choose one
User rights information is stored in

► Physical database
► Catalog       (Page 46) 
► Logical database
► Buffer


Question No: 7    ( Marks: 1 )    - Please choose one
Given are the relations of student and Instructor

Question  No: 8   ( Marks: 1 )    - Please choose one
Which one is the corrected way to implement M to M relation which designing data base

► using junction table with keys
► By splitting data into tables with PK and FK
► As a single table rarly as to tables with PK and FK
►By creating three tables and linking them through PK and FK 

Question  No: 9   ( Marks: 1 )    - Please choose one
Which enforce the a relation into 2NF User rights information is stored in

► Physical database
► Catalog       (Page 46)
► Logical database
► Buffer

Question  No: 10   ( Marks: 1 )    - Please choose one
Which of the following concepts is applicable with respect to 3NF?

► Full functional dependency
► Any kind of dependency
► Transitive dependency        (Page 172) 
► Partial functional dependency

Question  No: 11   ( Marks: 1 )    - Please choose one
Description on particular collection of data using data model

► Schema     (Page 19) 
► Relation
►Data base
► None of the above

Question  No: 12   ( Marks: 1 )    - Please choose one
Which one is true regarding relation?

► Every attribute value Non atomic
► Attribute in table may not have unique name
►table order of the column is relevant
► the order of the rows is irrelevant     




Question No: 1  ( Marks: 1 )  - Please choose one
Which of the following is not a benefit of normalization?

► Minimize insertion anomolies
► Minimize deletion anomolies
► Minimize updation anomolies
► Maximize redundancy      (Page 162)  

Question No: 2  ( Marks: 1 )  - Please choose one
Controlling redundancy in a database management system DOES NOT help to

► avoid duplication  (Page 16)    rep
► avoid unnecessary wastage of storage space
► avoid unauthorized access to data    
► avoid inconsistency among data

Question No: 3  ( Marks: 1 )  - Please choose one
In a conceptual database model, which of the following most likely represents a valid identifier for a class
grades?
► StudentID
► StudentID, CourseID
► StudentID, CourseID, InstructorID
► StudentID, CourseSectionID    

Question No: 4  ( Marks: 1 )  - Please choose one
Identify  the operation  which  is  NOT  one of  the  parts  of  the five  basic  set operations in relational
algebra?
► Join  
► Union
► Cartesian Product
► Set Difference

Question No: 5  ( Marks: 1 )  - Please choose one
Making a change to the conceptual schema of a database but not affecting the existing external schemas
is an example of
► Physical data independence.
► Concurrency control.
► Logical data independence.  
► Functional dependency

Within a table, each primary key value __.
is a minimal superkey
is always the first field in each table
must be numeric

must be unique

Question # 3 of 10 ( Start time: 11:20:08 AM ) Total M - 1
Which levels are mostly used for Detailed DFD?
Level-0, Level-1
Level-1, Level-2
Level-2, Level-3
Level-3, Level-4
Question # 10 of 10 ( Start time: 11:26:04 AM ) Total M - 1
Which feature of database provides conversion from inconsistent state of DB to a consistent state ensuring minimum data loss?
User accessible catalog
Data processing

Recovery service
Authorization service

A primary key is an attribute (or set of attributes) that has been chosen for an entity, whose values are used to uniquely identify a particular instance of an entity. True or false?True
False
Partially True
None of the given

Question # 6 of 10 ( Start time: 11:22:28 AM ) Total M - 1
Who is responsible for authorizing access to the database, for coordinating and monitoring its use?
Database Designer

Database Administrator
End User
Application Programmer


Question # 8 of 10 ( Start time: 11:24:50 AM ) Total M - 1
Incase of Context-level Diagram, the system is represented by
One process atleast
Two processes atleast

One process only
Any number of processes
Question # 3 of 10 ( Start time: 11:29:11 AM ) Total M - 1
User rights information is stored in
Physical database

Catalog
Logical database
Buffer

Question # 4 of 10 ( Start time: 11:30:04 AM ) Total M - 1
The Entity Relation Model models
Entities, Relationships and Processes
Entities and Relationships
Relationships
Entities
Question # 6 of 10 ( Start time: 11:30:35 AM ) Total M - 1
Which of the following is NOT a component of a DFD?
Select correct option:

Dataflow
Datastore
External entities
Relationship between external entities

A________is used to maintain a connection between the users of the database system.
Select correct option:

mail server

file server
client-server
none of the given


An instance is
Select correct option:
a particular occurance of an entity
a special type of relation
an attribute of an entity
any particular entity


A primary key is an attribute (or set of attributes) that has been chosen for an entity, whose values are used to uniquely identify a particular instance of an entity. True or false?
True
False
Partially True
None of the given

Incase of Context-level Diagram, the system is represented by
One process atleast
Two processes atleast

One process only
Any number of processes



An entity type is
defined when the database is actually constructed
a specific type such as an integer, text, date, logical etc
a coherent set of similar objects that we want to store data on (e.g. STUDENT, COURSE, CAR)
defined by the database designer
Data about data is database
True
False
Partially True
None of the Above
 A software package designed to store and manage databases
Database
DBMS
Data model
Data
A relational database is
one that consists of two or more tables
a database that is able to process tables, queries, forms, reports and macros
one that consists of two or more tables that are joined in some way
the same as a flat file database

Which model operates at the lowest level of abstraction?
conceptual
internal
external

physical
An entity type is
defined when the database is actually constructed
a specific type such as an integer, text, date, logical etc
a coherent set of similar objects that we want to store data on (e.g. STUDENT, COURSE, CAR)
defined by the database designer
Data about data is database
True
False
Partially True
None of the Above
A table can be logically connected to another table by defining a __.
hyperlink
common attribute
primary key
superkey

Which of the following is INCORRECT statement concerning the database design process?
During requirements collection and analysis phase, one can gather the data requirements of database users.By referring to a high level data model, it is possible to understand the data requirements of the users, entity types, relationships and constraints.
Transformation of the high level data model into the implementation data model is called logical design or data model mapping.
During the logical design phase of internal storage structures, access paths and file organization for the database files are specified.
Which of the following is correct regarding Dataflow diagram?
Single DFD is required to represent a system
Created at increasing levels of detail
The dataflow must be bidirectional
Used to represent the relationships among the external entities
 A collection of concepts that can be used to describe the structure of a database
Database
DBMS

Data model
Data
Question # 1 of 10 ( Start time: 03:56:32 PM ) Total M - 1
A relational database is
Select correct option:

one that consists of two or more tables
a database that is able to process tables, queries, forms, reports and macros
one that consists of two or more tables that are joined in some way
the same as a flat file database


Quiz Start Time: 03:56 PM
Time Left 87
sec(s)
Question # 3 of 10 ( Start time: 
03:58:44 PM ) Total M - 1
Which one of the following is NOT a characteristic of meta data?
Select correct option:
Data about data
Describes a data dictionary
Self-describing

Includes user data


An entity type is

a. defined when the database is actually constructed
b. a specific type such as an integer, text, date, logical etc

c. a coherent set of similar objects that we want to store data on (e.g. STUDENT, COURSE, CAR)
d. defined by the database designer



Question # 4 of 10 ( Start time: 05:08:26 PM ) Total M - 1
Which of the following is INCORRECT statement concerning the database design process?
Select correct option:
During requirements collection and analysis phase, one can gather the data requirements of database users.

By referring to a high level data model, it is possible to understand the data requirements of the users, entity types, relationships and constraints.
Transformation of the high level data model into the implementation data model is called logical design or data model mapping.
During the logical design phase of internal storage structures, access paths and file organization for the database files are specified.


Making a change to the conceptual schema of a database but not affecting the existing external schemas is an example of
Select correct option:
Physical data independence

Logical data independence
Functional dependency
Concurrency control


Question # 7 of 10 ( Start time: 05:11:48 PM ) Total M - 1
Which feature of database provides conversion from inconsistent state of DB to a consistent state ensuring minimum data loss?
Select correct option:
User accessible catalog
Data processing

Recovery service
Authorization service



Quiz Start Time: 03:56 PM
Time Left 89
sec(s)
Question # 9 of 10 ( Start time: 05:13:37 PM ) Total M - 1
A Foreign Key is
Select correct option:

A field in a table that matches a key field in another table
A field in a table that contains data that is also contained elsewhere in another table
A field in a table that has the same name as a key field in another table
A field in a table that has the same name as a key field in another table


Question # 10 of 10 ( Start time: 05:15:08 PM ) Total M - 1
Which model operates at the lowest level of abstraction?
Select correct option:
conceptual
internal
external

physical


Who is responsible for authorizing access to the database, for coordinating and monitoring its use?
Select correct option:

Database Designer

Database Administrator
End User
Application Programmer


A software package designed to store and manage databases
Select correct option:

Database
DBMS

Data model
Data


The main software package that supports a database management approach is called
Select correct option:

Data Dictionary
Report Generator

Database Management System
Distributed database


A primary key is an attribute (or set of attributes) that has been chosen for an entity, whose values are used to uniquely identify a particular instance of an entity. True or false?
Select correct option:
T
rue
False
Partially True
None of the given



The ER model is meant to
Select correct option:

replace relational design
be close to a users perception of the data
enable low level descriptions of data

enable detailed descriptions of data query processing

Which feature of database provides conversion from inconsistent state of DB to a consistent state ensuring minimum data loss?
Select correct option:

User accessible catalog
Data processing

Recovery service
Authorization service
A relational database system is based on the concept(s) of:
Select correct option:

A network of data records
Nested tables

Tables, rows and columns
A tree-like structure of datas


Question # 1 of 10 ( Start time: 05:35:55 PM ) Total M - 1
Controlling redundancy in a database management system DOES NOT help to
Select correct option:
avoid duplication
avoid unnecessary wastage of storage space

avoid unauthorised access to data
avoid inconsistency among data



Making a change to the conceptual schema of a database but not affecting the existing external schemas is an example of
Select correct option:
Physical data independence

Logical data independence
Functional dependency
Concurrency control



A description on a particular collection of data using the given data model
Select correct option:
Database
Relation

Schema
None




Which of the following functions are NOT performed by a database administrator?
Select correct option:

Planning, designing and implementing database systems
Establishing standards and procedures for database systems
Communicating with database users
Allocation of storage locations and data structures



A collection of concepts that can be used to describe the structure of a database
Select correct option:
Database
DBMS

Data model
Data



A candidate key that does not have a null value and is selected to uniquely identify all other attribute values in any given row is called a __.
Select correct option:
superkey
candidate key
primary key
secondary key



ncase of Context-level Diagram, the system is represented by
Select correct option:
One process atleast
Two processes atleast
One process only
Any number of processes




Question No: 6 ( Marks: 1 ) - Please choose one
Select the correct statement among the following on proper naming of schema constructs:
► Entity type name applies to all the entities belonging to that entity type and therefore a plural name is
selected for entity type.
► In the narrative description of the database requirements, verbs tend to indicate the names of 
relationship types.      Click here for Detail 
►  The  nouns  arising  from a  database  requirement  description  can  be considered as names of attributes.
► Additional nouns which are appearing in the narrative description of the database requirements represent the
weak entity type names.

Question No: 7  ( Marks: 1 )  - Please choose one
Identify the constraint that limits the values that can be placed in a column.
► Not null
► Check         
► Foreign Key
► Unique

Question No: 8  ( Marks: 1 )  - Please choose one
Identify the INCORRECT statement among the given.
► An entity may be an object with a physical existence like a car, a house or an Employee.
► One cannot consider something which has conceptual existence like a course in a degree program as  an entity.      (Page 71) 
► Age can be considered as a single value attribute of a person.
► An entity type describes the schema or intension for a set of entities which share the same structure.

Question No: 9  ( Marks: 1 )  - Please choose one
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.     (Page 87)    rep 
►  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 .

Question No: 10  ( Marks: 1 )  - Please choose one
If W, X, Y and Z are attributes of a relation, which of the following inference rules for functional
dependencies is correct?

► If (X, Z) -> Y then X -> Y and Z -> Y.
► If X -> Y and X -> Z then X -> (Y, Z).
► If X Y then Y -> X
► If X -> Y then (X, Z) -> (Y,W).

Question No: 11  ( Marks: 1 )  - Please choose one
Which of the following is not a benefit of normalization?

► Minimize insertion anomolies
► Minimize deletion anomolies
► Minimize updation anomolies
► Maximize redundancy            (Page 162)

Question No: 12  ( Marks: 1 )  - Please choose one
A candidate key that does not have a null value and is selected to uniquely identify all other attribute
values in any given row is called a    .

► superkey
► candidate key
► primary key     
► secondary key

Question No: 13  ( Marks: 1 )  - Please choose one
Incase of Context-level Diagram, the system is represented by
Select correct option:

►One process atleast  
►Two processes atleast
►One process only
►Any number of processes




Question No: 14  ( Marks: 1 )  - Please choose one
A ______ is used to maintain a connection between the users of the database system.

Select correct option:
►Mail server
►File Server    
►Client-server
►None of the given.



Question No: 1    ( Marks: 1 )    - Please choose one
Which of the following is not a benefit of normalization?
       ► Minimize insertion anomolies
       ► Minimize deletion anomolies
       ► Minimize updation anomolies
       ► Maximize redundancy         (Page 162) 

Question No: 2    ( Marks: 1 )    - Please choose one
Which of the following is NOT a component of a DFD?

       ► Dataflow
       ► Datastore
       ► External entities
       ► Relationship between external entities     (Page 57) 

Question No: 3    ( Marks: 1 )    - Please choose one
Which of the following is correct regarding Dataflow diagram?

       ► Single DFD is required to represent a system
       ► The dataflow must be bidirectional
       ► Created at increasing levels of detail   
             ►Used to represent the relationships among the external entities

Question No: 4    ( Marks: 1 )    - Please choose one
Which of the following is CORRECT about database management system's languages?
       ► Data definition languages are used to specify the conceptual schema only.
       ► Data manipulation languages are used to create the databases.
       ► Data manipulation languages are used for retrieval, insertion, deletion and modification of data. 
       ► Data definition langauges are only used to update data in the DBMS.

Question No: 5    ( Marks: 1 )    - Please choose one
Controlling redundancy in a database management system DOES NOT help to

       ► avoid duplication
       ► avoid unnecessary wastage of storage space  
       ► avoid unauthorised access to data
       ► avoid inconsistency among data


Question No: 6    ( Marks: 1 )    - Please choose one
Which of the following concepts is applicable with respect to 3NF?

       ► Full functional dependency
       ► Any kind of dependency
       ► Transitive dependency     (Page 172)
       ► Partial functional dependency


Controlling redundancy in a database management system DOES NOT help to
Select correct option:
avoid duplication
avoid unnecessary wastage of storage space
avoid unauthorised access to data
avoid inconsistency among data



Making a change to the conceptual schema of a database but not affecting the existing external schemas is an example of
Select correct option:
Physical data independence
Logical data independence
Functional dependency
Concurrency control



A description on a particular collection of data using the given data model
Select correct option:
Database
Relation
Schema
None





Which of the following functions are NOT performed by a database administrator?
Select correct option:
Planning, designing and implementing database systems
Establishing standards and procedures for database systems
Communicating with database users
Allocation of storage locations and data structures


Question No: 7    ( Marks: 1 )    - Please choose one
Consider two sets A and B. A contains 3 elements and B contains 4. How many elements do their Cartesian
product contains?
       ► 12     (Page 129) 
       ► 9
       ► 16
       ► 7

Question No: 8    ( Marks: 1 )    - Please choose one
Consider two sets A and B. A contains 2 elements and B contains 3. How many elements do their cartesian
product contains?

       ► 6    (Page 129) 
       ► 9
       ► 4
       ► 5

Question No: 9    ( Marks: 1 )    - Please choose one
In a conceptual database model, which of the following most likely represents a valid identifier for a class
grades?

       ► StudentID
       ► StudentID, CourseID
       ► StudentID, CourseID, InstructorID
       ► StudentID, CourseSectionID         Click here for Detail      rep 

Question No: 10    ( Marks: 1 )    - Please choose one
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 sacrificed.
       ► The process of normalization through decomposition must achieve the dependency reservation property at any cost whereas the lossless join property is sometimes sacrificed.


Question No: 11    ( Marks: 1 )    - Please choose one
Consider the following relation and its sample data. (Consider that these are the only tuples for the given
relation)
Which of the following statements is NOT correct?

       ► The functional dependency DeptNo -> ProjNo holds over R.
       ► The functional dependency EmpNo -> DeptNo holds over R.
       ► The functional dependency ProjNo -> DeptNo holds over R.
       ► The functional dependency (EmpNo, ProjNo) -> DeptNo holds over R.

Question No: 12    ( Marks: 1 )    - Please choose one
Which of the following is not true about relational tables?
   
       ► Column values are of the same kind.
       ► Each row is unique.
       ► Each column must have a unique name.
       ► The sequence of rows is significant.     

Question No: 13    ( Marks: 1 )    - Please choose one
Identify the operation which is NOT one of the parts of the five basic set operations in relational algebra?

       ► Join  
       ► Union
       ► Cartesian Product
       ► Set Difference

Question No: 14    ( Marks: 1 )    - Please choose one
Consider the following statements.
A. An entity integrity constraint states that no primary key value can be null.
B. A referential integrity constraint is specified between two relations.
C. A foreign key cannot be used to refer to its own relation.

Identify which of the above statements is/are correct.

       ► Only A    (Page 134)   
       ► Only B
       ► Only B and C
       ► Only A and B


Question No: 15    ( Marks: 1 )    - Please choose one
If K is a foreign key in relation R1, then
       ► every tuple of R1 has a distinct value for K.
       ► K cannot have a null value for tuples in R1.
       ► K is a  key for some other relation.   
       ► K is a primary key for R1.

Question No: 16    ( Marks: 1 )    - Please choose one
Making a change to the conceptual schema of a database but not affecting the existing external schemas is an
example of

       ► Physical data independence.
       ► Concurrency control.
       ► Logical data independence.   
       ► Functional dependency

Question # 2 of 10 ( Start time: 05:29:29 PM ) Total Marks: 1
in “One to One Relationship” One instance of first entity type is mapped with two instances of second entity type
Select correct option:
true
false ok


Question # 3 of 10 ( Start time: 05:30:10 PM ) Total Marks: 1
Which of the following tool is used to design conceptual database design?
Select correct option:
SQL
MS Access
Oracle
This model is independent of any tool ok


Question # 4 of 10 ( Start time: 05:31:09 PM ) Total Marks: 1
Which of the following constraint is included in the definition of the table?
Select correct option:
Default value
Foreign Key
Null
Domain ok


Question # 5 of 10 ( Start time: 05:31:56 PM ) Total Marks: 1
Select the most appropriate statement. Which of the following data model is used to design logical database design?
Select correct option:
Relational
Hierarchal
Object oriented
Any model can be used ok


Question # 6 of 10 ( Start time: 05:32:18 PM ) Total Marks: 1
Which database design represents the structure of the database?
Select correct option:
Conceptual
Internal
External
Logical ok


Question # 7 of 10 ( Start time: 05:32:42 PM ) Total Marks: 1
In “One to Many” cardinality one instance of a relation is mapped with
Select correct option:
many instances of second entity type ok
One instance of second entity type
Primary key of 2 relations
none of above


Question # 8 of 10 ( Start time: 05:33:13 PM ) Total Marks: 1
Which of the following is true regarding foreign keys?
Select correct option:
There can only be one foreign key in a relation ok
There can be as many foreign keys as needed
Foreign key is not a super key
Each table in database must have a foreign key


Question # 9 of 10 ( Start time: 05:33:48 PM ) Total Marks: 1
Relational Calculus is a _____________ relational data manipulation language.
Select correct option:
Procedural, Informal
Non-Procedural, Informal
Procedural, Formal
Non-Procedural, Formal ok


Question # 10 of 10 ( Start time: 05:34:41 PM ) Total Marks: 1
Identify the INCORRECT statement.
Select correct option:
Relational data model is based on mathematics
In relational data model there is no manipulation language defined
Relational data model is simple ok
We can test mathematically anything before using it in RDM and it will work fine

Question # 1 of 10 ( Start time: 05:22:17 PM ) Total Marks: 1
Math relations are same as database relations
Select correct option:
True ok
False


Question # 2 of 10 ( Start time: 05:22:41 PM ) Total Marks: 1
in “many to many relationship” one instance of first entity can be mapped with many instances of second entity
Select correct option:
true
false ok


Question # 3 of 10 ( Start time: 05:23:14 PM ) Total Marks: 1
“Select” and “project” are the examples of
Select correct option:
Unary operations ok
Binary operations
Ternary operations
All of above


Question # 4 of 10 ( Start time: 05:23:56 PM ) Total Marks: 1
Identify the INCORRECT statement.
Select correct option:
Relational data model is based on mathematics ok
In relational data model there is no manipulation language defined
Relational data model is simple
We can test mathematically anything before using it in RDM and it will work fine


Question # 5 of 10 ( Start time: 05:24:33 PM ) Total Marks: 1
Which of the following constraint is included in the definition of the table?
Select correct option:
Default value
Foreign Key
Null
Domain


Question # 6 of 10 ( Start time: 05:25:45 PM ) Total Marks: 1
_______ is same as Equi-Join with a slight difference.
Select correct option:
Natural Join ok
Semi Join
Outer Join
Theta Join


Question # 7 of 10 ( Start time: 05:26:17 PM ) Total Marks: 1
In “One to Many” cardinality one instance of a relation is mapped with
Select correct option:
many instances of second entity type ok
One instance of second entity type
Primary key of 2 relations
none of above


Question # 8 of 10 ( Start time: 05:26:45 PM ) Total Marks: 1
Select the most appropriate statement. Which of the following data model is used to design logical database design?
Select correct option:
Relational ok
Hierarchal
Object oriented
Any model can be used


Question # 9 of 10 ( Start time: 05:27:35 PM ) Total Marks: 1
Binary relationships are those, which are established between
Select correct option:
One entity type
Two entity type
Three entity type
Unlimited entities



Question # 1 of 10 ( Start time: 04:22:31 PM ) Total Marks: 1
Which of the following syntax of the functions in SQL is used to add column values?
Select correct option:
COUNT(*)
COUNT(expression)
MAX(expression)
SUM(expression)


Question # 2 of 10 ( Start time: 04:23:49 PM ) Total Marks: 1
__________ User Interface is preferred over ________ User Interface with respect to user.
Select correct option:
Easy to understand, efficient        ok
Hard to understand, efficient
Easy to understand, effective
Hard to understand, effective


Question # 3 of 10 ( Start time: 04:24:42 PM ) Total Marks: 1
The _________ function helps reduce the need to use mutiple OR conditions.
Select correct option:
Like
IN        ok
AND
BETWEEN


Question # 4 of 10 ( Start time: 04:25:18 PM ) Total Marks: 1
Truncate command response time is ______ as compared to Delete command.
Select correct option:
Poor
Same
Better        ok
worst


Question # 5 of 10 ( Start time: 04:25:54 PM ) Total Marks: 1
Which of the following is not a part of an INSERT statement?
Select correct option:
INTO
VALUES
INSERT
MODIFY        ok


Question # 7 of 10 ( Start time: 04:38:41 PM ) Total Marks: 1
Which of the following is used to filter rows according to some condition(s)?
Select correct option:
SELECT
FROM
WHERE        ok
UPDATE


Question # 8 of 10 ( Start time: 04:39:35 PM ) Total Marks: 1
Is the given SQL Statement prompt error? Select * from relation1;
Select correct option:
Logical Error
No Error        ok
Parameter Error
Time out Error


Question # 9 of 10 ( Start time: 04:40:32 PM ) Total Marks: 1
Consider a table named “emp” having fields Empname, EmpID, Age, salary. 
Which of the following is true if the following SQL statement tries to execute? 
SELECT * FROM emp WHERE Empname=’ALI’;

Select correct option:    
The statement has a syntax error    
The statement only displays the EmpID of those employees whose name is ALI    
The statement displays the entire fields from emp in wh



Question # 10 of 10 ( Start time: 04:41:54 PM ) Total Marks: 1
What happens if the WHERE clause is omitted from a DELETE statement?
Select correct option:    
All records from the table are deleted        ok
No record from the table will be deleted
First record of the table will be deleted
The statement will not be executed and will give a syntax error

Question # 2 of 10 ( Start time: 04:23:49 PM ) Total Marks: 1
__________ User Interface is preferred over ________ User Interface with respect to user.
Select correct option:
Easy to understand, efficient        ok
Hard to understand, efficient
Easy to understand, effective
Hard to understand, effective


Question # 3 of 10 ( Start time: 04:24:42 PM ) Total Marks: 1
The _________ function helps reduce the need to use mutiple OR conditions.
Select correct option:
Like
IN        ok
AND
BETWEEN


Question # 4 of 10 ( Start time: 04:25:18 PM ) Total Marks: 1
Truncate command response time is ______ as compared to Delete command.
Select correct option:
Poor
Same
Better        ok
worst


Question # 5 of 10 ( Start time: 04:25:54 PM ) Total Marks: 1
Which of the following is not a part of an INSERT statement?
Select correct option:
INTO
VALUES
INSERT
MODIFY        ok


Question # 7 of 10 ( Start time: 04:38:41 PM ) Total Marks: 1
Which of the following is used to filter rows according to some condition(s)?
Select correct option:
SELECT
FROM
WHERE        ok
UPDATE


Question # 8 of 10 ( Start time: 04:39:35 PM ) Total Marks: 1
Is the given SQL Statement prompt error? Select * from relation1;
Select correct option:
Logical Error
No Error        ok
Parameter Error
Time out Error


Question # 9 of 10 ( Start time: 04:40:32 PM ) Total Marks: 1
Consider a table named “emp” having fields Empname, EmpID, Age, salary. 
Which of the following is true if the following SQL statement tries to execute? 
SELECT * FROM emp WHERE Empname=’ALI’;

Select correct option:    
The statement has a syntax error    
The statement only displays the EmpID of those employees whose name is ALI    
The statement displays the entire fields from emp in wh



Question # 10 of 10 ( Start time: 04:41:54 PM ) Total Marks: 1
What happens if the WHERE clause is omitted from a DELETE statement?
Select correct option:    
All records from the table are deleted        ok
No record from the table will be deleted
First record of the table will be deleted
The statement will not be executed and will give a syntax error

Question # 3 of 10 ( Start time: 03:21:56 PM )     Total Marks: 1
What happens if the WHERE clause is omitted from a DELETE statement?
Select correct option:
    All records from the table are deleted        ok
    No record from the table will be deleted
    First record of the table will be deleted
    The statement will not be executed and will give a syntax error


Question # 4 of 10 ( Start time: 03:22:07 PM )     Total Marks: 1
The ________ condition allows to retrieve values within a specific range.
Select correct option:
    AND
    LIKE
    BETWEEN        ok
    FROM


Question # 5 of 10 ( Start time: 03:22:17 PM )     Total Marks: 1
Which of the following is not DML command?
Select correct option:
    Select
    Update
    Delete
    Truncate        ok


Question # 1 of 10 ( Start time: 02:51:49 PM ) Total Marks: 1
General reasoning for horizontal or vertical partitioning is.
Select correct option:
 Increasing the consistency
 Decreasing the query response time
 Smaller tables are more efficient to process as compared to the larger tables.
 All of the above



Question # 2 of 10 ( Start time: 02:52:33 PM ) Total Marks: 1
Objective of an order by clause is to display or arrange output of a select statement in a particular order.
Select correct option:
 True
 False



Question # 3 of 10 ( Start time: 02:52:58 PM ) Total Marks: 1
The _________ function helps reduce the need to use mutiple OR conditions.
Select correct option:
 Like
 IN
 AND
 BETWEEN


Question # 4 of 10 ( Start time: 02:53:18 PM ) Total Marks: 1
Which of the following is the correct syntax for adding a new column into an existing table.
Select correct option:
 ALTER TABLE table_name { ALTER [COLUMN] column type [(size)] [DEFAULT default] }
 ALTER TABLE table_name { ADD [COLUMN] column type [(size)] [DEFAULT default] }
 Both I and II.
 None of the above.


Question # 5 of 10 ( Start time: 02:53:40 PM ) Total Marks: 1
Columns used to uniquely identify individual rows of a given table, may be specified to be not NOT NULL.
Select correct option:
 True
 False


Question # 6 of 10 ( Start time: 02:54:03 PM ) Total Marks: 1
What happens if the WHERE clause is omitted from a DELETE statement?
Select correct option:
 All records from the table are deleted
 No record from the table will be deleted
 First record of the table will be deleted
 The statement will not be executed and will give a syntax error



Question # 7 of 10 ( Start time: 02:54:56 PM ) Total Marks: 1
SQL is used for:
Select correct option:
 Creating, managing and deleting tables and manage the relationships among the stored date.
 Generating queries, organizing, managing and retrieving data stored in a database.
 Maintaining data integrity and coordinate data sharing.
 All of the above


Question # 8 of 10 ( Start time: 02:55:57 PM ) Total Marks: 1
Which of the following is used to filter rows according to some condition(s)?
Select correct option:
 SELECT
 FROM
 WHERE
 UPDATE


Question # 9 of 10 ( Start time: 02:56:46 PM ) Total Marks: 1
DML does not used to :
Select correct option:
 add new rows to tables
 retrieve rows from table
 modify the rows of tables
 alter a table definition


Question # 10 of 10 ( Start time: 02:57:29 PM ) Total Marks: 1
Which of the following is not true regarding clustering?
Select correct option:
 It increases the efficiency since related records are placed close to each other
 Clustering makes records, difficult to access
 suitable to relatively static situations.
 It is a process, which means to place records from different tables to place in adjacent physical locations

Question # 6 of 10 ( Start time: 10:52:52 AM )  Total Marks: 1
Objective of an order by clause is to display or arrange output of a select statement in a particular order.
Select correct option 
True
False

Question # 7 of 10 ( Start time: 10:52:52 AM )  Total Marks: 1
We should not compromise ________ over efficiency.
Select correct option:
Consistency
Normalization
Query response time
All of the above

Question # 8 of 10 ( Start time: 10:52:52 AM )  Total Marks: 1
DML does not used to :
Select correct option:
add new rows to tables 
retrieve rows from table
modify the rows of tables
alter a table definition


Question # 9 of 10 ( Start time: 10:52:52 AM )  Total Marks: 1
Which of the fllowing clauses allows to sort the records in result set?
Select correct option:
where
order by
from
having



Question # 10 of 10 ( Start time: 10:52:52 AM )  Total Marks: 1
Which of the following prevents duplicate values to be displayed as a result of an SQL statement 

Select correct option:
DISTINCT
DELETE
UPDATE
ALTER

Question # 1 of 10 ( Start time: 10:24:12 AM ) Total Marks: 1
Identify the basic part(s) of a SELECT statement?
Select correct option:
SELECT
FROM
Both SELECT and FROM
DISTINCT



Question # 2 of 10 ( Start time: 10:24:45 AM ) Total Marks: 1
Which of the following is a correct way of selecting all the columns from a table called PERSONS?
Select correct option:
SELECT FROM * Persons
SELECT * FROM Persons SELECT * WHERE Persons
SELECT WHERE * Persons



Question # 3 of 10 ( Start time: 10:25:23 AM ) Total Marks: 1
Which of the following is used with INSERT command to insert values in a DB table?
Select correct option:
ONTO
INTO
UPTO
WITH



Question # 4 of 10 ( Start time: 10:25:44 AM ) Total Marks: 1
SQL is used for:
Select correct option:
Creating, managing and deleting tables and manage the relationships among the stored date.
Generating queries, organizing, managing and retrieving data stored in a database.
Maintaining data integrity and coordinate data sharing.
All of the above



Question # 5 of 10 ( Start time: 10:26:12 AM ) Total Marks: 1
General reasoning for horizontal or vertical partitioning is.
Select correct option:
Increasing the consistency
Decreasing the query response time
Smaller tables are more efficient to process as compared to the larger tables. 

All of the above


Question # 6 of 10 ( Start time: 10:26:40 AM ) Total Marks: 1
DML does not used to :
Select correct option:
add new rows to tables
retrieve rows from table
modify the rows of tables
alter a table definition



Question # 7 of 10 ( Start time: 10:27:40 AM ) Total Marks: 1
The _________ function helps reduce the need to use mutiple OR conditions.
Select correct option:
Like
IN
AND
BETWEEN



Question # 8 of 10 ( Start time: 10:29:07 AM ) Total Marks: 1
The ________ operator allows to use wild cards in the where clause of an SQL statement.
Select correct option:
IN
FROM
LIKE
None of the above.



Question # 9 of 10 ( Start time: 10:29:32 AM ) Total Marks: 1
Objective of an order by clause is to display or arrange output of a select statement in a particular order.
Select correct option 

True
False



Question # 10 of 10 ( Start time: 10:29:51 AM ) Total Marks: 1
In vertical partitioning if we divide a table into two vertical partitions then efficiency of those applications will be reduced which used to 
Select correct option:
Access data from both the vertical partitions.
Access data from first vertical partition.
Access data from second vertical partition
None of the above.

Question # 1 of 10 ( Start time: 10:13:31 AM ) Total Marks: 1
Which of the following is the correct syntax for adding a new column into an existing table.
Select correct option:
ALTER TABLE table_name { ALTER [COLUMN] column type [(size)] [DEFAULT default] }
ALTER TABLE table_name { ADD [COLUMN] column type [(size)] [DEFAULT default] }
Both I and II. 

None of the above.


Question # 2 of 10 ( Start time: 10:13:52 AM ) Total Marks: 1
SQL is used for:
Select correct option:
Creating, managing and deleting tables and manage the relationships among the stored date.
Generating queries, organizing, managing and retrieving data stored in a database.
Maintaining data integrity and coordinate data sharing.
All of the above


Question # 3 of 10 ( Start time: 10:14:14 AM ) Total Marks: 1
Which of the following SQL statements used to control access to the data and to the database?
Select correct option:
GRANT
REVOKE
Both GRANT and REVOKE 

SELECT


Question # 4 of 10 ( Start time: 10:14:35 AM ) Total Marks: 1
Objective of an order by clause is to display or arrange output of a select statement in a particular order.
Select correct option:
True
False



Question # 5 of 10 ( Start time: 10:15:01 AM ) Total Marks: 1
In SQL, which command is used to delete rows from table.
Select correct option:
DELETE
REMOVE
TRUNCATE
Both I and II



Question # 6 of 10 ( Start time: 10:15:34 AM ) Total Marks: 1
Which of the fllowing clauses allows to sort the records in result set?
Select correct option:
where
order by
from
having



Question # 7 of 10 ( Start time: 10:15:51 AM ) Total Marks: 1
Which of the following is one of the purposes of using DDL commands?
Select correct option:
inserting records into databases
updating records into databases
manipulating databases
creating and destroying databases



Question # 8 of 10 ( Start time: 10:16:09 AM ) Total Marks: 1
Which of the following function falls in the category of Aggregate functions.
Select correct option:
SUM
MIN
MAX
All of the above



Question # 9 of 10 ( Start time: 10:16:27 AM ) Total Marks: 1
Which of the following prevents duplicate values to be displayed as a result of an SQL statement?
Select correct option:
DISTINCT
DELETE
UPDATE
ALTER



Question # 10 of 10 ( Start time: 10:16:58 AM ) Total Marks: 1
The ____________ keyword is used in SELECT statement to return different values.
Select correct option:
LIKE
IN
DISTINCT
WHERE



Question # 6 of 10 ( Start time: 03:23:14 PM )     Total Marks: 1
Consider a table named “emp” having fields Empname, EmpID, Age, salary. Which of the following is true if the following SQL statement tries to execute? SELECT * FROM emp WHERE Empname=’ALI’;
Select correct option:
    The statement has a syntax error
    The statement only displays the EmpID of those employees whose name is ALI
    The statement displays the entire fields from emp in which the Empname is ALI        ok
    The statement must have an ORDERBY clause


Question # 7 of 10 ( Start time: 03:23:59 PM )     Total Marks: 1
Suppose we have two tables T1 and T2. Tuples of T1 that do not match some row in T2 will not appear in
Select correct option:
    Outer Join
    Inner Join        ok
    Both I and II
    None of the above


Question # 8 of 10 ( Start time: 03:24:37 PM )     Total Marks: 1
Which of the following is the correct syntax for adding a new column into an existing table.
Select correct option:
    ALTER TABLE table_name { ALTER [COLUMN] column type [(size)] [DEFAULT default] }
    ALTER TABLE table_name { ADD [COLUMN] column type [(size)] [DEFAULT default] }
    Both I and II.        ok
    None of the above.


Question # 9 of 10 ( Start time: 03:24:55 PM )     Total Marks: 1
Which of the fllowing clauses allows to sort the records in result set?
Select correct option:
    where
    order by        ok
    from
    having


Question # 10 of 10 ( Start time: 03:25:03 PM )     Total Marks: 1
UPDATE command belongs to which type of Classification
Select correct option:
    DML        ok
    DDL
    DCL
    DQL

Question # 1 of 10 ( Start time: 02:55:16 PM )     Total Marks: 1
Which of the fllowing clauses allows to sort the records in result set?
Select correct option:
    where
    order by        ok
    from
    having


Question # 2 of 10 ( Start time: 02:55:48 PM )     Total Marks: 1
What happens if the WHERE clause is omitted from a DELETE statement?
Select correct option:
    All records from the table are deleted        ok
    No record from the table will be deleted
    First record of the table will be deleted
    The statement will not be executed and will give a syntax error


Question # 3 of 10 ( Start time: 02:57:19 PM )     Total Marks: 1
Which of the following is not true regarding clustering?
Select correct option:
    It increases the efficiency since related records are placed close to each other
    Clustering makes records, difficult to access        ok
    suitable to relatively static situations.
    It is a process, which means to place records from different tables to place in adjacent physical locations


Question # 4 of 10 ( Start time: 02:57:47 PM )     Total Marks: 1
Which of the following prevents duplicate values to be displayed as a result of an SQL statement?
Select correct option:
    DISTINCT        ok
    DELETE
    UPDATE
    ALTER


Question # 5 of 10 ( Start time: 02:58:02 PM )     Total Marks: 1
Data Manipulation Language (DML) is the set of commands used to maintain and query a database including updating, inserting, modifying and retrieving data.
Select correct option:
    True        ok
    False


Question # 6 of 10 ( Start time: 02:58:53 PM )     Total Marks: 1
Which of the following SQL statements used to control access to the data and to the database?
Select correct option:
    GRANT
    REVOKE
    Both GRANT and REVOKE        ok
    SELECT


Question # 7 of 10 ( Start time: 02:59:16 PM )     Total Marks: 1
In SQL, which command is used to delete rows from table.
Select correct option:
    DELETE        ok
    REMOVE
    TRUNCATE
    Both I and II


Question # 8 of 10 ( Start time: 02:59:41 PM )     Total Marks: 1
The ________ condition allows to retrieve values within a specific range.
Select correct option:
    AND
    LIKE
    BETWEEN        ok
    FROM


Question # 9 of 10 ( Start time: 02:59:59 PM )     Total Marks: 1
Functions in SQL return a single value
Select correct option:
    True        ok
    False


Question # 10 of 10 ( Start time: 03:00:22 PM )     Total Marks: 1
Correct statement for creating table in Microsoft SQL server is.
Select correct option:
    CREATE TABLE Customer (SID integer PRIMARY KEY, Last_Name varchar(30), First_Name varchar(30));        ok
    CREATE TABLE Customer (SID integer, Last_Name varchar(30), First_Name varchar(30))
    CREATE Customer (SID integer, Last_Name varchar(30), First_Name varchar(30));
    All of the above




Question # 10 of 10 ( Start time: 05:27:35 PM ) Total Marks: 1
Which database design represents the structure of the database?
Select correct option:
Conceptual
Internal
External
Logical ok

Question # 2 of 10 ( Start time: 05:07:20 PM ) Total Marks: 1
Which of the following tool is used to design conceptual database design?
Select correct option:
SQL
MS Access
Oracle
This model is independent of any tool ok


Question # 3 of 10 ( Start time: 05:07:20 PM ) Total Marks: 1
in “One to One Relationship” One instance of first entity type is mapped with two instances of second entity type
Select correct option:
true
false ok


Question # 4 of 10 ( Start time: 05:07:20 PM ) Total Marks: 1
Unary operations involves
Select correct option:
Only one relation ok
Only two relations
More than two relations
Not more than five relations


Question # 5 of 10 ( Start time: 05:07:20 PM ) Total Marks: 1
Which of the following is true regarding foreign keys?
Select correct option:
There can only be one foreign key in a relation ok
There can be as many foreign keys as needed
Foreign key is not a super key
Each table in database must have a foreign key


Question # 6 of 10 ( Start time: 05:07:20 PM ) Total Marks: 1
Relational Calculus is a _____________ relational data manipulation language.
Select correct option:
Procedural, Informal
Non-Procedural, Informal
Procedural, Formal
Non-Procedural, Formal ok


Question # 7 of 10 ( Start time: 05:07:20 PM ) Total Marks: 1
_______ is same as Equi-Join with a slight difference.
Select correct option:
Natural Join ok
Semi Join
Outer Join
Theta Join


Question # 8 of 10 ( Start time: 05:07:20 PM ) Total Marks: 1
 in “many to many relationship” one instance of first entity can be mapped with many instances of second entity
Select correct option:
true ok
false


Question # 9 of 10 ( Start time: 05:07:20 PM ) Total Marks: 1
Which database design represents the structure of the database?
Select correct option:
Conceptual
Internal
External
Logical ok


Question # 10 of 10 ( Start time: 05:07:20 PM ) Total Marks: 1
Select the most appropriate statement. Which of the following data model is used to design logical database design?
Select correct option:
Relational ok
Hierarchal
Object oriented
Any model can be used

Question # 1 of 10 ( Start time: 10:31:34 PM ) Total Marks: 1
The ________ operator allows to use wild cards in the where clause of an SQL statement.
Select correct option:
IN
FROM
LIKE
None of the above.


Question # 2 of 10 ( Start time: 10:31:58 PM ) Total Marks: 1
Is the given SQL Statement prompt error? Select * from relation1;
Select correct option:
Logical Error
No Error
Parameter Error
Time out Error


Question # 3 of 10 ( Start time: 10:32:22 PM ) Total Marks: 1
Value of a function in SQL is always determined by the input parameters
Select correct option:
True
False


Question No: 1    ( Marks: 1 )    - Please choose one   
Which of the following constraints enforces entity integrity?
►PRIMARY KEY
►FOREIGN KEY
►CHECK
►NOT NULL      (Page 134) rep 



Question No: 3    ( Marks: 1 )    - Please choose one
Which of the following constraints enforces entity integrity?
       ► PRIMARY KEY
       ► FOREIGN KEY
       ► CHECK
       ► NOT NULL      (Page 134) rep 

Question No: 4    ( Marks: 1 )    - Please choose one
Which of the following enforces a relation into 1st normal form?
       ► The domain of attribute must include only atomic values.   (Page 167) 
       ► Every non-key attribute is fully functionally dependent on primary key   
       ► non-key  attribute is non-transitively dependent on primary key. 
       ► Every non-key attribute is partially dependent on super key

Question No:5    ( Marks: 1 )    - Please choose one
Consider the following set of functional dependencies (FDs) on the following relational schema.
Emp_No -> {Ename, Bdate, Address, Dept_No}
Dept_No -> {Dname, Mgr_No}
The additional FD which can be inferred from the above set of FDs is

►Emp_No -> {Dname, Mgr_No} 
►Emp_Name -> Dept_No .
►Emp_Name -> Dept_Name .
►Emp_Name, Dept_No -> Mgr_No .

Question No: 6    ( Marks: 1 )    - Please choose one
Which of the following is a feature of PRIMARY KEY constraint?

►unique identifier for a row within a database table.      Click here for Detail 
►allow any actions that would destroy links between tables
►limit the values that can be placed in a column.
►enforces that the column will only accept null values.

Question No: 7    ( Marks: 1 )    - Please choose one
Structural constraints of a relationship type refer to

  ► identifying the owner entity type relevant to a given entity type
  ► whether the existence of an entity depends on it being related to another entity via the relationship  type.   Click here for detail 
  ► the role that a participating entity from the entity type plays in each relationship instance.
  ► the constraints applicable in granting access to tables, columns and views in a database schema.



Question No: 8    ( Marks: 1 )    - Please choose one
Which of the following is true about relational schema?

       ► The sequence of columns is significant
       ► The sequence of rows is significant.
       ► Contains only derived attributes.
       ► Values are atomic.    (Page 127) rep 

Question No: 9    ( Marks: 1 )    - Please choose one
A ____ relationship exists when an association is maintained within a single entity.

►unary    (Page 144) 
►ternary 
►binary
►weak

Question No: 10    ( Marks: 1 )    - Please choose one
Which of the following is a correct way to implement one-to-many relationship while designing tables?
  
► by splitting the data into two tables with primary key and foreign key relationships. 
  Click here for Detail     
► using a junction table with the keys from both the tables forming the composite primary key of the junction  table.
► by splitting each table into three 
► as a single table and rarely as two tables with primary  and foreign key relationships.

Question No: 11    ( Marks: 1 )    - Please choose one
Identify the correct statement.

       ► Entity integrity constraints specify that primary key values can be composite.
       ► Entity integrity constraints are specified on individual relations.  Click here for detail 
       ► Entity integrity constraints are specified between weak entities.
       ► When entity integrity rules are enforced, a tuple in one relation that refers to another relation must refer to an existing tuple.       

Question No: 12    ( Marks: 1 )    - Please choose one
A software package designed to store and manage databases

►Database
►DBMS    (Page 18) 
►Data model
►Data



Question No: 13    ( Marks: 1 )    - Please choose one
Who is responsible for authorizing access to the database, for coordinating and monitoring its use? 
Select correct option: 

  ►Database Designer
  ►Database Administrator     (Page 26) 
  ►End User
  ►Application Programmer 

Question No: 14   ( Marks: 1 )    - Please choose one
Consider the following relation R and its sample data. (Consider that these are the only tuples for the given
relation)

Which of the following statements is NOT correct?

       ► The functional dependency (EmpNo, DeptNo) -> ProjNo holds over R.
       ► The functional dependency EmpNo -> DeptNo holds over R.
       ► The functional dependency ProjNo -> DeptNo holds over R.
       ► The functional dependency (EmpNo, ProjNo) -> DeptNo holds over R. 


Question No: 15   ( Marks: 1 )    - Please choose one
Which of the following statements is NOT correct?

       ► The functional dependency (EmpNo, DeptNo) -> ProjNo holds over R.
       ► The functional dependency EmpNo -> DeptNo holds over R.
       ► The functional dependency ProjNo -> DeptNo holds over R.
       ► The functional dependency (EmpNo, ProjNo) -> DeptNo holds over R. 

Question No: 16    ( Marks: 1 )    - Please choose one
Which feature of database provides conversion from inconsistent state of DB to a consistent state ensuring
minimum data loss? 
Select correct option: 

►User accessible catalog
►Data processing
►Recovery service       (Page 47) 
►Authorization service

Question No: 1    ( Marks: 1 )    - Please choose one   
A database system allows the following EXCEPT
► management and control of data towards an efficient working of an organisation.
► more critical functions in organisations to be computerised and the need to keep a large volume of data
available in an up to the minute current state increased.
► any user to access all its data.     
► integration of data across multiple applications into a single application.


Question No: 2   ( Marks: 1 )   - Please choose one
User rights information is stored in

► Physical database
► Catalog     (Page 46)  rep 
► Logical database
► Buffer


Question No: 3    ( Marks: 1 )    - Please choose one   
The ER- data model is an example of:

► Physical database
► Logical database
► Relational database
► Conceptual database        Click here for Detail 

Question No: 4   ( Marks: 1 )   - Please choose one
Which of the following is true about NOT NULL constraint?

► enforce domain integrity
► limit the values that can be placed in a column.
► prevents any actions that would destroy links between tables with the corresponding data values   Click here for detail 
► enforces the uniqueness of the values in a set of columns

Question No: 5    ( Marks: 1 )    - Please choose one   
Consider the relation Interview(CandidateNo, InterviewDate, InterviewTime, StaffNo, RoomNo) and th
following functional dependencies.
FD1 : CandidateNo, InterviewDate -> InterviewTime, StaffNo, RoomNo 
FD2 : RoomNo, InterviewDate, InterviewTime -> StaffNo, CandidateNo 
FD3 : StaffNo, InterviewDate -> RoomNo

Which of the following is correct?
► The relation Interview is in BCNF.
► The FD3 violates 3NF.
► The FD3 violates BCNF.
► The FD2 violates 2NF. 


Question No: 6    ( Marks: 1 )    - Please choose one
Consider the following diagram depicting a kind of a relationship type where X and Z are entities and
Y is a relationship type:

Select the correct statement among the following on the above diagram.

► The relationship type Y is of cardinality ratio 1 : N.    Click here for Detail 
► The diagram depicts existence dependencies.
► The participation of X in the Y relationship type is total.
► The participation of Z in the Y relationship type is partial.

Question No: 7    ( Marks: 1 )    - Please choose one   
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.  (Page 87) 
► 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.

Question No: 8    ( Marks: 1 )    - Please choose one   
Which of the following is true about relational schema?
► The sequence of columns is significant
► The sequence of rows is significant.
► Contains only derived attributes.
► Values are atomic.   (Page 127) 

Question No: 9   ( Marks: 1 )   - Please choose one
Consider the given relations Student and Instructor as given below. Please note that Fname and Lname
also denote the First Name and Last Name respectively.


Which of the following statements is correct with respect to the two relations given above?
► The two relations are not union-compatible since their attribute names differ.
► The set operations such as CARTESIAN PRODUCT and DIVISION can be applied on these two relations. 
► To find out those students who work as instructors, it is necessary to perform the operation
Student ∩ Instructor.
► To find out the students who are not instructors, it is necessary to perform the operation
Student ÷ Instructor.

Question No: 11    ( Marks: 1 )    - Please choose one    Consider the
following relation R and its sample data. (Consider that these are the only tuples for the given relation)

Which of the following statements is NOT correct?
► The functional dependency ProjNo -> DeptNo holds over R.
► The functional dependency (EmpNo, ProjNo) -> DeptNo holds over R. 
► The functional dependency DeptNo -> ProjNo holds over R.
► The functional dependency EmpNo -> DeptNo holds over R.

Question No: 12    ( Marks: 1 )    - Please choose one   
A collection of related data is

► Logical model
► Database        (Page 10) 
► Data
► Relational model

Question No: 13    ( Marks: 1 )    - Please choose one   
A weak entity type

► must have total participation in an identifying relationship
► does not have a key attribute(s)
► both (a) and (b)      Click here for detail 
► none of the above

Question No: 14    ( Marks: 1 )    - Please choose one
A description on a particular collection of data using the given data model

► Database
► Schema        (Page 18) 
► None of the above.
► Relation

Question No: 15    ( Marks: 1 )    - Please choose one
If K is a foreign key in relation R1, then
► every tuple of R1 has a distinct value for K.
► K cannot have a null value for tuples in R1.
► K is a  key for some other relation.      Click here for detail 
► K is a primary key for R1.       



Question No: 16    ( Marks: 1 )    - Please choose one
Consider the following statements.
A. An entity integrity constraint states that no primary key value can be null.
B. A referential integrity constraint is specified between two relations.
C. A foreign key cannot be used to refer to its own relation.

Identify which of the above statements is/are correct.

► Only A     (Page 134) 
► Only B
► B and C
► A and BQuestion No: 1    ( Marks: 1 )    - Please choose one

Which of the following is NOT a feature of Context DFD?
      
       ► one process (which represents the entire system)
       ► all sources/sinks (external entities)
       ► data flows linking the process to the sources and sinks (external entities)
       ► sub-processes (which explain and decomposed the major process into small processes) (Page 62) 

Question No: 2    ( Marks: 1 )    - Please choose one
Which of the following is true for the relational model?
►Degree of a relation is the number of rows in a relation.
►Null value is a blank or zero value given to an attribute value when its value is inapplicable or its value is
unknown.
►Complex key is a key consisting of more than one attribute.
►Constraint is a rule that restricts the values in a database.     (Page 18) 
    
Question No: 4    ( Marks: 1 )    - Please choose one
Which of the following most certainly implies the need for an entire table to implement?

       ► A binary relationship
       ► A ternary relationship     
       ► A recursive relationship
       ► An identifying relationship

Question No: 5    ( Marks: 1 )    - Please choose one
Which of the following constraints enforces entity integrity?

       ► PRIMARY KEY
       ► FOREIGN KEY
       ► CHECK
       ► NOT NULL   (Page 134) 
    
Question No: 6    ( Marks: 1 )    - Please choose one
Which of the following is not true about relational tables?

       ► Column values are of the same kind.
       ► Each row is unique.    
       ► Each column must have a unique name.
       ► The sequence of rows is significant.       Click here for Detail 
    
Question No: 7    ( Marks: 1 )    - Please choose one
In a conceptual model for a university, what type of relationship exists between Grade and Student entities?

       ► 1:1
       ► 1:M      Click here for Detail 
       ► M:M
       ► Ternary
    
Question No: 8    ( Marks: 1 )    - Please choose one
Controlling redundancy in a database management system DOES NOT help to 
      
       ► avoid duplication    (Page 16)
       ► avoid unnecessary wastage of storage space
       ► avoid unauthorised access to data      
       ► avoid inconsistency among data    


Question No: 9    ( Marks: 1 )    - Please choose one
Which of the following is INCORRECT with respect to file systems?
       ► At the physical level, pointer or hashed address scheme may be employed to provide a certain degree of  data independence at the user level.
       ► A logical record is concerned with efficient storage of information in the secondary storage devices. 
       ► Some physical organisations use pointers to record blocks to locate records on disk.
       ► The efficiency of a file system depends on how efficiently operations such as retrieve, insert, update,
delete may be performed on the information stored in the file.
    
Question No: 10    ( Marks: 1 )    - Please choose one
Which of the following functions are NOT performed by a database administrator?

       ► Planning, designing and implementing database systems
       ► Establishing standards and procedures for database systems
       ► Communicating with database users       (Page 26) 
       ► Allocation of storage locations and data structures

    
Question No: 11    ( Marks: 1 )    - Please choose one
Select the correct statement about the ANSI/SPARC architecture.

       ► The conceptual level is a level of indication between the internal level and the external level. (Page 33) 
       ► The internal level in a database system will definitely be relational.  
       ► Any given database has many conceptual schemas and one physical schema, but it has only one external
schemas.
       ► The external level is not concerned with individual user perceptions, while the conceptual level
is concerned with a community user perception.

Question No: 12    ( Marks: 1 )    - Please choose one
Which of the following is a correct way to implement one-to-many relationship while designing tables?

       ► by splitting the data into two tables with primary key and foreign key relationships. 
             Click here for Detail 
       ► using a junction table with the keys from both the tables forming the composite primary key of the
junction table.
       ► by splitting each table into three
       ► as a single table and rarely as two tables with primary and foreign key relationships.

Question No: 13    ( Marks: 1 )    - Please choose one
Which of the following is not a benefit of normalization?

       ► Minimize insertion anomolies
       ► Minimize deletion anomolies
       ► Minimize updation anomolies
       ► Maximize redundancy     (Page 162) 
    

Question No: 14    ( Marks: 1 )    - Please choose one
Consider the following relation R and its sample data. (Consider that these are the only tuples for the given
relation)

Which of the following statements is NOT correct?

       ► The functional dependency (EmpNo, DeptNo) -> ProjNo holds over R.
       ► The functional dependency EmpNo -> DeptNo holds over R.
       ► The functional dependency ProjNo -> DeptNo holds over R.
       ► The functional dependency (EmpNo, ProjNo) -> DeptNo holds over R. 
    
Question No: 15    ( Marks: 1 )    - Please choose one
The Entity Relation Model models 

       ► Entities, Relationships and Processes
       ► Entities and Relationships    (Page 71) 
       ► Relationships
       ► Entities
    
Question No: 16    ( Marks: 1 )    - Please choose one
As part of database naming conventions, attribute names should use suffixes such as ID, NUMBER or CODE
for the _______.
       ► primary key   
       ► foreign key
       ► index
       ► determinant


MIDTERM  EXAMINATION 
Spring 2010
CS403- Database Management Systems (Session - 4) 
Question No: 1    ( Marks: 1 )    - Please choose one
User rights information is stored in

       ► Physical database
       ► Catalog      (Page 46) 
       ► Logical database
       ► Buffer 

Question No: 2    ( Marks: 1 )    - Please choose one
Making a change to the conceptual schema of a database but not affecting the existing external schemas is an
example of

       ► Physical data independence. 
       ► Concurrency control. 
       ► Logical data independence.     Click here for detail 
       ► Functional dependency
    
Question No: 3    ( Marks: 1 )    - Please choose one
Which of the following is NOT a feature of Context DFD?

       ► one process (which represents the entire system)
       ► all sources/sinks (external entities)
       ► data flows linking the process to the sources and sinks (external entities)
       ► sub-processes (which explain and decomposed the major process into small processes) (Page 62)
rep

    
Question No: 4    ( Marks: 1 )    - Please choose one
A relation (from the relational database model) consists of a set of tuples, which implies that
►all tuples in a relation must be distinct.    (Page 129) 
►relational model supports multi-valued attributes whose values can be represented in sets.
►for any two tuples, the values associated with all of their attributes may be the same.
►all tuples in a particular relation may have different attributes.


Question No: 6    ( Marks: 1 )    - Please choose one
Identify the constraint that limits the values that can be placed in a column.
       ► NOT NULL
       ► CHECK          Click here for Detail    
       ► FOREIGN KEY
       ► UNIQUE

Question No: 7    ( Marks: 1 )    - Please choose one
Given are the relations of student and Instructor

Consider the following table obtained using Student and Instructor relations.


Which relational algebra operation could have been applied on the pair of relations Student and Instructor to
obtain the above data?

       ► Instructor – Student 
       ► Student ∩ Instructor 
       ► Instructor ÷ Student 
       ► Student – Instructor

Question No: 8    ( Marks: 1 )    - Please choose one
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.  Click here for detail 
       ► The process of normalization through decomposition must achieve the lossless join property at any cost whereas the dependency reservation property is sometimes sacrificed.
       ► The process of normalization through decomposition must achieve the dependency reservation property at any cost whereas the lossless join property is sometimes sacrificed.


    
Question No: 9    ( Marks: 1 )    - Please choose one
Consider the relation Interview(CandidateNo, InterviewDate, InterviewTime, StaffNo, RoomNo) and the
following functional dependencies.
FD1 : CandidateNo, InterviewDate -> InterviewTime, StaffNo, RoomNo
FD2 : RoomNo, InterviewDate, InterviewTime -> StaffNo, CandidateNo
FD3 : StaffNo, InterviewDate -> RoomNo
Which of the following is correct?

       ► The relation Interview is in 3NF     Click here for detail 
       ► The relation Interview is in BCNF.
       ► The FD3 violates 3NF. 
       ► The FD2 violates 2NF.
    
Question No: 10    ( Marks: 1 )    - Please choose one
Identify the INCORRECT statement among the given.
       ► An entity may be an object with a physical existence like a car, a house or an Employee.
       ► One cannot consider something which has conceptual existence like a course in a degree program as an entity.    (Page 71) 
       ► Age can be considered as a single value attribute of a person.
       ► An entity type describes the schema or intension for a set of entities which share the same structure.
    
Question No: 11    ( Marks: 1 )    - Please choose one
Structural constraints of a relationship type refer to

       ► identifying the owner entity type relevant to a given entity type
       ► whether the existence of an entity depends on it being related to another entity via the relationship type.       Click here for detail 
       ► the role that a participating entity from the entity type plays in each relationship instance.
       ► the constraints applicable in granting access to tables, columns and views in a database schema.
    
Question No: 12    ( Marks: 1 )    - Please choose one
A collection of concepts that can be used to describe the structure of a database

       ► Database
       ► DBMS
       ► Data model     Click here for Detail   (Page 68) 
       ► Data

Question No: 13    ( Marks: 1 )    - Please choose one
An entity can be logically connected to another by defining a ____.
       ► hyperlink
       ► common attribute   Click here for detail 
       ► primary key
       ► superkey

    
Question No: 14    ( Marks: 1 )    - Please choose one
The ____ constraint specifies whether each entity supertype occurrence must also be a member of at least one
subtype.
       ► specialization
       ► uniqueness
       ►  inheritance
       ► completeness         Click here for Detail 
    
Question No: 15    ( Marks: 1 )    - Please choose one
Database management systems, operating systems, applications and utilities are all examples of ____.
       ► hardware  
       ► software        Click here for detail 
       ► computer infrastructure
       ► input and output
    
Question No: 16    ( Marks: 1 )    - Please choose one
Which of the following concepts is applicable with respect to 2NF?
       ► Full functional dependency       Click here for detail 
       ► Any kind of dependency
       ► Transitive dependency
       ► Non-transitive dependency 



Question # 4 of 10 ( Start time: 10:32:43 PM ) Total Marks: 1
In SQL, which command is used to delete rows from table.
Select correct option:
DELETE
REMOVE
TRUNCATE
Both I and II


Question # 5 of 10 ( Start time: 10:34:09 PM ) Total Marks: 1
Which of the following is not an aggregate function
Select correct option:
AVG
SUM
UPPER
MAX


Question # 6 of 10 ( Start time: 10:34:43 PM ) Total Marks: 1
Truncate command response time is ______ as compared to Delete command.
Select correct option:
Poor
Same
Better
worst


Question # 8 of 10 ( Start time: 10:36:17 PM ) Total Marks: 1
__________ User Interface is preferred over ________ User Interface with respect to user.
Select correct option:
Easy to understand, efficient
Hard to understand, efficient
Easy to understand, effective
Hard to understand, effective


Question # 9 of 10 ( Start time: 10:36:41 PM ) Total Marks: 1
Which of the following is NOT a DDL command?
Select correct option:
Create DB
Create table
Delete
Drop


Question # 10 of 10 ( Start time: 10:37:23 PM ) Total Marks: 1
GRANT is a ______________ Command.
Select correct option:
DDL
DML
DCL
None of the above

Question # 1 of 10 ( Start time: 10:22:34 PM ) Total Marks: 1
Identify the basic part(s) of a SELECT statement?
Select correct option:
SELECT
FROM
Both SELECT and FROM 
DISTINCT


Question # 2 of 10 ( Start time: 10:23:12 PM ) Total Marks: 1
Which of the following is incorrect about alter table statement?
Select correct option:
Cannot be used to modify type or size of an existing column
Can be used to delete a column
Can not be used to create a new table 
Can be used to add column in the existing table


Question # 3 of 10 ( Start time: 10:23:53 PM ) Total Marks: 1
Which of the following is the correct syntax for adding a new column into an existing table.
Select correct option:
ALTER TABLE table_name { ALTER [COLUMN] column type [(size)] [DEFAULT default] }
ALTER TABLE table_name { ADD [COLUMN] column type [(size)] [DEFAULT default] } 
Both I and II.
None of the above.


Question # 4 of 10 ( Start time: 10:24:28 PM ) Total Marks: 1
Which of the following prevents duplicate values to be displayed as a result of an SQL statement?
Select correct option:
DISTINCT
 
DELETE
UPDATE
ALTER


Question # 5 of 10 ( Start time: 10:25:11 PM ) Total Marks: 1
The ____________ keyword is used in SELECT statement to return different values.
Select correct option:
LIKE
IN    
DISTINCT
WHERE


Question # 6 of 10 ( Start time: 10:26:06 PM ) Total Marks: 1
Which of the following function falls in the category of Aggregate functions.
Select correct option:
SUM
MIN
MAX
All of the above 


Question # 8 of 10 ( Start time: 10:28:09 PM ) Total Marks: 1
Functions in SQL return a single value
Select correct option:
True 
False


Question # 9 of 10 ( Start time: 10:28:42 PM ) Total Marks: 1
Which of the fllowing clauses allows to sort the records in result set?
Select correct option:
where
order by 
from
having


Question # 10 of 10 ( Start time: 10:29:10 PM ) Total Marks: 1
The ________ operator allows to use wild cards in the where clause of an SQL statement.
Select correct option:
IN
FROM
LIKE
None of the above.
Question # 2 of 10 ( Start time: 10:14:15 PM ) Total Marks: 1
The ________ condition allows to retrieve values within a specific range.
Select correct option:
AND
LIKE
BETWEEN 
FROM


Question # 3 of 10 ( Start time: 10:14:45 PM ) Total Marks: 1
Which language is used to permit or prohibit access to a table?
Select correct option:
DCL 
DDL
DML
All of the above.


Question # 4 of 10 ( Start time: 10:15:28 PM ) Total Marks: 1
In SQL, which command is used to delete rows from table.
Select correct option:
DELETE
REMOVE
TRUNCATE
Both I and II 


Question # 6 of 10 ( Start time: 10:17:32 PM ) Total Marks: 1
Truncate command response time is ______ as compared to Delete command.
Select correct option:
Poor
Same
Better 
worst


Question # 7 of 10 ( Start time: 10:18:12 PM ) Total Marks: 1
Which of the fllowing clauses allows to sort the records in result set?
Select correct option:
where
order by 
from
having


Question # 8 of 10 ( Start time: 10:18:33 PM ) Total Marks: 1
Which of the following is a String function in SQL
Select correct option:
COUNT
LEN 
SQRT
SIN


Question # 9 of 10 ( Start time: 10:18:59 PM ) Total Marks: 1
__________ User Interface is preferred over ________ User Interface with respect to user.
Select correct option:
Easy to understand, efficient 
Hard to understand, efficient
Easy to understand, effective
Hard to understand, effective


Question # 10 of 10 ( Start time: 10:19:55 PM ) Total Marks: 1
Which of the following is the correct syntax for adding a new column into an existing table.
Select correct option:
ALTER TABLE table_name { ALTER [COLUMN] column type [(size)] [DEFAULT default] }
ALTER TABLE table_name { ADD [COLUMN] column type [(size)] [DEFAULT default] } 
Both I and II.
None of the above.


Question # 2 of 10 ( Start time: 10:03:10 PM ) Total Marks: 1
Which of the fllowing clauses allows to sort the records in result set?
Select correct option:
where
order by 
from
having


Question # 3 of 10 ( Start time: 10:04:43 PM ) Total Marks: 1
REVOKE is a ______________ statement.
Select correct option:
Data Definition
Control Access 
Data manipulation
Data description


Question # 4 of 10 ( Start time: 10:05:27 PM ) Total Marks: 1
Which of the following function falls in the category of Aggregate functions.
Select correct option:
SUM
MIN
MAX
All of the above 


Question # 6 of 10 ( Start time: 10:07:35 PM ) Total Marks: 1
Which of the following is a String function in SQL
Select correct option:
COUNT
LEN 
SQRT
SIN


Question # 7 of 10 ( Start time: 10:08:37 PM ) Total Marks: 1
Suppose we have two tables T1 and T2. Tuples of T1 that do not match some row in T2 will not appear in
Select correct option:
Outer Join
Inner Join 
Both I and II
None of the above


Question # 8 of 10 ( Start time: 10:09:26 PM ) Total Marks: 1
Which of the following is not an aggregate function
Select correct option:
AVG
SUM
UPPER 
MAX


Question # 9 of 10 ( Start time: 10:10:33 PM ) Total Marks: 1
Value of a function in SQL is always determined by the input parameters
Select correct option:
True 
False


Question # 10 of 10 ( Start time: 10:11:29 PM ) Total Marks: 1
In SQL, which command is used to modify the rows of tables.
Select correct option:
UPDATE 
INSERT
BROWSE
APPEND

Post a Comment

Previous Post Next Post