Wednesday, August 15, 2007

Experiments/Program Codes - Third Year Computer Engineering ( 6th Sem )

This section contains some of my programs that I had written during my third year in computer engineering. The program codes are absolutely free and can be copied and redistributed by anyone. I hope this section proves to be helpful for the T.Y. Computer Engineering students.

DDA Algorithm

Aim: Generation of a triangle using DDA algorithm.

Programming Language used: C++

Compiler required: Turbo C/C++

Written during: Third Year of Engineering (2006)

Subject: Computer Graphics

Download Code

Bresenham’s Algorithm

Aim: To implement Bresenham's algorithm.

Programming Language used: C++

Compiler required: Turbo C/C++

Written during: Third Year of Engineering (2006)

Subject: Computer Graphics

Download Code

Midpoint Circle Algorithm

Aim: To generate a circle using the midpoint circle algorithm.

Programming Language used: C

Compiler required: Turbo C/C++

Written during: Third Year of Engineering (2006)

Subject: Computer Graphics

Download Code

Midpoint Ellipse Algorithm

Aim: To draw an ellipse using the midpoint-ellipse algorithm.

Programming Language used: C

Compiler required: Turbo C/C++

Written during: Third Year of Engineering (2006)

Subject: Computer Graphics

Download Code

Boundary Fill Algorithm

Aim: To implement boundary fill algorithm to fill a polygon.

Programming Language used: C++

Compiler required: Turbo C/C++

Written during: Third Year of Engineering (2006)

Subject: Computer Graphics

Download Code

Two Dimensional Transformations

Aim: To demonstrate the various two-dimensional transformations.

Programming Language used: C

Compiler required: Turbo C/C++

Written during: Third Year of Engineering (2006)

Subject: Computer Graphics

Download Code

Cohen-Sutherland Two-Dimensional Line Clipping Algorithm

Aim: To implement the Cohen-Sutherland Two-Dimensional Line Clipping Algorithm.

Programming Language used: C

Compiler required: Turbo C/C++

Written during: Third Year of Engineering (2006)

Subject: Computer Graphics

Download Code

Sutherland-Hodgeman 2-D Polygon Clipping Algorithm

Aim: To implement the Cohen-Sutherland Two-Dimensional Line Clipping Algorithm.

Programming Language used: C

Compiler required: Turbo C/C++

Written during: Third Year of Engineering (2006)

Subject: Computer Graphics

Download Code

Bezier Curves

Aim: To generate bezier curves using input control points.

Programming Language used: C

Compiler required: Turbo C/C++

Written during: Third Year of Engineering (2006)

Subject: Computer Graphics

Download Code

Bouncing Ball Animation

Aim: To create an animation showing a bouncing ball.

Programming Language used: C++

Compiler required: Turbo C/C++

Written during: Third Year of Engineering (2006)

Subject: Computer Graphics

Download Code

KnapSack

Aim: To find optimal solution using Knapsack method.

Programming Language used: C++

Compiler required: GCC

Written during: Third Year of Engineering (2006)

Subject: Operation Research

Download Code

Encoding Techniques

Aim: To achieve all eight encoding techniques:

1) Nonreturn to Zero-Level (NRZ-L)

2) Nonreturn to Zero Inverted (NRZI)

3) Bipolar-AMI

4) Pseudoternary

5) Manchester

6) Differential Manchester

7) B8ZS

8) HDB3

Programming Language used: C++

Compiler required: Turbo C/C++

Written during: Third Year of Engineering (2006)

Subject: Computer Networks - I

Download Code