Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
43 views16 pages

DCM Module 1 MCQS

The document contains a series of multiple-choice questions related to the subject of Database Creation and Maintenance, covering topics such as database definitions, DBMS features, SQL commands, and database design principles. Each question includes options with correct answers indicated. The content is structured as a quiz format for educational assessment purposes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views16 pages

DCM Module 1 MCQS

The document contains a series of multiple-choice questions related to the subject of Database Creation and Maintenance, covering topics such as database definitions, DBMS features, SQL commands, and database design principles. Each question includes options with correct answers indicated. The content is structured as a quiz format for educational assessment purposes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 16

CENTURION UNIVERSITY OF TECHNOLOGY & MANAGEMENT

ANDHRA PRADESH

EXAMINATION CELL

SUBJECT NAME: Database Creation and Maintenance

SUBJECT CODE: CUTM1033

MODULE NO: 1
S. MCQ Image if any
NO
1 What is a database?

A Organized collection of information


that cannot be accessed, updated, and
managed

B Collection of data or information


without organizing

C Organized collection of data or YES


information that can be accessed,
updated, and managed

D Organized collection of data that


cannot be updated

2 Who created the first DBMS?

A Edgar Frank Codd

B Charles Bachman YES

C Charles Babbage

D Sharon B. Codd

3 Which of the following is not an


example of DBMS?

A MySQL

B Microsoft Acess

C IBM DB2

D Google YES

4 Which of the following is a feature of


the database?

A No-backup for the data stored

B User interface provided YES


C Lack of Authentication

D Store data in multiple locations

5 Which of the following is known as a


set of entities of the same type that
share same properties, or attributes?

A Relation set

B Tuples

C Entity set YES

D Entity Relation model

6 The values appearing in given


attributes of any tuple in the
referencing relation must likewise
occur in specified attributes of at least
one tuple in the referenced relation,
according to _____________________
integrity constraint.

A Referential YES

B Primary

C Referencing

D Specific

7 _____________ is a hardware
component that is most important for
the operation of a database
management system.

A Microphone

B High speed, large capacity disk to store YES


data

C High-resolution video display

D Printer
8 Which command is used to remove a
relation from an SQL?

A Drop table YES

B Delete

C Purge

D Remove

9 Which is primarily the result of a


thorough understanding of information
about an enterprise:

A Data

B Database

C Database design

D Data modeling YES

10 How many types of insertion


anomalies:

A 1

B 2 YES

C 3

D 4

11 Which is a bottom-up approach to


database design that design by
examining the relationship between
attributes:

A Functional dependency

B Database modeling

C Normalization YES

D Decomposition
12 Which of the following relationship
uses references to describe documents
between connected data?

A One-to-One Relationships with


Embedded Documents

B One-to-Many Relationships with YES


Embedded Documents

C One-to-Many Relationships with


Document References

D None of the mentioned

13 __________ define what records to


select for read, update, and delete
operations.

A Query optimizer

B Query selector YES

C Update definitions

D All of the mentioned

14 What is a relation in RDBMS?

A Key

B Table YES

C Row

D Data Types

15 Which of the following is the correct


output for the given query?

(SELECT databaseid

FROM RDBMS

WHERE SECTION = 'c')


EXCEPT

(SELECT databaseid

FROM RDBMS

WHERE id < 10);

A All the values of the databaseid for YES


which section is c and id > 10

B All the values of the databaseid for


which section not c and id > 10

C All the values of the databaseid for


which section is c and id < 10

D All the values of the databaseid for


which section not c and id < 10

16 If RDBMS1, RDBMS2, RDBMS3 are


attributes in a relation and S is another
relation, which of the following is an
incorrect specification of an integrity
constraint?

A foreign key(RDBMS1, RDBMS2) YES


B foreign key(RDBMS1, RDBMS2)
references S

C primary key(RDBMS1, RDBMS2,


RDBMS3)

D primary key(RDBMS1)

17 ________ deletes a data item from a


database.

A Insert(RDBMS)

B Drop(RDBMS)

C Delete(RDBMS) YES
D None of the mentioned
18 What is an Instance of a Database?

A The state of the database system at any YES


given point of time

B The entire set of attributes of the


Database put together in a single
relation

C The initial values inserted into the


Database immediately after its creation

D The logical design of the database


system

19 What is the format of entering date


into a database while inserting data
into it?

A “YYYY-MM-DD”

B YYYY-MM-DD

C “DD-MM-YYYY”

D ‘YYYY-MM-DD’ YES
20 Which statements are correct regarding
indexes?

A When a table is dropped, the


corresponding indexes are
automatically dropped

B For each DML operation performed,


the corresponding indexes are
automatically updated

C non-deferrable PRIMARY KEY or


UNIQUE KEY constraint in a table
automatically creates a unique index

D All of the mentioned YES


21 Which statement is true regarding
synonyms?

A Synonyms can be created for tables but


not views

B Synonyms are used to reference only


those tables that are owned by another
user

C A public synonym and a private YES


synonym can exist with the same name
for the same table

D The DROP SYNONYM statement


removes the synonym, and the status
of the table on which the synonym has
been created becomes invalid

22 DBMS is a set of __________ to


access the data.

A Codes

B Programs YES
C Information

D Metadata

23 The ______level helps application


programs hide the details of data types.

A physical

B logical

C user

D view YES
24 The actual content in the database at a
particular point.

A Schema
B Attribute

C Parameter

D Instance YES
25 SQL is _______

A Relational YES
B Network

C IMS

D Hierarchical

26 Which of the following is not a type of


database?

A Hierarchical

B Network

C Distributed

D Decentralized YES
27 Which of the following is a feature of
DBMS?

A Minimum Duplication and


Redundancy of Data

B High Level of Security

C Single-user Access only YES

D Support ACID Property

28 What is information about data called?

A Hyper data

B Tera data

C Meta data YES


D Relations

29 What does an RDBMS consist of?

A Collection of Records

B Collection of Keys

C Collection of Tables YES


D Collection of Fields

30 _______ indicates the maximum


number of entities that can be involved
in a relationship.

A Greater Entity Count

B Minimum cardinality

C Maximum cardinality YES


D ERD

31 The user IDs can be added or removed


using which of the following fixed
roles?

A db_sysadmin

B db_accessadmin YES
C db_securityadmin

D db_setupadmin

32 MFD stands for?

A Main File Directory

B Memory File Directory YES


C Master File Directory

D Master Format Directory

33 Files in which users store information?


A Info files

B Ordinary files YES


C Special files

D Complex files

34 The files that appear as entries in the


directories.

A Ordinary files

B Special files YES


C Duplicate files

D Sub directories

35 Which of the following is correct


about Oracle?

A Oracle is a relational database YES


management system

B Oracle was built in 1977

C OracleDB is another name for it

D All of the mentioned

36 What is Oracle database used for?

A Creating backup for data

B Accessing database servers

C Store and retrieve relevant data YES


D Both a & c

37 A new user on the database is created


by executing the following command:

SQL> CREATE USER user01


IDENTIFIED BY user01
DEFAULT TABLESPACE users

TEMPORARY TABLESPACE temp;

Then you granted the following


privileges to user01 by executing the
following command:

SQL> GRANT CREATE SESSION,


CREATE TABLE TO user01;

Which of the following is correct in


this scenario?

A The user cannot query any tables

B The user can not create tables

C The user can create tables YES


D None of the Mentioned

38 Which of the following RDBMS


supports full fledged client server
application development?

A FoxPro 2.1

B Ingress

C Oracle 7.1 YES


D dBase V

39 Which of the following command is


used to obtain the structure of an
Oracle table?

A DESC TABLE [TableName].

B STRUCTURE [TableName].

C DESCRIBE [TableName]. YES


D DESCRIBE STRUCTURE
[TableName].

40 OLAP stands for

A Online analytical processing YES


B Online analysis processing

C Online transaction processing

D Online aggregate processing

41 Data that can be modeled as dimension


attributes and measure attributes are
called _______ data.

A Multidimensional YES
B Singledimensional

C Measured

D Dimensional

42 The operation of moving from finer-


granularity data to a coarser
granularity (by means of aggregation)
is called a ________

A Rollup YES
B Drill down

C Dicing

D Pivoting

43 SELECT item name, color, clothes


SIZE, SUM(quantity)

FROM sales

GROUP BY rollup(item name, color,


clothes SIZE);

How many grouping is possible in this


rollup?

A 8

B 4 YES
C 2

D 1

44 If we wish to grant a privilege and to


allow the recipient to pass the privilege
on to other users, we append the
__________ clause to the appropriate
grant command.

A With grant

B Grant user

C Grant pass privelege

D With grant option YES


45 In authorization graph, if DBA
provides authorization to u1 which
inturn gives to u2 which of the
following is correct?

A If DBA revokes authorization from u1


then u2 authorization is also revoked

B If u1 revokes authorization from u2


then u2 authorization is revoked

C If DBA & u1 revokes authorization YES


from u1 then u2 authorization is also
revoked

D If u2 revokes authorization then u1


authorization is revoked

46 If we wish to grant a privilege and to


allow the recipient to pass the privilege
on to other users, we append the
__________ clause to the appropriate
grant command.

A With grant

B Grant user

C Grant pass privelege

D With grant option YES


47 The database administrator who
authorizes all the new users, modifies
the database and takes grants privilege
is

A Super user

B Administrator

C Operator of operating system

D All of the mentioned YES


48 What represents a ‘tuple’ in a
relational database?

A Table

B Row YES
C Column

D Object

49 Which is the MySQL instance


responsible for data processing?

A MySQL client

B MySQL server YES


C SQL

D Server daemon program

50 To execute the contents of a query file


‘exec.sql’ by feeding it to mysql,
which command is used?

A mysql exec.sql > sampdb

B mysql sampdb < exec.sql YES


C mysql exec.sql

D mysql exec

You might also like