Friday 5 July 2013

Q.Write a program to find palindrome string using string functions.

Program:

#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
    char a[30];
    int b,c=0,i=0,j;
    clrscr();
    printf("Enter the String:");
    scanf("%s",a);
    b=strlen(a);
    j=b-1;
    while(a[i]==a[j])
    {
        ++c;
        ++i;
        --j;
    }
    if(c==b)
        printf("\nString is Palindrome");
    else
        printf("\nString is not a palindrome");
    getch();
}


Sample Output:

    

Note: 
 " Hi I am a Learner of C/C++. I have done this program with my own Knowledge. There may be an easy way to solve this program. So I am sorry if this program in your point of view is too long. "

Tuesday 2 July 2013

Some Useful Websites for Placement.. Try Your Best ~ Improve Your Skills ~ Success will follow you..

Dear Friends
  • I got Some useful websites that will help us a lot for the placement..
  • If you find any other useful websites,then kindly share us by your comment.
  • Wish you all a great Success for Your Great Career.
Website Links for Preparation:
Share any websites that will be helpful for us all...

Website Links for JOB SEARCH:


BEST WISHES FOR YOUR SUCCESSFUL CAREER 

" LET US START GROW~LikE A SeeD &
              LET US TOUCH THE SKY~LikE A BirD  "

திருமணமானவர்கள் ­ கீழே உள்ள செய்தியைப் படிக்கவேண்டாம்


ஒரு பெண்மணி நடு இரவில் தூக்கத்தில் எழுந்து தன் கணவர் அருகில் இல்லாததை உணர்ந்து அவரைத் தேடினார்!.

வீடு முழுவதும் தேடி, கடைசியில் அவர் சமையலையறையில் அமர்ந்திருந்ததை­க் கண்டார், அவருக்கு முன்னால் காபி இருந்தது.

அவர்ஆழ்ந்த சிந்தனையில் சுவரை வெறித்துப் பார்த்தபடி அமர்ந்திருந்தார்.

இடையிடையே கண்ணில் வழியும் கண்ணீரைத் துடைத்தபடி காபியை அருந்திக் கொண்டிருப்பதைக் ­ கண்டார்.

மனம் பதைபதைத்து அவர் அருகில் சென்று, இதமாகக் கையைப் பிடித்து, “என்ன ஆயிற்று? இந்த நடு இரவில் இங்கே வந்து தனியாக அமர்ந்திருக்கிறீர்களே?” என்று கேட்டார்.

கணவன்: உனக்கு நினைவிருக்கிறதா?

20 வருடங்களுக்கு முன்னால் உனக்கு 18 வயதாகும் போது நாம் இருவரும் தனியாக பார்க்கில் சந்தித்தோமே?

மனைவி: ஆமாம், நினைவிருக்கிறது.

கணவன் (தொண்டை அடைக்கக் கமறலுடன்): அன்று உன் அப்பாவிடம் இருவரும் மாட்டிக்கொண்டோமே?

மனைவி: ஆமாம் (கணவரின் கண்களைத் துடைத்து விடுகிறார்)

கணவன்: என் நெற்றிப்பொட்டில் துப்பாக்கியை வைத்து “மரியாதையாக என் பெண்ணைத் திருமணம் செய்து கொள்கிறாயா?

இல்லை, 20 ஆண்டுகள் உன்னை ஜெயிலுக்கு அனுப்பவா?” என்று உன் அப்பா என்னைக் கேட்டது உனக்கு நினைவிருக்கிறதா?

மனைவி: அதுவும் நினைவில் இருக்கிறது. அதற்கென்ன?

கணவன் கண்களைத் துடைத்தவாறு: அன்று என்னை ஜெயிலுக்கு அனுப்பியிருந்தால் இன்று எனக்கு விடுதலை நாள்!!!

# இதுக்கு அப்புறம் விழுந்த அடி, கேக்கவா வேணும்...


Monday 1 July 2013

GATE 2013-2014 Syllabus for Electronics and Communication Engineering (EC)



ENGINEERING MATHEMATICS
Linear Algebra: Matrix Algebra, Systems of linear equations, Eigen values and eigen vectors.
Calculus: Mean value theorems, Theorems of integral calculus, Evaluation of definite and improper integrals, Partial Derivatives, Maxima and minima, Multiple integrals, Fourier series. Vector identities, Directional derivatives, Line, Surface and Volume integrals, Stokes, Gauss and Green’s theorems.
Differential equations: First order equation (linear and nonlinear), Higher order linear differential equations with constant coefficients, Method of variation of parameters, Cauchy’s and Euler’s equations, Initial and boundary value problems, Partial Differential Equations and variable separable method.
Complex variables: Analytic functions, Cauchy’s integral theorem and integral formula, Taylor’s and Laurent’ series, Residue theorem, solution integrals.
Probability and Statistics: Sampling theorems, Conditional probability, Mean, median, mode and standard deviation, Random variables, Discrete and continuous distributions, Poisson,Normal and Binomial distribution, Correlation and regression analysis.
Numerical Methods: Solutions of non-linear algebraic equations, single and multi-step methods for differential equations.
Transform Theory: Fourier transform,Laplace transform, Z-transform.

ELECTRONICS AND COMMUNICATION ENGINEERING

Networks: Network graphs: matrices associated with graphs; incidence, fundamental cut set and fundamental circuit matrices. Solution methods: nodal and mesh analysis. Network theorems: superposition, Thevenin and Norton’s maximum power transfer, Wye-Delta transformation. Steady state sinusoidal analysis using phasors. Linear constant coefficient differential equations; time domain analysis of simple RLC circuits, Solution of network equations usingLaplace transform: frequency domain analysis of RLC circuits. 2-port network parameters: driving point and transfer functions. State equations for networks.
 
Electronic Devices: Energy bands in silicon, intrinsic and extrinsic silicon. Carrier transport in silicon: diffusion current, drift current, mobility, and resistivity. Generation and recombination of carriers.p-n junction diode, Zener diode, tunnel diode, BJT, JFET, MOS capacitor, MOSFET, LED, p-I-n and avalanche photo diode, Basics of LASERs. Device technology: integrated circuits fabrication process, oxidation, diffusion, ion implantation, photolithography, n-tub, p-tub and twin-tub CMOS process.
 
Analog Circuits: Small Signal Equivalent circuits of diodes, BJTs, MOSFETs and analog CMOS. Simple diode circuits, clipping, clamping, rectifier.Biasing and bias stability of transistor and FET amplifiers. Amplifiers: single-and multi-stage, differential and operational, feedback, and power. Frequency response of amplifiers.Simple op-amp circuits. Filters. Sinusoidal oscillators; criterion for oscillation; single-transistor and op-amp configurations.Function generators and wave-shaping circuits, 555 Timers. Power supplies.
 
Digital circuits: Boolean algebra, minimization of Boolean functions; logic gates; digital IC families (DTL, TTL, ECL, MOS, CMOS). Combinatorial circuits: arithmetic circuits, code converters, multiplexers, decoders, PROMs and PLAs. Sequential circuits: latches and flip-flops, counters and shift-registers. Sample and hold circuits, ADCs, DACs. Semiconductor memories. Microprocessor(8085): architecture, programming, memory and I/O interfacing.
 
Signals and Systems: Definitions and properties ofLaplace transform, continuous-time and discrete-time Fourier series, continuous-time and discrete-time Fourier Transform, DFT and FFT, z-transform. Sampling theorem. Linear Time-Invariant (LTI) Systems: definitions and properties; causality, stability, impulse response, convolution, poles and zeros, parallel and cascade structure, frequency response, group delay, phase delay. Signal transmission through LTI systems.
 
Control Systems: Basic control system components; block diagrammatic description, reduction of block diagrams. Open loop and closed loop (feedback) systems and stability analysis of these systems. Signal flow graphs and their use in determining transfer functions of systems; transient and steady state analysis of LTI control systems and frequency response. Tools and techniques for LTI control system analysis: root loci, Routh-Hurwitz criterion, Bode and Nyquist plots. Control system compensators: elements of lead and lag compensation, elements of Proportional-Integral-Derivative (PID) control. State variable representation and solution of state equation of LTI control systems.
 
Communications: Random signals and noise: probability, random variables, probability density function, autocorrelation, power spectral density. Analog communication systems: amplitude and angle modulation and demodulation systems, spectral analysis of these operations, superheterodyne receivers; elements of hardware, realizations of analog communication systems; signal-to-noise ratio (SNR) calculations for amplitude modulation (AM) and frequency modulation (FM) for low noise conditions. Fundamentals of information theory and channel capacity theorem. Digital communication systems: pulse code modulation (PCM), differential pulse code modulation (DPCM), digital modulation schemes: amplitude, phase and frequency shift keying schemes (ASK, PSK, FSK), matched filter receivers, bandwidth consideration and probability of error calculations for these schemes. Basics of TDMA, FDMA and CDMA and GSM.
 
Electromagnetics: Elements of vector calculus: divergence and curl; Gauss’ and Stokes’ theorems, Maxwell’s equations: differential and integral forms. Wave equation, Poynting vector. Plane waves: propagation through various media; reflection and refraction; phase and group velocity; skin depth. Transmission lines: characteristic impedance; impedance transformation; Smith chart; impedance matching; S parameters, pulse excitation. Waveguides: modes in rectangular waveguides; boundary conditions; cut-off frequencies; dispersion relations. Basics of propagation in dielectric waveguide and optical fibers. Basics of Antennas: Dipole antennas; radiation pattern; antenna gain.

