You must sign in Login/Signup

New student? Register here

An important facility for 12th class students preparing for short questions computer science 12th class chapter 2 of BISE. Get hundreds of questions to prepare and get better marks in 12th computer science
Generic placeholder image

0

Our database contains a total of 0 questions for computer science Short Questions. You’ll prepare using this huge databank.

Question: 1
List different types of keys.
Answer: 1
1-18
List of Keys:
  1. Primary Key
  2. Secondary Key
  3. Sort/Control Key
  4. Composite/Concatenate Key
Question: 2
Differentiate between parent table and child table.
Answer: 2
2-18
Parent Table: The table to which the foreign key is refers is called parent table.
Question: 3
What is Secondary Key?
Answer: 3
3-18
A secondary key in non-unique field that is used as a secondary key.
Question: 4
Define the term Table or Relation.
Answer: 4
4-18
Table or Relation is a two dimensional array or table of data containing descriptive information about entity.The entity must have a unique identifier,which is composed of an combination of one or more attributes,and each attributes must have one and only one value.
Question: 5
Define Primary key.
Answer: 5
5-18
Primary key is a relation ,that attributes or a combination of attributes that uniquely identifies a row or a record.
Question: 6
Give an example of entity.
Answer: 6
6-18
Let us consider an example of "Students information System" which has entity like student,teacher,course list,scholarship,Time,labeling etc.Thus the entity involved in this case are same and the entity"student" can be defined in the form of database.
Question: 7
Write down the basic purpose of using views.
Answer: 7
7-18
Views are created by using SQL,which is powerful database language,used for data manipulation purpose.The purpose of using views is purely to keep the data safe and secure from unauthorized and illegal users.The view provide the description of relation that are not stored ,but constructed as needed from stored relations.
Question: 8
Enlist four properties of a relation.
Answer: 8
8-18
A table or relation or table which is basis of relational DBMS,by definition must have certain inherent characteristics that form the basis for its underlying strength and flexibility.These characteristics are:
  1. No duplicate rows exist
  2. The order of the row is insignificant
  3. The order of column is insignificant
  4. Attributes are all element or Atomic.
Question: 9
Define Indexes.
Answer: 9
9-18
Indexes is a table created by the system developer/DBA containing the key attributes of the table for which the index is created .It has a very vital role in the database management system,especially in RDBMS,The important association defined in the system make use of this.It helps the system run smoth and fast.
Question: 10
Define an Entity.
Answer: 10
10-18
An entity is anything about which you want to keep information in database.For example Students ,Teachers,etc.
Question: 11
Define Field.
Answer: 11
11-18
A field is a unit of data consisting of one or more characteristics i.e ,Employee number Employee name or grade of an Employee in a record of the employee.
Question: 12
What is the Key?
Answer: 12
12-18
A key is a single or combination of one or more fields and its purpose to point/retrieve the data rows from the tables,according to the requirements.Keys are defined in the relation/tables to access or sequence the stored data fast and smooth or to create the links between them.
Question: 13
Who is Database Administrator?
Answer: 13
13-18
A database administrator is responsible for the entire data of an organization.Hr normally develops the overall functions requirements for the database being used in the office.He shares in developing the logical design for each database,He should control and manage the database,establish the data standard,supervise the data distribution within the organization and communicate with the user when necessary.
Question: 14
Define Composite Key.
Answer: 14
14-18
Composite Key consists of two or more data elements or attributes,Invariably these are the same as Candidate/alternate keys except that of uniqueness requirement,In order to make it unique,assign STATUS or another attribute.
Question: 15
Who is end users?
Answer: 15
15-18
The user or end-user is simply is a person who uses the computer for his specific need.He might have a moderate knowledge of computer,computer sciences and information technology and his need to use computers may be entertainment,education or professional task.
Question: 16
Differentiate between Primary key and Secondary key.
Answer: 16
16-18
Primary Key:In a relation,the attributes the column or a combination of attributes that uniquely identifies a row or a record.
Question: 17
Define Foreign Key.
Answer: 17
17-18
A foreign key is an attribute in a table whose value must match a primary key in another table.The table in which the foreign key is found in called dependent table and to which it refers is called parent table.
Question: 18
Define Alternate keys.
Answer: 18
18-18
Sometimes it is not clear which field is to select as the primary key.There might exist some additional fields(or combination of fields) that also have the uniqueness property.These keys are termed as alternate key.