Hacktrox

Created by HAcktrox...........

Hacktrox

Created by HAcktrox...........

Hacktrox

Created by HAcktrox...........

Hacktrox

Created by HAcktrox...........

Hacktrox

Created by HAcktrox...........

Showing posts with label M.C.A /B.C.A/B.tech(CS) NOTES. Show all posts
Showing posts with label M.C.A /B.C.A/B.tech(CS) NOTES. Show all posts

Saturday, 31 August 2013

Design and analysis of computer algorithm notes -

I am providing only one notes of (DAA)design and analysis of computer algorithm. .I will provide another notes of the DAA .But if you comment here then I will provided.
I have a simple notes for M.C.A then all user can easily to understand my Notes and I have all notes of each subject which are in a M.C.A. If you want 
this then comment here....


                                                     DOWNLOAD FILE
                                                 https://shared.com/dxvbgxnmtu


                                       

Sunday, 25 August 2013

WHAT IS ENTITY ?

WHAT IS ENTITY-: An entity may be object with physical existence or it may be object with conceptual existence .Each Entity has an Attributes.for example - Employee is an entity and the name ,id ,address  etc are the attribute of the employee  .that means entity can be connected their attributes.

Saturday, 24 August 2013

DATABASE LANGUAGES -

DATABASE LANGUAGES -Database system provide a Data Definition language to specify the database schema and Data Manipulation Language to express the database query and updates.The data Definition and the data manipulation language are not two separated language ,Instead they simply form parts of a database languages such as widely used in SQL language .


Data Manipulation Language -Data Manipulation language are language that enables user to access the data and manipulate the data as organized by appropriate model.the type of access are -;

1 Retrieval of information stored in the database .
2 Insertion the new information into the database .
3 Deletion of information from the database .
4 Manipulation of information stored in the database.

There are two types of Data Manipulation language -;

1 Procedural DML -; require a user to specify what data are needed .how to get those data .

2 Declarative DML -: require a user to specify what data are needed without specifying hoe to get those data .


Data Definition Language-; We specify database schema by the set of definition expressed by a special language called Data Definition Language .The DDL is used to specify additional property of the data .
We also specify the storage structure and access method by database system by a set of statement in special type of DDL called a Data storage and Data definition Language . These statement define the implementation detail of the database schema ,which are usually hidden from the users.
The data value stored in the database  must be satisfy certain consistency constraints  

DATA INDEPENDENCE

DATA INDEPENDENCE -: Data independence is define to as capacity to change the schema at one level of the database without having to change schema at next level of the database. It can be classified into two ways-;
1-logical independence
2-physical independence


Logical data independence-:Logical independence is define  as capacity to change  the logical schema without having to change external schema or application program .we may changes the conceptual schema to expand the database to change constraints or reduce the database .Only view information and mapping need be changed in DBMS that supported

Physical data independence -:physical data independence is define as capacity to change the internal schema without having to change conceptual schema .therefore external schema need to be changed
as well.

DATABASE USERS AND DATABASE ADMINISTRATOR

                          DATABASE USERS AND DATABASE ADMINISTRATOR

The primary goal of the database is to retrieve information from and store a new information into the database .people who work with the  database that can be categorized as database users and database administrator.

                                              DATABASE USERS -:
There are four types of database users -;
1-Naive user-
2-Application programmer -
3-Sophisticated user-
4-Specialized user-

Naive users-; Naive user is unsophisticated user ,who interact with the system by invoking on of the application program that have been written previously .for example - clerk of the university .who need to add new instructor  in the department (a) .invoke program "new_hire" .Program ask the clerk for the name of the instructor and his id ,department and salary .The typically user interface for the naive user is form interface .the user fill the information on the appropriate field in the form .

 Application programmers -: Application programmer is a computer professional .who write the application program .Application programmer can choose from many tools to developed for the user interface .Rapid application development tools are the tools that enables the application programmer create form and report with minimal programming effort.


