పోస్ట్‌లు

నవంబర్, 2023లోని పోస్ట్‌లను చూపుతోంది
మీ పేపర్స్ దిద్దుతున్నా. వాటిల్లో మీరు నీలం రంగులో వ్రాసిన దానికంటే ఎక్కువ నేను ఎరుపు రంగులో  వ్రాయాల్సి వస్తోంది!  ఇంకా కొన్ని వారాల్లో రెండో పరీక్ష & jntu పెట్టే పెద్ద పరీక్ష ఉంటాయి. ఇక ఏమాత్రం అలసత్వం ప్రదర్శించినా.. పరిణామాలు ఇబ్బందికరంగా ఉంటాయి. గతనెలలో చెప్పినట్లు డిసెంబర్ జనవరిల్లో నేను ఓ నాలుగు రోజులు సెలవు పెట్టాల్సి రావచ్చు .. మనకిక ప్రతీ తరగతి (క్షణమూ) ఆమూల్యమే అని గ్రహించి పూర్తి స్థాయి ఏకాగ్రతతో పాఠాలు వినటం ప్రోగ్రామ్స్ సాధన చేయటం అత్యవసరం.నేనేమీ గొంతెమ్మ కోరికలు కోరట్లే. డిసెంబర్ చివర్లో హైదరాబాద్ ఇండస్ట్రియల్ విజిట్  సందర్భంగా ఓ 3రోజులు క్లాసులు కుదరకపోవచ్చు‌. ఇంకా కొన్ని hands-on వర్క్ షాప్స్ పెట్టాలని(/పెట్టాల్సిన ఆవశ్యకత) ఉంది.  మరోపక్క మనం సామాజిక సేవా కార్యక్రమాలకు కొంత సమయం కేటాయించాలి. (చలికాలం కనుక మనం ఇళ్ళలో ఉపయోగించకుండా ఉన్న దుస్తులు సేకరించి అవసరమైనవారికి ఇద్దాం. మీరే చెప్పండి దీనిని సరిగ్గా ఎప్పుడు ఎలా అమలు చేద్దామో.. కార్యకర్తలు కావాలి. ఇలా ఇంకా మనమేం చేయగలమో చేద్దామో ఆలోచించండి/ చర్చించండి బస్సు ప్రయాణంలో)..అయితే వీటి వల్ల మొదటికే మోసం  (అసలుకే ఎసరు)

Seniors assignment _ must for registration to attend workshop by TCS యశ్వంత్ జీ

Assignment to gain eligibility to workshop by TCS యశ్వంత్ జీ   (25-11-23 each session of 100-150min. 50-60 students/ session) నిజమైన ఆసక్తి ఉన్నవారిని ఎంపిక చేయడానికి...it is mandatory to submit one or more assignments by email before 24-11-23. 20:00.  Those candidates who submit the assignment will be preferred for the workshops/ industry visits in future. Registration form to be filled after submitting assignment  https://forms.gle/bT2VStMuj4UpXieM9 (1) Audio record a moral story in ur  mother tongue only తెలుగు / హిందీ.. and send to  vignanwiki@gmail.com  in the beginning of the audio plz mention your full name and full roll number and date of recording. Also mention that u r doing this recording to gain eligibility to workshop   or (2) draw with normal pencil a good message like 'ఐకమత్యమే మహాబలం'/ 'విద్యుత్ వృధా చేయరాదు'., On that u mention the date. Write  title, ur name  in ur  mother tongue only తెలుగు/ హిందీ  ... don't forget to write ur full roll number on

Juniors assignment _ must for registration to attend workshop by TCS యశ్వంత్ జీ

Assignment to gain eligibility to workshop by TCS యశ్వంత్ జీ   (25-11-23 each session of 100-150min. 50-60 students/ session) నిజమైన ఆసక్తి ఉన్నవారిని ఎంపిక చేయడానికి...it is mandatory to submit one or more assignments by email before 24-11-23. 20:00.  Those candidates who submit the assignment will be preferred for the workshops/ industry visits in future. Registration form to be filled after submitting assignment  https://forms.gle/jB6Qgcz8oEx6VB8m8 (1) Audio record a moral story in ur  mother tongue only తెలుగు / హిందీ.. and send to  vignanwiki@gmail.com  in the beginning of the audio plz mention your full name and full roll number. Also mention that u r doing this recording to gain eligibility to industry visit  or (2) draw with normal pencil a good message like 'Swatch bharat/ raksha bandhan/ save water/ environment protection/ No War.. Peace leads to prosperity etc., On that u mention the title & ur name in ur  mother tongue only తెలుగు/ హిందీ  ... don't forget to wri

