Almost all MCQs of Computer

Database Management System DBMS Solved MCQs


DBMS Multiple Choice Questions with Answers

Hello Friends, this particular section is well focused on the Frequently asked; DBMS Multiple Choice Questions with Answers in the various competitive exam. the set of questions are very basic and easily understandable by reader. we have kept the question hardness level to very basic.
 

1.DBMS Stand for
  • Data base marginal system
  • Directory Based Memory Standard
  • Data Base Management System
  • Dual Bus Mask Storage
C. Data Base Management System
2.In the relational modes, cardinality is termed as:
  • Number of tuples.
  • Number of attributes.
  • Number of tables.
  • Number of constraints.
A. Number of tuples.
3.Relational calculus is a
  • Procedural language.
  • Non- Procedural language.
  • Data definition language.
  • High level language.
B. Non- Procedural language.
4.The view of total database content is
  • Conceptual view.
  • Internal view.
  • External view.
  • Physical View.
A. Conceptual view.
5.Cartesian product in relational algebra is
  • a Unary operator.
  • a Binary operator.
  • a Ternary operator.
  • not defined.
B. a Binary operator.
6.DML is provided for
  • Description of logical structure of database.
  • Addition of new structures in the database system.
  • Manipulation & processing of database.
  • Definition of physical structure of database system.
C. Manipulation & processing of database.
7.‘AS’ clause is used in SQL for
  • Selection operation.
  • Rename operation.
  • Join operation.
  • Projection operation.
B. Rename operation.
8.Architecture of the database can be viewed as
  • two levels.
  • four levels.
  • three levels.
  • one level.
C. three levels.
9.In a relational model, relations are termed as
  • Tuples
  • Attributes
  • Tables
  • Rows
C. Tables
10.The database schema is written in
  • HLL
  • DML
  • DDL
  • DCL
C. DDL

 

1.In case of entity integrity, the primary key may be
  • not Null
  • Null
  • both Null & not Null.
  • any value.
A. not Null
2.The language used in application programs to request data from the DBMS is referred to as the
  • DML
  • DDL
  • VDL
  • SDL
A. DML
3.A logical schema
  • is the entire database.
  • is a standard way of organizing information into accessible parts.
  • describes how data is actually stored on disk.
  • both (A) and (C)
A. is the entire database.
4.Related fields in a database are grouped to form a
  • data file.
  • data record.
  • menu
  • bank
B. data record.
5.The database environment has all of the following components except:
  • users
  • separate files.
  • database
  • database administrator.
A. users
6.The language which has recently become the defacto standard for interfacing application programs with relational database system is
  • Oracle
  • SQL
  • DBase
  • 4GL
B. SQL
7.In the architecture of a database system external level is the
  • physical level.
  • logical level.
  •  conceptual level
  • view level.
D. view level.
8.An entity set that does not have sufficient attributes to form a primary key is a
  • strong entity set.
  • weak entity set.
  • simple entity set.
  • primary entity set.
B. weak entity set.
9.In a Hierarchical model records are organized as
  • Graph
  • List
  • Links
  • Tree
D. Tree
10.In an E-R diagram attributes are represented by
  • rectangle
  • square
  • ellipse
  • triangle
C. ellipse

 1.Count function in SQL returns the number of

  • values
  • distinct values
  • groups
  • columns
A. values
2.It is possible to define a schema completely using
  • VDL and DDL.
  • DDL and DML.
  • SDL and DDL.
  • VDL and DML.
B. DDL and DML.
3.The statement in SQL which allows to change the definition of a table is
  • Alter
  • Update
  • Create
  • select
A. Alter
4.E-R model uses this symbol to represent weak entity set ?
  • Dotted rectangle.
  • Diamond
  • Doubly outlined rectangle
  • None of these
C. Doubly outlined rectangle
5.SET concept is used in :
  • Network Model
  • Hierarchical Model
  • Relational Model
  • None of these
A. Network Model
6.Relational Algebra is
  • Data Definition Language .
  • Meta Language
  • Procedural query Language
  • None of the above
C. Procedural query Language
7.The conceptual model is
  • dependent on hardware.
  • dependent on software.
  • dependent on both hardware and software .
  • independent of both hardware and software.
D. independent of both hardware and software.
8. What is a relationship called when it is maintained between two entities?
  • Unary
  • Binary
  • Ternary
  • Quaternary
B. Binary
9.Which of the following operation is used if we are interested in only certain columns of a table?
  • PROJECTION
  • SELECTION
  • UNION
  • JOIN
A. PROJECTION
10.Which of the following operations need the participating relations to be union compatible?
  • UNION
  • INTERSECTION
  • DIFFERENCEqq
  • All of the above
D. All of the above

 1.The full form of DDL is
  • Dynamic Data Language
  • Detailed Data Language
  • Data Definition Language
  • Data Derivation Language
