Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 18

INTRODUCTION TO DBMS

Q1) FILL IN THE BLANKS:

1. ___________is collection of interrelated data which helps in efficient retrieval,


inserting and deleting of data.
2. A _________is often abbreviated as DB, is a collection of information organized in
such a way that a computer program can quickly select desired pieces of data.
3. A _____________is a software for creating and managing databases.
4. The ___________provides users and programmers with a systematic way to
create, retrieve, update and manage data.
5. _______________stores data in such a way that it becomes easier to retrieve,
manipulate, and update information.
6. Examples of popular ___________are MySQL, PostgreSQL, Access, Oracle, SQL
Server, IBM, DB2 and Sybase.
7. The ___________rule in a database means only the authorized users can access a
database according to its privacy constraints.
8. ______________ is designed according to certain rules.
9. The logical structure of a database is called as ___________.
10. __________________ automatically takes care of backup and recovery.
11. ____________ reduces application development and maintenance time.
12. ___________ means that the data is accurate and consistent in the database.
13. __________ is very important as there are multiple databases in a DBMS.
14. _______________ is vital concept in a database.
15. Only _____________ should be allowed to access the database and their identity
should be authenticated using a username and password.
16. ________________ should not be allowed to access the database under any
circumstances as it violates the integrity constraints.
17. ____________ Holds a fixed length string (can contain letters, numbers, and
special characters).
18. In __________ fixed size is specified in parenthesis.
19. ___________ Holds a variable length string (can contain letters, numbers, and
special characters).
20. In _______________ maximum size is specified in parenthesis.
21. _______________ can represent numbers with or without the fractional part.
22. ______________is used for storing integer values.

1
23. ______________holds the date including day, month and year.
24. ______________ holds time. Format: HH:MM: SS.
25. ______________ define how a data is connected to each other and how they are
processed and stored inside the system.
26. _____________ describes the method of storing and retrieving the data.
27. The most popular model in DBMS is the __________________.
28. _____________ is the primary data model, which is used widely around the world
for data storage and processing.
29. ________________ is simple and has all the properties and capabilities required
to process data with storage efficiency.
30. Transactions have the following four standard properties, usually referred to by
the acronym _______________.
31. A _______________ is a unit of work that is performed against a database.
32. RDBMS stands for _________________________.
33. __________________ ensures that all operations within the work unit are
completed successfully.
34. ________________ ensures that the database properly changes states upon a
successfully committed transaction.
35. _______________ enables transactions to operate independently of and
transparent to each other.
36. ________________ ensures that the result or effect of a committed transaction
persists in case of a system failure.
37. A __________________ is a basic unit of storage in a relational database.
38. _________________consists of rows and columns.
39. A ______________ consists of information which is stored under different
headings, called as fields or columns.
40. _________________are shown vertically in a table. Each field or column has an
individual name.
41. A ________________is composed of fields and contains all the data about one
particular person, company, or item in a database.
42. Record is also called as _______________.
43. A column or a combination of columns which can be used to identify one or more
rows (tuples) in a table is called a _______________ of the table.
44. The group of one or more columns used to uniquely identify each row of a
relation is called its ___________________.

2
45. _______________ is a field (or collection of fields) in one table that refers to the
Primary Key in another table.
46. ________________link data from individual tables to increase the usefulness of
the database.
47._____________, one record in a table is associated with one and only one record
in another table.
48. ___________ can also be viewed as Many-to-One relationships.
49. A _______________ occurs when multiple records in a table are associated with
multiple records in another table.
50. SQL stands for ______________________.
51. ______________is Structured Query Language, which is a computer language for
storing, manipulating and retrieving data stored in a relational database.
52. ___________ is the standard language for Relational Database Management
System.
53. All relational database management systems like MySQL, Base, Oracle, Sybase,
Informix, PostgreSQL and SQL Server use ______________ as standard database
language.
54. ___________ became a standard of the American National Standards Institute
(ANSI) in 1986, and of the International Organization for Standardization (ISO) in
1987.
55. _____________ statements or commands are used to define and modify the
database structure of your tables or schema.
56. _____________ statements or commands are used for managing data within
tables.
57. ___________ is used to control user access in a database. it is related to security
issue. it is also deals with the rights and permissions of the database access.
58. _______________ command creates a new table.
59. ___________________ command modifies a table.
60. ________________ DROP DATABASE command deletes a table or Database.
61. ______________ command Extracts data from a table.
62. ____________ command Updates data in a table.
63. ______________ command Deletes data from a table.
64. ______________ command Insert data into a table.
65. _____________ command provide access or privileges on the database objects.
66. _________________ command remove access rights or privileges on the
database object.
67. _____________ is used in various fields like railway, library, schools, colleges,
credit transactions, banking.
3
68. Benefits of ____________ are data sharing, data integrity, security, consistency,
recovery.
69. _____________ in database are one to one, one to many or (many to one) &
many to many.
70. Categories of ____________ Commands are DDL, DML and DCL.
Q.2 STATE TRUE OR FALSE

