Friday, May 28, 2021

DBMS [Database Management System - MS Access]

 DBMS [Database Management System - MS Access]

Ms-Access

Questions and Answers [55]

1.      Database [SEE 2074] [SEE 2073] [SEE 2073 U] [SLC 2072] [SEE 2071 S] [SLC 2064] [SLC 2065]

A database is an organized collection of related information that can be used for different purpose so that it can easily be accessed, managed, and updated.

E.g. Dictionary, Marks Ledger, Telephone Directory etc.

 

2.      Electronic Database [SQE 2075K]

An electronic database refers to an organized collection of data stored in a computer in such a way that its content can be easily accessed. 

 

3.      Computerized Database [SQE 2075K]

a)      It can store large volume of data. It is very fast to find a specific record.

b)     Data can be sorted into ascending or descending order on multiple criteria.

c)      The database can be kept secure by use of passwords.

d)     We can search data very easily.

e)      Modification is very easy in comparison of manual database.

 

4.      Non-Computerized Database

It is limited by physical storage available.

It can take a while to manually search through all of the records.

Difficult to sort data on more than one criteria.

The only security would be locking up the records.

 

5.      Data [SEE 2073] [SLC 2064] [SLC 2070] [[SLC 2065 S] [SLC 2069 S]
Data can be numbers, letters or symbols representing facts and figures which may or may not give any sense.
E.g.: Ram, student, 20, etc.

 

6.      Information [SLC 2070]

Information is an organized collection of related data, which gives a complete sense.

 “Ram is a student. He is 20 years old.”, is information that gives a complete sense.

 

7.      DBMS (Database Management System) [SEE 2075 U] [SEE 2074 U] [SLC 2066] [SLC 2067] [SLC 2067 S] [SLC 2069 S] [SQC 2075K]
DBMS is a software which helps to extract, view and manipulate data in an organized way.

In DBMS, data can be accessed, managed and updated easily.
E.g.: MS-Access, Oracle, Fox pro, Dbase etc.

8.      RDBMS (Relational Database Management System) [SQE 2074]
RDBMS is a database management system that is based on the relation model in which data is stored in the form of tables and the relationship among the data is also stored in the form of tables.
E.g.: SQL, MS-Access, Oracle, etc.

9.      Importance / Advantages of DBMS  / Computerized database [SEE 2075] [SLC 2071]

a)      It controls data redundancy which means duplication of data.

b)     It allows sharing the existing data by different programs.

c)      Large volume of data can be stored and updated easily.

d)     It provides high security of data as well as maintains accurate database.

 

10.   MS-Access

MS-Access is a relational database management system developed by Microsoft Corporation which is used to store and manipulates large volume of data in the form of table.

 

11.   Features of MS-Access

a)      It provides the flexible ways to add, edit, delete and display the related data.

b)     Queries help to view, change and analyse the data indifferent ways.

c)      Forms are used for viewing and editing the information.

d)     Reports are used for summarizing and printing the data.

 

12.   Objects of MS-Access [SEE 2074 U] [SLC 2071]

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

13.   Define table.

Table is an object of Ms-Access that stores large volume of data in the form of rows and columns.
The different ways to create table are:
i) Design view
ii) Using wizard

iii) Entering data

 

14.   Importance of table

a)      Different properties of a field can be set in a table.

b)     It provides options for primary key which helps to make data consistent.

 

15.   Form [SEE 2073 U] [SLC 2064] [SLC 2066] [SLC 2068] [SLC 2065 S] [SLC 2069 S] [SQE 2075K]

[SQE 2074]

Form is an object of Ms-Access which provides graphical interface to enter data into the tables or multiple linked tables.

Forms are usually displayed on the screen.

Forms generally provide a detailed took at records and usually for the people who actually work with the database.
Methods to create a form are:
i) By using auto forms features.
ii) By using the form wizard features.
iii) By using your own in design view.

 

16.   Importance / Function / Advantages of form [SEE 2075] [SLC 2064] [SLC 2066] [SLC 2065 S]

[SLC 2070 S] [SQE 2074]

a)      It provides an interactive platform for input of data into the database.

b)     It helps to display data in more presentable form than a datasheet.

c)      It gives a separate platform to handle data.

 

17.   Query [SEE 2075 U] [SEE 2075 S2] [SLC 2072] [SLC 2065] [SLC 2069] [SEE 2066 S] [SLC 2068 S]

[MM 2076] [PMT 2075K]
Query is an object of Ms-Access which extracts and arranges information from a table in a manner that is specified.
The different types of query are:
i) Select query
ii) Action query
In action query, we have update query, append query, delete query and make-table query.

 

18.   Advantages of query [SLC 2065]

a)      We can filer, perform calculations and summarize data.

b)     Large volume of records can be updated or deleted at a same time.

c)      It retrieves and display records including some fields or all the fields of a table or multiple linked tables.

 

19.    Purposes of query in MS-Access [PMT 2075K]

a)      To view records including some fields or all the fields of a table or multiple linked tables.

b)     To perform mathematical calculation of a data.

c)      To sort the records on the basis of one or more key fields.

d)     To perform mass update, delete or append new records to a table.

 

20.   Select query

A select query is the most common category and is used for extracting specific information from one or more tables in a database. It cannot make changes in tales.
We use select query to group records and perform calculations on field values in the groups such as sum, count, average, minimum and maximum.

 

21.   Action query

Action query is a query which makes changes to many records in just one operation.

 

22.   Update query

Update query is a type of action query which make global changes to a group of records in one or more tables.

 

23.   Append query

The use of append query is to add a group of records at the end from one or more tables. It can do changes in tables by update, append.

 

