300 Database MCQs
300 Database MCQs
(a) Relations
(b) Domains
(c) Queries
(d) All of above
ANSWER: B
(a) Users
(b) Separate files
(c) Database
(d) Queries language
ANSWER: B
None of above
ANSWER: B
ANSWER: D
(a) MIS
(b) Structure programing
(c) CODASY specification
(d) None of above
ANSWER: C
Choose the RDMS which supports full fledge client server application development
(a) Dbase v
(b) Oracle
(c) Foxpro 2.1
(d) Ingress
ANSWER: B
ANSWER: D
Which is the make given to the DBMS which is able to handle full text data image data audio and video
ANSWER: C
ANSWER: B
(a) Insert
(b) Modefiy
(c) Lookup
(d) None of above
ANSWER: B
A transparent DBMS
ANSWER: C
The language used application programs to request data from the DBMS is referred to as the
(a) DML
(b) DDL
(c) Query language
(d) Any of the above
ANSWER: A
ANSWER: B
ANSWER: A
ANSWER: A
(a) Rectangle
(b) Square
(c) Elpis
(d) Triangle
ANSWER: C
(a) Null
(b) Not null
(c) Both a and b
(d) Any value
ANSWER: A
(a) User s
(b) Sepreate files
(c) Database
(d) Database administrator
ANSWER: B
(a) A criteria
(b) A relation
(c) A tuple
(d) An attribute
ANSWER: C
ANSWER: B
Conceptual design is
ANSWER: C
The method in which record are physically stored in a spcifed order according to a key field in each
record is
(a) Hash
(b) Direct
(c) Squential
(d) All of the above
ANSWER: A
A subschema express
ANSWER: C
Count function in sql return number of
(a) Values
(b) Distinct values
(c) Groups
(d) Colmns
ANSWER: A
A logical shema is
ANSWER: B
ANSWER: B
ANSWER: C
ANSWER: D
A form defined
ANSWER: A
ANSWER: A
Relational calculus is a
ANSWER: B
ANSWER: A
ANSWER: B
ANSWER: D
(b) Update.
(a) Alter.
(c) Create.
(d) select.
Answer: B
The language which has recently become the defecto standard for interfacing application program’s
with relational database system is
(a) Oracle.
(b) SQL
(c) DBase
(d) 4GL
Answer: B
The Way a particular application views the data from the database application uses is a
(a) module.
(c) schema
Answer: D
(b) ellipse.
d) circle.
Answer: A
Answer: B
A n entity set that does not have sufficient attributes to form a primary key is a
Answer: B
(a) Graph
(b) List
(c) Links
(d) Tree.
Answer: D
Answer: B
All of above
Answer: D
Both a and b
Answer: D
Answer: B
Which of is correct:
(c) a SQL query will not work if there are indexes on the relations
Answer: D
Four levels
Answer: C
(a) rectangle
(b) Diamond
Answer: C
Answer: A
Answer: C
Answer: C
(b) Difference
(c) Intersection
(d) Product
Answer: C
The file organization that provides very fast access to any arbitrary record of a file is
Answer: C
(a) Tuples
(b) attributes
(c) tables
(d) rows
Answer: C
(a) HLL
(d) DCL
DDL
DML
Answer: C
Answer: C
(c) Neither a or b
(a) Groups
(b) Table
Attributes
Switched board
Answer: B
Which of the following hardware component is the most important to the operation of the database
management system
Answer: C
Answer: D
One data dictionary software package is called
(b) TOTAL
(c) ACCESS
Answer: A
Answer: C
What is the language used by most of the DBMSs for helping their users b access data?
(b) SQL
(c) Query
(d) 4GL
Answer: C
Answer: D
Answer: D
Answer: C
(a) dBaseIV
(b) 4th dimension
(c) Foxpro
(d) Reflex
Answer: D
You need to understand the low level details of how information stored
Both a and b
Answer: B
Both a and b
Answer: D
Answer: D
(a) Class
(b) Social Security Number
(c) GPA
Major
Answer: A
Answer: D
(a) Print
(b) Sort
(c) Look-up
Answer: B
Answer: B
Answer: D
(b) Binary
(c) Ternary
(d) Quaternary
Answer: B
Both a and b
Answer: A
Which of the following contains a complete record of all activity that affected the contents of a database
Answer: D
Answer: B
Which of the operation is used if we are interested only certain columns of a table?
(a) PROJECTION
(b) SELECTION
(c) UNION
(d) JOIN
Answer: A
(a) CHARACTER
(b) NUMERIC
(c) FLOAT
Answer: D
(a) tuple
(b) relation
(c) attributes
(d) Degree
Answer: A
(a) UNION
(b) INTERSECTION
(c) DIFFERENCE
(d) All of above
Answer: D
Answer: C
Which of the following is an advantage of view
ANSWER: D
ANSWER: B
ANSWER: B
(b) LIKE
(C) BETWEEN
ANSWER: D
(a) Attribute
(b) Degree
(c) Tuple
(d) Domain
ANSWER: C
Which of the operations constitute basic set of operations for manipulating relational data
ANSWER: C
(a) Child
(b) Owner
(c) Dominant
ANSWER: A
(b) index
(c) view
ANSWER: C
NULL is
ANSWER: D
(a) External
(b) Internal
(c) Physical
(d) Conceptual
ANSWER: A
Which are the two ways in which entities can participate in a relationship
ANSWER: B
The result of the union opertation between R1 and R2 is a relation that include
ANSWER:D
ANSWER: A
ANSWER: D
A file manipulation command that extracts some of the records from a file is called
(a) Select
(b) Project
(c) Join
(d) Product
ANSWER: A
The physical location of a record is determined by a mathematical formula that transforms a file key into
a record location is
ANSWER: B
Cross Product is a
ANSWER: C
An instance of relational schema R (A, B, C) has distinct values of A including NULL values. Which one of
the following is true
A is candidate key
A is a primery key
Both a and c
ANSWER: B
ANSWER: B
ANSWER: D
(a) Ellipse
(c) Rectangle
(d) Diamond
ANSWER: D
ANSWER: A
(a) UPDATE
(b) DROP
(C) ALTER
(d) DELETE
ANSWER: C
operator is used to compare a value to a list of literals values that have been specified
(a) between
(b) ANY
(c) IN
(d) ALL
ANSWER: A
Consider the join of a relation with relation S. If R has m tuples and S has n tuples, then the maximum
size of join is
(a) mn
(b) m+n
(c) (m+n)/2
(d) 2(m+n
ANSWER: A
A logical schema
ANSWER: B
Physical Level
ANSWER: B
ANSWER: D
(a) M
(b) M+1
(c) M-
(d) M/2
ANSWER: A
Function divides one numeric expression by another and returns the remainder
(a) POWER
(b) MOD
(c) ROUND
(d) REMAINDER
ANSWER: B
A data manipulation command the combines the records from one or more tables is called
(a) SELECT
(b) PROJECT
(c) JOIN
(d) PRODUCT
ANSWER: C
(a) Ellipse
(c) Rectangle
(d) Triangle
ANSWER: D
is a virtual table that draws its data from the result of a n SQL SELECT statement
(a) View
(b) Synonym
(c) Sequence
(d) Transaction
ANSWER: A
(a) Direct
(b) Hash
(c) Random
(d) Sequential
ANSWER: B
(a) Join
ANSWER: B
(a) RAW
(b) CHAR
(C) NUMERIC
(d) VARCHR
ANSWER: A
ANSWER: C
ANSWER: A
ANSWER: B
Data manipulation language enables user to
ANSWER: D
ANSWER:A
ANSWER: A
ANSWER:
ANSWER: D
(a) A Row
(b) A Table
(c) A Field
(d) A Column
ANSWER: A
(a) Table
(b) Relation
(c) Attributes
(d) Domain
ANSWER: C
(a) Relation
(b) Attributes
(c) Tuple
(d) Domain
ANSWER: A
(a) Select
(b) Union
(c) Rename
ANSWER: D
ANSWER: D
(a) Min
(b) Max
(c) Select
(d) Avg
ANSWER: C
Answer: `B
(a) Attributes
Answer: A
(a) Attributes
Relationship set
Answer: A
Answer: B
(a) Deletion
(b) Insertion
(c) Sorting
(d) Updating
Answer: C
If every non-key attributes is functionally depended on the primary key the relation will be in
Answer: C
Answer: D
Answer: B
Answer: A
(a) Stack
(b) Data Structure
(d) Query
Answer: D
Answer: C
Which SQL Query is use to remove a table and all its data from database
Answer: C
Answer: B
Answer: D
Answer: D
(a) First
(b) Second
(c) Third
(d) Fourth
Answer: D
(a) Table
(b) Schema
(c) Relation
Answer: D
Answer: C
(A) First
(b) Second
(c) Third
(d) BCNF
Answer: B
A functional dependency between two or more non-key attributes is called
Answer: A
A logical description of some portion of database that is required by a user to perform task is called as
Answer: B
(c) Both
(d) None
Answer: A
Answer: B
Answer: C
DBMS is a collection of that enables user to create and maintain a database
(a) Keys
(b) Translators
(c) Program
Answer: C
(a) Relations
(b) Domains
(c) Queries
Answer: B
Answer: B
(a) Insertion
(b) Deletion
(c) Update
Answer: D
A lock that allows concurrent transactions to access different rows of the same table is known as a
A type of query that is placed within a WHERE or HAVING clause of another query is called
(d) Multi-query
Answer: B
(a) Saved
(b) Loaded
(c) Rolled
(d) Committed
Answer: D
(a) Entity
(b) Attribute
(c) Relationship
(d) Notation
Answer: A
Answer: C
Answer: A
(a) SQL
(b) Nested
(c) System
Answer: C
______defines the structure of a relation which consists of a fixed set of attribute-domain pairs
(a) Instance
(b) Schema
c) Program
Answer: B
(a) Select
(b) Group-by
(c) Having
(d) Order by
Answer: C
A logical schema
Answer: B
Answer: C
(a) a criteria
(b) a relation
(c) a tuple
d) an attribute
Answer: C
(a) TOTAL
(b) COUNT
(c) ADD
(d) SUM
Answer: B
Answer: C
(a) Schema
(b) Instance of the database
(c) Data domain
(d) Independence
Answer: B
(a) schema
Answer: A
Answer: C
(a) DDL
(b) TCL
(C) DCL
(d) DML
Answer: C
Answer: D
(a) Alter
(b) Update
(c) Set
(d) Create
Answer: A
The candidate key is that you choose to identify each row uniquely is called
Answer: B
Answer: A
(a) NODUPLICATE
b) ELIMINATE
(C) DISTINCT
Answer: C
Answer: D
(a) Normalization
(b) Generalization
(c) Specialization
Answer: A
A_______ Does not have a distinguishing attribute if its own and mostly are dependent entities, which
are part of some another entity
Answer: A
(c) Predict
(d) Predicate
Answer: D
(a) Constraint
(b) Store procedure
(c) Triggers
(d) Cursors
Answer: A
(a) Master
(b) Model
(c) Temp db
Answer: B
One aspect that has to be dealt with by the integrity subsystem is to ensure that only valid values can be
assigned to each data items This is referred to as
Answer: D
_______ operator is basically a join followed by a project on the attributes of first relation
(a) Join
(b) Semi-Join
Answer: B
(a) Join
(b) Semi-Join
(c) Assignment
(d) Project
Answer: D
Centralizing the integrity checking directly under the DBMS Duplication and ensures the consistency and
validity of the database
(a) Increases
(b) Skips
(c) Does not reduce
(d) Reduces
Answer: D
The number of tuples in a relation is called its ___ while the number of attributes in a relation is called
its______
Answer: B
(a) Create
(b) Alter
(c) Drop
(d) All of above
Answer: D
(a) Complete
(b) Force
(c) Next
(d) Refresh
Answer: D
_______defines rules regarding the values allowed in columns and is the standard mechanism for
enforcing database integrity
(a) Column
(b) Constraint
(c) Index
(d) Trigger
Answer: B
For like predicate which of the following is true. I % matches zero of more characters. ii) _ matches
exactly one character
(a) I -only
(b) ii-only
Answer: C
In SQL, which command is used to issue multiple CREATE TABLE, CREATE VIEW and GRANT statements in
a single transaction
Answer: B
Answer: C
Which is the subset of SQL commands used to manipulate Oracle Database Structures, including tables
Answer: A
The SQL statement SELECT SUBSTR ('123456789', INSTR ('abcabcabc','b'), 4) FROM EMP; prints
(a) 6789
(b) 2345
(c) 1234
(d) 456789
Answer: B
Which of the following SQL command can be used to modify the data in a database table
(a) Modifey
(b) Update
(c) Change
(d) New
Answer: B
When SQL statements are embedded inside 3GL, we call such a program as
Answer: D
Which character function can be used to return a specified portion of a character string
(a) INSTR
(b) SUBSTRING
(C) SUBSTR
(d) POS
Answer: C
________provides option for entering SQL queries as execution time, rather than at the development
stage
(a) PL/SQL
(C) SQL
Answer: D
The language that requires a user to specify the data to be retrieved without specifying exactly how to
get it is
Answer: B
Answer: C
(a) RAW
(b) CHAR
(C) NUMERIC
(d) VARCHAR
Answer: A
(a) tuple
(b) relation
(c) attribute
(d) degree
Answer: A
(a) create
(b) insert
(c) alter
(d) update
Answer: D
Answer: C
Answer: B
(a) HHL
(b) DML
(c) DDL
(d) DCL
Answer: C
(a) Attributes
(b) Degree
(c) Tuple
(d) domain
Answer: D
The way a particular application views the data from the database that the application uses is a
(a) module
(c) schema
Answer: D
(a) Groups
(b) Table
(c) Attributes
(d) Switchboards
Answer: C
(a) External
(b) Internal
(c) Physical
(d) Conceptual
Answer: A
Which are the two ways in which entities can participate in a relationship
Answer: B
(d) normalizing
Answer: C
A _______ represents the number of entities to which another entity can be associated
(b) table
(c) schema
(d) information
Answer: A
Answer: C
(a) Programming
(b) Functioning
(c) Navigation
(d) Notification
Answer: C
Answer: D
The relational model is based on the concept that data is organized and stored in two dimensional table
called
Fields
Records
Relation
Keys
Answer: C
_ contains information that defines valid values that are stored in a column or data type.
(a) View
(b) Rule
(c) Index
(d) Default
Answer: C
Which of the syntax is correct for insert statement I) Insert into <table_name> values <list of values> ii)
insert into <table_name> (column list) values <list of values>
(a) i-only
(b) ii-only
Answer: C
(a) Edgar. W
Answer: A
Answer: B
Answer: D
(a) Outer
(b) Inner
(c) Equi
Answer: B
(C) In Predicate
(d) Out Predicate
Answer: A
Answer: C
(a) <>
(b) =
(c) <=
(d) =>
Answer: C
Answer: C
Answer: A
______ is a special type of stored procedure that is automatically invoked whenever the data in the
table is modified
(a) Procedure
(b) Trigger
(c) Curser
Answer: B
(b) Privacy
Security
None of these
ANSWER: C
allows individual row operation to be performed on a given result set or on the generated by a selected
by a selected statement
(a) Procedure
(b) Trigger
(c) Curser
Answer: C
(b) Information
(d) Source
Answer: B
is a utility to capture a. continuous record of server activity and provide auditing capability
Answer: B
(a) record
(b) title
(c) list
(d) string
Answer: A
Answer: B
_____ approach reduces time and effort required for design and lesser risk in database management
ANSWER: C
(a) Loading
(b) Backup
(c) File organization
(d) Process organization
Answer: B
Which contains information about a file needed by system programs for accessing file record
Answer: C
A_____ DBMS distributes processing task between the work station and network server
(a) Network
(b) Relational
(c) Client server
(d) Hierarchical
Answer: C
The is the one in which the primary key of one relation is used as a normal attribute in another relation
Answer: C
A____ integrity constraint requires that the values appearing in specified attributes of any tuple in the
referencing relation also appear in specified attributes of at least one tuple in the referenced relation.
(a) Referential
(b) Referencing
(c) Specific
(d) Primary
Answer: A
(a) Keys
(b) Translators
(c) Program
Answer: C
(a) Entity
(b) Attribute
(c) Relationship
(d) Notation
Answer: A
Answer: A
(a) Instance
(b) Schema
(c) Program
Answer:
(a) Select
(b) Group-by
(c) Having
(d) Order by
Answer: C
A logical schema
Answer: B
Answer: C
Answer: A
You can filter the display of different Access objects in navigation pane from
Answer: B
Answer: A
(a) SQL
(b) Nested
(c) System
(d) None of these
Answer: C
Software that define a database store the data supports a query language produces report and creates
data entry screens is a
Answer: B
Answer: B
Answer: A
(C) sysind
Answer: A
(a) Chain
(b) Network
(c) Tree
(d) Relational
Answer: A
(a) Constraints
(c) Triggers
(d) Cursors
Answer: A
(a) Subset of X
(b) Null set of X
(c) Super set of x
Answer: A
Answer: B
Answer: B
Answer: A
Answer: B
A a llows to make copies of the database periodically to help in the cases of crashes & disasters
Answer: B
(a) DML
(b) DCL
(c) DDL
(d) All of above
Answer: C
(a) Tuples
(b) Rows
(c) Bothe of them
(d) None of them
Answer: C
_____allows definition and query language statements to be entered query result are formatted and
displayed
The main task carried out in the _____is to remove reperting attributes to separate tableS
Answer: D
_______is the powerful language for working with DBMS
Answer: C
(a) Console
(b) Schema
(c) Table
(d) Object
Answer: C