1. Table is collection of interrelated data which helps in efficient retrieval,


inserting and deleting of data.

2. A database is often abbreviated as DB, is a collection of information organized


in such a way that a computer program can quickly select desired pieces of data.

3. A Database Management System (DBMS) is a software for creating and


managing databases.

4. The MS-Excel provides users and programmers with a systematic way to create,
retrieve, update and manage data.

4. MS-Excel stores data in such a way that it becomes easier to retrieve, manipulate,
and update information.

5. Examples of popular DBMS are MySQL, PostgreSQL, Access, Oracle, SQL Server,
IBM, DB2 and Sybase.

6. The privacy rule in a database means only the authorized users can access a
database according to its privacy constraints.

7. TABLE is designed according to certain rules.

8. The logical structure of a database is called as model.

9. Database Management System automatically takes care of backup and


recovery.

10. DBMS reduces application development & maintenance time.

11. Data redundancy means that the data is accurate and consistent in the
database.

4
12. Data Integrity is very important as there are multiple databases in a DBMS.

13. Data redundancy is vital concept in a database.

14. Unauthorised users should be allowed to access the database.

15. Unauthorised users should not be allowed to access the database under any
circumstances as it violates the integrity constraints.

16. CHAR Holds a fixed length string (can contain letters, numbers, and special
characters).

17. In CHAR fixed size is specified in parenthesis.

18. VARCHAR Holds a variable length string (can contain letters, numbers, and
special characters).

19. In VARCHAR maximum size is specified in parenthesis.

20. DECIMAL can represent numbers with or without the fractional part.

21. INT is used for storing integer values.

22. DATE holds the date including day, month and year.

23. TIME () It holds time. Format: HH:MM: SS.

24. Data models define how a data is connected to each other and how they are
processed and stored inside the system.

25. Data models describes the method of storing and retrieving the data.

26. The most popular model in DBMS is the Relational model.

27. Relational data model is the primary data model, which is used widely around
the world for data storage and processing.

28. Relational data model is simple and has all the properties and capabilities
required to process data with storage efficiency.

5
29. Transactions have the following four standard properties, usually referred to by
the acronym ACID.

30. A transaction is a unit of work that is performed against a database.

31. RDBMS stands for Relational Database Management System.

32. Atomicity ensures that all operations within the work unit are completed
successfully.

33. Consistency ensures that the database properly changes states upon a
successfully committed transaction.

34. Isolation enables transactions to operate independently of and transparent to


each other.

36. Durability ensures that the result or effect of a committed transaction persists
in case of a system failure

37. A table is a basic unit of storage in a relational database.

38. Table consists of rows and columns.

39. A table consists of information which is stored under different headings, called
as fields or columns.

40. Columns are shown vertically in a table. Each field or column has an individual
name.

41. A Record is composed of fields and contains all the data about one particular
person, company, or item in a database.

42. Record is also called as Tuple.

43. A column or a combination of columns which can be used to identify one or


more rows (tuples) in a table is called a key of the table.

44. The group of one or more columns used to uniquely identify each row of a
relation is called its Primary Key.

6
45. Foreign Key is a field (or collection of fields) in one table that refers to the
Primary Key in another table.

46. Relationships link data from individual tables to increase the usefulness of the
database.

47. In a one-to-one relationship, one record in a table is associated with one and
only one record in another table.

48. One-to-Many relationships can also be viewed as Many-to-One relationships.

49. A many-to-many relationship occurs when multiple records in a table are


associated with multiple records in another table.

50. SQL stands for structured query language.

51. SQL is Structured Query Language, which is a computer language for storing,
manipulating and retrieving data stored in a relational database.

52. SQL is the standard language for Relational Database Management System.

53. All relational database management systems like MySQL, Base, Oracle, Sybase,
Informix, PostgreSQL and SQL Server use SQL as standard database language.

54. SQL became a standard of the American National Standards Institute (ANSI) in
1986, and of the International Organization for Standardization (ISO) in 1987.

58. DDL statements or commands are used to define and modify the database
structure of your tables or schema.

59. DDL statements or commands are used to define and modify the database
structure of your tables or schema.

60. Data Manipulation Language (DML) statements or commands are used for
managing data within tables.