100% predict outputs of code snippets

#include <stdio.h> void main() {     printf("%f",2.5+5/(2-4)*2 ); } మొదట ( ) లోపల ఉన్నది -2 ఔతుంది. తర్వాత 5/(-2)  అనేది integer division వల్ల -2.5 బదులు -2 ఔతుంది.  ఈ -2 చివర్లో ఉన్న 2తో గుణింపబడి  -4గా మారును. 2.5 తో -4 కలిసి జవాబు  -1.5గా వచ్చును ---- #include <stdio.h> void main() {   int c=1;   printf("%f",c++-c ); } మొదట  c++-c లో ఎడమవైపు c స్థానంలో 1 పెట్టబడును. తర్వాత ++ ఉంది కనుక  కుడి చివర ఉన్న c స్థానంలో ఒకటి పెరిగి 2 ఉంటుంది. అంటే మొత్తానికి ఉన్నది = 1-2 కనుక జవాబు= - 1 ---- int n=4; for(n;n>2;n=n-1); printf("%d",n); n=4తో for loop లోకి ప్రవేశించాక, for చివర్లో  ; ఉన్నందున for నుండి బయటకు వచ్చే సమయానికి n లో 2 ఉండును

100% పాయిoటర్స్ ఉపయోగించి మొదటి కొన్ని సరి సంఖ్యలను కూడితే ఎంత వస్తుందో కనుక్కోవటం

//to find sum of first n even numbers #include <stdio.h> int adding(int *b, int n) {    int i, *ptr, tatkAl=0;    ptr=b;    for(i=0;i<n;i++)     tatkAl=*(ptr+i)+tatkAl;   printf("\n sum of 1st %d even numbers as printed in function =%d", n,tatkAl);   return(tatkAl); } void main() {   int a[9],i,n,total;   printf("\n enter number from 1 to 9:");   scanf("%d",&n);   for(i=0;i<n;i++)    a[i]=2*(i+1); //సరి సంఖ్యల బదులు బేసి సంఖ్యల మొత్తం కావాలంటే  2*i +1  పెట్టాలి             total=adding(&a[0], n);   printf("\n sum of 1st %d even numbers as printed in main =%d",n,total);  }// end of main     ఔట్పుట్ తెరమీద     enter number from 1 to 9:5 sum of 1st 5 even numbers as printed in function =30  sum of 1st 5 even numbers as printed in main =30

100% పాయిoటర్స్ ఉపయోగించి మొదటి కొన్ని సహజసంఖ్యలను కూడితే ఎంత వస్తుందో కనుక్కోవటం

//C prog to find sum of first n natural numbers  #include <stdio.h> int adding(int *b, int n) {    int i, *ptr, tatkAl=0;    ptr=b;    for(i=0;i<n;i++)     tatkAl=*(ptr+i)+tatkAl;   printf("\n sum of elements as printed in function =%d",tatkAl);   return(tatkAl); } void main() {   int a[9],i,n,total;   printf("\n enter number from 1 to 9:");   scanf("%d",&n);   for(i=0;i<n;i++)    a[i]=i+1;   total=adding(&a[0], n);   printf("\n sum of elements as printed in main =%d",total);  }// end of main ఔట్పుట్ తెరమీద enter number from 1 to 9:4 sum of elements as printed in function =10  sum of elements as printed in main =10

Assignment to gain eligibility to industry visit

నిజమైన ఆసక్తి ఉన్నవారిని ఎంపిక చేయడానికి...it is mandatory to submit one or more assignments by email before  18-11-23 21:00.  Those candidates who submit the assignment will be preferred for the industry visit. Registration form to be filled after submitting assignment  https://forms.gle/kkTpAwR9g7rNVdSZ6 (1) Audio record a moral story in ur mother tongue only తెలుగు / హిందీ.. and send to  vignanwiki@gmail.com  in the beginning of the audio plz mention your full name and full roll number. Also mention that u r doing this recording to gain eligibility to industry visit  or (2) draw with normal pencil a good message like 'Swatch bharat/ raksha bandhan/ save water/ environment protection/ No War.. Peace leads to prosperity etc., On that u mention the title & ur name in ur mother tongue only తెలుగు/ హిందీ ... don't forget to write ur full roll number on right bottom corner.  Now send the photo to  vignanwiki@gmail.com   full roll no is a must  in the subject of the mail or (3)

