TECHNICAL INTERVIEW QUESTION ANSWERS OF CGI FOR FRESHERS OF SQL
TECHNICAL INTERVIEW QUESTION ANSWERS OF CGI FOR FRESHERS OF SQL
Q1. What is the purpose of Database Systems ?
Ans : The purpose of Database Systems which was developed was to handle the difficulties of the typical file-processing systems which was supported by conventional operating systems. The difficulties were :
1) Data redundancy and inconsistency.
2) Difficulty in accessing data.
3) Data isolation - multiple files and formats.
4) Integrity problems.
5) Atomicity of updates.
6) Concurrent access by multiple users.
7) Security problems.
Q2. State the difference between Security and Integrity ?
Ans : Security - Data Security basically deals with the protection of data.
Integrity - Data Integrity basically deals with the validity of data.
Q3. Define Normalisation ?
Ans : Normalisation - Normalisation is the process of reorganizing data in a database so that it can meet two basic requirements. The two basic requirements are :
1) There is no redundancy of data.
2) Data dependencies are logical.
Q4. What is a Linked Server ?
Ans : Linked Server - Linked Server allows us to connect to other database instances on the same server or on another machine or remote servers.
Q5. What is Collation ?
Ans : Collation - Collation specially specifies how data is sorted and compared in a database. It provides the sorting rules, case and accent sensitivity properties for the data in the database.
Q6. Define Unique Key ?
Ans : Unique Key - Unique Key is a set of one or more than one fields/columns of a table that uniquely identify the record in a database table.
Q7. What are the different types of Collation Sensitivity ?
Ans : The different types of Collation Sensitivity are as follows :
1) Case Sensitivity - It is A and a, B and b, etc.
2) Accent Sensitivity - It is a and a', o and o',etc.
3) Kana Sensitivity - When Japanese Kana Characters Hiragana and Katakana are treated differently it is known as Kana Sensitivity.
4) Width Sensitivity - It is a single-byte character and the same character represented as a double-type character are treated differently than it is known as width sensitivity.
Q8. What is a synonym ?
Ans : Synonym - Synonym is an alternative name for objects such as Tables, Views, Sequences, Stored Procedures, and other database objects.
Q9. Define Primary Key ?
Ans : Primary Key - Primary Key is a constraint which uniquely identifies each record in a table. It must contains unique values but it cannot contain null values.
Q10. What is the difference between normalization and denormalization ?
Ans : Normalization - It's data integrity is maintained. It's redundancy is eliminated. Here the number of tables increases.
Denormalization - It's data integrity may not be retain. It's redundancy is added. Here the number of tables decreases.
Q11. What is an Integrity Constraints ?
Ans : Integrity Constraints - Integrity Constraints are a set of rules. It is used to maintain the quality of information.
Comments
Post a Comment