C. Data Definition Language
2.Which of the following is an advantage of view?
  • Data security
  • Derived columns
  • Hiding of complex queries
  • All of the above
D. All of the above
3.Which of the following is a legal expression in SQL?
  • SELECT NULL FROM EMPLOYEE;
  • SELECT NAME FROM EMPLOYEE;
  • SELECT NAME FROM EMPLOYEE WHERE SALARY = NULL;
  • None of the above
B. SELECT NAME FROM EMPLOYEE;
4.A set of possible data values is called
  • attribute
  • degree
  • tuple
  • domain
D. domain
5.Which of the operations constitute a basic set of operations for manipulating relational data?
  • Predicate calculus
  • Relational calculus
  • Relational algebra
  • None of the above
C. Relational algebra
6.Which of the following is another name for weak entity?
  • Child
  • Owner
  • Dominant
  • All of the above
A. Child
7.Which of the following database object does not physically exist?
  • base table
  • index
  • view
  • none of the above
C. view
8.Which of the following is record based logical model?
  • Network Model
  • Object oriented model
  • E-R Model
  • None of these
A. Network Model
9.The natural join is equal to :
  • Cartesian Product
  • Combination of Union and Cartesian product
  • Combination of selection and Cartesian product
  • Combination of projection and Cartesian product
D. Combination of projection and Cartesian product
10.Which one of the following is not true for a view:
  • View is derived from other tables.
  • View is a virtual table.
  • A view definition is permanently stored as part of the database.
  • View never contains derived columns.
C. A view definition is permanently stored as part of the database.

 1.A primary key if combined with a foreign key creates
  • Parent-Child relationship between the tables that connect them.
  • Many to many relationship between the tables that connect them.
  • Network model between the tables that connect them.
  • None of the above.
A. Parent-Child relationship between the tables that connect them.
2.In E-R Diagram relationship type is represented by
  • Ellipse
  • Dashed ellipse
  • Rectangle
  • Diamond
D. Diamond
3.Hierarchical model is also called
  • Tree structure
  • Plex Structure
  • Normalize Structure
  • Table Structure
A. Tree structure
4.In E-R diagram generalization is represented by
  • Ellipse
  • Dashed ellipse
  • Rectangle
  • Triangle
D. Triangle
5._________ is a virtual table that draws its data from the result of an SQL SELECT statement.
  • View
  • Synonym
  • Sequence
  • TrAnsaction
A. View

 1.Natural join is equal to?

  • Cartesian Product
  • Combination of Union and Cartesian product
  • Combination of selection and Cartesian product
  • Combination of projection and Cartesian product
D. Combination of projection and Cartesian product
2.Which one of the following is not true for a view:
  • View is derived from other tables.
  • View is a virtual table.
  • A view definition is permanently stored as part of the database.
  • View never contains derived columns.
C. A view definition is permanently stored as part of the database.
3.A primary key if combined with a foreign key creates
  • Parent-Child relationship between the tables that connect them.
  • Many to many relationship between the tables that connect them.
  • Network model between the tables that connect them.
  • None of the above.
A. Parent-Child relationship between the tables that connect them.
4.In E-R Diagram relationship type is represented by
  • Ellipse
  • Dashed ellipse
  • Rectangle
  • Diamond
D. Diamond
5.A Dada manipulation command the combines the records from one or more tables is called
  • SELECT
  • PROJECT
  • JOIN
  • PRODUCT
C. JOIN
6.To delete a particular column in a relation the command used is:
  • UPDATE
  • DROP
  • ALTER
  • DELETE
C. ALTER
7.The ______ operator is used to compare a value to a list of literals values that have been specified
  • BETWEEN
  • ANY
  • IN
  • ALL
A. BETWEEN
8.A logical schema
  • is the entire database
  • is a standard way of organizing information into a accessible part
  • describe how data is actually stored on disk
  • none of these
D. none of these
9.A B-tree of order m has maximum of _____________ children
  • m
  • m+1
  • m-1
  • m/2
A. m
10._____________ function divides one numeric expression by another and returns the remainder
  • POWER
  • MOD
  • ROUND
  • REMAINDER
B. MOD

 
1.In E-R diagram generalization is represented by
  • Ellipse
  • Dashed ellipse
  • Rectangle
  • Triangle
D. Triangle
2._________ is a virtual table that draws its data from the result of an SQL SELECT statement.
  • View
  • Synonym
  • Sequence
  • TrAnsaction
A. View
3.The method of access which uses key trAnsformation is known as
  • Direct
  • Hash
  • Random
  • Sequential
B. Hash
4.A table joined with itself is called
  • Join
  • Self Join
  • Outer Join
  • Equi Join
B. Self Join

 
1.The language which has recently become the defacto standard for interfacing application programs with relational database system is
  • Oracle
  • SQL
  • DBase
  • 4GL