100% matrix multiplication slight reduction in code length

// area of triangle according to Heron's formula // matrix multiplication #include <stdio.h> #include<stdlib.h> void main() {   int a[5][5],b[5][5],c[5][5];   int i,j,k,m,n,p,q;   /*m,n= no of rows & columns of  matrix a respectively     p,q = no of rows & columns of  matrix b respectively*/     printf("\n enter the no of rows and columns of matrix a:");     scanf("%d%d",&m,&n);     printf("\n enter the no of rows and columns of matrix b:");     scanf("%d%d",&p,&q);     /*lets check if the dimensions of matrices are compatible or not for multiplication.  columns of 1st matrix must equal rows of 2nd matrix for multiplication to exist*/    if(n!=p)    {        printf("\n multiplication not possible");        exit(0);    }    else    {        /*enterning values in matrix a begins*/        for(i=0;i<m;i++)        {            for(j=0;j<n;j++)            {                printf("\n enter a[%

100% area of traingle using Heron's formula

// area of triangle according to Heron's formula #include <stdio.h> #include<math.h> void main() {   float a,b,c,s,area;   printf("\n enter the sides of the triangle in proper units:");   scanf("%f%f%f",&a,&b,&c);   s=(a+b+c)/2.0; //s=semi-perimeter   printf("area of traingle with 3 given side lengths=%f sq units",sqrt(s*(s-a)*(s-b)*(s-c))); }// end of main     ఔట్పుట్ తెరమీద enter the sides of the triangle:3 4 5 area of traingle with 3 given side lengths=6.000000 sq units

100% C program for matrix multiplication

// matrix multiplication #include <stdio.h> #include<stdlib.h> void main() {   int a[5][5],b[5][5],c[5][5];   int i,j,k,m,n,p,q;   /*m,n= no of rows & columns of  matrix a respectively     p,q = no of rows & columns of  matrix b respectively*/     printf("\n enter the no of rows and columns of matrix a:");     scanf("%d%d",&m,&n);     printf("\n enter the no of rows and columns of matrix b:");     scanf("%d%d",&p,&q);     /*lets check if the dimensions of matrices are compatible or not for multiplication.  columns of 1st matrix must equal rows of 2nd matrix for multiplication to exist*/    if(n!=p)    {        printf("\n multiplication not possible");        exit(0);    }    else    {        /*entering values in matrix a begins*/        for(i=0;i<m;i++)        {            for(j=0;j<n;j++)            {                printf("\n enter a[%d][%d]:",i,j);                scanf("%d"

100% prog to read only specific characters and discard others using scanf

/* prog to demonstrate variety of scanf where only permitted characters are read */ #include <stdio.h> void main() {   char line[81];   printf("\n enter some characters (upto81):");  scanf("%[ abcdefgh]",line);// just prior to abcdefgh there is a white space  printf("\n string in line =%s",line); } /*the idea is taken from NPTEL lectures of Prof. Anupam Basu  video: on Arrays & strings that follows the 'functions' video */ ఔట్పుట్ తెరమీద keep on entering characters in a line:abc efa#1b string in line =abc efa గమనిక   ఒకసారి #వంటి invalid character ఇస్తే ఇక ఆ తర్వాత valid characters ఉన్నా అది తీసుకోలేదు ఔట్పుట్ తెరమీద మరోసారి keep on entering characters in a line:qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq string in line = గమనిక q అనేది valid character కాదు గనుక string in line= తర్వాత ఏమీ లేదు! ----

100% prog to call a user defined function from another user defined function

/* prog to demonstrate calling a user defined function from within another user defined function */ #include <stdio.h> void price(float);//function prototyping  void area(float p,float q) // defining 1st function area() {   float area_in_sqm;   area_in_sqm=p*q;   printf("\n area in sq.m=%f",area_in_sqm);   price(area_in_sqm); } void price(float a) // defining 2nd function  price() {     float cpsqm; // cost per square meter     printf("\n\n enter cost of flooring per square  in Rs.: ");     scanf("%f",&cpsqm);     printf("\n\n total cost in Rs.=%f",a*cpsqm); //a is area in sq. meter } void main() {   float l,b;   printf("\n enter length and breadth in SI units i.e., meter:");   scanf("%f%f",&l,&b); //the dimensions need not be integers but can be float as well   area(l,b); } ఔట్పుట్ తెరమీద enter length and breadth in SI units i.e., meter:4 2 area in sq.m=8.000000  enter cost of flooring per square  in Rs.: 5

100% prog to make simple calculator with just function call frm main

#include <stdio.h> float calculate() //function definition {    int a,b,choice;    float z; // z will store the output of the math operation     printf("\n enter two integers:");    scanf("%d%d",&a,&b);    printf("\n Enter 1 for add, 2 for subtract, 3 for multiply and 4 for division: ");    scanf("%d",&choice);    switch(choice)     {         case 1:                 z=a+b;                 break;         case 2:                 z=a-b;                 break;         case 3:                 z=a*b;                 break;         case 4: if (b!=0)                        z=a/b;                       else                         printf("\n avoid dividing with 0");                 }     printf("\n math operation of given numbers %d & %d =%f as printed in the called function",a,b,z);     return(z); } void main() {    calculate();     }      ఔట్పుట్ తెరమీద enter two integers:4 5 Enter 1 for add, 2 for subtract, 3 f

100% prog to design a simple calculator with user defined function

#include <stdio.h> float calculate(int, int,int);//function prototyping void main() {    int p,q,choice;    float uttar;    printf("\n enter two integers:");    scanf("%d%d",&p,&q);    printf("\n Enter 1 for add, 2 for subtract, 3 for multiply and 4 for division: ");    scanf("%d",&choice);    calculate(p,q,choice);    printf("\n  back in main. ");     } float calculate(a,b,c) //function definition {     float z;     switch(c)     {         case 1:                 z=a+b;                 break;         case 2:                 z=a-b;                 break;         case 3:                 z=a*b;                 break;         case 4:                   if (b!=0)                  {                      z=(float) a/b;                  }                   else                   {                     printf("\n avoid dividing with 0");                   }     }     printf("\n math operation of given numbers %d &

100% prog to print average of no.s using functions

#include <stdio.h> float sagaTu(int,int);//function prototyping void main() {    int p,q;    float avg;    printf("\n enter two integers:");    scanf("%d%d",&p,&q);    avg=sagaTu(p,q);    printf("\n average of given numbers %d & %d =%f as printed in main()",p,q,avg); } float sagaTu(a,b) //function definition {     float z;     z=(float) (a+b)/2; //typecasting  ; if u dont write float here, the output was only printing integer part.      printf("\n sagaTu of given numbers %d & %d =%f as printed in the called function",a,b,z);     return(z); } ఔట్పుట్ తెరమీద enter two integers:2 3 sagaTu of given numbers 2 & 3 =2.500000 as printed in the called function average of given numbers 2 & 3 =2.500000 as printed in main() ఔట్పుట్ తెరమీద మరోసారి ... (without typecasting) enter two integers:8 3 sagaTu of given numbers 8 & 3 =5.000000 as printed in the called function  average of given numbers 8 & 3 =5.000000 as printed i
కాలేజీ  బస్సులు నడిపేవారిని మీరు బాబాయ్ అని పిలుస్తున్నారనుకుంటా! వారు పొగత్రాగడం మానేలా చేయటం మీకు సులభమే... సెంటిమెంటల్ గా మాట్లాడటంలో మీరు సిద్ధహస్తులు కనుక. ప్రయత్నం చేయండి. మీరు ఓ నలభై మంది కలిసి వారివద్దకు వెళ్ళి " బాబాయ్.. మీ ఆరోగ్యం బాగుండాలని కోరుకుంటున్నాం.. *చిన్నపిల్లలమైన* మా మాట  కాదనరు అని మాకు గట్టి నమ్మకం.. వాడెవడో సినిమాలో బీడీ తాగితే మీరు అది పాటించటమెందుకు. అలాంటివారు హీరోలు కాజాలరు. ఇదిగో..ఇప్పుడు మీ వద్ద   బీడీ కట్ట/ సిగరెట్ పాకెట్  ఉంటే తీసి మా ముందరే చెత్త బుట్టలో వేయండి‌" అని మీరు మనస్ఫూర్తిగా అడిగితే వారు తప్పక ఆలోచిస్తారు.  ఊడ్చేవారికి / బస్ డ్రైవర్లకు/ సెక్యూరిటీ సిబ్బందికి  చదువురాదంటే మీరు అలాంటివారు ఎవరో కనుక్కొని ఆ ఆ లు నేర్పవచ్చు. 15-11-23 కల్లా చదువు రానివారెవరో  కొనుక్కోండి. శ్రద్ధ పెడితే వారానికి 2 సార్లు..గంట చొప్పున ఓ నాలుగు వారాలు సరిపోతుంది. అప్పుడు  విక్రమన్నయ్య  ఇచ్చే  చిన్నపిల్లల కథల పుస్తకాలను మీరు సొంతంగా చదువుకోగలుగుతారు అని వారికి చెప్పవచ్చు‌.  చదువు చెప్పే కార్యకర్తలకు ప్రోత్సాహక బహుమతి= గంటకి  వంద రూపాయలు. నేర్చుకునే వారికి గంటక