61. DDL is used to control user access in a database. It is related to security issue. It
is also deals with the rights and permissions of the database access.

62. CREATE TABLE command creates a new table.


7
63. ALTER TABLE command modifies a table.

64. DROP TABLE DROP DATABASE command deletes a table or Database.

65. SELECT command Extracts data from a table.

66. UPDATE command Updates data in a table.

67. DELETE command Deletes data from a table.

68. INSERT INTO command Insert data into a table.

69. GRANT to command provide access or privileges on the database objects.

70. REVOKE to command remove access rights or privileges on the database object.

Q3) CHOOSE CORRECT SINGLE ALTERNATIVES:

1. _______ is collection of interrelated data which helps in efficient retrieval,


inserting and deleting of data.
a. Database b. Table c. DBMS d. RDBMS

2. A ____________ is often abbreviated as DB, is a collection of information


organized in such a way that a computer program can quickly select desired pieces of
data.
a. Database b. Table c. DBMS d. RDBMS

3. A ____________ is a software for creating and managing databases.


a. Database b. Table c. DBMS d. RDBMS

4. The ______________ provides users and programmers with a systematic way to


create, retrieve, update and manage data.
a. Database b. Table c. DBMS d. RDBMS

5. _____________ stores data in such a way that it becomes easier to retrieve,


manipulate, and update information.
a. Database b. Table c. Query d. RDBMS

8
6. Examples of popular _________________ are MySQL, PostgreSQL, Access, Oracle,
SQL Server, IBM, DB2 and Sybase.
a. Database b. Table c. DBMS d. RDBMS

7. The privacy rule in a __________means only the authorized users can access a
database according to its privacy constraints.
a. Database b. Table c. RDBMS d. DBMS

8. _________________ is designed according to certain rules.


a. Database b. Table c. DBMS d. RDBMS

9. The logical structure of a database is called as _______.


a. Model b. Table c. Query d. Form

10. ________________automatically takes care of backup and recovery.


a. Database Management System b. Database c. RDBMS d. Table

11. _____________ reduces application development and maintenance time.


a. Database b. Table c. DBMS d. RDBMS

12. _______________means that the data is accurate and consistent in the database.
a. Data integrity b. Data Security c. Data Redundancy d. Data Abstraction

13. _____________ is very important as there are multiple databases in a DBMS.


a. Data integrity b. Data Security c. Data Redundancy d. Data
Abstraction

14. ______________ is vital concept in a database.


a. Data integrity b. Data Security c. Data Redundancy d. Data Abstraction

15. Only authorised users should be allowed to access the _____________ and their
identity should be authenticated using a username and password.
a. Database Management System b. Database c. RDBMS d. Table

16. Unauthorised users should not be allowed to access the ____________ under any
circumstances as it violates the integrity constraints.
a. Database Management System b. Database c. RDBMS d. Table

9
17. ____________ Holds a fixed length string (can contain letters, numbers, and
special characters).
a. DECIMAL b. DATE c. VARCHAR d. CHAR

18. In _____________fixed size is specified in parenthesis.


a. DECIMAL b. DATE c. VARCHAR d. CHAR

19. __________ Holds a variable length string (can contain letters, numbers, and
special characters).
a. DECIMAL b. DATE c. VARCHAR d. CHAR
20. In _______________ maximum size is specified in parenthesis.
a. DECIMAL b. DATE c. VARCHAR d. CHAR

21. ________________can represent numbers with or without the fractional part.


a. DECIMAL b. DATE c. VARCHAR d. CHAR

22. ___________________ is used for storing integer values.


a. DECIMAL b. INT c. VARCHAR d. CHAR

23. _________________ holds the date including day, month and year.
a. DECIMAL b. INT c. VARCHAR d. DATE

24. _______________ holds time. Format: HH:MM: SS.


a. DATE b. INT c. VARCHAR d. TIME

25. _____________models define how a data is connected to each other and how
they are processed and stored inside the system.
a. Data b. Relational c. Network d. Hierarchical

26. _____________ model describe the method of storing and retrieving the data.
a. Data b. Relational c. Network d. Hierarchical

27. The most popular model in DBMS is the _________________model.


a. Data b. Relational c. Network d. Hierarchical

28. ________________ data model is the primary data model, which is used widely
around the world for data storage and processing.
a. Data b. Relational c. Network d. Hierarchical

10
29. ______________ data model is simple and has all the properties and capabilities
required to process data with storage efficiency.
a. Data b. Relational c. Network d. Hierarchical
30. Transactions have the following 4 standard properties, usually referred to by the
acronym _____
a. ACID b. ADIC c. ACDI d. CDIA