B. SQL
2.The way a particular application views the data from the database that the application uses is a
  • module
  • relational model.
  • schema
  • sub schema
D. sub schema
3.In an E-R diagram an entity set is represent by a
  • rectangle
  • ellipse
  • diamond box.
  • circle
A. rectangle
4.A report generator is used to
  • update files.
  • print files on paper
  • data entry
  • delete files
B. print files on paper
5.The property / properties of a database is / are :
  •  It is an integrated collection of logically related records.
  • It consolidates separate files into a common pool of data records.
  • Data stored in a database is independent of the application programs  using it.
  • All of the above.
D. All of the above.
6.The DBMS language component which can be embedded in a program is
  • The data definition language (DDL).
  • The data manipulation language (DML).
  • The database administrator (DBA).
  • A query language
B. The data manipulation language (DML).
7.A relational database developer refers to a record as
  • a criteria
  • a relation
  • a tuple
  • an attribute
C. a tuple
8.The relational model feature is that there
  • is no need for primary key data.
  • is much more data independence than some other database models
  • are explicit relationships among records.
  • are tables with many dimensions.
B. is much more data independence than some other database models
9.Conceptual design
  • is a documentation technique.
  • needs data volume and processing frequencies to determine the size of the database.
  • involves modelling independent of the DBMS.
  • is designing the relational model.
C. involves modelling independent of the DBMS.
10.The method in which records are physically stored in a specified order according to a key field in each record is
  • hash
  • direct
  • sequential
  • all of the above
A. hash

 
1.A subschema expresses
  • the logical view.
  • the physical view.
  • the external view.
  • all of the above
C. the external view.
2.Count function in SQL returns the number of
  • values
  • distinct values.
  • groups
  • columns
A. values
3.Which one of the following statements is false?
  • The data dictionary is normally maintained by the database administrator.
  • Data elements in the database can be modified by changing the data dictionary.
  • The data dictionary contains the name and description of each data element.
  • The data dictionary is a tool used exclusively by the database administrator.
B. Data elements in the database can be modified by changing the data dictionary.
4.An advantage of the database management approach is
  • data is dependent on programs.
  • data redundancy increases.
  •  data is integrated and can be accessed by multiple programs
  • None
C.  data is integrated and can be accessed by multiple programs
5.A DBMS query language is designed to
  • support end users who use English-like commands
  • support in the development of complex applications software.
  • specify the structure of a database.
  • all of the above.
D. all of the above.
6.TrAnsaction processing is associated with everything below except
  • producing detail, summary, or exception reports.
  • recording a business activity.
  • confirming an action or triggering a response.
  • maintaining data.
C. confirming an action or triggering a response.
7.It is possible to define a schema completely using
  • VDL and DDL.
  • DDL and DML.
  • SDL and DDL.
  • VDL and DML.
B. DDL and DML.
8.The method of access which uses key trAnsformation is known as
  • direct
  • hash
  • random
  • sequential
B. hash
9.Data independence meAns
  • data is defined separately and not included in programs.
  • programs are not dependent on the physical attributes of data.
  • programs are not dependent on the logical attributes of data
  • both (B) and (C).
D. both (B) and (C).
10.The statement in SQL which allows to change the definition of a table is
  • Alter
  • Update
  • Create
  • select
A. Alter

 
1.E-R model uses this symbol to represent weak entity set ?
  • Dotted rectangle.
  • Diamond
  • Doubly outlined rectangle
  • None of these
C. Doubly outlined rectangle
2.SET concept is used in :
  • Network Model
  • Hierarchical Model
  • Relational Model
  • None of these
A. Network Model
3.Relational Algebra is
  • Data Definition Language
  • Meta Language
  • Procedural query Language
  • None of the above
C. Procedural query Language
4.Key to represent relationship between tables is called
  • Primary key
  • Secondary Key
  • Foreign Key
  • None of these
C. Foreign Key
5._______ produces the relation that has attributes of R1 and R2
  • Cartesian product
  • Difference
  • Intersection
  • Product
A. Cartesian product
6.The file organization that provides very fast access to any arbitrary record of a file is
  • Ordered file
  • Unordered file
  • Hashed file
  • B-tree
C. Hashed file
7.DBMS helps achieve
  • Data independence
  • Centralized control of data
  • Neither (A) nor (B)
  • both (A) and (B)
D. both (A) and (B)
8.Which of the following are the properties of entities?
  • Groups
  • Table
  • Attributes
  • Switchboards
C. Attributes
9.In a relation
  • Ordering of rows is immaterial
  • No two rows are identical
  • (A) and (B) both are true
  • None of these.
C. (A) and (B) both are true
10.Which of the following is correct:
  • a SQL query automatically eliminates duplicates.
  • SQL permits attribute names to be repeated in the same relation.
  • a SQL query will not work if there are no indexes on the relations
  • None of these