100% c function to add 2 numbers

// Online C compiler to run C program online #include <stdio.h> int kooDu(int,int);//function prototyping void main() {    int p,q,mottam;    printf("\n enter two integers:");    scanf("%d%d",&p,&q);    mottam=kooDu(p,q);    printf("\n sum of given numbers %d & %d =%d as printed in main()",p,q,mottam); } int kooDu(int a,int b) //function definition {     int z;     z=a+b;     printf("\n sum of given numbers %d & %d =%d as printed in the called function",a,b,z);     return(z); } ఔట్పుట్ తెరమీద enter two integers:1 3 sum of given numbers 1 & 3 =4 as printed in the called function  sum of given numbers 1 & 3 =4 as printed in main()

100% prog to add numbers using functions

/*in this program we need not write function prototyping as we are directly defining the function in advance to the main()*/ #include<stdio.h> void kooDu(int u,int a) {     int addition;     addition=u+a;     printf("\n sum of the given numbers=%d as printed in called function",addition);   } void main() {     int p,q;     printf("\n enter 2 integers: ");     scanf("%d%d",&p,&q);     kooDu(p,q);//call by value } ఔట్పుట్ తెరమీద  enter 2 integers: 2 5 sum of the given numbers=7 as printed in called function

100% prog to arrange numbers in increasing order (sorting)

#include<stdio.h> void main() {   int i,j,k,temp,chinna,a[ ]={42,60,26,55,34,28};       //{3,8,2,-1,4};   printf("\n before sorting a[ ]=");   for(i=0;i<6;i++)   {     printf("%5d",a[i]);   }   for(i=0;i<6;i++)   {     chinna=a[i];     for(j=i+1;j<6;j++)     {       if(a[j]<chinna)       {         chinna=a[j];         temp=a[j];         a[j]=a[i];         a[i]=temp;       }       printf("\n after mini-stage %d, a[ ]=",j);       for(k=0;k<6;k++)       {         printf("%5d",a[k]);       }                  }  }  printf("\n after sorting a[ ]=");  for(i=0;i<6;i++)  {     printf("%5d",a[i]);  } }// end of main /*this may not be the efficient way of writing but we get the desired output. u plz try to print in decreasing order*/ ఔట్పుట్ తెరమీద  before sorting a[ ]=   42   60   26   55   34   28  after mini-stage 1, a[ ]=   42   60   26   55   34   28  after mini-stage 2, a[ ]=   26   60   42   55   34   28  a

100% c prog sorting in decreasing order అవరోహణ క్రమం

#include<stdio.h> #define y 5 void main() {   int i,j,k,temp,pedda,a[ ]={3,8,2,-1,4};   printf("\n before sorting a[ ]=");   for(i=0;i<y;i++)   {     printf("%5d",a[i]);   }   for(i=0;i<y;i++)   {     pedda=a[i];     for(j=i+1;j<y;j++)     {       if(a[j]>pedda)       {         pedda=a[j];         temp=a[j];         a[j]=a[i];         a[i]=temp;       } //notice that we used swapping just above       printf("\n after mini-stage %d, a[ ]=",j);       for(k=0;k<y;k++)       {         printf("%5d",a[k]);       }                  }  }  printf("\n after sorting a[ ]=");  for(i=0;i<y;i++)  {     printf("%5d",a[i]);  } }  The output is displayed on the screen before sorting a[ ]=    3    8    2   -1    4  after mini-stage 1, a[ ]=    8    3    2   -1    4  after mini-stage 2, a[ ]=    8    3    2   -1    4  after mini-stage 3, a[ ]=    8    3    2   -1    4  after mini-stage 4, a[ ]=    8    3    2   -1    4  a

100% C program to find if a matrix is symmetric or not

//program to find if a matrix is symmetric or not #include <stdio.h> void main() {     int i,j,m,n,a[20][20],count=0;;     printf("\n this program will take a matrix as input and print if is symmetric or not\n");     printf("\n enter no of rows & columns each in 1 to 20:");     scanf("%d%d",&m,&n);     if (m!=n)     {         printf("\n the matrix is not square & so is not symmetric");     }     else     {         for(i=0;i<m;i++)         {             for(j=0;j<n;j++)             {                 printf("\n enter a[%d][%d]:",i,j);                 scanf("%d",&a[i][j]);             }         }         printf("\n given matrix is:\n");         for(i=0;i<m;i++)         {             for(j=0;j<n;j++)             {               printf("%5d",a[i][j]);             }             printf("\n");         }         printf("\n \n");         for(i=0;i<n;i++)  

100% c prog to print transpose of a matrix

#include <stdio.h> void main() {     int i,j,m,n,a[20][20],b[20][20];     printf("\n this program will take a matrix as input and print its transpose\n");     printf("\n enter no of rows&columns each in 1 to 20:");     scanf("%d%d",&m,&n);     for(i=0;i<m;i++)     {         for(j=0;j<n;j++)         {             printf("\n enter a[%d][%d]:",i,j);             scanf("%d",&a[i][j]);             b[j][i]=a[i][j];         }     }     printf("\n given matrix is:\n");     for(i=0;i<m;i++)     {         for(j=0;j<n;j++)         {           printf("%5d",a[i][j]);         }         printf("\n");     }     printf("\n transpose of the given matrix is:\n");     for(i=0;i<n;i++)     {         for(j=0;j<m;j++)         {           printf("%5d",b[i][j]);         }         printf("\n");     } }// end of main() ఔట్పుట్ తెరమీద this program will take a matrix

విజయగాథ

పావన కృష్ణా పరీవాహక ప్రాంతంలో స్వాతంత్ర్య సమరయోధులు, గాంధీ గారి పరోక్ష అనుయాయులు, చిన్నమ్మగారి శిష్యులు ఐన సజ్జనుండొకని మనవని కథ యిది..    అవనిగడ్డ _ కోడూరు ప్రాంతంలో ప్రకృతికి దగ్గరగా బాల్యం గడిచింది. ఇంజనీరింగ్ పూర్తయ్యాక  బహుశా 2013నుండి  ప్రతి యేడూ గేట్ పరీక్షను దీక్షగా వ్రాయటం అంటే మాటలు కాదు. ఆసక్తి పట్టుదల ఉంటేనే సాధ్యమది. ఏదో ఆషామాషీగా కాకుండా తనకున్న గణితాసక్తిని చక్కగా వినియోగిస్తూ ఈ పదకొండేళ్ళూ ప్రతిసారీ గౌరవప్రదమైన ఫలితం పరీక్షలో పొందినాడంటే అది చెప్పుకోతగిన విశేషమే. తనకున్న మంచి అలవాట్లకు & కృషిచేసే తత్వానికి కొన్ని సంవత్సరాల క్రితమే అత్యున్నతస్థాయి విద్యాసంస్థల్లో చదివే అవకాశం రావాల్సింది. అయితే ఎక్కడ ఎప్పుడు దరఖాస్తు చేయాలి అనే విషయంలో తగు మార్గదర్శనం లేక ఆలస్యమైనదనిపిస్తున్నది. మొత్తానికి ఆధ్యాత్మిక వాతావరణం పరిఢవిల్లే ఐఐటీలో పరిశోధన చేసే సదవకాశం తనకు ఇప్పటికి లభించటం రానున్న కాలంలో సమాజానికి గొప్పమేలు చేయనున్నది. 

100% c prog to print no. of elements in the array

