Class 10 DBMS Unsolved Questions
Class 10 DBMS Unsolved Questions
3.Differentiate between:
(a) Memo and Varchar data type
MEMO VARCHAR
Stores up to the maximum length Stores upto the specified length
indicated by user.
It is used to store some descriptive The number of bytes
data having more than 255 allocated depends on the number of
characters characters entered by
the user
5. What is the use of Alias row in the Design grid of the Query
Design window?
The Alias row in the Design grid of the Query Design window is used to
provide an alternative name for a field, making the output more readable or
meaningful.
8.In libre office Base, Explain the number of ways in which tables can
be entered.
There are two ways to create tables in LibreOffice .
a) Using design view
b) Using wizard view
Example:
Consider the table Student (Roll Primary Key, Name, Course). Column Roll
serves as the Primary Key, allowing the value of the foreign key in the child
table to be determined.
Take another table, Subject (Roll, Subject, SubName), for example. Column
Roll acts as a Foreign Key in the table above, and its values are derived from
it.
ALTER :
This command is used to add, delete or change columns in the existing table.
The user needs to know the existing table name and can do add, delete or
modify tasks easily.
Syntax –
ALTER TABLE table_name
ADD column_name datatype;
DROP :
This command is used to remove an existing table along with its structure
from the Database.
Syntax –
DROP TABLE table_name;
RENAME:
It is possible to change name of table with or without data in it using simple
RENAME command.
Syntax –
RENAME TABLE <Table Name> To <New_Table_Name>;
17. What is the purpose of the Alter command? Explain using an
example.
ALTER :
This command is used to add, delete or change columns in the existing table.
The user needs to know the existing table name and can do add, delete or
modify tasks easily.
Syntax –
ALTER TABLE table_name
ADD column_name datatype;
Example –
In our Student_info table, we want to add a new column for CGPA. The syntax
would be as below as follows.
19. Mention the components of the Grid area while creating the query in
‘Design Grid’.
Design Grid is the lower portion of the Query Design Window.It contains
columns where you can set up the fields.It contains various elements- Fields,
Table, Show, Sort, Criteria and Or.
22. With respect to a database ,in how many ways can forms and reports
be created?
There are two methods for making forms and reports: