Tuesday, August 14, 2012

Easy Tek placement papers





Company Name : EASI-TECH




 WRITE THE OUTPUT FOR FOLLOWING PROGRAMS.

1) printf("%d%x\n",ox2,12);

2) int a=10;
   int b=20;
   a=a^b;
   b=a^b;
   a=a^b;
   printf("%d%d\n",a,b);

    3)enum  
{ELLIPSE,
TRIANGLE,
RECTANGLE,
SQUARE=100,
CIRCLE=5
}
        printf{"%d%d%d%d\n",TRIANGLE-RECTANGLE,SQUARE*CIRCLE-RECTANGLE};
4) define the following...
   a) pointer to a integer
   b) pointer to a char
   c) function pointer returning a pointer integer.
5) void a(void);
   main()
   {
   a();
   }
   void a(void)
   {
   char a="HELLOW";
   char *b="HELLOW";
   char c[10]="HELLOW";
   printf("%s%s%s\n",a,b,c);
   printf("%d%d%d\n",sizeof(a),sizeof(b),sizeof(c)));
   }
  6)  int a=15;
int b=16;
printf("%d %d \n",a&b,a/b); (bitwise operators)
 7)   int a[5],*p;
      for(p=a;p<&a[5];p++)
{
*p=p-a;
printf("%d\n",*p);
        }
8) sscanf("xyz abc ABC 345" "% *[a-z A-Z]lf",&a);
   printf("lf",a);
  9) Not clear
        fprintf(- - - - -
10) main()
    {
    int i=10;
    printf("%d",i);
    {
    int i=20;
    printf("%d",i);
    }
    printf("%d",i);
    }
 11)struct class
{
int i;
float a;
string[12];
}
sizeof(class)=?
12)   int *p;
i=10;
p=i;
printf("%d",*p);
13)  fact(5)
     int n;
     fact(n)
     {
      sum=n*fact(n-1);
     }
NEXT FINITE ELEMENT ANALYSYS QUESTIONS
1)
NAME THE EQUATION AND EXPLAIN THE TERMS
 A) M/I=F/Y=E/R.
 B) mx..+cx.+kx=F(t)         ans: sdof mass-spring-dashpot equn.
2)
WHAT ARE THE DIFFT.TYPES OF FINITE ELEMENTS.
3)
WHAT IS THE SIZE OF STIFFNESS MATRIX FOR A 4 NODED SHELL ELEMENT IN 3-D
SPACE.
4)
HOW MANY NODES ARE THERE FOR A BEAM ELEMENT ? WHY?
5)
WRITE STIFFNESS MATRIX OF TRUSS ELEMENT.

   6)WHAT ARE PLANE STRESS AND PLANE STRAIN ELEMENTS

  7)WHAT IS MENT BY STRESS SMOTHENING
  8)WHAT IS GAUSS POINT
  9)WHAT ARE CO AND C1 PROBLEMS

[OK 13Q IN C  AND 9Q IN FEM]



  4 15:17:23 1998

1) YOU SHOULD LEARN POINTERS(they may ask in I.W)
2)****SHOULD LEARN C++(this is very very IMP,Based
on this only I got job.One more thing is
CLASS,INHERATENCI&POLYMORPHISM is sufficient)
3)YOU SHOULD PREPARE ONE FEM PROJECT AND TELL THEM
 THAT AS YOUR OWN WORK(This will increase chance
to 99%)
                      EASI-TECH
                 WRITTEN TEST PATTERN
--------------------
1] C       TEST 10Q 20MINUITS
2]F E M    TEST 19Q 20MINUITS
3]APTITUDE TEST 15Q 20MINUITS
-----------------------------
F E M TEST
----------
1)WHO USED THE TERM FINITE ELEMENT FOR THE FIRST TIME?
  a)
  b)
  c) CLOUGH
2)DERIVE THE JACOBIEN |J| FOR BEAM ELEMENT WITH STRAIN
  ENERGY?
  (ANS:PROMLEM IS NOT CORRECT PLEASE DO NOT ATTEMPT)
3)FOR AN ELEMENT SIGMA Ni=1,WHICH TYPE OF ELEMENT IT IS?
   a)
   b)NATURAL CO-ORDINATE
    (ANS 100% CORRECT)