Thursday 27 June 2013

Q. Write a C program to generate pascal triangle or Write a C program to print following number triangle :







1






1
1




1
2
1


1
3
3
1
1
4
6
4
1

Solution:

#include<stdio.h>
#include<conio.h>

void main()
{
    int a,b,i,j,d[30],t[30];
    clrscr();
    printf("Enter the max limit:");
        scanf("%d",&a);
    b=a;
    for(i=0;i< a;i++)
    {

//Initialisation..
        t[0]=1; t[i]=1;
d[0]=1;

//Spacing..
        for(j=0;j< b-1;j++)
            printf(" ");
        b--;

//Calculation..
        for(j=1;j<=i;j++)
        {
        d[j]=t[j-1]+t[j];
        }
        d[i]=1;

//Printing..
        for(j=0;j<=i;j++)
        {
            printf("%d ",d[j]);
            t[j]=d[j]; //Restoring temporary Array..
        }

        printf("\n");
    }
getch();
}


Sample Output:





Note: 
 " Hi I am a Learner of C/C++. I have done this program with my own Knowledge. There may be an easy way to solve this program. So I am sorry if this program in your point of view is too long. "


10 Best moments in life

- To finish your last exam..

- To wake up and realize its
still possible to sleep "5 min" .
 

- To get a phone call saying
class is cancelled..
.
- To see an old friend again and
to feel that things have not changed..
.
 


- To touch the fingers of newly
born child..
.
- Walking alone on a silent road at night and thinking of
some good old days
memories..
.
- Riding the cycle/bike on a
highway while its raining.. .
 

- Sitting alone but you are still
smiling cause you know
someone is watching you..
.
-The calm You feel inside when you Are near to Almighty God
.
- And the last one is "right
now" while reading this
message there was constant
smile on your face..


Sunday 23 June 2013

Q. Write a program to find the given number is strong or not?

#include<stdio.h>
#include<conio.h>

