0% found this document useful (0 votes)
6 views

Part 2-Q a-Unit 3 Database Management System Using LibreOffice Base

The document provides a comprehensive overview of database management concepts using LibreOffice Base, including key definitions, data types, and functionalities such as forms, reports, and relationships between tables. It includes multiple-choice questions and answers related to SQL, database objects, and data integrity. Additionally, it covers topics like primary and foreign keys, data redundancy, and the differences between various database components.

Uploaded by

yumnasami.1229
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Part 2-Q a-Unit 3 Database Management System Using LibreOffice Base

The document provides a comprehensive overview of database management concepts using LibreOffice Base, including key definitions, data types, and functionalities such as forms, reports, and relationships between tables. It includes multiple-choice questions and answers related to SQL, database objects, and data integrity. Additionally, it covers topics like primary and foreign keys, data redundancy, and the differences between various database components.

Uploaded by

yumnasami.1229
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Unit 3.

Database Management System using LibreOffice Base

1. In OpenOffice Base, the relationship applied on the tables can be removed with the help of
option.
(A) Clear
(B) Remove
(C) Drop
(D) Delete
Ans: (C) Drop
2. Roshni has created a table Customer in SQL and wants to store photograph image of every
customer under Cust_photo field. Suggest a suitable data type from the options given
below.
(A) IMAGE
(B) PICTURE
(C) LONGVARBINARY
(D) GRAPHIC
Ans: (A) IMAGE
3. A ____ is a database object that provides a systematic way to accept data from the user and
store it in a table of a database.
a) Query
b) Form
c) Report
d) Table
Ans: b) Form
4. A ____ is an interface in a user-specified layout that lets users to view, enter, and changes
data directly in database objects such as tables.
(a) frame
(b) form
(c) relation
(d) report
Ans: (b) form
5. Which of the following is expanded form of SQL?
(a) Systematic Query Language
(b) Structured Query Language
(c) Software Query Language
(d) Structural Query Language
Ans: (b) Structured Query Language
6. ____ means that the query uses criteria you provide to hide some data and present only
what you want to see.
a) Indexing
b) Sorting
c) Filtering
d) Relating
Ans: c) Filtering
7. Which of the following database objects are used to retrieve data from database?
a. Queries
b. Tables
c. Reports
d. Layouts
Ans: a. Queries
8. Which one of the following is an example of RDBMS?
a) MongoDB
b) Windows registry
c) Publisher
d) Oracle
Ans: d) Oracle
9. Database servers are referred to as ____
a) front-ends
b) back-ends
c) clients
d) model
Ans: b) back-ends

10. Database servers are dedicated computers that hold the actual databases and run only the
DBMS and related software. Database servers are referred to as
a. Back-end
b. Front-end
c. Safe-end
d. Server-end
Ans: a. Back-end
11. "Client_id" is a primary key in "Client" table. "Client_id" is also present in "Sales" table.
The referred field Client_id which also occurs in the Sales table is called the
a. Primary Key
b. Foreign Key
c. Composite Primary Key
d. Alternate Key
Ans: b. Foreign Key
12. _____ are the basic building blocks of a database.
a. Columns
b. Tables
c. Records
d. Attributes
Ans: b. Tables
13. Which of the following numeric data type can store only those integers that fall between 0
to 255?
a. TinyInt
b. Smallint
c. Boolean
d. Integer
Ans: a. TinyInt
14. In which view new data can be inserted in table and existing data can be updated or
removed?
a. Design View
b. Datasheet View
c. Table View
d. Query
Ans: b. Datasheet View
15. Anant created a table named "student" in Base. One field (Admission Number) of student
table required that value will automatically incremented. Which of the following data type
and field property is suitable for this task?
a. Char, Auto Value
b. Varchar, Auto Value
c. Integer, Auto Value
d. Timestamp, Auto Value
Ans: c. Integer, Auto Value
16. In Open Office Base, we can create a relationship between any two tables by selecting
Relationships... option from the menu.
a. Tools
b. Insert
c. View
d. File
Ans: a. Tools
17. ______identifies a column or set of columns in one (referencing) table that refers to a column
or set of columns in another (referenced) table.
a. Primary Key
b. Alternate Key
c. Composite Key
d. Foreign Key
Ans: d. Foreign Key
18. By default length of Integer data type is
a. 10
b. 20
c. 30
d. 50
Ans. 10
19. ______ uniquely identifies each and every record in table
a. Foreign Key
b. Alternate Key
c. Main Key
d. Primary Key
Ans. Primary Key
20. _________--helps to display data in summarized manner
a. Report
b. Form
c. Query
d. Table
Ans. Report
21. Which command is used to delete one or more record from table?
a. Update
b. Select
c. Order by
d. Delete
Ans. Delete

