0% found this document useful (0 votes)
25 views4 pages

Dbms 2

class 10 IT code 402 dbms part-2

Uploaded by

kvrajat
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)
25 views4 pages

Dbms 2

class 10 IT code 402 dbms part-2

Uploaded by

kvrajat
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/ 4

A.

Multiple choice questions

Q1. Which of the following is NOT a type of text data type?

(a) Memo
(b) Varchar
(c) Float
(d) Char
Ans. (c) Float

Q2. A currency data type can only store monetary data that is in dollars.

(a) True
(b) False
(c) Neither a nor b
(d) Both a and b

Ans. (b) False

Q3. Which of the following data type can store date?

(a) Date
(b) Time
(c) Both date and time
(d) Neither date nor time

Ans. (c) Both date and time

Q4. Which of the following is true about LibreOffice Base?

(a) It is a spreadsheet software


(b) It is free and open source software
(c) It can store only character data
(d) It is a licensed software.

Ans. (b) It is free and open source software

Q5. Which of the following methods can be used to create a table in Base?

(a) Using a table wizard


(b) Design View
(c) Both a and b
(d) Neither a nor b

Ans. (c) Both a and b

Q6. The related objects of a database can be seen in _______________ pane of the Base Database
window.

(a) Database
(b) Task
(c) Title Bar
(d) Menu Bar

Ans. (a) Database

Q7. Which is the shortcut key to open an existing database?

(a) Ctrl+ D
(b) Ctrl+O
(c) Ctrl+E
(d) Ctrl+F
Ans. (b) Ctrl+O

Q8. The Design view of Table Creation window in LibreOffice Base is divided
into ___________ sections or panes.

(a) 2
(b) 3
(c) 4
(d) 5

Ans. (a) 2

Q9. While entering records in a table, we can move to the next field by pressing the
_____________ key.

(a) Tab
(b) Ctrl
(c) Enter
(d) Shift

Ans. (a) Tab

Q10. Which of the following is true about primary key of a table?

(a) Every table must have a primary key


(b) The data values in primary key field cannot be duplicated.
(c) A primary key field cannot be left blank
(d) All of the above

Ans. (d) All of the above

B. State whether the following statements are True or False


1. The text data can contain special characters. True

2. Memo data type can be used to store descriptive data. True

Ans. 2. Memo data type can be used to store descriptive data.

3. A Boolean data type can have two or more than two values. False

4. We cannot store audio data in LibreOffice Base. False

5. The properties of a field change according to the data type selected. True

6. Field description may or may not be entered while designing a table. True

7. is pressed to move to the last record. False

8. appears when the record is being edited. True

9. A table once created in a database cannot be edited. False

10. Sort dialog box can only help to sort data in ascending order. False

C. Fill in the blanks


1. A ______ data type ______ refers to the type of data that will be stored in that particular field.

2. The ____ text ______________ data is a combination of letters, numbers or special characters.

3. __ Text Char(Fix) _________ data type can be used to store Aadhar number.
4. The ____ binary __________ data type used to store digitized images.

5. The shortcut key to save a table is _____ Ctrl + S __________.

6. _____ Tasks Pane ____________ on the Base Interface Window displays information about the
type of view of the object in the database.

7. A _______ Key ________ icon appears before the field name indicating that it is a primary key.

8. The data can be entered in a table only in ____ datasheet ________ view.

9. The black pointing arrow just before the field name in a table is called record pointer _.

10 The process of arranging the records in particular order on any filed is called ___ Sorting __.

D. Answer the given questions


Q1. Differentiate between:

(a) Memo and Varchar data type

Ans.

Memo Varchar

• It is used to store long alphanumeric data. for • It is used to store small alphanumeric
example Summary of a book, review of a data. for example Name, Address etc.
movie etc.
• It can store text data up to 64,000 characters. • It can store text data up to 255
characters.

(b) Number and Decimal data type

Ans.

Number Decimal
• It is used to store integers of any length. • It is used to store decimal values.
• for example 457, 342 • for example 23.56, 458.29

(c) Design View and Datasheet view of a table

Ans.

Design View Datasheet View

This view is used to design the structure of the table. This view is used to enter the values in the table.

In this view, we can add or delete the fields In this view, we can add or delete the rows

Q3. Name the menu items present on the Base User Interface.

Ans. Menu items present on the Base User Interface are:

1. File
2. Edit
3. View
4. Insert
5. Tools
6. Window
7. Help
Q4. Label the components – Title Bar, Database Pane, Tasks Pane, Status Bar of the LibreOffice Base
User Interface.

Ans.

Q5. How can we define a primary key in a table?

Ans. A Primary key is a field which is unique for each and every record in a table. To make a
particular field as the primary key, place the mouse pointer before the field name, and right click.
A pop up menu appears and Select the Primary Key option. A key icon appears before the field
name indicating that it is a primary key.

Q6. Write steps to sort the table in descending order of primary key.

Ans. Steps to sort the table in descending order of primary key are:

1. Open the table in datasheet view and select the primary key on which you want to sort.

2. From the tool bar click Sort Descending icon to sort in descending order.

3. The table will be sorted in descending order of primary key.

Q7. What is the use of navigation box with respect to tables in a database?

Ans. Navigation box is used to navigate (move) through various records of the table.

The various components of Navigation Box are as follows:

Record Selector Box – This is the text box where the currently active record number is displayed.
We may enter the record number that we want to see in this text box.

Navigation Buttons – These are used to scroll vertically in the table.

• Press |◄ button to move to the first record.

• Press ► and ◄ to move to the next and previous records respectively.

• Press ►| button to move to the last record.

You might also like