4)TIMOSHENKO BEAM ELEMENT THEORY TO CONSIDER -- - - -?
   a)
   b)
   c)SHEAR DEFORMATION
5)SHEAR LOCKING - - - - ?
  (ANS IS VERY STIFF 'K')
6)MEMBRANE LOCKING
  (ANS IS ARCH ELEMENT)
7)Ex(epsiolan x)=dU/dX,Ey=dV/dY,r(X,Y)=?(gama(x,y)=?)
  (ANS IS dU/dY+dV/dX )
8)K=integral B(TRANSPOSE)*D*B  FOR LARGE DEFORMATION
  WHICH MATRIX WILL GET EFFECTED?
  (ANS IS  D matrix )100%correct
9)FOR PLANE STRAIN  f(Ex,Ey,Ez,r(x,y) ) - - -
  (ANS IS    Ez=0)
10)SERENDIPITY ELEMENT IS
   (ANS 8 NODED ELEMENT)
 (The element which is having nodes only on boundary is
   called SERENDIPITY element)
11)IF THE ROTATION OF ELEMENT AND THE DISPLACEMENT ABOUT
   N-A  IS SAME THEN THE ORDER OF CONTINUITY
   (ANS IS  C1)
12)FRONTAL THEORY IS APPLIED FOR
  (Please refer any fem book)
13)MINDLINS THEORY IS APPLIED FOR
  c) this is the answer(Both Co&C1problems)
14)X=SigmaNi*Xi,U=sigmaNi*Ui WHICH TYPE OF ELEMENT
  (Refer book)
15)BEAM SUBJECTED TO UDL FIND THE MOMENTS AT THE
   2 NODES
16)Integral B(Transpose)*sigma(here sigma means stress)*dV
    REPRESENTS?
    (ANS IS INTERNAL LOAD VECTOR)
17)Integral ET(epsiolan transpose)*sigma*dV
    P=strain displacement vector
    Q=stress-strain deformation
    Find [K]
    (ANS    [K]=[P]T(p transpose)*[Q]*[P] )
18)
19)


REMEMBER ORDER MAY NOT BE CORRECT


                      APTITUDE TEST
 1)33 1/3 of     101 + 296 is
(ans 1200) check
 2)0.625= ? (ans 27/40)
 3)One ship goes along the stream direction 28 km and in opposite
   direction 13 km in 5 hrs for each direction.What is the velocity
   of stream?
(ans 1.5 kmph)
 4)Cubic root of 3375=?
(ans 15)
 5)2020201-565656=?
(ans 1454545)
 6)CHAIRS PROBLEM
5 chairs=9 tables,12 tables = 7 stools likethat- - -
(ans is 80Rs)
 7)One clock ringes 7 O'clock in 7 sec.In how many seconds it will
   ring 10 O'clock.
(ans 10.5 sec)
 8)One watch is showing 30 past 3 .What is the angle between minutes &
   hours hand?
(ans 75 degrees)
 9)The average of 4 consecutive even numbers is 27. What is the largest
   number?
(ans 30)
 10) 25 stations ,24 stations are inbetween- - - - -
     how many tickets should be required.
                (ans 25*24=600)PUZZLES TO PUZZLE YOU "S.DEVI"PROB 24
 11)One ball was dropped from 8ft height and every time it goes half
    of the height. How much distance it will travell before coming to
    rest.
                 (ans 24 approximately)
 12)Two trains are travelline at equilateral .Train A is travelling
    in the direction of earths spin.Other train B is travelling in
    opposite direction of earths spin.Which trains wheels will wear
    first?and why?
        (ans TRAIN B .Because of less centrifugal force.)
     

C QUESTIONS:WHAT IS THE OUT PUT FOR FOLLOWING PROGRAMMS
1)main()
{
char a[2];
*a[0]=7;
*a[1]=5;
printf("%d",&a[1]-a)
ANS:
   ans may be 1.(illegal initialization)
2)
#include<stdio.h>
main(){
char a[]="hellow";
char *b="hellow";
char c[5]="hellow";
printf("%s %s %s ",a,b,c);
printf(" ",sizeof(a),sizeof(b),sizeof(c));
}
(ans is     hellow,hellow,hellow
              6,2,5   )
3)
#include<stdio.h>
main()