void main()
{
    unsigned int n,x,l,m,fact,a=1,ans=0;
    clrscr();
    printf("\nEnter Number:");
    scanf("%d",&n);
    x=n;
    while(n> 9)
    {
        fact=1;
        l=n%10;
        n=(n-l)/10;
        m=l;
        do
        {
            fact=fact*m;
            m--;
        }
        while(m!= 0);
        ans=ans+fact;
    }
    do
    {
        a=a*n;
        n--;
    }while(n!=0);
    ans=ans+a;
    printf("\nANSWER: %d",ans);
    if(ans==x)
        printf("\nThe number is Strong");
    else
        printf("\nThe Number is not strong");
getch();

Thursday 20 June 2013

Q.Write a Program to perform array multiplication( C programming).

Array Multiplication:
Solution:
#include<conio.h>
#include<stdio.h>

void main()
{
    int a[25][25],b[25][25],c[25][25],i,j,m,n,o,k;
    clrscr();
    printf("\nEnter row & column in A:\n");
        scanf("%d\n%d",&m,&n);
    printf("\nEnter the column value in B:\n");
        scanf("%d",&o);
    printf("\nEnter %d*%d value of A\n",m,n);
    for(i=0; i< m; i++)
        for(j=0; j< n; j++)
            scanf("%d",&a[i][j]);
    printf("\nEnter %d*%d value of B\n",n,o);
    for(i=0; i< n; i++)
        for(j=0; j< o; j++)
            scanf("%d",&b[i][j]);
    printf("\nA values:\n");
    for(i=0; i< m; i++)
    {
        for(j=0; j< n; j++)
            printf("%d\t",a[i][j]);
        printf("\n");
    }
    printf("\nB values:\n");
    for(i=0; i< n; i++)
    {
        for(j=0; j< o; j++)
            printf("%d\t",b[i][j]);
        printf("\n");
    }

    for(i=0; i< m; i++)
        for(k=0; k< o; k++)
        {
            c[i][k]=0;
            for(j=0; j< n; j++)
            {
            c[i][k]=c[i][k]+a[i][j]*b[j][k];
            }
        }
    printf("\nC values:\n");
    for(i=0; i< m; i++)
    {
        for(j=0; j< o; j++)
            printf("%d\t",c[i][j]);
        printf("\n");
    }
getch();
}

Sample Output:




Note: 
 " Hi I am a Learner of C/C++. I have done this program with my own Knowledge. There may be easy way to solve this programs. So I am sorry if this program in your point of view is too long. "

Ten Steps to Improve Computer Speed( Tamil )


கணினியின் வேகத்தை அதிகரிக்க 10 வழிகள்! ! ! !

1. உங்கள் கணினியின் RAM எனப்படும் Random Access Memoryன் அளவை அதிகப்படுத்தவும் . ஒரு சாதாரண கணினிக்கு 1GB போதுமானது. அதன் நினைவகத்தின் அளவை அதிகரிக்க அதிகரிக்க வேகமும் அதிகரிக்கும். இப்போது RAM ன் விலை மிகவும் மலிவுதான்.

2. கணினியில் ஏற்கனவே நிறுவியிருக்கக் கூடிய தேவையற்ற மென்பொருட்களை நீக்கிவிடுங்கள் . புதிதாகக் கணினி வாங்கியிருந்தால்  கூட அத்துடன் ஏராளமான தேவையற்ற மென்பொருட்களையும் நிறுவி இருப்பார்கள். அவற்றில் சில மென்பொருட்கள் மட்டுமே நமக்குப்பயன்படும். மீதி அனைத்தையும் நிராகரித்து நீக்கிவிடவும்.

பழைய கணினியிலும் தேவையற்ற மென்பொருட்கள் இருப்பின் அனைத்தையும் நீக்கிவிடவும். அவற்றிற்குரிய Copy இருந்தால் அதை மட்டும் CD / DVD ல் ஏற்றி burn செய்துகொள்ளவும்.

3. FireFox, Chrome, IE என ஒன்றுக்கு மேற்பட்ட browsersஐ நிறுவி இருந்தால் அவற்றில் ஏதேனும் ஒன்றை மட்டும் வைத்துக்கொண்டு மீதியை uninstall செய்துவிடவும்.

4. G-Talk, Yahoo Messenger, Live Messenger என ஒன்றுக்கு மேற்பட்ட அரட்டை அடிக்கும் பயன்பாடுகளைத் தனித்தனியாக நிறுவி இருந்தால் எல்லாவற்றையும் uninstall செய்துவிட்டு, digsby ( http://www.digsby.com/ ) போன்ற ஒரே ஒருinstant messenger (நேரடி அரட்டை அரங்கம்) ஐ நிறுவிக் கொள்ளவும்.

5. கணினியில் Windows இயங்குதளமானது boot ஆகும்போது நிறையப் பயன்பாடுகளும் இணைந்தே துவங்கும். இதற்கு auto startup என்று பெயர். இப்படி ஏராளமான பயன்பாடுகளும் விண்டோஸ் இயங்குதளத்துடன் துவங்கினால் அதன் வேகம் மிகக் குறைந்துவிடும். http:// www.revouninstal ler.com/ பயன்படுத்தி தேவையற்ற தானியங்கிப் பயன்பாடுகளைக் கழித்துவிடவும்.

6. Startup Delayer ஐ இறக்கி அதைப் பயன்படுத்தி Autoloading பயன்பாடுகளை நீக்கிவிடலாம்.

7. Windows பயனர்கள் அதன் தேவையில்லாத animation தொந்தரவுகளால் அதன் வேகம் குறைவதை உணர்ந்திருப்பார்கள்.My Computerல் right click செய்து, advanced tabல் settingsல், Performanceல் Animate WindowsWhen minimizing and maximizingஎன்கிறதை disable செய்யவும். மேலும் தேவையில்லாதவற்றயையும் disable செய்யவும்.

8. Desktopல் இருக்கும் குறுக்குவழிச் சுட்டிகளுக்கான படங்களை அகற்றிவிடலாம். எனது நண்பர் ஒருவர் 50க்கு மேற்பட்ட desktop icons வைத்திருந்தார். அதனாலேயே அவரது கணினியின் வேகம் மிகக் குறைந்தது. தேவையில்லாத desktop ஐகான்ஸ் எல்லாவற்றையும்நீக்கியபின் கணினியின் வேகம் அதிகரித்தது.

9. கணினியில் ஒரு நெருப்புச்சுவர் (firewall), வைரசுஎதிர்ப்போன் (anti virus), ஸ்பைவேர் எதிர்ப்போன் (anti spyware) கண்டிப்பாகத் தேவை. அவற்றை அடிக்கடி புதுப்பித்துக்க கொண்டே இருக்கவேண்டும்.

10. ஆனால் இணையத்துடன் இணைந்திருக்காத தனிக் கணினிகள் மற்றும் வெளியிடத்து Floppy, CD, DVD, Pen Drive போன்றவற்றை அனுமதிக்காத கணினிகளில் மேலே கூறிய firewall, antivirus, antispyware போன்ற எதுவும் நிறுவாமல் இருந்தால் அதன் வேகம் மும்மடங்கு ஆகும் என்பதில் ஐயமில்லை.

பகிரவும் நண்பர்களே...!

Popular Posts