Visit My Data Structure Blog for Programs...
It is important for every Computer Science student to understand the concept of Information and how it is organized or how it can be utilized.
If we arrange some data in an appropriate sequence, then it forms a Structure and gives us a meaning. This meaning is called Information .
A data structure is a particular way of storing and organizing data in a computer so that it can be used efficiently.
Data may be organized in many different ways. The logical model of a particular organization of data in a computer is called data structure. The choice of the model based on two considerations.
It should be reflect the data in the real world.
It should be simple that one can effectively process the data when necessary.
E.g. Array, linked list, stack, queue, tree, graph
Data structure can be classified into two:
Linear:
A data structure is said to be linear if its elements form a sequence
E.g. Array, linked list, stack, queue
Non-Linear:
A data structure is said to be non-linear if its elements do not form a sequence
E.g. tree, graph
Data Structure Opeations:
Traversing:
Processing each element in the list exactly once. It is also known as visiting the record.
Searching:
Finding the location of a record with a given value or finding records which satisfying one or more conditions.
Inserting:
Adding a new element to the structure.
Deleting:
Removing an element from the structure.
Sorting:
Arranging the records of a structure in some order.
Merging:
Combining the records in two different sorted files into a single sorted file.
What Are Shell Scripts? In the simplest terms, a shell script is a file containing a series of commands. The shell reads this file and carries out the commands as though they have been entered directly on the command line. The shell is somewhat unique, in that it is both a powerful command line interface to the system and a scripting language interpreter. As we will see, most of the things that can be done on the command line can be done in scripts, and most of the things that can be done in scripts can be done on the command line. Writing Your First Script And Getting It To Work To successfully write a shell script, you have to do three things: Write a script Give the shell permission to execute it Put it somewhere the shell can find it Writing A Script A shell script is a file that contains ASCII text. To create a shell script, you use a text editor . A text editor is a program, like a word processor, that reads and writes ASCII text files. There are...
Thanks for sharing useful information, keep sharing your thoughts like this...
ReplyDeleteUnix Training in Chennai
Unix Courses Online