float value=10.00;
printf("%g %0.2g %0.4g %f",value,value,value,value)
}
(ans is 10,10,10,10.000000)
4)
#include<stdio.h>
void function1;
int i-value=100;
main()
{
 i-value=50;
function1;
printf("i-value in the function=",i-value);
printf("i-value after the function=",i-value);
}
printf("i-value at the end of main=",i-value);
functioni()
i-value=25;


THIS IS ROUGH IDEA OF THE PROGRAM
   ANS ARE
1)i-value in the function=25;
2)i-value after the function=50;
3)i-value at the end of the main=100;

5)
  main()
{
funct(int n);
{
switch(n)
  case1:
        m=2;
  break;
  case2:
m=5;
break;
  case3:
m=7;
break;
  default:
m=0;
}
THIS IS ROUGH IDEA:
    (ANS:Out put is m=0)

   


From mepg9766@violet.iitm.ernet.in Tue Aug  4 15:19:07 1998

I am sending mainly c paper and some questions.Rao
also will send somethig.There are 15 c q's all are discriptive.

1)fallacy
f()
{
int a;
void c;f2(&c,&a);
2)a=0;
b=(a=0)?2:3;
a) What will be the value of b? why
b) If in 1st stmt a=0 is replaced by -1, b=?
c) If in second stmt a=0 is replaced by -1, b=?
3)char *a[2]
int const *p;
int *const p;
struct new { int a;int b; *var[5] (struct new)
4)f()
{
int a=2;
f1(a++);
}
f1(int c)
{
printf("%d", c);
}
c=?
5)f1()
{
f(3);}
f(int t)
{
switch(t);
{
case 2: c=3;
case 3: c=4;
case 4: c=5;
case 5: c=6;
default: c=0;}
value of c?
6)Fallacy
int *f1()
{
int a=5;
return &a;
}
f()
int *b=f1()
int c=*b;
}
7)a)Function returning an int pointer
b)Function ptr returning an int ptr
c)Function ptr returning an array of integers
d)array of function ptr returning an array of integers
(See Scham series book)
8)fallacy
int a;
short b;
b=a;
9)Define function ?Explain about arguments?
10)C passes  By value or By reference?
11)Post processed code for
abc=1;
b=abc1; (1 or 2 blank lines are given)
strcpy(s,"abc");
z=abc;
12)difference between my-strcpy and strcpy ?check
13)f()
{
int *b;
*b=2;
}
14)Function which gives a pointer to a binary trees const an integer value
at each code, return function of all the nodes in binary tree.(Study)Check
15)Calling refernce draw the diagram of function stack illustrating the
variables in the -----then were pushed on the stack at the point when
function f2 has been introduced
type def struct
{ double x,double y} point;
main( int argc, char *arg[3])
{double a;
int b,c;
f1(a,b);}
f1(double x, int y)
{
point p;
stack int n;
f2(p,x,y)}
f2(point p, double angle)
{ int i,j,k,int max)
}
_____________________________________________________________
1)Least no. when divide by [7 gives remainder 6,6gives 5,5 gives 4 and
soon     ans;419
2)What compilation do (ans source code to obj)
3)Artficial language is provided which of the language (Lisp) check
4)241 change its equivalent octal ?
5)for cube and sphere 3 views are similarly draw one such figure?
6)Write a program to exchange two variaables without temp
7)Fortran cannot have value by reference
8)4,6,8,__
9)success is to failure, joy is to
10)MEANING OF JOLLY?
11)opposite to essential?
12)"Raw" means
 13)To be good "Wrestler " one should have?
14)"Command" opposite?
15)genuine opposite?
16)Two proverbs are goven
17)Sum of two consecutive nos is 55, larger one is?
18)A person goes 4/5 of his usual speed reaches 10min lateto his
destinaton, time taken?
19)80% pass in english, 70%pass in maths , 10%fail in both , 144 pass in
both . How many all appeared to the test?
20)To get a parabola if you cut a section of?
21)Bird is flying 120km/hr b/w B to R. two trians at B to R at 60 kmph
The distance trvelled by the bird before it is killed.Ans.120
22)meaning of inert
 Prepare well
for the interview. Mostly on graphics , geometry .Prepare questions like
(for interview)Prove  some of the angles in a triangle are 180.Angle in a
half circle is 90.How will you measure hight of building when you  are at
the top of the building and if you have stone with you.
Best of luck