Class 12 IT ITeS Domestic CRM Voice Session 1 RDBMS Concepts Questions Answers

Dear students, Welcome to my post on Class 12 IT ITeS Domestic CRM Voice Session 1 RDBMS Concepts Questions Answers. Here I have provided the exercise as well as additional questions answers of Session 1 RDBMS Concepts from Class 12 Domestic CRM Voice book published by PSSCIVE.

Class 12 IT-ITeS Domestic CRM Voice Session 1 RDBMS Concepts questions Answers

Class 12 IT ITeS Domestic CRM Voice Session 1 RDBMS Concepts Questions Answers

Check your Progress

A. Multiple Choice Questions
  1. A database is a

(a) organized collection of information that cannot be accessed, updated and managed

(b) Collection of data or information without organizing

(c) Organized collection of data or information that can be accessed, updated and managed

(d) organized collection of data that cannot be updated

Ans : (c) Organized collection of data or information that can be accessed, updated and managed

2. Which of the following is not a valid SQL type ?

(a) float

(b) numeric

(c) decimal

(d) character

Ans: (c) decimal

3. In DBMS, table is known as _______ and row is known as ________.

(a) relation, tuple

(b) tuple, tuple

(c) tuple, relation

(d) relation, relation

Ans: (a) relation, tuple

4. In any table, the data types describe the kind of _________ that it can contain.

(a) table

(b) data

(c) number

(d) column

Ans: (b) data

5. The SQL statement used to select data items from the database is

(a) SELECT

(b) USE

(c) ALTER

(d) CREATE

Ans: (a) SELECT

6. The database can be renamed using _________ SQL statement

(a) CREATE DATABASE

(b) RENAME DATABASE

(c) DROP DATABASE

(d) SELECT DATABASE

Ans: (b) RENAME DATABASE

7. The syntax used to show all databases is

(a) USE DATABASES

(b) SELECT DATABASES

(c) SHOW DATABASES

(d) DISPLAY DATABASE

Ans: (c) SHOW DATABASES

8. In a database table the field which uniquely identifies each row in the table is known as ________

(a) primary key

(b) unique key

(c) composite key

(d) foreign key

Ans: (a) primary key

9. Foreign key is a ___________ key in another table.

(a) primary

(b) unique

(c) composite

(d) candidate key

Ans : (a) primary

10. The multiple columns that are used as primary key is known as

(a) unique key

(b) composite key

(c) foreign key

(d) candidate key

Ans: (b) composite key

11. Which of the following key is used to link between two tables

(a) primary

(b) foreign

(c) composite

(d) unique

Ans: (b) foreign

12. A primary key cannot be

(a) Zero

(b) foreign key

(c) duplicate

(d) NULL

Ans: (d) NULL

B. Fill in the blanks
  1. In DBMS, table is known as __________ and row is known as _________.

Ans: relation, tuple or record

2. Organized collection of data or information for accessing, updating and management is known as __________.

Ans: Database

3. A relational database consists of a collection of _________.

Ans: tables.

4. To see all available databases in MySQL ; ________ command is used.

Ans: show databases

5. Data Definition language is the language which is used to defining the ________ of relation.

Ans: design

6. In order to build a link between two tables, ___________ is used.

Ans: foreign key

7. In order to make multiple columns as a Primary Key, ________ can be used.

Ans: Composite Primary Key

8. Foreign key is a field in a table that is __________ in another table.

Ans: Primary Key

9. A Key which uniquely identifies each row in the table is known as __________

Ans: Primary Key

10. A foreign key can be _________ or ____________ _. (null, duplicate)

Ans: null, zero

C. State whether true or False

  1. DBMS is an interface between Database application and database. Ans: False
  2. Using the SQL statement RENAME DATABASE; a database can be renamed. Ans: True
  3. To see all existing databases; SHOW DATABASES; syntax is used. Ans : True
  4. A Primary Key is basically a Column or Columns. Ans: True
  5. To make a link between two tables, we can use foreign key constraints. Ans: True
  6. A Primary Key can be NULL. Ans: False
  7. A Foreign Key cannot be Duplicate. Ans: True
  8. If multiple columns are used as Primary Key, it is known as Composite Key. Ans: True
  9. There could be two Primary keys constraints in a single table. Ans: False
  10. A Foreign Key cannot have NULL value. Ans: True

D. Short answer questions.

  1. What is file system? Write down limitations of file system.

ফাইল চিস্টেম কি? ফাইল চিস্টেমৰ সীমাবদ্ধতাসমূহ লিখা।

Ans: A file system is a method that an operating system uses to control how data is stored, organized, retrieved, and managed on a storage device like a hard disk, SSD, or USB drive. It provides a way to separate data into files and directories and allows users and programs to read, write, modify, and delete files.

Some limitations of file system are –

i. Difficulty in Access : In file system there is no mechanism to retrieve data. Data maintained in a file system are accessed through application programs. So, sometimes it is difficult to access data in the required format.

ii. No Multi- User Support : Basic file systems are not designed for environments where multiple users or applications need simultaneous access with permissions.

iii. Data Redundancy and inconsistency : Redundancy means same data are duplicated in different files. There is no built-in mechanism to avoid duplication of data in a file system. Redundancy leads to excess storage use and may cause data inconsistency also.

iv. Data Dependency : Data are stored in a specific format or structure in a file. If the structure or format itself is changed, all the existing application programs accessing that file also need to be changed.

উত্তৰ: এটা ফাইল চিস্টেম হৈছে এটা পদ্ধতি যি এটা অপাৰেটিং চিস্টেমে এটা হাৰ্ড ডিস্ক, SSD, বা USB ড্ৰাইভৰ দৰে এটা সংৰক্ষণ ডিভাইচত তথ্য কেনেকৈ সংৰক্ষণ, সংগঠিত, উদ্ধাৰ আৰু ব্যৱস্থাপনা কৰা হয় নিয়ন্ত্ৰণ কৰিবলৈ ব্যৱহাৰ কৰে। ই তথ্যক ফাইল আৰু ডাইৰেকটৰিসমূহত পৃথক কৰাৰ এটা উপায় প্ৰদান কৰে আৰু ব্যৱহাৰকাৰী আৰু প্ৰগ্ৰামসমূহক ফাইলসমূহ পঢ়িবলৈ, লিখিবলৈ, পৰিবৰ্তন কৰিবলৈ আৰু মচি পেলাবলৈ অনুমতি দিয়ে।

ফাইল চিস্টেমৰ কিছুমান সীমাবদ্ধতা হ’ল –

i. অভিগমৰ অসুবিধা : ফাইল চিস্টেমত তথ্য উদ্ধাৰ কৰাৰ কোনো ব্যৱস্থা নাই। এটা ফাইল চিস্টেমত ৰক্ষণাবেক্ষণ কৰা তথ্যসমূহ এপ্লিকেচন প্ৰগ্ৰামসমূহৰ যোগেদি অভিগম কৰা হয়। গতিকে, কেতিয়াবা প্ৰয়োজনীয় ফৰ্মেটত তথ্য লাভ কৰাটো কঠিন হৈ পৰে।

ii. কোনো বহু-ব্যৱহাৰকাৰী সমৰ্থন নাই : মূল ফাইল চিস্টেমসমূহ এনে পৰিৱেশৰ বাবে ডিজাইন কৰা হোৱা নাই য’ত একাধিক ব্যৱহাৰকাৰী বা এপ্লিকেচনসমূহক অনুমতিসমূহৰ সৈতে একেলগে অভিগমৰ প্ৰয়োজন।

iii. তথ্য অতিৰিক্ততা আৰু অসামঞ্জস্যতা : অতিৰিক্ততাৰ অৰ্থ হ’ল একে তথ্য বিভিন্ন ফাইলত নকল কৰা হয়। ফাইল চিস্টেমত তথ্যৰ ডুপ্লিকেচন এৰাই চলিবলৈ কোনো অন্তৰ্নিৰ্মিত ব্যৱস্থা নাই। অতিৰিক্ততাই অতিৰিক্ত সংৰক্ষণ ব্যৱহাৰৰ সৃষ্টি কৰে আৰু তথ্যৰ অসামঞ্জস্যতাও সৃষ্টি কৰিব পাৰে।

iv. তথ্য নিৰ্ভৰশীলতা : তথ্য এটা ফাইলত এটা নিৰ্দিষ্ট বিন্যাস বা গঠনত সংৰক্ষণ কৰা হয়। যদি গঠন বা বিন্যাস নিজেই সলনি কৰা হয়, সেই নথিপত্ৰ অভিগম কৰা সকলো বৰ্ত্তমানৰ এপ্লিকেচন প্ৰগ্ৰামও সলনি কৰিব লগা হয়।

2. Why foreign keys are allowed to have NULL values? Explain with an example.

Foreign key সমূহৰ NULL মান থকাৰ অনুমতি কিয় দিয়া হৈছে? এটা উদাহৰণ দি বুজাই দিয়া।

Ans: Foreign keys can have NULL values to allow flexibility in representing optional relationships. A NULL in a foreign key column means that the relationship is not currently defined or not applicable.

উত্তৰ: Foreign key সমূহৰ NULL মান থাকিব পাৰে যাতে বৈকল্পিক সম্পৰ্কসমূহ প্ৰতিনিধিত্ব কৰাত নমনীয়তা অনুমতি দিয়ে। Foreign key columnত এটা NULL ৰ অৰ্থ হ’ল সম্পৰ্ক বৰ্তমানে সংজ্ঞায়িত কৰা হোৱা নাই বা প্ৰযোজ্য নহয়।

3. What are the limitations of file system and how that are overcome by DBMS ?

ফাইল চিস্টেমৰ সীমাবদ্ধতাসমূহ কি আৰু সেইবোৰ DBMS দ্বাৰা কেনেকৈ অতিক্ৰম কৰা হয় ?

Ans: The limitations of file system are as follows –

i. Difficulty in Access : In file system there is no mechanism to retrieve data. Data maintained in a file system are accessed through application programs. So, sometimes it is difficult to access data in the required format.

ii. No Multi- User Support : Basic file systems are not designed for environments where multiple users or applications need simultaneous access with permissions.

iii. Data Redundancy and inconsistency : Redundancy means same data are duplicated in different files. There is no built-in mechanism to avoid duplication of data in a file system. Redundancy leads to excess storage use and may cause data inconsistency also.

iv. Data Dependency : Data are stored in a specific format or structure in a file. If the structure or format itself is changed, all the existing application programs accessing that file also need to be changed.

The limitations of the file system are overcome by Database Management Systems (DBMS) through several key features and techniques. Here’s a comparison that shows how DBMS solves the problems of traditional file-based systems:

  1. Data Redundancy and Inconsistency

File System Problem:
In traditional file system same data may be stored in multiple files leading to duplication and inconsistency.

DBMS Solution:
Data normalization and centralized storage in a database in DBMS reduce duplication. Changes are reflected everywhere since data is stored once.

  1. Difficulty in Data Access

File System Problem:
Retrieving specific data (like all students with marks > 90) requires writing complex programs.

DBMS Solution:
SQL (Structured Query Language) allows easy and powerful data retrieval using simple queries in DBMS.

  1. Data Isolation

File System Problem:
Daa is scattered in various files and formats, making it difficult to combine and access.

DBMS Solution:
DBMS stores data in related tables, making it easy to fetch and join data using queries.

4. Security Problems

File System Problem:
In file system it is hard to restrict access for different users. Anyone with file access can read or write.

DBMS Solution:
DBMS provides user-based access control, roles and permissions to secure data.

ফাইল চিস্টেমৰ কিছুমান সীমাবদ্ধতা হ’ল –

i. অভিগমৰ অসুবিধা : ফাইল চিস্টেমত তথ্য উদ্ধাৰ কৰাৰ কোনো ব্যৱস্থা নাই। এটা নথিপত্ৰপ্ৰণালীত ৰক্ষণাবেক্ষণ কৰা তথ্যসমূহ এপ্লিকেচন প্ৰগ্ৰামসমূহৰ যোগেদি অভিগম কৰা হয়। গতিকে, কেতিয়াবা প্ৰয়োজনীয় ফৰ্মেটত তথ্য লাভ কৰাটো কঠিন হৈ পৰে।

ii. কোনো বহু-ব্যৱহাৰকাৰী সমৰ্থন নাই : মূল নথিপত্ৰপ্ৰণালীসমূহ এনে পৰিৱেশৰ বাবে ডিজাইন কৰা হোৱা নাই য’ত একাধিক ব্যৱহাৰকাৰী বা এপ্লিকেচনসমূহক অনুমতিসমূহৰ সৈতে একেলগে অভিগমৰ প্ৰয়োজন।

iii. তথ্য অতিৰিক্ততা আৰু অসামঞ্জস্যতা : অতিৰিক্ততাৰ অৰ্থ হ’ল একে তথ্য বিভিন্ন ফাইলত নকল কৰা হয়। ফাইল চিস্টেমত তথ্যৰ ডুপ্লিকেচন এৰাই চলিবলৈ কোনো অন্তৰ্নিৰ্মিত ব্যৱস্থা নাই। ৰিডাণ্ডেন্সি অতিৰিক্ত সংৰক্ষণ ব্যৱহাৰৰ সৃষ্টি কৰে আৰু তথ্যৰ অসামঞ্জস্যতাও সৃষ্টি কৰিব পাৰে।

iv. তথ্য নিৰ্ভৰশীলতা : তথ্য এটা ফাইলত এটা নিৰ্দিষ্ট বিন্যাস বা গঠনত সংৰক্ষণ কৰা হয়। যদি গঠন বা বিন্যাস নিজেই সলনি কৰা হয়, সেই নথিপত্ৰ অভিগম কৰা সকলো বৰ্ত্তমানৰ এপ্লিকেচন প্ৰগ্ৰামও সলনি কৰিব লগা হয়।

ফাইল চিস্টেমৰ সীমাবদ্ধতাসমূহ ডাটাবেইচ ব্যৱস্থাপনা ব্যৱস্থাপ্ৰণালীসমূহে (DBMS) কেইবাটাও মূল বৈশিষ্ট্য আৰু কৌশলৰ দ্বাৰা অতিক্ৰম কৰে। ইয়াত এটা তুলনা আছে যি দেখুৱাইছে যে DBMS এ পৰম্পৰাগত নথিপত্ৰ-ভিত্তিয় ব্যৱস্থাপ্ৰণালীৰ সমস্যাসমূহ কেনেকৈ সমাধান কৰে :-

i. তথ্য অতিৰিক্ততা আৰু অসামঞ্জস্যতা:

ফাইল চিস্টেম সমস্যা:
পৰম্পৰাগত নথিপত্ৰপ্ৰণালীত একে তথ্য একাধিক নথিপত্ৰত সংৰক্ষণ কৰিব পাৰি যিয়ে নকল আৰু অসামঞ্জস্যতালৈ লৈ যায় ।

DBMS সমাধান:
ডাটা স্বাভাৱিককৰণ আৰু DBMS ত এটা ডাটাবেইচত কেন্দ্ৰীভূত সংৰক্ষণে ডুপ্লিকেচন হ্ৰাস কৰে। যিহেতু তথ্য এবাৰ সংৰক্ষণ কৰা হয় সেয়েহে পৰিৱৰ্তন সকলোতে প্ৰতিফলিত হয়।

ii. তথ্য প্ৰৱেশৰ অসুবিধা

ফাইল চিস্টেম সমস্যা:
নিৰ্দিষ্ট তথ্য আহৰণ কৰিবলৈ ( > ৯০ নম্বৰ পোৱা সকলো ছাত্ৰ-ছাত্ৰীৰ দৰে) জটিল প্ৰগ্ৰেম লিখাৰ প্ৰয়োজন হয়।

DBMS সমাধান:
SQL (গাঁথনিযুক্ত প্ৰশ্ন ভাষা) এ DBMS ত সৰল প্ৰশ্নসমূহ ব্যৱহাৰ কৰি সহজ আৰু শক্তিশালী তথ্য উদ্ধাৰৰ অনুমতি দিয়ে।

iii. তথ্য পৃথকীকৰণ

ফাইল চিস্টেম সমস্যা:
তথ্য বিভিন্ন ফাইল আৰু ফৰ্মেটত সিঁচৰতি হৈ থাকে, যাৰ ফলত একত্ৰিত আৰু প্ৰৱেশ কৰাটো কঠিন হৈ পৰে।

DBMS সমাধান:
DBMS এ সম্পৰ্কীয় টেবুলসমূহত তথ্য সংৰক্ষণ কৰে, যাৰ ফলত প্ৰশ্নসমূহ ব্যৱহাৰ কৰি তথ্য আহৰণ আৰু যোগদান কৰাটো সহজ হয়।

iv. সুৰক্ষা সমস্যা

ফাইল চিস্টেম সমস্যা :
ফাইল চিস্টেমত বিভিন্ন ব্যৱহাৰকাৰীৰ বাবে অভিগম নিষিদ্ধ কৰাটো কঠিন । ফাইলৰ প্ৰৱেশাধিকাৰ থকা যিকোনো ব্যক্তিয়ে পঢ়িব বা লিখিব পাৰে।

DBMS সমাধান : DBMS এ ব্যৱহাৰকাৰী-ভিত্তিক অভিগম নিয়ন্ত্ৰণ, ভূমিকা আৰু তথ্য সুৰক্ষিত কৰিবলে অনুমতি প্ৰদান কৰে।

4. What is database schema?

ডাটাবেছ আঁচনি কি ?

Ans: A database schema is a set of schema for a database’s relations. It consists of table with all attributes with their data types and constraints if any. It also represents the relationships among the tables. It is used to visualize the logical architecture of database.

উত্তৰ: ডাটাবেছ আঁচনি হৈছে ডাটাবেছৰ সম্পৰ্কৰ বাবে আঁচনিৰ এটা গোট। ইয়াত সকলো বৈশিষ্ট্যৰ সৈতে টেবুল থাকে যাৰ তথ্যৰ ধৰণ আৰু বাধাসমূহ যদি আছে। ই টেবুলসমূহৰ মাজৰ সম্পৰ্কসমূহকো প্ৰতিনিধিত্ব কৰে। ইয়াক ডাটাবেছৰ যুক্তিসংগত স্থাপত্য দৃশ্যমান কৰিবলৈ ব্যৱহাৰ কৰা হয়।

5. What is data redundancy and its associated problems?

ডাটা ৰিডাণ্ডেন্সি আৰু ইয়াৰ লগত জড়িত সমস্যাসমূহ কি ?

Ans: Data redundancy means storing the same piece of data in more than one place (e.g., in multiple files or databases). It usually happens in traditional file-based systems where different applications maintain separate copies of the same data.

Problems Associated with Data Redundancy:

  1. Wastage of Storage Space : Storing the same data repeatedly increases the size of files and wastes disk space.
  2. Data Inconsistency : If one copy of the data is updated but the others are not, the system has conflicting or incorrect data.
  3. Difficulty in Data Updating: Updating the same data in multiple files manually is time-consuming and error-prone.
  4. Higher Maintenance Cost : Managing and maintaining multiple copies of the same data increases administrative efforts and costs.

উত্তৰ: ডাটা ৰিডাণ্ডেন্সিৰ অৰ্থ হ’ল একেটা তথ্যৰ টুকুৰা এটাতকৈ অধিক ঠাইত (যেনে, একাধিক ফাইল বা ডাটাবেছত) সংৰক্ষণ কৰা। ই সাধাৰণতে পৰম্পৰাগত নথিপত্ৰ-ভিত্তিক ব্যৱস্থাপ্ৰণালীত হয় য’ত বিভিন্ন এপ্লিকেচনে একে তথ্যৰ পৃথক কপি ৰক্ষণাবেক্ষণ কৰে।

ডাটা ৰিডাণ্ডেন্সিৰ সৈতে জড়িত সমস্যাসমূহ :

i. সংৰক্ষণ স্থানৰ অপচয় : একে তথ্য বাৰে বাৰে সংৰক্ষণ কৰিলে ফাইলসমূহৰ আকাৰ বৃদ্ধি হয় আৰু ডিষ্ক স্থান অপচয় হয়।

ii. তথ্যৰ অসামঞ্জস্যতা : যদি তথ্যৰ এটা কপি আপডেইট কৰা হয় কিন্তু আনবোৰ নহয়, চিস্টেমত বিৰোধী বা ভুল তথ্য থাকে।

iii. তথ্য উন্নয়ন কৰাত অসুবিধা: একাধিক ফাইলত একে তথ্য হস্তচালিতভাৱে আপডেইট কৰাটো সময়সাপেক্ষ আৰু ভুল-প্ৰৱণ।

iv. অধিক ৰক্ষণাবেক্ষণ খৰচ : একেটা তথ্যৰ একাধিক কপি পৰিচালনা আৰু ৰক্ষণাবেক্ষণ কৰিলে প্ৰশাসনিক প্ৰচেষ্টা আৰু খৰচ বৃদ্ধি পায়।

6. How data redundancy problem is solved in DBMS?

DBMS ত ডাটা ৰিডাণ্ডেন্সি সমস্যা কেনেকৈ সমাধান কৰা হয়?

Ans: DBMS (Database Management System) solves the problem of data redundancy by using the following techniques :

  1. Data Centralization

In DBMS, all data is stored in a centralized database instead of scattered files. This ensures that each data item is stored only once, reducing duplication.

  1. Normalization

DBMS uses normalization, a process of organizing data into related tables. It removes duplicate data by separating it into multiple related tables and connecting them using keys (like primary and foreign keys).

3. Referential Integrity

Relationships between tables are maintained through foreign keys, which reference primary keys in other tables. This ensures consistency and avoids redundant data entries.

4. Controlled Data Access

DBMS provides user access control, so only authorized users can insert or update data, preventing duplication due to manual errors.

  1. Efficient Update Mechanism

Since data is stored in one place, updating it once updates it for all applications, reducing inconsistency and redundancy.

উত্তৰ: DBMS (Database Management System) এ নিম্নলিখিত কৌশল ব্যৱহাৰ কৰি ডাটা ৰিডাণ্ডেন্সিৰ সমস্যা সমাধান কৰে :

i. তথ্য কেন্দ্ৰীকৰণ

DBMS ত, সকলো তথ্য বিক্ষিপ্ত ফাইলসমূহৰ পৰিবৰ্তে এটা কেন্দ্ৰীভূত ডাটাবেইচত সংৰক্ষণ কৰা হয়। ই নিশ্চিত কৰে যে প্ৰতিটো তথ্য বস্তু মাত্ৰ এবাৰ সংৰক্ষণ কৰা হয়, যাৰ ফলত ডুপ্লিকেচন হ্ৰাস পায়।

ii. স্বাভাৱিককৰণ

DBMS এ স্বাভাৱিককৰণ ব্যৱহাৰ কৰে, তথ্যসমূহ সম্পৰ্কীয় টেবুলসমূহত সংগঠিত কৰাৰ এটা প্ৰক্ৰিয়া। ই নকল তথ্য আঁতৰায় ইয়াক একাধিক সম্পৰ্কীয় টেবুলত পৃথক কৰি আৰু কি’সমূহ ব্যৱহাৰ কৰি সংযোগ কৰি (যেনে প্ৰাথমিক আৰু বিদেশী কি’সমূহ)।

iii. ৰেফাৰেন্সিয়েল ইন্টিগ্ৰিটি

টেবুলসমূহৰ মাজৰ সম্পৰ্কসমূহ বিদেশী কিসমূহৰ যোগেদি ৰক্ষণাবেক্ষণ কৰা হয়, যি অন্য টেবুলসমূহত প্ৰাথমিক কিসমূহ উল্লেখ কৰে। ই সামঞ্জস্যতা নিশ্চিত কৰে আৰু অতিৰিক্ত তথ্য প্ৰৱেশ এৰাই চলিব।

iv. নিয়ন্ত্ৰিত তথ্য প্ৰৱেশ

DBMS এ ব্যৱহাৰকাৰী অভিগম নিয়ন্ত্ৰণ প্ৰদান কৰে, গতিকে কেৱল অনুমোদিত ব্যৱহাৰকাৰীয়ে তথ্য সন্নিবিষ্ট বা আপডেইট কৰিব পাৰে, হস্তচালিত ভুলৰ বাবে ডুপ্লিকেচন প্ৰতিৰোধ কৰি।

v. দক্ষ আপডেট ব্যৱস্থা

যিহেতু তথ্য এটা ঠাইত সংৰক্ষণ কৰা হয়, ইয়াক এবাৰ আপডেইট কৰিলে ইয়াক সকলো এপ্লিকেচনৰ বাবে আপডেইট কৰা হয়, অসামঞ্জস্যতা আৰু অতিৰিক্ততা হ্ৰাস কৰে।

7. What is MYSQL and its features?

MYSQL আৰু ইয়াৰ বৈশিষ্ট্যসমূহ কি?

Ans: MySQL is an open-source relational database management system (RDBMS). It is one of the most widely used databases in the world, particularly for web applications. It uses Structured Query Language (SQL) to manage and manipulate data stored in databases.

The features of MySQL are as follows-

i. MySQL is an open source Relational Database Management System (RDBMS) which is free to use under the GNU General Public License (GPL).

ii. MySQL provide high performance having fast read and write operations.

iii. MySQL can handle large databases and high volumes of data. It is suitable for both small-scale and enterprise-level applications.

iv. MySQL provide strong data protection with access control, user privileges, and SSL support.

উত্তৰ: MySQL হৈছে এটা মুক্ত উৎস সম্পৰ্কীয় ডাটাবেছ ব্যৱস্থাপনা ব্যৱস্থা (RDBMS)। বিশেষকৈ ৱেব এপ্লিকেচনৰ বাবে ই বিশ্বৰ ভিতৰতে সৰ্বাধিক ব্যৱহৃত ডাটাবেছসমূহৰ ভিতৰত অন্যতম। ই ডাটাবেইচসমূহত সংৰক্ষণ কৰা তথ্য পৰিচালনা আৰু পৰিচালনা কৰিবলে গঠনমূলক প্ৰশ্ন ভাষা (SQL) ব্যৱহাৰ কৰে।

MySQL ৰ বৈশিষ্ট্যসমূহ তলত দিয়া ধৰণৰ-

i. MySQL এটা মুক্ত উৎস সম্পৰ্কীয় ডাটাবেইচ ব্যৱস্থাপনা ব্যৱস্থাপ্ৰণালী (RDBMS) যি GNU সাধাৰণ ৰাজহুৱা অনুজ্ঞা (GPL) ৰ অন্তৰ্গত ব্যৱহাৰ কৰিবলে মুক্ত ।

ii. MySQL এ দ্ৰুত পঢ়া আৰু লিখা কাৰ্য্যসমূহ থকা উচ্চ পৰিৱেশন প্ৰদান কৰে।

iii. MySQL এ বৃহৎ ডাটাবেইচ আৰু উচ্চ পৰিমাণৰ ডাটা নিয়ন্ত্ৰণ কৰিব পাৰে। ই ক্ষুদ্ৰ আৰু উদ্যোগ পৰ্যায়ৰ দুয়োটা প্ৰয়োগৰ বাবে উপযোগী।

iv. MySQL এ অভিগম নিয়ন্ত্ৰণ, ব্যৱহাৰকাৰী বিশেষাধিকাৰ, আৰু SSL সমৰ্থনৰ সৈতে শক্তিশালী তথ্য সুৰক্ষা প্ৰদান কৰে।

8. What are various data types available in MYSQL?

MYSQL ত বিভিন্ন ডাটা প্ৰকাৰ কি কি উপলব্ধ ?

Ans: various data types available in MySQL are CHAR (n), VARCHAR (n), INT, FLOAT, DATE

উত্তৰ: MySQL ত উপলব্ধ বিভিন্ন ডাটা প্ৰকাৰ হ’ল CHAR (n), VARCHAR (n), INT, FLOAT, DATE

9. Differentiate between: (a) Database state and database schema (b) Primary key and foreign key (c) Degree and cardinality of a relation

(ক) ডাটাবেছ অৱস্থা আৰু ডাটাবেছ আঁচনি (খ) প্ৰাথমিক কি আৰু বিদেশী কি (গ) এটা relationৰ ডিগ্ৰী আৰু কাৰ্ডিনেলিটি

Ans: (a) Database state and database schema : Database schema is the structure or design of a database. It consists of table with all attributes with their data types and constraints if any whereas Database State represents the actual data stored in a database at a particular point of time within that structure.

উত্তৰঃ (ক) ডাটাবেছৰ অৱস্থা আৰু ডাটাবেছ আঁচনি : ডাটাবেছ আঁচনি হৈছে ডাটাবেছৰ গঠন বা ডিজাইন। ইয়াত সকলো বৈশিষ্ট্যৰ সৈতে টেবুল থাকে যাৰ তথ্যৰ ধৰণ আৰু বাধাসমূহ যদি আছে আনহাতে ডাটাবেইচ অৱস্থাই সেই গঠনৰ ভিতৰত এটা নিৰ্দিষ্ট সময়ত এটা ডাটাবেইচত সংৰক্ষণ কৰা প্ৰকৃত তথ্যক প্ৰতিনিধিত্ব কৰে।

Ans: (b) Primary key and foreign key : The attribute of a table which identifies each record uniquely is called Primary Key whereas A Foreign Key is a column (or combination of columns) used to establish a relationship between two tables. It references the primary key in another table.

উত্তৰ: (খ) প্ৰাথমিক কি আৰু বিদেশী কি : প্ৰতিটো ৰেকৰ্ডক এককভাৱে চিনাক্ত কৰা টেবুলৰ বৈশিষ্ট্যক প্ৰাথমিক কী বোলা হয় আনহাতে বিদেশী কী হৈছে দুটা টেবুলৰ মাজত সম্পৰ্ক স্থাপন কৰিবলৈ ব্যৱহাৰ কৰা এটা স্তম্ভ (বা স্তম্ভৰ সংমিশ্ৰণ)। ই অন্য টেবুলত প্ৰাথমিক কি’ৰ উল্লেখ কৰে।

Ans: (C) Degree and cardinality of a relation : The number of attributes in a relation is called the Degree of the relation whereas the number of tuples in a relation is called the Cardinality of the relation.

উত্তৰঃ (গ) relationৰ ডিগ্ৰী আৰু কাৰ্ডিনেলিটি : relationত থকা attributeৰ সংখ্যাক সম্পৰ্কৰ ডিগ্ৰী বোলা হয় আনহাতে relationত থকা tupleৰ সংখ্যাক relationৰ কাৰ্ডিনেলিটি বোলা হয়।

10. Explain the terms (a) Relation (b) Domain (c) Tuple (d) Attribute (e) Degree (f) Cardinality (g) Primary Key (h) Foreign Key.

(ক) ৰিলেচন (খ) ডমেইন (গ) টাপল (ঘ) এট্ৰিবিউট (ঙ) ডিগ্ৰী (চ) কাৰ্ডিনেলিটি (ছ) প্ৰাথমিক কী (জ) ফৰেইন কী ব্যাখ্যা কৰা।

Ans : (a) Relation : A Relation is a set of tuples having the same attributes. Each relation represents an entity or a relationship between entities.

উত্তৰ : (ক) ৰিলেচন (সম্পৰ্ক ): ৰিলেচন হ’ল একে বৈশিষ্ট্য থকা টাপলৰ এটা গোট। প্ৰতিটো ৰিলেচনই এটা সত্তা বা সত্তাৰ মাজৰ সম্পৰ্কক প্ৰতিনিধিত্ব কৰে।

Ans : (b) Domain : A Domain is a set of possible values for a given attribute in a table. It defines what kind of data can be stored in a column.

উত্তৰ : (খ) ডমেইন : ডমেইন হৈছে টেবুলত থকা এটা নিৰ্দিষ্ট attributeৰ বাবে সম্ভাৱ্য মানৰ এটা গোট। ই এটা স্তম্ভত কেনেধৰণৰ তথ্য সংৰক্ষণ কৰিব পাৰি সেইটো নিৰ্ধাৰণ কৰে।

Ans : (C) Tuple : Each row of data in a table is called a tuple. It is a collection of attribute values.

উত্তৰ : (C) Tuple : টেবুলত থকা প্ৰতিটো ডাটাৰ শাৰীক টাপল বোলা হয়। ই attribute মানৰ সংকলন।

Ans : (d) Attribute : Each column of a table is called the attribute of that table. An attribute is also called the field of a table.

উত্তৰ : (ঘ) এট্ৰিবিউট (বৈশিষ্ট্য) : টেবুলৰ প্ৰতিটো স্তম্ভক সেই টেবুলৰ এট্ৰিবিউট(বৈশিষ্ট্য) বোলা হয়। এটা এট্ৰিবিউটক টেবুলৰ ক্ষেত্ৰ বুলিও কোৱা হয়।

Ans : (e) Degree : The number of attributes in a relation is called the Degree of the relation.

উত্তৰ : (ঙ) ডিগ্ৰী : সম্পৰ্কত থকা বৈশিষ্ট্যৰ সংখ্যাক সম্পৰ্কটোৰ ডিগ্ৰী বোলা হয়।

Ans : (f) Cardinality : The number of tuples in a relation is called the Cardinality of the relation.

উত্তৰ : (চ) কাৰ্ডিনেলিটি : এটা ৰিলেচন (সম্পৰ্ক)ত থকা টাপলৰ সংখ্যাক ৰিলেচনটোৰ কাৰ্ডিনেলিটি বোলা হয়।

Ans : (g) Primary key : The attribute of a table which identifies each record uniquely is called Primary Key

উত্তৰ : (ছ) প্ৰাথমিক কী: প্ৰতিটো ৰেকৰ্ডক এককভাৱে চিনাক্ত কৰা টেবুলৰ এট্ৰিবিউট (বৈশিষ্ট্য)ক প্ৰাথমিক কী বোলা হয়

Ans: (h) Foreign Key : A Foreign Key is a column (or combination of columns) used to establish a relationship between two tables. It references the primary key in another table.

উত্তৰ: (জ) বিদেশী কী : বিদেশী কী হৈছে দুটা টেবুলৰ মাজত সম্পৰ্ক স্থাপন কৰিবলৈ ব্যৱহাৰ কৰা এটা স্তম্ভ (বা স্তম্ভৰ সংমিশ্ৰণ)। ই অন্য টেবুলত প্ৰাথমিক কি’ৰ উল্লেখ কৰে।

11. Describe the various integrity constraints.

বিভিন্ন অখণ্ডতাৰ বাধাৰ বৰ্ণনা কৰা।

Ans: Integrity constraints are rules that ensure the accuracy, consistency, and validity of data in a relational database. These constraints prevent invalid data from entering the database and help enforce business rules.

Types of Integrity Constraints

i. Domain Constraint

It ensures that the values in a column are within a specific domain (data type, range, format).

ii. Entity Integrity Constraint

It ensures that the primary key of a table cannot be NULL. This guarantees that each record is uniquely identifiable.

iii. Referential Integrity Constraint

Ensures that a foreign key in one table matches a primary key in another table or is NULL.

উত্তৰ: অখণ্ডতা বাধা হৈছে এনে নিয়ম যিয়ে সম্পৰ্কীয় ডাটাবেছত তথ্যৰ সঠিকতা, সামঞ্জস্যতা আৰু বৈধতা নিশ্চিত কৰে। এই বাধাসমূহে অবৈধ তথ্যক ডাটাবেছত প্ৰৱেশ কৰাত বাধা দিয়ে আৰু ব্যৱসায়িক নিয়মসমূহ বলবৎ কৰাত সহায় কৰে।

অখণ্ডতাৰ বাধাৰ প্ৰকাৰ :

i. ডমেইন বাধা

ই নিশ্চিত কৰে যে এটা স্তম্ভত থকা মানসমূহ এটা নিৰ্দিষ্ট ডমেইনৰ ভিতৰত আছে (তথ্যৰ ধৰণ, পৰিসীমা, বিন্যাস)।

ii. সত্তাৰ অখণ্ডতা বাধা

ই নিশ্চিত কৰে যে এটা টেবুলৰ প্ৰাথমিক কী NULL হ’ব নোৱাৰে । ইয়াৰ দ্বাৰা প্ৰতিটো ৰেকৰ্ড অনন্যভাৱে চিনাক্তকৰণযোগ্য হোৱাৰ নিশ্চয়তা পোৱা যায়।

iii. ৰেফাৰেন্সিয়েল অখণ্ডতা বাধা

সুনিশ্চিত কৰে যে এটা টেবুলত এটা বিদেশী কী অন্য টেবুলৰ এটা প্ৰাথমিক কী ৰ সৈতে মিলে বা NULL ।

Leave a Comment