24.   Report [SEE 2074 U] [SEE 2071 S] [SLC 2070] [SLC 2067 S]

Report is an object of Ms-Access which displays the output in an effective way to present the data in a printed format.

Reports can be previewed on the screen, but they are usually printed.

Reports are often used to group and summarize data, and are often for the people who don’t work with the database but who use its information for other business task.

The data sources for report are table and query.
The methods of creating report are:
i) Using design view
ii) Using report wizard

 

25.   Why is Report created? [SEE 2075 U] [SLC 2067]

Report is created to print documents according to user’s specifications of the summarized information through query or table.

 

26.   Importance of report [SEE 2071 S] [SLC 2070] [SLC 2067 S]

a)      It helps to prepare well formatted output.

b)     It displays the information the way we want to view it.

c)      It presents the information retrieved through queries or tables.

d)     It presents the information in designed layouts by adding necessary titles, setting font colour or font size, etc.

27.   What are the advantages of form over table?
Ans: The advantages of form over a table are:
i) It allows to design the layout of field on screen in any arrangement.
ii) It shows only the information we want to see.
iii) It can display one complete record at a time.

28.   Data type [SEE 2075 S2] [SEE 2074] [SEE 2073] [SLC 2072] [SLC 2064] [SLC 2066] [SLC 2070]

Data type is an attribute for a field that determines what type of data it can contain.

Any four data types of MS-Access are:
i) Text
ii) Number
iii) Memo
iv) Currency

29.   While designing table structure which data types are suitable to store information about teacher’s name, address, salary and date of birth. [SLC 2065] [SLC 2068 S]
Teacher’s name - Text
Address – Text
Salary – Currency
Date of birth – Date/Time

30.   Identify a record, field and value from the following table structure. [SQE 2074]

Roll        Name               Marks

1             Kopila                 87

2             Rabin Rana         56  

Ans: Record = 1  Kopila  87, 2     Prabin Rana    56

Field = Roll, Name, Marks

Value = 87, 56

 

31.   What happens when we enter text in a numeric field?
Ans: If we enter text in a numeric field then it displays the errors.

32.   Text

It is used for storing text or combination of text and numbers. It can store up to 255 characters.

 

33.   Memo

It is used for storing lengthy text and numbers. It can store up to 65,535 characters.

 

34.   Field properties

The four types of field properties of MS-Access are:
i) Caption               ii) Format                     iii) Validation rule                     iv) Input mask

 

35.   Input mask

Input mask is a field property that controls the value of a record and sets in a specific format.

 

36.   Caption
Caption is a field property which displays an alternate name for the field to make the field name more explanatory. It can contain up to 2048 characters.

 

37.   Validation rule:

A field property which enables to limit values that can be accepted into a field is known as validation rule.

 

38.   Validation text

A field property which allows type text to be displayed if the user input value is prohibited by the validation rule is known as validation text.

 

39.   Field size

Field size is a field property that specifies the maximum number of characters allowed in the field.

 

40.   Format

The use of ‘Format’ field property is to display data in a different format.

 

41.   Lookup Wizard

The use of Lookup Wizard is that it creates a field that allows choosing a value from another table or from a list of values by using a list box or combo box.

42.   Hyperlink
The use of Hyperlink is that it stores hyper like addresses like email addresses, websites, database objects or other field.

 

43.   Indexing

Indexing is one of the important properties of database that speed up searching and storing of records using on the field.

 

44.   Relationship

Relationship is an association among several entities (table). Its types are:
i)One to one relationship
ii)One to many relationship
iii)Many to many relationship

45.   Referential integrity
Referential integrity is a set of rules used by RDBMS to make sure that the relationships between tables are valid and that the related data is not accidentally changed or deleted.

 

46.   Record [SEE 2075 S2]

Record is complete set of information. Record is a collection of multiple related fields in a row which gives complete information about a person or thing. E.g.: Ram Chabahil 4468790

 

47.   Field [SEE 2075 S2]

Field is a small unit of information. A column in a table is called field, and it contains a specific piece of information within a record. E.g.: Name, Address, Telephone

 

48.   Sorting [SEE 2073 U] [SLC 2068]
Sorting is the process of arranging the record in ascending or descending order according to a given field or fields. Sorted data is easier to handle than unsorted data. The advantages of sorting are:
i) It helps to find specific information quickly.
ii) It helps to arrange data in alphabetical order.

49.   Filtering

Filtering is an option that selects the required records and displays the result.
Primary key [SEE 2075] [SEE 2073] [SEE 2071 S] [SLC 2067] [MM 2076] [PMT 2075K]

A key that uniquely identifies each record in a database is primary key. It is needed because it neither accepts duplicate values now null values.

50.   Uses of Primary key [SLC 2069]
i) To reduce and control duplication of record in a table.
ii) To set the relationship between tables.

51.   Purpose of Primary key [PMT 2075K]

A primary key prevents duplicate records from being entered in the table and is used to control the order in which records display in the table. This makes it faster for databases to locate records in the table and to process other operations. The primary key is also used to create a link between tables in a database.

52.   Importance of Primary Key [SEE 2073] [SLC 2069 S] [MM 2076]

a)      It does not allow duplicate data. 

b)     It does not allow null value

53.   Composite key

The group of primary key that consists of two or more attributes is called composite key.

54.   Foreign Key

Foreign key is a unique field or combination of fields in linked table whose value matches with a primary key in another table.

55.   Data Redundancy [SEE 2074]

Data redundancy means repetition of same piece of data in a database in more than one location.. Data redundancy can be controlled in MS-Access by  normalization of database.


No comments:

Post a Comment