DBMS MCQs Gr8AmbitionZ
DBMS MCQs Gr8AmbitionZ
Akhil Arora
Powered by
www.Gr8AmbitionZ.com
your A to Z competitive exam guide
Q.1 In the relational modes, cardinality is termed as: (A) Number of tuples. (C) Number of tables. Ans: A Q.2 Relational calculus is a (A) Procedural language. (C) Data definition language. Ans: B Q.3 The view of total database content is (A) Conceptual view. (C) External view. Ans: A (B) Number of attributes.
8A m
Ans: B Cartesian product in relational algebra is a binary operator. (It requires two operands. e.g., P X Q) Q.5 DML is provided for
(A) Description of logical structure of database. (B) Addition of new structures in the database system.
Gr
(C) Manipulation & processing of database. (D) Definition of physical structure of database system.
bit
(D) not defined.
ion
Z. co
language commands as its name) Q.6 AS clause is used in SQL for (A) Selection operation. (C) Join operation. (B) Rename operation. (D) Projection operation.
Ans: B AS clause is used in SQL for rename operation. (e.g., SELECT ENO AS EMPLOYEE_NO FROM EMP) Q.7 ODBC stands for (A) Object Database Connectivity. (B) Oral Database Connectivity. (C) Oracle Database Connectivity. (D) Open Database Connectivity. Ans: D
Q.8 Architecture of the database can be viewed as (A) two levels. (C) three levels. Ans: C (B) four levels. (D) one level.
Q.9 In a relational model, relations are termed as (A) Tuples. (C) Tables. Ans:c (B) Attributes (D) Rows.
Gr
(A) HLL
(C) DDL
8A m
(B) DML (D) DCL
bit
ion
Z. co
Q.12 An entity set that does not have sufficient attributes to form a primary key is a (A) strong entity set. (C) simple entity set. Ans: B Q.13 In a Hierarchical model records are organized as (A) Graph. (C) Links. Ans: D (B) List. (D) Tree. (B) weak entity set. (D) primary entity set.
Q.15 In case of entity integrity, the primary key may be (A) not Null (B) Null
Gr
8A m
(D) P1 P2
bit
(B) square. (D) triangle. (D) any value.
ion
Z. co
to as the (A) DML (C) VDL Ans: A Q.18 A logical schema (A) is the entire database. (B) DDL (D) SDL
(B) is a standard way of organizing information into accessible parts. (C) describes how data is actually stored on disk. (D) both (A) and (C) Ans: A
Q.19 Related fields in a database are grouped to form a (A) data file. (B) data record. (C) menu. (D) bank.
Ans: B Related data fields in a database are grouped to form a data record.
Q.20 The database environment has all of the following components except: (A) users. (B) separate files. (D) database administrator.
Q.21 The language which has recently become the defacto standard for interfacing application programs with relational database system is
Gr
8A m
(B) SQL. (D) 4GL.
bit
ion
Z. co
Q.17 The language used in application programs to request data from the DBMS is referred
uses is a (A) module. (C) schema. Ans: D Q.23 In an E-R diagram an entity set is represent by a (A) rectangle. (C) diamond box. Ans: A Q.24 A report generator is used to (A) update files. (C) data entry. Ans: B (B) ellipse. (D) circle. (B) relational model. (D) sub schema.
(C) Data stored in a database is independent of the application programs using it. (D) All of the above. Ans: D
Q.26 The DBMS language component which can be embedded in a program is (A) The data definition language (DDL).
Gr
8A m
bit
ion
Z. co
Q.22 The way a particular application views the data from the database that the application
(A) a criteria. (B) a relation. (C) a tuple. (D) an attribute. Ans: C Q.28 The relational model feature is that there (A) is no need for primary key data.
(B) is much more data independence than some other database models. (C) are explicit relationships among records. (D) are tables with many dimensions. Ans: B Q.29 Conceptual design (A) is a documentation technique.
(C) involves modelling independent of the DBMS. (D) is designing the relational model. Ans:C
Q.30 The method in which records are physically stored in a specified order according to a key field in each record is (A) hash.
(C) sequential.
Ans: A A method in which records are physically stored in a specified order according to a key field in each record is hash.
Gr
(In hash method, a hash function is performed on the key value to determine the unique physical address of the record to store or retrieve)
8A m
bit
(B) direct. (D) all of the above.
(B) needs data volume and processing frequencies to determine the size of the database.
ion
Z. co
Ans: C A subschema expresses the external view. (External schemas are called also called as subschemas) Q.32 Count function in SQL returns the number of (A) values. (C) groups. (B) distinct values. (D) columns.
count only distinct values than the DISTINCT keyword is also to be used) Q.33 Which one of the following statements is false?
(B) Data elements in the database can be modified by changing the data dictionary. (C) The data dictionary contains the name and description of each data element.
Ans: B
Q.34 An advantage of the database management approach is (A) data is dependent on programs. (B) data redundancy increases.
(C) data is integrated and can be accessed by multiple programs. (D) none of the above.
Gr
Ans: C
8A m
(D) The data dictionary is a tool used exclusively by the database administrator.
bit
administrator.
ion
(Count function counts all the not null values in the specific column. If we want to
Z. co
(B) support in the development of complex applications software. (C) specify the structure of a database. (D) all of the above. Ans: D
Q.36 TrAnsaction processing is associated with everything below except (A) producing detail, summary, or exception reports. (B) recording a business activity. (C) confirming an action or triggering a response. (D) maintaining data. Ans: C
Q.37 It is possible to define a schema completely using (A) VDL and DDL. (B) DDL and DML. (C) SDL and DDL. (D) VDL and DML. Ans: B
(A) direct.
(A) data is defined separately and not included in programs. (B) programs are not dependent on the physical attributes of data.
Gr
(C) programs are not dependent on the logical attributes of data. (D) both (B) and (C).
8A m
(B) hash. (D) sequential.
bit
ion
Z. co
Q.41 E-R model uses this symbol to represent weak entity set ? (A) Dotted rectangle. (B) Diamond (C) Doubly outlined rectangle (D) None of these Ans: C Q.42 SET concept is used in : (A) Network Model (B) Hierarchical Model (C) Relational Model (D) None of these Ans: A
Gr
Q.44 Key to represent relationship between tables is called (A) Primary key (B) Secondary Key
8A m
for more materials visit us at www.Gr8AmbitionZ.com
bit
ion
Z. co
Q.40 The statement in SQL which allows to change the definition of a table is
Q.46 The file organization that provides very fast access to any arbitrary record of a file is (A) Ordered file (C) Hashed file Ans: C Q.47 DBMS helps achieve (A) Data independence (C) Neither (A) nor (B) Ans: D (B) Unordered file (D) B-tree
Q.48 Which of the following are the properties of entities? (A) Groups (C) Attributes Ans: C (B) Table
Q.49 In a relation
(A) Ordering of rows is immaterial (B) No two rows are identical (C) (A) and (B) both are true (D) None of these. Ans: C
Gr
8A m
bit
(D) Switchboards
ion
Z. co
(C) a SQL query will not work if there are no indexes on the relations (D) None of these Ans: D Q.51 It is better to use files than a DBMS when there are (A) Stringent real-time requirements. (B) Multiple users wish to access the data. (C) Complex relationships among data. (D) All of the above. Ans: B Q.52 The conceptual model is (A) dependent on hardware. (B) dependent on software.
Q.53 What is a relationship called when it is maintained between two entities? (A) Unary (B) Binary
Q.54 Which of the following operation is used if we are interested in only certain columns of a table?
Gr
8A m
(D) Quaternary
Ans: D
bit
(B) SELECTION (D) JOIN
ion
Z. co
Q.56 The RDBMS terminology for a row is (A) tuple. (C) attribute. Ans: A (B) relation. D) degree.
Q.59 Which of the following is an advantage of view? (A) Data security (B) Derived columns
Q.60 Which of the following is a legal expression in SQL? (A) SELECT NULL FROM EMPLOYEE;
Gr
(B) SELECT NAME FROM EMPLOYEE; (C) SELECT NAME FROM EMPLOYEE WHERE SALARY = NULL;
8A m
bit
(D) All of the above
ion
Q.57 Which of the following operations need the participating relations to be union compatible?
Z. co
Q.61 The users who use easy-to-use menu are called (A) Sophisticated end users. (C) Stand-alone users. Ans: B Q.62 Which database level is closest to the users? (A) External (C) Physical Ans: A (B) Internal (D) Conceptual (B) Nave users. (D) Casual end users.
Q.63 Which are the two ways in which entities can participate in a relationship? (A) Passive and active (C) Simple and Complex Ans: B (B) Total and partial (D) All of the above
Q.64 The result of the UNION operation between R1 and R2 is a relation that includes (A) all the tuples of R1 (B) all the tuples of R2
(D) all the tuples of R1 and R2 which have common columns Ans: D
Q.65 Which of the following is a comparison operator in SQL? (A) = (B) LIKE
Gr
8A m
bit
ion
Z. co
Ans: B
(D) domain.
Q.67 Which of the operations constitute a basic set of operations for manipulating relational data? (A) Predicate calculus (C) Relational algebra Ans:C Q.68 Which of the following is another name for weak entity? (A) Child (C) Dominant Ans: A (B) Owner (D) All of the above (B) Relational calculus (D) None of the above
(A) base table (C) view (D) none of the above Ans: C
(B) index
Q.70 NULL is
(C) the same as 0 for integer and blank for character (D) not a value Ans: D
Gr
8A m
bit
Q.69 Which of the following database object does not physically exist?
ion
Z. co
(A) attribute.
(B) degree.
Ans: A Q.72 A data dictionary is a special file that contains: (A) The name of all fields in all files. (B) The width of all fields in all files. (C) The data type of all fields in all files. (D) All of the above. Ans: D
a file key into a record location is : (A) B-Tree File (C) Indexed File Ans: B
Q.75 Using Relational Algebra the query that finds customers, who have a balance of over 1000 is
(A) PCustomer_name(s balance >1000(Deposit)) (B) s Customer_name(Pbalance >1000(Deposit)) (C) PCustomer_name(s balance >1000(Borrow))
Gr
8A m
bit
(B) Hashed File (D) Sequential file.
Q.74 The physical location of a record is determined by a mathematical formula that trAnsforms
ion
Q.73 A file manipulation command that extracts some of the records from a file is called
Z. co
(B) Many to many relationship between the tables that connect them. (C) Network model between the tables that connect them. (D) None of the above. Ans: A Q.77 In E-R Diagram derived attribute are represented by (A) Ellipse (C) Rectangle Ans B Q.78 Cross Product is a: (A) Unary Operator (C) Binary Operator Ans: C (B) Dashed ellipse (D) Triangle
Q.79 An instance of relational schema R (A, B, C) has distinct values of A including NULL values. Which one of the following is true?
Q.80 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: (A) mn (B) m+n
Gr
8A m
bit
(B) A is not a candidate key (D) Both (A) and (C) (D) 2(m+n)
ion
Z. co
(A) Parent-Child relation ship between the tables that connect them.
(C) Combination of selection and Cartesian product (D) Combination of projection and Cartesian product Ans: D Q.82 Which one of the following is not true for a view: (A) View is derived from other tables. (B) View is a virtual table.
(C) A view definition is permanently stored as part of the database. (D) View never contains derived columns. Ans: C
(C) Network model between the tables that connect them. (D) None of the above. Ans: A
Q.84 In E-R Diagram relationship type is represented by (A) Ellipse (B) Dashed ellipse (D) Diamond
Q.85 Hierarchical model is also called (A) Tree structure (B) Plex Structure
Gr
8A m
bit
(B) Many to many relationship between the tables that connect them.
ion
Z. co
(D) DELETE
Q.87 The ______ operator is used to compare a value to a list of literals values that have been specified. (A) BETWEEN (C) IN Ans: A Q.88 A logical schema A) is the entire database (B) ANY (D) ALL
B) is a standard way of organizing information into a accessible part C) describe how data is actually stored on disk D) none of these Ans: D
Q.90 _____________ function divides one numeric expression by another and returns the remainder.
Gr
Q.91 A data manipulation command the combines the records from one or more tables is called
8A m
(D) m/2
(A) m
(B) m+1
bit
(B) MOD (D) REMAINDER
ion
Z. co
(A) UPDATE
(B) DROP
Q.93 _________ is a virtual table that draws its data from the result of an SQL SELECT statement. (A) View (C) Sequence Ans: A (B) Synonym (D) TrAnsaction
(D) Sequential
(A) Join
Q.96 _________ data type can store unstructured data (A) RAW (B) CHAR
Gr
8A m
(B) Self Join (D) VARCHAR
bit
(A) Direct
(B) Hash
ion
Z. co
(D) PRODUCT