1. Differentiate between Forms and Reports.


Answer -
Form
a. Forms are used to store the data in the semantic way
b. Edit, delete & modify can be easily managed
c. Auto calculation can be done easily
Report
a. Report display the data in the presenting format
b. Report can display all the record from the table
c. Edit, delete & modification cannot be done through report
d. You can take printout with the help of report
2. Differentiate between tuples and attributes of a table. Give 2 points of differentiation each.
Answer: Tuples: Rows of data in a table.
Attributes: Columns in a table, representing data categories.
3. Explain the term “Referential Integrity”. Why is it important in a database?
Answer: Ensures relationships between tables are consistent. It prevents orphaned records in
databases.
4. Explain any two types of relationship that can be created in tables.
Answer: In database management systems, tables can establish various types of relationships to
represent the connections between data entities. Two common types of relationships are:
In a one-to-many relationship, one record in a table is associated with multiple records in
another table. This means that the primary key value in the “one” table uniquely identifies a
record, while the foreign key in the “many” table links it to the corresponding record in the
“one” table.
In a many-to-many relationship, multiple records in one table can be associated with multiple
records in another table. To represent this relationship, a junction table is typically used. The
junction table includes foreign keys from both related tables and serves as an intermediary to
link records.
5. What is difference between Form and Reports?
Answer: Forms are primarily designed for data input and user interaction, while reports are
intended for the presentation and printing of data in a structured and visually appealing format.
6. Identify any two column name/ attribute and their data types from a given table: PLAYER

PID PNAME RUNS GENDER DOB

P101 SACHIN 13000 M 10/04/2001

P102 KAPIL 7000 M 12/02/1998

P103 SAURABH 12000 M 13/04/2001


P104 VIRAT 12500 M 17/03/2005

Answer:

Field Name Data Type

(a) PID Char OR Varchar

(b) PNAME Char OR Varchar

7. Can we enter records by report?


No
8. Explain the following with respect to Databases :
(a) Forms (b) Reports (c) Table
Answer: (a) Forms: In databases, forms are user interfaces that allow data input and display.
They provide an organized way to enter, edit, and view records in a database.
(b) Reports: Reports in databases are documents that present data in an organized and readable
format. They are used for summarizing, analyzing, and presenting database information.
(c) Table: A table is a fundamental component of a database, representing structured data with
rows and columns. It stores related information and forms the basis for data organization and
retrieval.
9. Define the following field properties
1. Length
2. Default Value
3. Required
4. Format
Ans:Length: This property specifies the number of characters that can be entered in Char or
Varchar data type.
Default Value: A value which automatically enters as soon as we start entering the new record.
Required: When this property is set to yes then it will be must to insert the value in the field
which means that field cannot be left blank.
Format: This property help us to set the format of the data entered in the field such as 91- 222-
333.
10. Structure of table "Student" is given below. Suggest the suitable data type of each
column. Also suggest the suitable primary key.

Ans:

11. Suman is a student of Class X. She was doing a Computer assignment. She has done
almost all the questions except few. Help her to complete the assignment.
1. What do you mean by Query?
2. What is the difference between Tuple and Attribute?
3. What is default value?
4. Define primary key
Ans:
1. As the name suggests, query is to collect specific information from the pool of data. A
query helps us join information from different tables and filter that information.
2. A row also called a Record or Tuple represents a single, data item in a table A column or
attribute is a set of data values of a particular simple type, one for each row of the table.
3. A value which automatically appears when we enter a new record in a table.
4. A field which uniquely identifies each and every record is called primary key.
12. Define the following terms:
1. Data Redundancy
2. Data Integrity
3. Table
4. Primary Key
Ans:
1. Duplication of data is called data redundancy.
2. Data Integrity means that data is accurate and consistent in the database.
3. A table is a set of data elements that is organized in rows and columns.
4. A field which uniquely identifies each and every record in a table is called Primary
Key

You might also like