#include <stdio.h> void main() {     int n,no_of_bytes,packets[ ]={9,-1,7,4,5,11,8,4,2};     no_of_bytes=sizeof(packets);     n= no_of_bytes/sizeof(packets[0]); /* తొలుత వ్రాసిన ప్రోగ్రాం లో ఒక int p=50 అని పెట్టి sizeof(p) తో భాగించాము. కానీ ఇలా  sizeof(packets[0]) ని ఉపయోగించటం వల్ల మెమరీ ఆదా ..ఈ ఆలోచన 23-507 ఇచ్చెను*/     printf("\n the memory occupied by the array=%d",no_of_bytes);     printf("\n number of elements in array=:%d",n); } //similar logic u can use for float & char arrays also ఔట్పుట్ తెరమీద the memory occupied by the array=36 number of elements in array=:9 ---- // 100% c prog to print no. of elements in the char array #include <stdio.h> void main() {  int n,no_of_bytes;  char packets[ ]={'s','a','t','y','a','m','u'}; no_of_bytes=sizeof(packets);  n= no_of_bytes/sizeof(packets[0]);/* తొలుత వ్రాసిన ప్రోగ్రాం లో ఒక int p=50 అని పెట్టి sizeof(p) తో భాగించాము. కానీ ఇలా sizeof(pack

100% prog for printing magic table on given birth date

#include <stdio.h> int main() {     int i,j,n,a[4][4],b[8],total=0;     printf("\n program to generate magic square as per gaNitamtO gammattulu  (gAraDeelu)");     printf("\n enter the number that u want as output in the game:");     scanf("%d",&n);     for(i=0;i<7;i++)     {         printf("\n enter a integer:");         scanf("%d",&b[i]);         total=total+b[i];     }     printf("\n\n the following is a magic square whose output is :%d\n\n",n);     b[7]=n-total;     for(i=0;i<4;i++)     {         for(j=0;j<4;j++)         {             a[i][j]=b[i]+b[4+j]; // క్లాస్ లోచెప్పుకునేప్పుడు తొలుత  b[i]+b[i+4+j] అనుకున్నాం.              printf("%5d",a[i][j]);         }         printf("\n");     } } ఔట్పుట్ తెరమీద program to generate magic square as per gaNitamtO gammattulu  (gAraDeelu)  enter the number that u want as output in the game:9  enter a integer:1  enter a integer:2  enter

100% to find no. of elements in the array

//program to know how many numbers are there in the array #include <stdio.h> void main( ) {     int n,p=50,no_of_bytes,packets[ ]={9,-1,7,4,5,11,8,4};     no_of_bytes=sizeof(packets);     n= no_of_bytes/sizeof(p);     printf("\n the memory occupied by the array=%d",no_of_bytes);     printf("\n number of elements in array=:%d",n); } ఔట్పుట్ తెరమీద  the memory occupied by the array=32  number of elements in array=:8

100% linear search with array pre-defined

#include <stdio.h> void main() {     int p,key,count=0;     int numbered_packets[5]={9,-1,7,4,5};     /*let there be some packets to be sent by Indian postal department which are numbered with some codes.After receiving them, we wish to search for a particular numbered packet becoz all packets might have got jumbled up */     printf("\n enter the key code to be searched:");     scanf("%d",&key);     for(p=0;p<5;p++)     {         if(numbered_packets[p]==key)         {          printf("\n packet with desired key found");          exit(0);         }         count=count+1;     }     if(count==5)      printf("\n packet with desired key not found"); } ఔట్పుట్ తెరమీద enter the key code to be searched:4 packet with desired key found  మరోసారి Run చేస్తే  ఔట్పుట్ తెరమీద enter the key code to be searched:11 packet with desired key not found

100% Linear search

#include <stdio.h> void main() {     int p,numbered_packets[5],key,count=0;     /*let there be some packets to be sent by Indian postal department which are numbered with some codes.After receiving them, we wish to search for a particular numbered packet becoz all packets might have got jumbled up */     for(p=0;p<5;p++)     {         printf("\n enter the code of numbered_packets[%d]:",p);         scanf("%d",&numbered_packets[p]);     }     printf("\n enter the key code to be searched:");     scanf("%d",&key);     for(p=0;p<5;p++)     {         if(numbered_packets[p]==key)         {          printf("\n packet with desired key found");          exit(0);         }         count=count+1;     }     if(count==5)      printf("\n packet with desired key not found"); } ఔట్పుట్ తెరమీద  enter the code of numbered_packets[0]:9 enter the code of numbered_packets[1]:7 enter the code of numbered_packets[2]:5 enter the co

