0% found this document useful (0 votes)
110 views2 pages

Class 8 - CH-2 Database Using OpenOffice - Orgbase

The document provides an overview of databases using OpenOffice.org Base, including definitions, true/false statements, multiple-choice questions, and practical exercises. It covers key concepts such as data types, primary keys, forms, and queries, along with examples and steps for managing records in a database. Additionally, it includes a sample table with student information and instructions for setting primary keys and modifying records.

Uploaded by

meenasourabh0007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
110 views2 pages

Class 8 - CH-2 Database Using OpenOffice - Orgbase

The document provides an overview of databases using OpenOffice.org Base, including definitions, true/false statements, multiple-choice questions, and practical exercises. It covers key concepts such as data types, primary keys, forms, and queries, along with examples and steps for managing records in a database. Additionally, it includes a sample table with student information and instructions for setting primary keys and modifying records.

Uploaded by

meenasourabh0007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Class VIII

CH-2 Database using OpenOffice.orgbase

A. Fill in the blanks.


1.​ Database is a collection of interrelated data.
2.​ Data Type represents the type of value to be stored in a field.
3.​ A row in a table is called Record.
4.​ Set of values of a column is called Domain.
5.​ Char data type is a fixed length data type.
6.​ Primary Key identifies a record uniquely in a table.

B. State T for True and F for False.


1.​ Primary Key does not allow adding a duplicate value.​ ​ ​ ​ False
2.​ Form is used to print the data in a formatted manner.​ ​ ​ ​ True
3.​ You can insert records anywhere in a table.​ ​ ​ ​ ​ ​ True
4.​ There are three ways to create a table. True
5.​ Data stored in a table cannot be sorted.​ ​ ​ ​ ​ ​ False
6.​ Query helps to filter the records in a table.​ ​ ​ ​ ​ ​ True

C. Tick the correct answer


1.​ Which of the following is not an example of RDBMS?
(a) MS-Excel​ (b) OpenOffice.org Base​ (c) MySQL​ ​ (d) Oracle

2.​ Which data type is used to store the date of birth of a person?
(a) Text​ ​ (b) Integer​ ​ ​ (c) DateTime​ ​ (d) Other​
3.​ A field in a table that can act as a primary key but not acting as a primary key is called
(a) Primary Key​ (b) Alternate Key ​ ​ (c) Foreign Key​ (d) None of these

4.​ Which of the following is used to store information in a systematic way in a database?
(a) Forms​ ​ (b) Reports​ ​ ​ (c) Query​ ​ (d) All of the above

5.​ Which of the following can be used to store value without decimal?
(a) Float​ ​ (b) Decimal​ ​ ​ (c) Double​ ​ (d) Integer

D. Answer the following questions:


1.​ What is a database?
Ans A database is a collection of interrelated data in a structured manner without
redundancy. This is an organised collection of information that can be easily accessed ,
managed and updated.
2.​ What do you mean by DBMS? Write two examples of it.
Ans. A DBMS is a computer program that manages the database in the system. This is a
collection of programs that enables one or more users to create, manage and retrieve
information from the database.

3.​ Write one difference between Form and Query.


Ans. A form is created for the user to input information, such as new records or new data into
a record, whereas a query is created to extract information from that form or initial table.

4.​ Consider the table STUDENT given below:

Scholar Number StudentName Class Sec Date of Birth ContactNo

S1001 Amit VII-A 20-11-2009 1111144433

S1002 Ashok VII-B 23-04-2010 1111187871

S1003 Anurag VII-C 15-12-2009 1111155441

(a) How many rows are there in the given table?​​ ​ ​ 4


(b) How many columns are there in the given table?​ ​ ​ 5
(c) What is the data type of field ScholarNumber?​ ​ ​ Text
(d) Which field should be selected as a primary key?​ ​ ​ Scholar Number

5.​ Write the steps for the following. Consider the table STUDENT given above.
(a) To set ScholarNumber as a primary key.
Ans. Step 1: Open a table in the Design view.
Step 2: Select the field or fields you want to define as the primary key or click the
row selector for the desired field.
Step 3: Click Primary Key on the toolbar. After clicking on the primary key.

(b) To add a new record as (S1004, Priya, VII-C, 06-10-2009, 1111189267)


Ans. Step 1: Open the table and
Step 2 : Click on Insert-Record or simply click in the last row of the table.
Step 3: Now add this record S1004, Priya, VII-C, 06-10-2009, 1111189267 in a table.

(c) To delete the record of Ashok.


Ans. Step 1: Select the record Ashok to be deleted.
​ Step 2 : Right click on the row selector and select Delete Row option.
Record will be deleted.

You might also like