31. A ______________is a unit of work that is performed against a database.


a. Transaction b. Atomicity c. Isolation d. Consistency

32. RDBMS stands for________________.


a. Relational Database Management System b. Religion Database
Management System
c. Retail Database Management System d. Relation Database
Management Systems
33. ___________ ensures that all operations within the work unit are completed
successfully.
a. Transaction b. Atomicity c. Isolation d. Consistency

34. ___________ ensures that the database properly changes states upon a
successfully committed transaction.
a. Atomicity b. Consistency c. Isolation d. Durability

35. ___________ enables transactions to operate independently of and transparent


to each other.
a. Atomicity b. Consistency c. Isolation d. Durability

36. ____________ ensures that the result or effect of a committed transaction


persists in case of a system failure.
a. Atomicity b. Consistency c. Isolation d. Durability

37. A _____________is a basic unit of storage in a relational database.


a. Table b. Query c. Form d. Report

38. ____________consists of rows and columns.


a. Table b. Query c. Form d. Report

39. A _____________ consists of information which is stored under different


headings, called as fields.
a. Table b. Columns c. Form d. Report
11
40. ____________ are shown vertically in a table. Each field has an individual name.
a. Columns b. Query c. Form d. Report

41. A __________________is composed of fields and contains all the data about one
particular person, company, or item in a database.
a. Columns b. Record c. Form d. Report

42. Record is also called as___________________.


a. Columns b. Query c. Tuple d. Report

43. A column or a combination of columns which can be used to identify one or more
rows (tuples) in a table is called a ___________of the table.
a. Columns b. Query c. Form d. Key

44. The group of one or more columns used to uniquely identify each row of a
relation is called its _______________________ Key.
a. Primary b. Foreign c. Secondary d. Alternate

45. ___________ Key is a field (or collection of fields) in one table that refers to the
Primary Key in another table.
a. Primary b. Foreign c. Secondary d. Alternate

46. _____link data from individual tables to increase the usefulness of the database.
a. Relationships b. Primary c. Foreign d. Secondary

47. In a _____________, one record in a table is associated with one and only one
record in another table.
a. One-to-Many b. Many-to-One c. Many-to-Many c. One-to-One

48. ______________ relationships can also be viewed as Many-to-One relationships.


a. One-to-Many b. Many-to-One c. Many-to-Many c. One-to-One

49. A _____________ relationship occurs when multiple records in a table are


associated with multiple records in another table.
a. One-to-Many b. Many-to-One c. Many-to-Many c. One-to-One

50. SQL stands for __________________.


a. Structured Query Language b. Structure Query Language
12
c. Structured Question Language d. Structure Query Languages
51. ______________is, which is a computer language for storing, manipulating and
retrieving data stored in a relational database.
a. SQL b. DBMS c. RDBMS d. Database

52. ____________ is the standard language for Relational Database Management


System.
a. SQL b. DBMS c. RDBMS d. Database

53. All relational database management systems like MySQL, Base, Oracle, Sybase,
Informix, PostgreSQL and SQL Server use _______________as standard database
language.
a. SQL b. DBMS c. RDBMS d. Database

54. ___________ became a standard of the American National Standards Institute


(ANSI) in 1986, and of the International Organization for Standardization (ISO) in
1987.
a. SQL b. DBMS c. RDBMS d. Database

55. ___________ statements or commands are used to define and modify the
database structure of your tables or schema.
a. DDL b. DBMS c. DML d. DCL

56. ____________ statements or commands are used for managing data within
tables.
a. DDL b. DBMS c. DML d. DCL

57. _____________ is used to control user access in a database. it is related to


security issue. it is also deals with the rights and permissions of the database access.
a. DDL b. DBMS c. DML d. DCL

58. ______________command creates a new table.


a. CREATE TABLE b. ALTER TABLE c. DROP TABLE d. DROP DATABASE

59. ________________command modifies a table.


a. CREATE TABLE b. ALTER TABLE c. DROP TABLE d. DROP DATABASE

60. ___________________command deletes a table.


a. Create Table b. ALTER TABLE c. DROP TABLE d. DROP DATABASE
13
61. _______________command Extracts data from a table.
a. SELECT b. UPDATE c. DELETE d. INSERT INTO

62. ________________command Updates data in a table.


a. SELECT b. UPDATE c. DELETE d. INSERT INTO

63. _________________command Deletes data from a table.


a. SELECT b. UPDATE c. DELETE d. INSERT INTO

64. ________________command Insert data into a table.


