Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

LibreOffice Base Quiz

Total questions: 76

Worksheet time: 51mins

Name
Class
Date
1.

Nisha wants to create a customer database for her small business. She wants to ensure each customer's email address is unique. Which key should she use in LibreOffice Base?

a)

Foreign Key

b)

Composite Key

c)

Unique Key

d)

Primary Key

2.

Vikram needs to create a report in LibreOffice Base that lists all products with prices above a certain threshold. Which feature should he use?

a)

Forms

b)

Queries

c)

Tables

d)

Relationships

3.

Ravi is building a relational database in LibreOffice Base and wants to connect two tables so that every entry in the 'Orders' table corresponds to a valid entry in the 'Customers' table. What feature should he use?

a)

Primary Key

b)

Foreign Key

c)

Table Design

d)

Relationships

4.

Shalini needs to automate the generation of monthly sales reports from her LibreOffice Base database. What feature should she use to perform this task automatically?

a)

Macro

b)

Report Wizard

c)

Query Design

d)

Form Control

5.

An organization wants to create a database of its employees, ensuring no two employees have the same ID number. Which constraint should be applied to the ID field?

a)

Primary Key

b)

Foreign Key

c)

Index

d)

Default Value

6.

Which type of query in LibreOffice Base allows you to combine data from multiple tables?

a)

Action Query

b)

Select Query

c)

Crosstab Query

d)

Update Query

7.

Match the following database terms with their correct definitions: Column A (Terms) A. Primary Key B. Foreign Key C. Index D. Composite Key Column B (Definitions) 1. Unique identifier for each record in a table 2. Connects records in one table to records in another table 3. Improves search performance 4. Combination of two or more columns to uniquely identify a record

a)

A-1, B-2, C-3, D-4

b)

A-2, B-1, C-4, D-3

c)

A-3, B-4, C-1, D-2

d)

A-4, B-3, C-2, D-1

8.

Which feature in LibreOffice Base would you use to create a user-friendly interface for data entry?

a)

Table

b)

Report

c)

Query

d)

Form

9.

To enforce referential integrity between two tables, which of the following should be used?

a)

Primary Key

b)

Foreign Key

c)

Unique Key

d)

Index

10.

Which type of relationship between tables ensures that every record in one table is associated with one or more records in another table?

a)

One-to-One

b)

One-to-Many

c)

Many-to-Many

d)

Self-Referencing

11.

Which command in LibreOffice Base is used to create a relationship between two tables?

a)

Create Table

b)

Design View

c)

Relationships

d)

Form Wizard

12.

Match the following SQL commands with their purposes: Column A (SQL Commands) A. SELECT B. INSERT C. UPDATE D. DELETE Column B (Purposes) 1. Retrieves data from the database 2. Adds new records to a table 3. Modifies existing records in a table 4. Removes records from a table

a)

A-2, B-1, C-4, D-3

b)

A-1, B-2, C-3, D-4

c)

A-4, B-3, C-2, D-1

d)

A-3, B-4, C-1, D-2

13.

Which of the following is used to enforce data integrity and establish relationships between tables in LibreOffice Base?

a)

Primary Key

b)

Foreign Key

c)

Index

d)

Macro

14.

True or False: A form in LibreOffice Base can only be used to enter data into one table at a time.

4 lines
15.

Assertion-Reasoning Question: Assertion (A): A report in LibreOffice Base is used to display formatted data. Reason (R): Reports cannot include data from multiple tables.

a)

Both A and R are true, and R is the correct explanation of A.

b)

Both A and R are true, but R is not the correct explanation of A.

c)

A is true, but R is false.

d)

A is false, but R is true.

16.

What is the purpose of the 'Form Wizard' in LibreOffice Base?

a)

To create tables

b)

To automate repetitive tasks

c)

To design forms for data entry

d)

To format reports

17.

Which component of LibreOffice Base helps in creating queries without writing SQL code?

a)

SQL Command

b)

Query Design View

c)

Report Wizard

d)

Macro

18.

What is the main function of a 'Primary Key' in a database table?

a)

To perform calculations

b)

