DATABASE MANAGEMENT SYSTEMS
TYPICAL QUESTIONS & ANSWERS
OBJECTIVE TYPE QUESTIONS
Each question carries 2 marks. Choose the correct or best alternative in the following: Q.1 In the relational modes, cardinality is termed as: (A) Number of tuples. (B) Number of attributes. (C) Number of tables. (D) Number of constraints. 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 Q.4 Cartesian product in relational algebra is (A) a Unary operator. (B) a Binary operator. (C) a Ternary operator. (D) not defined. 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. (C) Manipulation & processing of database. (D) Definition of physical structure of database system. Ans: C DML is provided for manipulation & processing of database. (Data stored in the database is processed or manipulated using data manipulation language commands as its name) (B) Internal view. (D) Physical View. (B) Non- Procedural language. (D) High level language.
DC10 Q.6 ‘AS’ clause is used in SQL for (A) Selection operation. (C) Join operation.
DATABASE MANAGEMENT SYSTEMS (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. (B) four levels. (C) three levels. (D) one level. Ans: C Q.9 In a relational model, relations are termed as (A) Tuples. (B) Attributes (C) Tables. (D) Rows. Ans: Q.10 The database schema is written in (A) HLL (C) DDL Ans: C Q.11 In the architecture of a database system external level is the (A) physical level. (B) logical level. (C) conceptual level (D) view level. Ans: D Q.12 An entity set that does not have sufficient attributes to form a primary key is a (A) strong entity set. (B) weak entity set. (C) simple entity set. (D) primary entity set. Ans: B Q.13 In a Hierarchical model records are organized as (A) Graph. (B) List. (C) Links. (D) Tree. 2 (B) DML (D) DCL
DC10 Ans: D Q.14
DATABASE MANAGEMENT SYSTEMS
In an E-R diagram attributes are represented by (A) rectangle. (B) square. (C) ellipse. (D) triangle. Ans: C
In case of entity integrity, the primary key may be (A) not Null (B) Null (C) both Null & not Null. (D) any value. Ans: A
In tuple relational calculus P1 → P2 is equivalent to (B) P1 ∨ P2 (A) ¬P1 ∨ P2 (D) P1 ∧ ¬P2 (C) P1 ∧ P2 Ans: A In tuple relational calculus P1 (The logical implication expression A P2 is equivalent to ¬P1 ∨ P2. B, meaning if A then B,is equivalent to ¬A ∨ B)
The language used in application programs to request data from the DBMS is referred to as the (A) DML (B) DDL (C) VDL (D) SDL Ans: A
A logical schema (A) is the entire database. (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
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. (A record is a collection of related fields)
The database environment has all of the following components except: (A) users. (B) separate files. (C) database. (D) database administrator. Ans: A 3
DATABASE MANAGEMENT SYSTEMS The language which has recently become the defacto standard for interfacing application programs with relational database system is (A) Oracle. (B) SQL. (C) DBase. (D) 4GL. Ans: B