EmbLogic's Blog

Article on C

PROJECT 01(C-Programming based project)

This project is totally based on C language as the name suggests .It is a middle level language , basically it is a compiler dependent. Being an engineer this C language is a very paramount part of a technical skills of an engineer. Moreover there is a C based project i.e. “Multiple Data Compression” in data is compressed and prepared it in encrypted form. This project teaches how to

use C and how to execute it at an industry level projects.

MULTIPLE DATA COMPRESSION(MDC): Main aim of this project is to encode data to take up less storage space and less bandwidth for transmission. Digital data are compressed by finding repeatable patterns of binary 0s and 1s.

Data compression is particularly useful in communications because it enables devices to transmit or store the same amount of data in fewer bits. There are a variety of data compression techniques, but only a few have been standardized.

Encryption is the conversion of data into a form, called a cipher text, that cannot be easily understood by unauthorized people. Decryption is the process of converting encrypted data back into its original form, so it can be understood.

In Project 01, we started from scratch. We covered all individuals topics in C one by one and went through almost all aspects of every topics. We also interrelate different topics with each other such as

pointers with structures, array with pointers etc.

We covered all these topics one by one:

  1. First of all, we come to know about all basics syntax and semantics , keywords, constants of C languages . Memory allocation in C language . We come to know how memory is allocated to different data types? Mainly we come to know the style of programming , value of indentation, value of memory, how to write big and big programmes in lesser lines.

  2. We covered many topics:

    • Conditional statements: it is used when we want to execute a particular set of statements followed by a particular condition. There are basically three types of conditional statements:

      • IF ,IF-ELSE

      • SWITCH

      • USING RELATIONAL OPERATORS

  • Control structures: loops – It is basically using a particular set of statements for a number of times iteratively. There are basically three types of control structures:

    • FOR- for(initilization, condition,increment/decrement)

    • WHILE- initilization

      while(condition)

      { set of statements

      increment/decrement}

  • DO-WHILE- do{ set of statements}

    while(condition);

  • Arrays and Strings: Array is a collection of same data type stored in a continuous memory locations.

    String is collection of same data type i.e. Character data type stored in a continuous memory location and strings are stored in stack memory.

  • Pointers: It is a variable which holds the address of another variable . It always occupies 4 bytes of memory irrespective of its mentioned data type. Mentioned data type just indicate about the type of variable whose address is stored in pointer type variable.

  • Another topics related to C are FILE IO: File input output system. It is of two types: Low level and high level

    STRUCTURES AND UNIONS, LINKED LIST, STACKS AND QUEUES , FUNCTIONS , SEARCHING AND SORTING TECHNIQUES.

  • There are various project management tools:

    CVS- Concurrent Version System

RCS- Revision Control System

MAKE FILE- multiple targets in one file

GDB-GNU Debugger

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>