To uniquely identify each record

c)

To connect two tables

d)

To sort data

19.

You need to ensure that a column in a table does not have duplicate values. Which constraint should be applied?

a)

Primary Key

b)

Foreign Key

c)

Unique Key

d)

Check Constraint

20.

Which type of query in LibreOffice Base is used to perform calculations on data?

a)

Select Query

b)

Action Query

c)

Crosstab Query

d)

Update Query

21.

Which of the following is used to create a new table in LibreOffice Base?

a)

Form Wizard

b)

Query Design

c)

Table Wizard

d)

Report Wizard

22.

Match the following database objects in LibreOffice Base with their functionalities: Column A (Database Objects) A. Table B. Form C. Query D. Report Column B (Functionalities) 1. Stores data in rows and columns 2. Provides a user-friendly way to enter and modify data 3. Retrieves specific data based on criteria 4. Formats data for presentation or printing

a)

A-2, B-1, C-4, D-3

b)

A-1, B-2, C-3, D-4

c)

A-3, B-4, C-1, D-2

d)

A-4, B-3, C-2, D-1

23.

True or False: You can use the Form Wizard in LibreOffice Base to create forms that display data from multiple tables.

4 lines
24.

What is the main purpose of using the 'Relationships' tool in LibreOffice Base?

a)

To connect a database to an external application

b)

To link tables based on common fields

c)

To import data from another database

d)

To backup the database

25.

Assertion-Reasoning Question: Assertion (A): A query is used to update records in a table. Reason (R): Queries allow users to filter, sort, and manipulate data.

a)

Both A and R are true, and R is the correct explanation of A.

b)

Both A and R are true, but R is not the correct explanation of A.

c)

A is true, but R is false.

d)

A is false, but R is true.

26.

Which SQL clause is used to sort the results of a query in LibreOffice Base?

a)

WHERE

b)

ORDER BY

c)

GROUP BY

d)

HAVING

27.

To create a relationship between tables, which type of field must exist in both tables?

a)

Primary Key

b)

Foreign Key

c)

Text Field

d)

Index Field

28.

Which type of join is used to combine rows from two or more tables, based on a related column between them?

a)

INNER JOIN

b)

OUTER JOIN

c)

CROSS JOIN

d)

SELF JOIN

29.

True or False: In LibreOffice Base, a report can be created to display the result of a query.

4 lines
30.

Which feature in LibreOffice Base allows for the automatic generation of unique values for a primary key field?

a)

Autonumber

b)

Index

c)

Foreign Key

d)

Data Type

31.

Which of the following is used to create a new table in LibreOffice Base?

a)

Form Wizard

b)

Query Design

c)

Table Wizard

d)

Report Wizard

32.

Match the following database objects in LibreOffice Base with their functionalities: Column A (Database Objects) A. Table B. Form C. Query D. Report Column B (Functionalities) 1. Stores data in rows and columns 2. Provides a user-friendly way to enter and modify data 3. Retrieves specific data based on criteria 4. Formats data for presentation or printing

a)

A-2, B-1, C-4, D-3

b)

A-1, B-2, C-3, D-4

c)

A-3, B-4, C-1, D-2

d)

A-4, B-3, C-2, D-1

33.

True or False: You can use the Form Wizard in LibreOffice Base to create forms that display data from multiple tables.

4 lines
34.

What is the main purpose of using the 'Relationships' tool in LibreOffice Base?

a)

To connect a database to an external application

b)

To link tables based on common fields

c)

To import data from another database

d)

To backup the database

35.

Assertion-Reasoning Question: Assertion (A): A query is used to update records in a table. Reason (R): Queries allow users to filter, sort, and manipulate data.

a)

Both A and R are true, and R is the correct explanation of A.

b)

Both A and R are true, but R is not the correct explanation of A.

c)

A is true, but R is false.

d)

A is false, but R is true.

36.

Which SQL clause is used to sort the results of a query in LibreOffice Base?

a)

WHERE

b)

ORDER BY

c)

GROUP BY

d)

HAVING

37.

To create a relationship between tables, which type of field must exist in both tables?

a)

Primary Key

b)

Foreign Key

c)

Text Field

d)

Index Field

38.

Which type of join is used to combine rows from two or more tables, based on a related column between them?

a)

INNER JOIN

b)

OUTER JOIN

c)

CROSS JOIN

d)

SELF JOIN

39.

True or False: In LibreOffice Base, a report can be created to display the result of a query.

4 lines
40.

Which feature in LibreOffice Base allows for the automatic generation of unique values for a primary key field?

a)

Autonumber

b)

Index

c)

Foreign Key

d)

Data Type

41.

Which of the following is used to create a new table in LibreOffice Base?

a)

Form Wizard

b)

Query Design

c)

Table Wizard

d)

Report Wizard

42.

base index improves search performance by providing a quick way to look up data.

a)

True

b)

False

43.

Match the following SQL clauses with their functions in LibreOffice Base: Column A (SQL Clauses) Column B (Functions) A. WHERE 1. Filters records based on a condition B. GROUP BY 2. Groups rows that have the same values in specified columns C. HAVING 3. Filters groups based on a condition D. SELECT 4. Retrieves specific data from a table

a)

A-2, B-1, C-4, D-3

b)

A-1, B-2, C-3, D-4

c)

A-3, B-4, C-1, D-2

d)

A-4, B-3, C-2, D-1

44.

What is the purpose of using a 'Query Design View' in LibreOffice Base?

a)

To manually write SQL code

b)

To visually build and modify queries

c)

To format data in a report

d)

To enter data into a form

45.

Which key constraint ensures that all values in a column are unique and not null?

a)

Primary Key

b)

Foreign Key

c)

Unique Constraint

d)

Index

46.

True or False: A database form can include sub-forms that display related data from different tables in LibreOffice Base.

a)

True

b)

False

47.

Which type of query in LibreOffice Base is used to change existing records in a table?

a)

Select Query

b)

Update Query

c)

Delete Query

d)

Make-Table Query

48.

Which tool in LibreOffice Base allows you to create, edit, and manage relationships between tables?

a)

Relationship Designer

b)

Table Wizard

c)

Query Wizard

d)

Report Wizard

49.

What is the function of a 'Foreign Key' in a relational database?

a)

To uniquely identify each record in a table

b)

To create a copy of another table

c)

To link records between two tables

d)

To create indexes for faster searching

50.

Which feature in LibreOffice Base allows you to create a graphical representation of table relationships?

a)

Table Wizard

b)

Relationship Designer

c)

Report Wizard

d)

Query Designer

51.

True or False: The 'Form Wizard' in LibreOffice Base can only be used to create forms for a single table.

a)

True

b)

False

52.

Match the following types of queries in LibreOffice Base with their purposes: Column A (Types of Queries) Column B (Purposes) A. Select Query 1. Retrieves data from one or more tables B. Update Query 2. Modifies data in existing records C. Delete Query 3. Removes records from a table D. Make-Table Query 4. Creates a new table using query results

a)

A-2, B-1, C-4, D-3

b)

A-1, B-2, C-3, D-4

c)

A-4, B-3, C-2, D-1

d)

A-3, B-4, C-1, D-2

53.

What is the primary purpose of using a 'Primary Key' in a table in LibreOffice Base?

a)

To uniquely identify each record in the table

b)

To link two tables together

c)

To allow duplicate values in a table

d)

To store large amounts of text data

54.

Which SQL keyword is used to retrieve unique records from a table in LibreOffice Base?

a)

SELECT DISTINCT

b)

SELECT UNIQUE

c)

SELECT NEW

d)

SELECT EXCLUSIVE

55.

True or False: In LibreOffice Base, you can use the 'Query Design View' to visually create and modify SQL queries without writing SQL code.

a)

True

b)

False

56.

Which tool in LibreOffice Base is used to create a detailed printout of data from a table or query?

a)

Report Wizard

b)

Form Wizard

c)

Query Designer

d)

Relationship Designer

57.

To enforce a rule that a field must always contain a value, which constraint should be used in LibreOffice Base?

a)

UNIQUE

b)

CHECK

c)

NOT NULL

d)

DEFAULT

58.

What type of join in LibreOffice Base returns only matching records from both tables?

a)

LEFT JOIN

b)

RIGHT JOIN

c)

FULL OUTER JOIN

d)

INNER JOIN

59.

Which of the following views in LibreOffice Base allows you to enter data directly into the table?

a)

Form View

b)

Table Data View

c)

Query Design View

d)

SQL View

60.

True or False: In LibreOffice Base, a form can be created to allow users to input data into multiple related tables simultaneously.

a)

True

b)

False

61.

Which SQL statement is used to delete all records from a table in LibreOffice Base?

a)

DELETE * FROM table_name;

b)

DROP TABLE table_name;

c)

DELETE FROM table_name;

d)

REMOVE FROM table_name;

62.

Match the following database operations in LibreOffice Base with their descriptions: Column A (Database Operations) Column B (Descriptions) A. Create Table 1. Defines the structure of a new table B. Insert Data 2. Adds new records to an existing table C. Update Data 3. Modifies existing records in a table D. Delete Data 4. Removes records from a table

a)

A-2, B-1, C-4, D-3

b)

A-1, B-2, C-3, D-4

c)

A-4, B-3, C-2, D-1

d)

A-3, B-4, C-1, D-2

63.

True or False: A relationship in LibreOffice Base can be created using both primary and foreign keys.

a)

True

b)

False

64.

Which type of constraint is used to enforce a specific condition for data in a table in LibreOffice Base?

a)

Default Constraint

b)

Foreign Key Constraint

c)

Check Constraint

d)

Unique Constraint

65.

Which option in LibreOffice Base allows for creating a report with a specific layout for printing?

a)

Form Wizard

b)

Report Wizard

c)

Query Wizard

d)

Macro Wizard

66.

To display data from two related tables where there is a match between the fields in LibreOffice Base, which SQL join type would be used?

a)

INNER JOIN

b)

OUTER JOIN

c)

CROSS JOIN

d)

LEFT JOIN

67.

Which SQL statement in LibreOffice Base is used to modify the structure of an existing table?

a)

CREATE TABLE

b)

ALTER TABLE

c)

DROP TABLE

d)

INSERT INTO

68.

Which feature in LibreOffice Base can be used to enforce data integrity by ensuring data entered in one table corresponds with data in another table?

a)

Primary Key

b)

Foreign Key

c)

Index

d)

Default Value

69.

True or False: A 'Composite Key' in LibreOffice Base is a primary key that consists of two or more fields.

a)

True

b)

False

70.

Which SQL statement is used to add a new record to a table in LibreOffice Base?

a)

INSERT INTO

b)

ADD RECORD

c)

ADD TO TABLE

d)

INSERT NEW

71.

Match the following SQL clauses with their purposes: Column A (SQL Clauses) Column B (Purposes) A. ORDER BY 1. Sorts the result set of a query B. GROUP BY 2. Groups rows sharing a property into summary rows C. HAVING 3. Filters groups created by the GROUP BY clause D. JOIN 4. Combines rows from two or more tables

a)

A-2, B-1, C-4, D-3

b)

A-1, B-2, C-3, D-4

c)

A-3, B-4, C-1, D-2

d)

A-4, B-3, C-2, D-1

72.

True or False: In LibreOffice Base, the 'Report Wizard' helps create reports that summarize data from tables or queries.

a)

True

b)

False

73.

Which of the following is NOT an SQL data type in LibreOffice Base?

a)

VARCHAR

b)

INT

c)

DATE

d)

BOOLEANSTRING

74.

Which tool in LibreOffice Base allows you to visually represent the relationships between different tables in a database?

a)

Relationship Window

b)

Form Designer

c)

Query Wizard

d)

SQL Editor

75.

To prevent a field from being left empty in a table, which constraint should be applied in LibreOffice Base?

a)

CHECK

b)

UNIQUE

c)

NOT NULL

d)

DEFAULT

76.

True or False: An SQL query in LibreOffice Base can be used to insert, update, delete, or retrieve data from the database.

a)

True

b)

False