Database Management System Flashcards

1
Q

What is Database?

A

A database is an organised collection of data that can be visualised as a container of information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the advantages of Database?

A

Advantages of Database are:
i) Reduction in Data redundancy
ii)Reduction in Data inconsistency
iii)Sharing of Data
iv)Enforcement of Data standards
v)ensures data security
vi)data integrity
vii)interactive interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the features of Database?

A

Features of Database are:
i. there can be more than one table in a database
ii.the information is stored in tables in a database relate to one specific topic. each database contains information about 1 type of item.
iii. data can be simultaneously be accessed by many users.
iv. database offers data protection and features like recovery and backup.
v.it allows the user to view the data in different formats
vi.records unique number or letter in each table, chances of duplication of data is avoided

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Database Management System (DBMS)?

A

Database Management Systems (DBMS): A software application used to create, manage, maintain and retrieve the data stored in databases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What can one find and do in DBMS?

A

DBMS is used to build the database and manage database in a software.
i. adding new records
ii.editing changing/modifying existing data.
iii.deleting data
iv.sorting data
v.extracting data based on queries
vi.updating and manipulating data item
vii. viewing data and generating reports.
viii.performing calculations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the elements of database

A

Elements of database:
i. table: set of data elements stored in verticals and horizontal fields and records
ii. field: set of data values
iii. records: set of items stored in tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How many types of data can be organised in DBMS?

A

Data can be stored in 2 files
I. flat file: data stored in single tables.
II. relational: data is stored in multiple tables and tables are linked using a common field.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What the objects in Database?

A

Database objects:
i) tables: basic element of data kept in columns and rows
ii) queries: generate some information from the table
iii) forms: provide an interface in user specified layout which lets the user to view the data or enter new data .
iv) reports: report displays the information in a format as per user’s need.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Relational Database?

A

Relational Database are collection of multiple tables, rows and columns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

RDBMS Element keys

A

Primary Key
Composite Key
Key Field
Foreign Key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the common field?

A

KEY FIELD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the key that is used to uniquely identify records (rows) in database and is only 1?

A

Primary key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the key that is a combination of two or more fields (columns) that can uniquely identify or retrieve records?

A

Composite Key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What can Foreign key do?

A

allows tables to relate and link through a field which is common in both the tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

what are the data types in database

A
  1. Numeric
    2.Alphanumeric
    3.Binary
  2. Date Time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Example of Binary data type in DB

A

LONGVARBINARY
&
BINARY

17
Q

What data type does ‘VARCHAR’ and ‘MEMO’ come under?

A

Alphanumeric data type

18
Q

Give example of Numeric data type

A

BOOLEAN, DECIMAL, NUMBER, INTEGER

19
Q

Which data type falls under Date Time?

A

Date/ Time

20
Q

what should be the first step to add primary key relationship to 2 Tables?

A

Click on ‘create view from task bar’
add tables from ‘Add Tables’

21
Q

how do you edit records

A

By double clicking on it

22
Q

which option should you choose to change field property?

A

Edit Option

23
Q

what is the default length of a field

A

10

24
Q

what is the purpose for ‘Entry Required’?

A

any value to be entered in a field cannot be ;eft empty.

25
Q

what does referential integrity help us to avoid?

A

Referential integrity helps to avoid:
 Adding records to a related table if there is no associated record available in the
primary key table.
 Changing values in a primary if any dependent records are present in associated
table(s).
 Deleting records from a primary key table if there are any matching related records
available in associated table(s).

26
Q

how to set relationship between 2 tables the easy way?

A

From Tools menu you ca select ‘Relationship’ and then add two tables by clicking the ‘Add’ button.

27
Q

How many relationships can be created in TABLES?

A

3 relationships

28
Q

In which relationship of the tables can 1 table be joined with 1 other table? Both must have primary key

A

One to One relationship

29
Q

In which relationship of tables can 1 tables be joined with more than 1 table? only 1 can have a primary key

A

One to Many Relationship

30
Q

what is many to many relationship?
Does it have primary key in any table

A

all columns of primary key table are associated with all columns of associated table.
No, it has no primary key

31
Q

File extension for database in openoffice

A

.obd

32
Q

three file formats in database

A

.odf
.obd
.ods

33
Q
A