A) Collection of Values
A) Collection of Values
single value
a) Collection of values
b) Single value
c) Aggregate value
d) both a& b
a) Mean(salary)
b) Avg(salary)
c) Sum(salary)
d) Count(salary)
3) Select count (____ ID) from teaches where semester = ’Spring’ and year = 2010;
If we do want to eliminate duplicates, we use the keyword ______in the aggregate
expression.
a)Count
b)Distinct
c)Avg
d)Primary Key
4) . A Boolean data type that can take values true, false, and________
a)1
b)0
c)Null
d)Unknown
8) Every weak entity set can be converted into a strong entity set by:
a. using generalization
b. adding appropriate attributes
c. using aggregation
d. none of the above
9) The number of entities to which another entity can be associated via a relationship set is
expressed as:
a. Entity
b. Cardinality
c. Schema
d. Attributes
10) In a relational database a referential integrity constraint can be specified with the help of
a. primary key
b. foreign key
c. secondary key
d. none of the above
11) A super key is a set of one or more attributes that, taken collectively, allow us
a. to identify uniquely an entity in the entity set
b. to make the key most powerful for faster retrieval
c. to increase effectiveness of database access
d. none of the above
12) Which command is used to remove all rows from a table?
a. Delete
b. Remove
c. Truncate
d. Both [A] and [B]
13) Which of the following is an aggregate function in SQL?
a. Union
b. Like
c. Group By
d. Max
14) Which command is used to add a column to an existing table?
a. Create
b. Update
c.Alter
d. None of these
15)The Relational Model concern with
a)Data Structure & Data Integrity
b)Data Manipulation
c)Both a and b
d)None of these
16) Which key provides the basic tuple-level addressing mechanism in a relational
System ?
a) Candidate Key
b) Alternative Key
c) Primary Key
d) None of these
17) Any entity in A is associated with any number of entities in B, however an
entity in B is associated with almost one entity in A
a) One to One
b) Many to Many
c) Many to One
d) One to Many
18) Which of the following is not an integrity constraint?
a) not null
b) unique
c) identical
d) check
20) In a relation database, every tuples divided into the fields are known as
the______.
a. Queries
b. Domains
c. Relations
d. All of the above
21) Which of the following refers collection of the information stored in a database
at a specific time?
a. Independence
b. Instance of the database
c. Schema
d. Data domain
23) Which one of the following refers to the total view of the database content?
a. Conceptual view
b. Physical view
c. Internal view
d. External view
25) Which of the following levels is considered as the level closed to the end-
users?
a. Internal Level
b. External Level
c. Conceptual Level
d. Physical Level
26) Which one of the following is commonly used to define the overall design of
the database?
a. Application program
b. Data definition language
c. Schema
d. Source code
27) The 'NULL' represents
a.0
b.blank space
c.absence of any value
d.none of the above
28)Student(ID, name, dept name, tot_cred)
In this query which attribute form the primary key?
a) Name
b) Dept
c) Tot_cred
d) ID
A. data topple
B. data integrity
C. data inheritance
D. None of the above
30) An ________ is a set of entities of the same type that share the same
properties, or attributes.
A. Entity set
B. Attribute set
C. Relation set
D. Entity model
31) Which of the following is a single valued attribute?
A. Register_number
B. Address
C. SUBJECT_TAKEN
D. Reference
32) The attributes made up of more than one single attributes are called
A. Composite attribute
B. Derived attribute
C. Single value attribute
D. Multi value attribute
33) Which is the subset of SQL commands used to manipulate Oracle Database
structures, including tables?
A. RENAME
B. REVOKE
C. GRANT
D. UPDATE
35) Which requirements can be implemented using a CHECK constraint?
A. Master query
B. Sub query
C. Super query
D. Multi-query
47) Select the sequence for how the query mechanism works?
A. Authentication-> DDL->DML->query optimizer->output
B. DDL->DML->query optimizer-> Authentication->output
C. DML->query optimizer-> Authentication-> DDL-> output
D. All of the mentioned
48) Choose a data type to store weight of a person in kilograms with accuracy of 1
gram. As per wikipedia, Jon Brower Minnoch was the heaviest human ever
recorded with a weight of 635kg.
A. NUMBER(3,3)
B. NUMBER(3,2)
C. NUMBER(6,2)
D. NUMBER(6,3)