a. SELECT b. UPDATE c. DELETE d. INSERT INTO

65. ___________________command provide access or privileges on the database


objects.
a. GRANT To b. REVOKE To c. UPDATE d. INSERT INTO

66. ____________command remove access rights or privileges on the database


object.
a. GRANT To b. REVOKE To c. UPDATE d. INSERT INTO

67. ______ used in various fields like railway, library, schools, colleges, credit
transactions, banking.
a. SQL b. DBMS c. RDBMS d. Database

68. Benefits of __________are data sharing, data integrity, security, consistency,


recovery.
a. SQL b. DBMS c. RDBMS d. Database

69. ________in database are one to one, one to many or (many to one) and many to
many.
a. Relations b. Relation c. Relationship d. Relational

70. Categories of _________________ Commands are DDL, DML and DCL


a. SQL b. DBMS c. RDBMS d. Database

Q4) CHOOSE CORRECT DOUBLE ALTERNATIVES:

1. A Database Management System is a software for _________ and


______________ databases.
a. Creating b. Shifting c. Shuffling d. Managing
14
2. Data model describes the method of _______ and _________ the data.
a. Storing b. Creating c. Retrieving d. Managing

3. Advantages of DBMS are _____________and ______________.


a. Reducing Data Redundancy b. Shifting c. Data Integrity d. Shuffling

4. Text data types are _________________ and __________________.


a. INT b. CHAR c. DECIMAL d. VARCHAR

5. Numeric data types are _________________ and __________________.


a. INT b. CHAR c. DECIMAL d. VARCHAR

6. Table consists of ___________________and _________________.


a. Rows b. Character c. String d. Columns
7. SQL became a standard of the ________________in 1986, and of the in 1987
a. American National Standards Institute (ANSI)
b. International Organization for Standardization (ISO)
c. American Code of Information Interchange.
d. Institute of electronic and Electrical Engineering

8. ________________ command deletes a table and ______________command


deletes database
a. Create Table b. ALTER TABLE c. DROP TABLE d. DROP DATABASE

Q5) CHOOSE CORRECT TRIPLE ALTERNATIVES:

1. Database is collection of interrelated data which helps in efficient


________________ , ____________ and ______________.
a. Retrieval b. inserting c. deleting. d. Update e. Alter f. Manage

b. The DBMS provides users and programmers with a systematic way to create,
________________, _____________ and ____________ data.
a. Retrieval b. inserting c. deleting. d. Update e. Alter f. Manage

b. Popular examples of DBMS are MySQL, Access, and Oracle.


a. MySQL b. Access c. Oracle d. Ms Word e. Notepad f. Tally

c. There are different models like ________________ ,_____________ and


_________________________.
15
d. Network model b. Hierarchical model c. Relational model. d. Tally Model
e. Online Model f. Offline Model

f. SQL is structured query language, which is a computer language for


_______________, ___________and ____ data stored in relational database.
a. Retrieval b. inserting c. deleting. d. Update e. Alter f. Manage

Q6) MATCH THE COLUMNS

COLUMN A COLUMN B

1. CHAR A. The fixed size is specified in parenthesis.

2. VARCHAR B. The maximum size is specified in parenthesis

3. DECIMAL C. It can represent numbers.

4. INT D. It is used for storing integer values.

5. DATE E. It holds the date including day, month and year

6. TIME () F. It holds time. Format: HH:MM:SS

7. CREATE DATABASE G. Creates database

8. CREATE TABLE H. Creates a new table

9. ALTER TABLE I. Modifies a table

10. DROP TABLE J. Deletes a table

11. SELECT K. Extracts data from a table

12. UPDATE L. Updates data in a table

13. DELETE M. Deletes data from a table

14. INSERT INTO N. Insert data into a table


16
15. GRANT To O. provide access or privileges on database

16. REVOKE To P. Remove access rights or privileges on database

17. SQL Q. Structured Query Language

18. DDL R. Data Definition Language

19. DML S. Data Manipulation Language

20. DCL T. Data Control Language

Q7) ANSWER THE FOLLOWING:

A. Distinguish between Data and Information.

B. List some applications of DBMS.

C. Advantages of DBMS:-

D. Write short note on:

1. Data model:

2. Data Type:

E. What are the different properties of transaction? OR Explain the acronym ACID.

F. Define primary key and foreign key.

G. Explain the basic concepts of database.

H. Write a short note on different types of relationships.

I. Write short note on


a. Structured Query Language:

17
J. Explain functions of SQL

k. Categories of SQL Commands

1. Data Definition Language

2. Data Manipulation Language

3. Data Control Language

-END-

18

You might also like