More Classes
5th Class
6th Class
7th Class
8th Class
9th Class
10th Class
11th Class
12th Class
NAT I
NAT II
CSS
IQ
General Knowledge
MDCAT
ECAT
GAT General
GAT Subject
Other Links
Go to Home
Online Tests
CS-403 Final Term Exams Preparation Virtual University MCQs With Answers
Question # 1
DML commands are used for:
Choose an answer
inserting data into databases
creating databases
destroying databases
creating DB objects
Previous
Skip
Next
Question # 2
Database management systems, operating systems, applications and utilities are all examples of ____.
Choose an answer
hardware
software
computer infrastructure
input and output
Previous
Skip
Next
Question # 3
Which of the following will be deleted relating to a table if you use TRUNCATE command?
Choose an answer
all rows in a table
indexes
table structure and its columns
constraints
Previous
Skip
Next
Question # 4
Which of the following SQL keywords is not used with DDL statements?
Choose an answer
Table
Update
Create
Alter
Previous
Skip
Next
Question # 5
An entity type is
Choose an answer
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
Previous
Skip
Next
Question # 6
Which of the following should not be a property of a database transaction?
Choose an answer
Atomicity
Isolation
Durability
Divergence
Previous
Skip
Next
Question # 7
Which of the following is incorrect with respect to indexed sequential files?
Choose an answer
New records are added to an overflow file
Record in main file that precedes it is updated to contain a pointer to the new record
The overflow is merged with the main file during a batch update
Multiple indexes for the same key field cannot be setup
Previous
Skip
Next
Question # 8
Select the correct statement among the following.
Choose an answer
Role names are not technically necessary in relationship types when all the participating entity types are distinct
When different entity types participate only once in a single relationship type it is called a recursive relationship.
Cardinality ratios for binary relationship are displayed on Entity Relationship Diagrams by using a diamond shape notation.
Partial participation which is also called existence dependency is displayed as a double line connecting the participating entity type to the relationship.
Previous
Skip
Next
Question # 9
A weak entity type
Choose an answer
must have total participation in an identifying relationship
does not have a key attribute(s)
both (a) and (b)
none of the above
Previous
Skip
Next
Question # 10
Suppose there are 4 rows and 3 columns in TABLE1 and 6 rows and 5 columns in TABLE2; what is the size of the Cartesian product incase of CROSS JOIN between these two tables?
Choose an answer
24
54
6
1
Previous
Skip
Next
Question # 11
In a conceptual model for a university, what type of relationship exists between Grade and Student entities?
Choose an answer
1:1
1:M
M:M
Ternary
Previous
Skip
Next
Back