The document covers various aspects of database management, including data types, relationships between tables, and query design. It includes fill-in-the-blank exercises, true/false statements, and multiple-choice questions to assess understanding of these concepts. Key topics include primary keys, referential integrity, and the use of queries to extract information from databases.
The document covers various aspects of database management, including data types, relationships between tables, and query design. It includes fill-in-the-blank exercises, true/false statements, and multiple-choice questions to assess understanding of these concepts. Key topics include primary keys, referential integrity, and the use of queries to extract information from databases.
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_______. 1. Which of the following actions can be performed once the tables are created in a database? (a) Add a field in a table (b) Rename a table (c) Delete a table (d) All of the above
2. Which of the following is checked by a DBMS?
(a) Redundancy (b) Inconsistency (c) Both (a) and (b) (d) Neither (a) nor (b)
3. Which of the following is required to set a relationship
between the two tables? (a) Both the tables must be in different databases (b) Both the tables must have a common field (c) Both the tables must have the same name (d) Both tables must be stored in documents folder only.
4. If a record is added in a master table, which of the following
is NOT true for transaction table (a) The record in the master table is called the master record (b) The corresponding record in transaction table can only be entered once. (c) The record in the transaction table is called the transaction record. (d) It is possible to add a record in the master table
5. Which type of relationship exists between a student and
the subjects studied by him/her? (a) One-to-one (b) One-to-many (c) Many-to-many (d) All of the above 6. Consider the following tables. Which type of relationship can be established between the two tables? (a) One-to-one (b) One-to-many (c) Many-to-many (d) None of the above
7. Which of the following menus contains the Relationship
option? (a) Edit (b) File (c) Tools (d) View
8. The list of tables to be added is displayed in the __________
dialog box in the Relationship Screen. (a) Add Tables (b) Add Databases (c) Both (a) and (b) (a) Neither (a) nor (b)
9. In the relationship design screen, the relationship between
the two tables is done using __________ operation. (a) Click (b) Double Click (c) Drag and Drop (d) Right click
10. Which of the following is NOT an option that can be used
to maintain referential integrity in a database? (a) No Action (b) Set NULL (c) Set Default (d) Set Value
B. State whether the following statements are True or False
1. Redundancy is preferred in a database. False 2. In a table, a record for a particular entity should not be repeated. True 3. A single field should always have only one data value. False 4. If a table is edited, the records already entered in it are deleted. False 5. The record in master table should be entered before the corresponding record is entered in the transaction table. True 6. In one-to-many relationship, one specific record of the master table has more than one corresponding records in the related transaction table. True 7. The Relationship option is present in the Widows menu. False 8. In a database, the referential integrity is maintained by the user. False 9. A relationship is always set between the tables based on a common field. True 10. If the master record is deleted, the transaction records will always be deleted. False
C. Fill in the blanks
1. A table to be edited is displayed in ______Design_____ view. 2. The most important prerequisite for setting a relationship between the two tables is that there must be a _____common field___________between them. 3. In _____one-to-one___________relationship, one specific record of a master table has one and only one corresponding record in the transaction table. 4. ____one-to-many relationship_______________is one of the most common types of relationship between the tables in a database. 5. A record being entered in a __transaction_______ table must always exist in a ___master_____ table. 6. The principle of _____referential integrity__________helps prevent missing data by keeping deleted data from getting out of synch. 7. Creating ___relationship_________ between tables restricts the user from entering invalid data in the referenced fields. 8. Data integrity is maintained by _DBMS_____________. 9. A relationship between customers and products is an example of _____Many-to-Many_____________ relationship. 10. The ______Relationship design____________ window is used to set relationships between the tables 1. Which of the following is refer to asking questions from the database? (a) Report (b) Table (c) Query (d) Database
2. Which of the following are the ways to design a query?
(a) Wizard (b) Design View (c) SQL (d) All of the above 3. Which is a flexible way to create a query? (a) Wizard (b) Design View (c) Both (a) and (b) (d) Neither (a) nor (b) 4. Into how many parts is the query design window divided? (a) One (b) Two (c) Three (d) Four 5. Which of the following is NOT true about queries? (a) It can be created using multiple tables (b) Multiple queries can be created in a database (c) A query can run multiple times (d) A query once created cannot be edited 6. Which of the following is the shortcut key to run the query? (a) F3 (b) F4 (c) F5 (d) F6 7. Which of the following functions can be performed on numerical data while designing a query? (a) Sum (b) Minimum (c) Maximum (d) All of the above 8. In a Query Design wizard, which of the following buttons is clicked to move a field from ‘Available fields’ list box to ‘Fields in the query‘ list box? (a) > (b) < 9 (c) ∨ (d) ∧ 9. Which of the following relational operators can be applied to set the criterion while designing a query in LibreOffice Base? (a) > (b) = (c) != (d) Add Form 10. Which of the following dialog box is present when the Query Design window is opened for the first time to design a query? (a) Add Table (b) Add Query (c) Add Table or Query (d) None of the above 11. Which of the following step is not performed if there is no numerical data to be worked upon in a query? (a) Selection of fields (b) Giving Aliases (c) Summarizing (d) Selection of tables B. State whether the following statements are True or False 1. You can run a query only once. False 2. A query cannot be created from multiple tables. False 3. The shortcut key to run a query is F5. True 4. LibreOffice Base provides us with two ways to create a query. False 5. A query with numerical data cannot be saved. False 6. By default the query result is not sorted. True 7. A query can be used to display the average value of a numerical field. True 8. While designing a query, the criterion can be set on only one field. False 9. Alias is an alternative name for a field in a query. True 10. In query Design window, the visible check box is selected by default. True 11. A query once created using a wizard can only be edited in the Design view. True
C. Fill in the blanks
1. A __query__________ is a sort of question asked from a database. 2. The result of the query is displayed in ___report_________ form with field names in columns 3. A query can be created in __three______ways. 4. The Query Design window is divided into ___two_______ sections. 5. The shortcut key to run the query is ____F5__________. 6. The conditions to filter the records are set in the _criterion________ row. 7. When a table is selected in a Query wizard, the corresponding fields are displayed in the___available fields_______________list box. 8. The result of the query can be displayed in __ascending________ or ______decending_______ order of any particular field of the table. 9. At the most _____three_____ search conditions can be given in the query wizard. 10. The last step of the Query wizard displays the entire ____overview________ of the query. 11. The _____design________ view is a more flexible method to create a query. 12. To edit any query, right click on the ___query_____ icon of the query that has to be edited. 13. In the ______alias_______ row of the Query Design grid, we can type the column heading that will be displayed instead of field name when we run the query.