0% found this document useful (0 votes)
14 views35 pages

Base

Uploaded by

seboro9508
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)
14 views35 pages

Base

Uploaded by

seboro9508
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

Questions Consolidated from Base Unit

How to interpret this sheet:


BQP: Board Exam Question Paper
SQP: Sample Question Paper
Order of pages is like, one page has questions, next page has its corresponding
answers
So you can use first sheet to practice, 2nd sheet to cross check your answers.

Most Important Topics (Ranked by Frequency)

1. SQL Queries (Commands & Syntax)

This is the practical core of the unit. You are almost guaranteed to get a question asking you to
write or interpret a SQL query.

• What to learn:
o SELECT Statement: The "bread and butter" command. Know how to use
SELECT * FROM, SELECT <column> FROM.
o WHERE Clause: Filtering data (e.g., WHERE Quantity > 50 or WHERE
Category = 'Domestic').
§ Asked in: 2024, 2023, 2025.
o Ordering: The keyword is ORDER BY. Know that default is Ascending (ASC) and
you can specify Descending (DESC).
§ Asked in: 2024, 2025 Main, 2025 Supplementary.
o Update/Delete: Less frequent, but know the syntax differences just in case.

2. Primary Keys, Foreign Keys, and Relationships

This is the most heavily weighted theoretical topic.

• What to learn:
o Primary Key: Definition ("Unique identifier for a row"). You must be able to
pick the best field for a Primary Key from a given table (e.g., StudentID,
BookID).
§ Asked in: 2023, 2025 Main, 2025 Supplementary.
o Foreign Key: Know it is a field that links to the Primary Key of another table to
create a relationship.
o Types of Relationships: One-to-One, One-to-Many, Many-to-Many. You need to
explain these or give examples.
§ Asked in: 2025 Main, 2025 Supplementary.
o Prerequisites: To link tables, you need a Common Field and Matching Data
Types.
§ Asked in: 2025 Supplementary, 2025 Main.

3. Database Objects (Tables, Forms, Queries, Reports)

The board often asks for definitions or "Fill in the blank" questions about what these objects do.

• What to learn:
o Forms: Used for an "user-friendly interface" to enter or modify data.
§ Asked in: 2024, 2025 Supplementary.
o Reports: Used to "summarize and present data" (usually for printing).
§ Asked in: 2024, 2025 Supplementary (implied).
o Queries: Used to "retrieve" specific data.

4. Data Types

This topic appears in both multiple-choice and subjective questions where you must suggest a
data type for a specific scenario.

• What to learn:
o Boolean: For Yes/No values.
o Varchar vs. Char: Variable length vs. Fixed length text.
o Currency/Decimal: For money/prices.
o Binary/Image: For storing photos or music.
o Integer: For whole numbers (Quantities, IDs).

Repeatedly Asked Questions (Direct Patterns)

1. Case Study: Table Analysis (New Trend in 2025)


o Pattern: They give you a drawn table (like "Student" or "Books") and ask 3-4
questions based on it.
o Questions asked: "Identify the Primary Key," "Suggest a data type for the Price
column," "Identify Candidate Keys," "Count the records/attributes."
o Reference: 2025 Main Q21 , 2025 Sup Q21 , 2023 Q20.
2. Prerequisites for Relationships:
o 2025 Sup: "What will happen if the data type of common field... is not same?"
o 2025 Main: "What are the important prerequisites for setting a relationship...?"
3. Sorting:
o 2024: Keyword for ascending order (ASC).
o 2025 Main: Definition of arranging data.
o 2025 Sup: Define "Sorting" and its two types.
4. Forms vs. Reports:
o 2024: Explain concepts of Forms and Reports.
o 2025 Sup: "Object... that has a user-friendly interface..." (Form).
What You Should Pay Extra Attention To (The "Tricky" Parts)

1. Keys Terminology:
o Don't just learn Primary Key.
o Learn Candidate Key (Any column that could be a primary key).
o Learn Alternate Key (A candidate key that was not chosen as the primary key).
o Why? In 2025 Main, they specifically asked to "Identify the field that can serve as
an alternate key".
2. Data Types for Images:
o Students often forget this. If asked "Which data type stores a photo?", the answer
is usually Binary, Image, or LongVarBinary depending on the options provided.
o Reference: 2024 Q4(v) , 2023 Q4(v).
3. Relationship Mismatches:
o Understand strictly that if you try to link a Text field in Table A to an Integer
field in Table B, the relationship will not work. This concept was tested in 2025
Supplementary.

Summary Recommendation

To score full marks in the Base unit:

1. Practice SQL: Be comfortable writing SELECT * FROM Table WHERE Condition


ORDER BY Column.
2. Analyze Tables: Look at sample tables and practice identifying which column is the
Primary Key and what data types the other columns would use (e.g., "Price" is
Currency/Decimal, "Name" is Varchar).
3. Memorize Definitions: Forms (Interface), Reports (Presentation), Primary Key (Unique
Identifier), Sorting (Arranging Order).
4. Understand Keys: Be clear on the difference between Primary, Foreign, Candidate, and
Alternate keys.
MCQ Questions

2025 BQP
2025 Supplementary QP
BQP 2024
BQP 2023
SQP 2025

Q1. Composite Key


Question:
In a database table, if more than one field is used together to uniquely identify a record, it is
called:

a) Primary Key
b) Foreign Key
c) Composite Key
d) Candidate Key

Correct Answer: (c) Composite Key

Q2. VARCHAR Storage


Question:
If a database field is defined as VARCHAR(50) and the user enters 20 characters, how much
storage is allocated?

a) 50 bytes
b) 20 bytes
c) 64,000 bytes
d) 255 bytes

Correct Answer: (b) 20 bytes

Q3. Suitable Data Model


Question:
A database designer wants to create a system where multiple tables are connected, allowing
retrieval of related data efficiently. Which data model should the designer use?

a) Relational Data Model


b) Network Data Model
c) Hierarchical Data Model
d) All of these

Correct Answer: (a) Relational Data Model


Q4. Query Design Window Parts
Question:
The Query Design Window in LibreOffice Base is divided into how many parts?

a) One
b) Two
c) Three
d) Four

Correct Answer: (c) Three

Q5. Forms in Database


Question:
Which of the following statements about forms in a database is incorrect?

a) A form provides a user-friendly interface for entering and modifying data.


b) Each field control in a form consists of a label and a field value text box.
c) Forms can include graphics, titles, and additional text for better presentation.
d) Forms are used to permanently store data like tables.

Correct Answer: (d) Forms are used to permanently store data like tables.

Q6. Report Wizard Components


Question:
Which of the following components open along with the Report Wizard in LibreOffice Base?

a) Report Builder
b) Add Fields dialog box
c) Both a and b
d) Neither a nor b

Correct Answer: (c) Both a and b


SECTION B: SUBJECTIVE TYPE
QUESTIONS

Q7. One-to-Many vs Many-to-Many


Question:
Differentiate between One-to-Many and Many-to-Many relationships in a database.

Correct Answer:

One-to-Many:

• Definition: One record in the master table corresponds to multiple records in the related
table.
• Example: One teacher can teach multiple students.

Many-to-Many:

• Definition: Multiple records in one table correspond to multiple records in the related
table.
• Example: Students can enroll in multiple courses, and each course can have multiple
students.

Q8. Table-Based Questions


Given Table:

Roll Number Student Name Class Marks


101 Aryan Sharma 10A 450
102 Priya Singh 10B 470
103 Rohan Mehta 10A 480
104 Ananya Kapoor 10C 460

Questions:
(a) Name all the fields in the given table.
(b) Which field should be made the primary key?
(c) Suggest an alternate key, if any.
(d) Explain how a primary key differs from a foreign key with an example.
Correct Answer:
(a) Fields: Roll Number, Student Name, Class, Marks.
(b) Primary Key: Roll Number — it uniquely identifies each student.
(c) Alternate Key: Student Name, if names are unique (though duplicates may occur in reality).
(d) Difference Between Primary Key and Foreign Key:

• Primary Key: A field that uniquely identifies a record in its table.


Example: BookID in a Books table.
• Foreign Key: A field in another table that refers to the primary key of the master table to
create a relationship.
Example: PublisherID in Books table referring to PublisherID in Publisher table.

Q9. Referential Integrity Case Study


Question:
Ruhi is managing a Sports Day database in LibreOffice Base with tables EventCategory
(master) and Events (transaction).

(a) What is referential integrity? Give an example.


(b) Ruhi wants to stop deletion of any category that is being used in the Events table. Which
option should she use?
(c) If a CategoryID is changed in EventCategory, how does the Update Cascade option affect the
Events table?
(d) If Set NULL is used and a master record is deleted, what happens in the Events table? How is
it different from Set Default?

Correct Answer:

(a) Referential Integrity: Ensures every foreign key value in the transaction table matches a
primary key in the master table.
Example: If CategoryID C003 exists in Events, it must also exist in EventCategory.

(b) No Action: It prevents deletion of a master record if it is being used in the Events table.

(c) Update Cascade: If a CategoryID in EventCategory is modified, all related CategoryID


values in the Events table update automatically.
Example: C003 changed to C010 → all Events entries with C003 become C010.

(d) Set NULL vs Set Default:

• Set NULL: Related foreign key fields become NULL when the master record is deleted.
Example: If CategoryID C003 is deleted, Events table CategoryID becomes NULL.
• Set Default: Related fields are set to a predefined default value (e.g., C001) instead of
NULL.
SQP 2024

SECTION A: OBJECTIVE TYPE QUESTIONS (1 Mark Each)

Q1. Definition of Information

• Question: Which of the following best defines "information"? (a) Unprocessed raw facts
such as names, marks, and addresses. (b) Organized and processed data that provides
meaningful insights. (c) Audio, video, and graphics stored without any processing. (d) A
collection of unrelated raw facts.
• Correct Answer: (b) Organized and processed data that provides meaningful
insights.

Q2. Referential Integrity

• Question: What does referential integrity in a database ensure? (a) All primary keys are
unique across the database. (b) All records in a table must have a value in every column.
(c) Every foreign key value must match a primary key in the referenced table or be null.
(d) Data can be freely deleted from any table without constraints.
• Correct Answer: (c) Every foreign key value must match a primary key in the
referenced table or be null.

Q3. Data Models

• Question: Which of the following data models sets a relation between the two or more
tables? (a) Relational Data Model (b) Network Data Model (c) Hierarchical Data Model
(d) Connection Data Model
• Correct Answer: (a) Relational Data Model

Q4. Primary Key Properties

• Question: Which of the following statements are true about primary key in a database?
(a) It is a field that can have duplicate values. (b) It uniquely identifies each record in a
table. (c) It can have null values (d) It is an optional field in a database table.
• Correct Answer: (b) It uniquely identifies each record in a table.

Q5. Query Design Window

• Question: Which of the following dialog boxes appears when the Query Design window
is opened for the first time to design a query? (a) Add Table (b) Add Query (c) Add
Query or Report (d) Add Table or Query
• Correct Answer: (d) Add Table or Query

Q6. Data Presentation


• Question: What feature in OpenOffice Base allows users to present retrieved data in a
user-friendly and formatted manner? (a) Query (b) Form (c) Report (d) Data view
• Correct Answer: (c) Report

SECTION B: SUBJECTIVE TYPE QUESTIONS

Q7. Importance of Relationships (2 Marks)

• Question: In a database, why is it important to create relationships between the tables? *


Answer: While working with multiple tables, you need to check the redundancy and
inconsistency of data. The record for a particular entity should neither be repeated nor
different data values should appear for a single entity in the database. This is done by
setting relationships between the tables of a database.

Q8. Forms in DBMS (4 Marks)

• Question: A health clinic is developing a patient management system to streamline


patient intake, appointments, and medical records. They need to implement forms for
various purposes, including new patient registration, appointment scheduling, and
updating medical histories. (a) What is the use of form in DBMS? (b) What are the
different ways to create forms in DBMS? (c) Where can we find various tools to add or
edit controls on the form? (d) What is the use of the Records Toolbar in a form?
• Answer:
o (a) A form is an object of the database that has a user-friendly interface where
data can be entered and seen in an attractive and easy-to-read format. For any
database, it is the front end for data entry and data modification.
o (b) There are two ways to create a form: Using a wizard and Using the Design
View.
o (c) Forms Control Toolbar. * (d) The Records toolbar contains the navigation
control buttons in the extreme left. With the help of these buttons, we can traverse
and view the records in the file.

Q9. DBMS Concepts (4 Marks)

• Question: Your cousin runs a small bookstore and wants to maintain an inventory of
books. He needs to record information such as book titles, authors, ISBNS, publication
dates, prices, and stock levels. However, he is not familiar with database management
systems. Explain the following concepts to help him understand DBMS: (a) What is
DBMS? (b) What are the advantages of using DBMS? (c) Name any two database
programs that can be used to create a table and store the data according to his
requirements. (d) Which field can be set as a Primary Key?
• Answer:
o (a) A Database Management System (DBMS) is software that helps users create,
manage, and manipulate databases. It allows for efficient data storage, retrieval,
and organization.
o (b) Advantages of using DBMS:
§ Data Integrity: Ensures accuracy and consistency of data.
§ Data Security: Provides access controls to protect sensitive information.
§ Reduced Data Redundancy: Minimizes duplication of data across the
database.
§ Data Management: Simplifies data handling through structured query
language (SQL).
o (c) MySQL and Open Office Base.
o (d) The ISBN (International Standard Book Number) can be set as a primary key,
as it uniquely identifies each book in the inventory.

SQP 2023

SECTION A: OBJECTIVE TYPE QUESTIONS (1 Mark Each)

Q1. Filtering
Question:
__________ means that the query uses criteria you provide to hide some data and display only
required data.

a) Filtering
b) Sorting
c) Report
d) Forms

Correct Answer: (a) Filtering

Q2. Appropriate Application for Storing Customer Data


Question:
Which of the following applications is not appropriate to store data about ABC Bank customers?

a) OpenOffice Base
b) MS Access
c) OpenOffice Writer
d) MS Excel

Correct Answer: (c) OpenOffice Writer


Q3. File Duplication
Question:
Multiple copies of the same file lead to __________.

a) Data Inconsistency
b) Data Consistency
c) Data Redundancy
d) Foreign Key

Correct Answer: (c) Data Redundancy

Q4. Field Property for Character Limit


Question:
Identify the property that helps set the number of characters in a text/varchar field of a table in
DBMS.

a) Entry Required
b) Default Value
c) Size
d) Length

Correct Answer: (d) Length

Q5. Default Length of Text Field


Question:
The length of a Text data type field is __________ characters by default in DBMS.

a) 10
b) 25
c) 20
d) 50

Correct Answer: (d) 50


Q6. Mode to Modify Table Structure
Question:
Identify the mode where we can modify the structure of a table.

a) Datasheet view
b) Structure view
c) Design view
d) All of the above

Correct Answer: (c) Design view

Q7. Suitable for Small Data Storage


Question:
__________ store data in a single table, suitable for storing a small amount of data.

a) Flat File
b) Relational
c) Mini File
d) Single File

Correct Answer: (a) Flat File

SECTION B: SUBJECTIVE TYPE QUESTIONS

Q8. Numeric & Alphanumeric Datatypes


Question:
List Numeric and Alphanumeric Datatypes in OpenOffice Base.

Correct Answer:
Numeric Datatypes: TinyInt, SmallInt, Integer, BigInt, Decimal, Real, Float, Double, Boolean.
Alphanumeric Datatypes: Char(fix), Varchar, Varchar_ignorecase, Longvarchar (Memo).

Q9. SQL Queries Based on Given Table


Given Table: Sales
Prod_Name Price Discount Sale_Id
Laptop 65000 2500 1101
Pen tab 29500 1000 1103
Desktop 50000 1055 1150
Printer 12000 2000 1106

Questions:
(a) How many fields and records are there in Sales table?
(b) Write SQL commands for:
i. Display Sale_Id and price of all products whose discount is more than 1000.
ii. Display the details alphabetically by product name.
iii. Display product name and sales price after deducting the discount (Price – Discount).

Correct Answer:
(a) Fields: 4
Records: 4

SQL Commands:
i. SELECT Sale_Id, Price FROM Sales WHERE Discount > 1000;
ii. SELECT * FROM Sales ORDER BY Prod_Name;
iii. SELECT Prod_Name, Price - Discount AS SalesPrice FROM Sales;

Q10. Explaining DBMS Concepts to a Friend


Question:
Your friend owns a chemist shop and needs to store medicine records (ID, purchase date, expiry
date, price, etc.) in a database. Explain the following:

1. What is DBMS?
2. Name any two database programs he can use.
3. Which field can be set as Primary Key?
4. Can more than one field be made primary key? Justify.

Correct Answer:

1. DBMS: A Database Management System is software that helps create, manage, and use
databases. It simplifies storing, retrieving, and maintaining data.
2. Database Programs: Microsoft Access, MySQL, OpenOffice Base.
3. Primary Key: The ID field should be the primary key because it uniquely identifies each
medicine.
4. Multiple Fields: Yes, more than one field can be a primary key together. This is called a
Composite Primary Key.
Q11. (For Visually Impaired Candidates) Definitions
Question: Define the following:

1. Sorting
2. Referential Integrity
3. Many-to-Many Relationship
4. Foreign Key

Correct Answer:

1. Sorting: Arranging data in ascending or descending order, usually by selecting a column


and clicking sort options.
2. Referential Integrity: Ensures accuracy and consistency of data between related tables,
enforced using primary and foreign keys.
3. Many-to-Many Relationship: A relationship where multiple records in one table
correspond to multiple records in another table.
4. Foreign Key: A column (or set of columns) in one table that refers to the primary key of
another table.
Subjective Type Questions

BQP 2025

Q. What are the important prerequisites for setting a relationship between two tables in
LibreOffice Base ? Mention any two.

Q.
(a) Give any two advantages of relating two tables in a database.
(b) Explain many-to-many relationship between the tables in a
database.
Q.
BQP 2025 Supplementary

Q. With reference to LibreOffice Base, define "Sorting" in a table. Also mention


its two types.

Q. While working with multiple tables, you need to set up relationships between the tables
of a database. Answer the following questions based on the above information :
(a) What is the most important prerequisite for setting a relationship between the two
tables ?
(b) How many types of relationships can be created between two tables ? Name any two.
(c) While setting up relationship between two tables in LibreOffice Base, what will happen
if the data type of common field in both tables is not same ?
Q.
Answer:

BQP 2024

Q. Give any two benefits of creating relationships between tables in a database.


Q. In context of OpenOffice Base, explain the concept and significance of the
following :
(a) Forms
(b) Reports

Q.
Q. What is a Primary Key ? How is it different from foreign key ?
Q. Explain any four data types of DBMS.
Q.

Answer:
(a)
(b)

You might also like