D. None of these

 
1.It is better to use files than a DBMS when there are
  • Stringent real-time requirements.
  • Multiple users wish to access the data.
  • Complex relationships among data.
  • All of the above.
B. Multiple users wish to access the data.
2.The conceptual model is
  • dependent on hardware.
  • dependent on software.
  • dependent on both hardware and software .
  • independent of both hardware and software.
D. independent of both hardware and software.
3.What is a relationship called when it is maintained between two entities?
  • Unary 
  • Binary
  • Ternary 
  • Quaternary
B. Binary
4.Which of the following operation is used if we are interested in only certain columns of a table?
  • Projection
  • SELECTION
  • UNION
  • JOIN
A. Projection
5.Which of the following is a valid SQL type?
  • CHARACTER 
  • NUMERIC
  • FLOAT 
  • All of the above
D. All of the above
6.The RDBMS terminology for a row is
  • tuple
  • relation
  • attribute
  • degree
A. tuple
7.Which of the following operations need the participating relations to be union compatible?
  • UNION 
  • INTERSECTION
  • DIFFERENCEqq 
  • All of the above
D. All of the above
8.The full form of DDL is
  • Dynamic Data Language
  • Detailed Data Language
  • Data Definition Language
  • Data Derivation Language
C. Data Definition Language
9.Which of the following is an advantage of view?
  • Data security
  • Derived columns
  • Hiding of complex queries
  • All of the above
D. All of the above
10.Which of the following is a legal expression in SQL?
  • SELECT NULL FROM EMPLOYEE;
  • Select name from employee
  • Select name from employee WHERE SALARY = NULL;
  • None of the above
B. Select name from employee

 

1.The users who use easy-to-use menu are called
  • Sophisticated end users
  • Naïve users
  • Stand-alone users.
  • Casual end users.
B. Naïve users
2.Which database level is closest to the users?
  • External 
  • Internal
  • Physical 
  • Conceptual
A. External 
3.Which are the two ways in which entities can participate in a relationship?
  • Passive and active
  • Total and partial
  • Simple and Complex
  • All of the above
B. Total and partial
4.The result of the UNION operation between R1 and R2 is a relation that includes
  • all the tuples of R1
  • all the tuples of R2
  • all the tuples of R1 and R2
  • all the tuples of R1 and R2 which have common columns
D. all the tuples of R1 and R2 which have common columns
5.Which of the following is a comparison operator in SQL?
  • =
  • LIKE
  • BEtween
  • ALL
D. ALL
6.A set of possible data values is called
  • attribute
  • degree
  • tuple
  • domain
D. domain
7.Which of the operations constitute a basic set of operations for manipulating relational data?
  • Predicate calculus
  • Relational calculus
  • Relational algebra
  • None of the above
C. Relational algebra
8.Which of the following is another name for weak entity?
  • Child 
  • Owner
  • Dominant 
  • All of the above
A. Child 
9.Which of the following database object does not physically exist?
  • base table
  • index
  • view
  • none of the above
C. view
10.NULL is
  • the same as 0 for integer
  • the same as blank for character
  •  the same as 0 for integer and blank for character
  • Not a value
D. Not a value



1.which of the following is record based logical model?
  • Network Model
  • Object oriented model
  • E-R Model
  • None of these
A. Network Model
2.A data dictionary is a special file that contains:
  • The name of all fields in all files.
  • The width of all fields in all files.
  • The data type of all fields in all files.
  • All of the above.
D. All of the above.
3.A file manipulation command that extracts some of the records from a file is called
  • SELECT
  • PROJECT
  • JOIN
  • PRODUCT
A. SELECT
4.The physical location of a record is determined by a mathematical formula that trAnsforms a file key into a record location is :
  • B-Tree File
  • Hashed File
  • Indexed File
  • Sequential file.
B. Hashed File
5.A primary key is combined with a foreign key creates
  • Parent-Child relation ship between the tables that connect them.
  • Many to many relationship between the tables that connect them.
  •  Network model between the tables that connect them.
  • None of the above.
A. Parent-Child relation ship between the tables that connect them.
6.In E-R Diagram derived attribute are represented by
  • Ellipse
  • Dashed ellipse
  • Rectangle
  • Triangle
B. Dashed ellipse
7.Cross Product is a:
  • Unary Operator
  • Ternary Operator
  • Binary Operator
  • Not an operator
C. Binary Operator
8.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 a candidate key
  • A is not a candidate key
  • A is a primary Key
  • Both (A) and (C)
B. A is not a candidate key
9.Consider the join of a relation R with relation S. If R has m tuples and S has n tuples, then the maximum size of join is ?
  • MN
  • M+N
  • (M+N)/2
  • 2(M+N)
A. MN

 

Post a Comment

[facebook]

MKRdezign

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget