Questions

2 Marks Quetions

🎯

Test yourself on this topic

15 questions · timed · auto-graded

Question 12 Marks
What is the utility of primary key in database? Write distinct features of primary keys.
Answer
Primary key is used to uniquely identify the record in a database. It can be a column or a set of columns in the table. Main features of primary key are as follows:
  1. It must contain a unique value for each record of table.
  2. It does not contain null values.
View full question & answer
Question 22 Marks
Write the relationship between a database and a table.
Answer
A database contains multiple tables whereas, a table cannot exist outside a database.
View full question & answer
Question 32 Marks
How are fields, record and a table related to each other? Explain with the help of an example.
Answer
Fields are one type of information. A record contains logically related fields. A table Emp name contains logically related records.
EmpNoNameSalary
1.Shridhar20000
2.Raghav40000
Here EmpNo, Name and Salary are three different fields. 1, Shridhar, 20000 represents one complete record.
View full question & answer
Question 42 Marks
Name two possible primary keys for an Employee table.
Answer
Possible primary keys for an Employee table are empcode, empphonenumber.
View full question & answer
Question 52 Marks
Write any two uses of database management system.
Answer
DBMS is used to store data at a centralised location.
It is used to minimise data redundancy and data inconsistency.
View full question & answer
Question 62 Marks
A table named School (containing data of students of the whole school) is created, where each record consists of several fields including AdmissionNo (Admission Number), RollNo (Roll Number), Name. Which field out of these three should be set as the primary key and why?
Answer
AdmissionNo should be set as primary key because admission numbers are unique for each and every students of the school, which is not possible in the case with RollNo and Name.
View full question & answer
Question 72 Marks
Define forms and what is the need of using them?
Answer
In a database, a form is a window or a screen that contains numerous fields or spaces to enter data. Forms can be used to view and edit your data. It is an interface in user specified layout.
e.g. a user can create a data entry form that looks exactly like a paper form. People generally prefer to enter data into a well-designed form, rather than a table.
View full question & answer
Question 82 Marks
What do you mean by DBMS?
Answer
It is a collection of programs that enables users to create, maintain database and control all the access to the database. It is a computer based record keeping system. DBMS is a software package that manages database, e.g. MySQL, INGRES, MS-ACCESS etc.
DBMS is actually a tool that is used to perform any kind of operation on data in database.
View full question & answer
Question 92 Marks
What is a primary key?###Define primary key with an example.###What is primary key? Give an example. ###What is a primary key in database? Give an example.
Answer
A field which uniquely identifies each record in a table is known as primary key. e.g. empld is the primary key of the Employee table.
View full question & answer
Question 102 Marks
What is the difference between ‘Rows’ and ‘Columns’ in a table?
Answer
In a table, rows are called records and columns are termed as fields. A row stores complete information of a record whereas column stores only similar data values for all records
View full question & answer
Question 112 Marks
Define RDBMS.
Answer
RDBMS is a type of DataBase Management System that stores data in the form of relations (tables). Relational databases are powerful, so they require few assumptions about how data is related or how, it will be extracted from the database.
View full question & answer
Question 122 Marks
What do you understand by report?
Answer
When you want to print those records which are fetched from your database, design a report. It is an effective way to present data in a printed format. It allows you to represent data retrieved from one or more tables, so that it can be analysed.
View full question & answer
Question 132 Marks
Define query in the context of database.
Answer
A query is an inquiry into the database using the SELECT statement.These statements give you filtered data according to your conditions and specifications indicating the fields, records and summaries which a user wants to fetch from a database.
View full question & answer
Question 142 Marks
Write any two advantages of using database.
Answer
Can ensure data security.
Reduces the data redundancy.
View full question & answer
2 Marks Quetions - COMPUTER APPLICATIONS STD 10 Questions - Vidyadip