100% toatl cost incurred while buying multiple items: nptel based class

// Online C compiler to run C program online #include <stdio.h> void main() {     int i,no_of_fruits[4],pricepu[4],total=0;     /*let the fruits be araTi, kamalA (Nagpur), apple (himAchal pradEsh), sapOTA*/     for(i=0;i<4;i++)     {         printf("\n enter the no of fruits of type %d purchased:",i+1);         scanf("%d",&no_of_fruits[i]);         printf("\n enter price per unit of this fruit:");         scanf("%d",&pricepu[i]);         total=total+no_of_fruits[i]*pricepu[i];     }     printf("\n total cost of fruits=%d",total); } /* పండ్లు ఆరోగ్యానికి మేలు */ ఔట్పుట్ తెరమీద enter the no of fruits of type 1 purchased:10 enter price per unit of this fruit:4 enter the no of fruits of type 2 purchased:6 enter price per unit of this fruit:8 enter the no of fruits of type 3 purchased:5 enter price per unit of this fruit:20 enter the no of fruits of type 4 purchased:12 enter price per unit of this fruit:3 total cost of frui

100% c prog to print e^t using మాధవన్ సిరీస్

//program to display the value of e^t  for mod(t) <1 #include<stdio.h> void main() {  int i,n;  float t,temp, total=0;  printf("\n enter the value of t :"); scanf("%f",&t); printf("\n enter no of terms:"); scanf("%f",&n); temp=1; for(i=1;i<=n;i++) {   total=total+(temp);   temp=temp*t/(i); } printf("\n\n e^t =%f",total); } ఔట్పుట్  తెర మీద  enter the value of t :0.0 enter no of terms:3 e^t =1.000000 enter the value of t :0.5 enter no of terms:4 e^t =1.648721 enter the value of t :2 enter no of terms:7 e^t =7.389057

100% మాధవన్ సిరీస్ C prog to print the value of ln(1+t) for -1<t<1

//program to display the value of ln(1+t)  for mod(t) <1 #include<stdio.h> void main() {  int i,n;  float t,temp, total=0;  printf("\n enter the value of t :"); scanf("%f",&t); printf("\n enter no of terms:"); scanf("%f",&n); temp=t; for(i=1;i<=n;i++) {   total=total+(temp);   temp=-temp*t*i/(i+1); } printf("\n\n ln(1+t) =%f",total); } గమనిక t  విలువ -1 మరియు 1 మధ్య ఉన్నప్పుడే ఈ  మాధవన్ సిరీస్  పధ్ధతి ఉపయోగించగలరు   ఔట్పుట్  తెర మీద  enter the value of t :0 enter no of terms:4 ln(1+t) =0.000000 enter the value of t :0.5 enter no of terms:7 ln(1+t) =0.405465

100% prog pattern generation (traingle with stars)

#include<stdio.h> void main( ) {   int i,j,n;   printf("\n enter number of lines in which pattern is required:");   scanf("%d",&n);    for(i=1;i<=n;i++)    {      for(j=i;j<n;j++)        printf(" ");//one space between quotes      for(j=1;j<=2*i-1;j++)        printf("*");      printf("\n");    }   }  తెర మీద  n=5 ఇస్తే        *     ***    *****   ******* *********

100% Programming in Octave or MATLAB

% using internet open the 'Online Octave compiler'  %this is a comment line for user to understand %to get norm2 of the vector type the following at the command prompt >>norm([1,   1 ,   -1]) ఔట్పుట్  తెరమీద      ans = 1.7321 ---- %to get trace of 3*3 matrix type the following at the command prompt  >>trace([1,  2 , 5; 2, -1, 1; 7,9,8])  ఔట్పుట్  తెరమీద ans = 8 ---- %to find roots of the polynomial equation 3x^2+4x+1=0   >>roots([3,4,1]) ఔట్పుట్  తెరమీద ans = -1.0000 -0.3333 ---- %to find value of the polynomial   x^2-3x+2  for a particular x=2   >>polyval([1,-3,2],2) ఔట్పుట్  తెరమీద ans = 0