Sophisticated users -:Sophisticated users are the user ,who interact with the system without writing a program.they form their request either using a database query languages or by using  a tools such as data analysis software .

Specialized users-: Specialized users can be work on specialized database program .that do not fit into the traditionally data processing  frame work .


                                      DATABASE ADMINISTRATOR-
One of the main reason for using DBMS has central control for both data and the program that access those data .A person who has such central control over the System that is called Database Administrator .The function of Dba include -;

Schema definition-; The dba creates a original database schema by executing a set of data definition  statement in DDL.

Storage structure and access method definition -;it is responsibility of dba for  creating a structure of the database .

Schema and physical organisation modification-: The dba carries out changes to the schema and physical organisation to reflect the changing need of the organisation .

Granting of  authorization  for data access-: By granting there are different types of authorization .dba can be regulate which part of the database various users can access.

The dba can be  create update and delete file from the database .
It is responsibility for the security and protection of the database from the an authorized users.



3 LEVEL OF DATABASE SYSTEM ARCHITECTURE

                          3 LEVEL OF DATABASE SYSTEM ARCHITECTURE -:
The major purpose  of database system is to provide the user with abstract view of data .that is ,system hides certain thing like how the data is stored and maintained,but on the other hand the data must be retrieve efficiently in order for system is to be useful . Since database end users are not be computer trained ,the complexity hidden from them in order to simplify their interaction with the systems through the three level of Architecture .
The three level of Architecture is known as three schema architecture .The purpose of three level of architecture is to separate the user application and the physical database .The purpose of the separation .,different users needed different view of same data .It can be classified into three level-:
 1-view level
2-conceptual and logical level
3-internal and physical level

Internal and physical level -:It is a lowest level of abstraction that describe the how the data are actually stored . Internal level refer to as Physical level .It can be working within a DBMS and operating system .Internal schema written in DDL statement .

Conceptual level- The next higher level of abstraction describe the what data are needed .what are the relationship among the those data .Conceptual level thus describe the entire of the database in the term of small number of relatively simple structure .Although implement of simple structure at the logical level involves complex  physical level structure ,the user of the logical level does not need to aware the complexity .it refer to as physical data in-dependency.

view level -:The highest level of abstraction describe only part of the entire database .Even though the logical level uses the simple structure ,complexity remain  because the variety of information stored in large database .many user of the database does not need to access all information ,instead of they need to access only part of the database .The system may provide many view of the database..

DATABASE SYSTENM VS FILE SYSTEM

                               DATA BASE SYSTEM VS FILE SYSTEM-:
 Database system arose in response to early method of computerized management of commercial of data .for example -: In university organisation ,keeping information abut the instructor,student ,department and offering course .Once way to kept the information on the computer is store it ,in operating system files . The user able to manipulate the data using a various application program.
The typically file processing system is supported by the an operating system .The system store the permanent  record in the various file and it need to extract the data from and add to it .keeping the organisation information in the file processing system has the number of disadvantages -:

1-redundancy of the data -
2-Difficult to access the data -
3-Isolation of the data -
4-Security problem-
5-Integrity problem-
6-Atomicity problem-

What is DBMS ?

What is Dbms -: Dbms(Data base Management System) is a collection of a related data or set of program to access those data .The collection of data refer to as database.The primary goal of the
database is to retrieve and store the database information .and the both convenient and efficient
manner.Database are design to  manage large bodies of a information. It is general purpose software
that facilitates to construct ,manipulate and showing the database among the various user and application .Defining the database involves the specifying the data types ,data structure and constraints of data that can be store in the database .The data definition and data description are also store in the the database in the form of data catalog and data dictionary .Some function can be perform on the database are-:

1-Data can be added to the database.
2-Inserting the data into the existing file.
3-retrieving the data from the existing file.
4.Deleting the data from the existing file .
5.Manipulating the data through the use of the function is query and update