Friday, May 6, 2011

ITTIAM| Ittiam Test Questions


for computers
 20 tech 30 app
tech ican remember
but non tech i cant,
some question on digital also asked.


in apptitude see problems on profit loss, chainl rule,set(a - some b some,
a and b in some then a and b in none.)some question on relations some quetions
on  placing of someople at possible places,. ...


1.in around people have to take seats there are N people. so what is the probabilty of A and B sit Together.
a)1/N+1  b)2/N+1......

2.one question asked on double linked list there are three nodes T is poniting to middle one.if T  should be removed what is the code for it . some three libe code is give in opytions.

3.given a diagram there is 0-9 address line, 0-16 data line and two one line
and one line . how many address lines can be formed. 

4.one threaded binary tree is given and some node in it is given and asked to give the root of it some three codes are given i think answer is all the above i think.



 
5)int *(p)();
  what is the meaning of this statement.
 
6)what laplace transform of the function
   f(i)=1 given at range
       =0 others
7)what is the Z transformer of impulse fuction
 
8)the probability of ouccurance of A,Band C are 0.55,0.35,and0.15 then 
what is the huffman coding given to A.


9)a question on cahehit ratio. asked to give effective access time easy one
every one can solve it answer is 4.94.

10)         -----------|>|-----|(---
            |                       |
            |                       |
            |                       |
             -------------O---------  
   
think it as a circuit my figure is not good |> think this symbol as diode.
 then what will be the the nature of voltage acros -|>|---, --|(--- etc
  
11)   the sum of series going from  k= 0 to infinete for the
       function 1-k/2^k.
      (actually it is given in sigma symbol. that sum of)

12)  given a 1...N nodes how many trees are there for whic there
     preorder and post order traversals are equal.

13) sequence of numbers  given asked to insert in a binary tree.
    then what is the root of it.


these are the 13 out of 20 technical questions i remembered.

*********************
Some more Questions
*********************
here r some questions i remembered from ittiam test
(the questions r not exact but may give u some idea):-
comp sci section...
          *>how many binary search trees r there for which postorder and
inorder travrsals r same?
          *>for a microprocessor, some address pins r given...u have 2
find the addressing capability?
          *>numbers 1 to 9 (not in that order) given, u have to find root
if they r inserted in a bin search tree?
          *>implementation of x-or gate using combination of or,and and
not gates?
          *>2 men sit adjacent to each other in a circular queue of n
people.how many combinations possible?ANS:2/(n-1).
          *>Z-transform of impulse function.
          *>Laplace transform of pulse.
          *>for AND gate, one input has freq F,other has 2F,what will b
o/p freq?
          *>two c prog given of fib series.ANS:same o/p
          *>a few more questions on c prog

i remember 2 passages-they were picked straight from BARRON's:
          *>allan,parker,white,black,braun etc. sitting arrangement:
3-4questions
          *>a,b,c,d,e interview combinations, c can give only 1 int, all
others 2,
            :3-4questions.
            do these from barron's, they were the same.

JUNO ONLINE SERVICES


JUNO ONLINE SERVICES VISITED IITK ON 10TH AUG, the written test
consists of 3
sections. aptitude, c skill_set, and the last section one algorithm. i
have
listed the sections in reverse order..

  in the interview they asked some C funda, Kernighan & Ritche will 
help. also
some Communication Networks related questions for EE guys..
 

section C:

  sometimes in cryptography when using RSA algorithm, it is required to

store 'big integers'(more than alloted space for integers), suggest a

suitable method by which big integers can be stored , also device an

algorithm for adding of such numbers..

section B:

(Q) i=j=0;
       k=l=1;
       i=( j==(k=0));
      printf("%d%d%d",i,j,k);
    
      what is the 0/p ?
              Ans:  1    0     0

(Q)  x=printf("%d",x=22);
      what is the value of x ?
        Ans:  x value become 2 , because it returns the number of

character it printed.

(Q) some struct..

    *str++ -> P  (p is a pointer)
          there was some structure i didn't remined it.
    Q: it points what?
       Ans:  it points to pointer and then increments str.

(Q)int a=b=10;
     main( )
      {
      int a=15;
      a++;
      b++;
      }
   printf("%d%d",a,b);
what is the output.
Ans:   a=10
             b=11

(Q) printf("%d%f",10,10);

`      Ans: misbehaviour of output because  corresponding to %d ,10

will get print, but corres. to %f ,10 will not get print because it is

int and there may be either a garbage value or any statement.

(Q) # define  HELLO  "world";
        char *s= "HELLO" ;
        printf("%s",s)
 
          what is the output?
           Ans:  HELLO

(Q)

    main()
    { extern i=2;
      do{ 
          auto int i=4;
          printf("%d",i);
          }while(i--);

       printf("%d",i);
     }

    what will be printed?

    Ans. 444-1

  (Q)
      some function and three variables r given f1,f2,f3

      ans .. 3581321 (fibonacci sequence)

  (Q)
       given 4 functions which implements string length..

       find the correct form.. ans (b).

  (q).

       two for loops given,
 
          for(i=0;i<n;i++)

          for(i=0;i<n;++i)

        ans. both r same...


   (q)
          union
          { int a;
            float b;
          }z;

          z.a=2;
          z.b=12.0;
          printf("%d %f",z.a,z.b);

          what will be printed?

          ans.. garbage value, 12
          

  Section A:

(q).out of 52 well shuffled cards if 4 cards r taken one after the

other what is the    probability of all cards belong to the same suit.

(Q).second derivative of log(sinx)w.r.t. x

(Q).if two persons have a probability of death witjin 1 year of p,q

respectively.what is the probability that only one will be alive at the

end of the year?

(Q) max sinx(1+cosx))=?

(Q) .two lines of a ||gram r 2i+4j-5k and 2i+2j+3k then what is the

unit vector ||to the diagonal vector.

some simple problems on probabailty, simple trigonometry, on work

done(like A can do a piece of work in n days.., B.., A and B..), i'll

get the exact figures..

Geometrics Sample Test Home


Geometrics Sample Test Home
 


SECTION 1- APTITUDE SECTION

Directions for questions 1-3: Complete the sequence given below

1. 5, 5, 13, 13, 21, 21, __

Ans: 29


2. 0, 7, 26, 63, 124, __

Ans: 215 ( hint: n3-1 )


3. 1, 3, 5, 7, __

Ans: 9 


4. If a person walks at 4/5th of his usual speed he reaches 40min late. If  he 
walks at his usual speed for how much time does he travel ?


5. Two trains A&B start at opposite points 120km apart at 60kmph. A fly 
starting along with train A at 120kmph reaches B then returns back to touch A 
and continues the two and fro movement. By the time two trains meet how much 
distance would the fly have travelled?


6. In a class 80% have passed in english, 70% passed Hindi, 10% didn't pass 
either. If 144 students passed both the subjects. What is the total strength of 
the class?


7. Find the least number which when divided by 7 gives the reminder 6, when 
divided by 6 gives reminder 5, when divided by 5 gives reminder 4 and so on ?


8. If a man stands in front of sun what is the first letter of the direction 
which is left to him ?


9. (a)A square is to circle as cube is to
    (b)Success is to failure as joy is to 


10. (a)Give the synonyms of the following words
(i) Joy
(ii) Inert
(iii) Jolly

(b) Give the opposites of the following words
(i) genuine
(ii) command
(iii) essential


11.Find the odd man out in the following sets
(i) Tiger, Elephant, King Cobra, Dolphin
(ii) Oasis, Lake, Pool, Valcano
(iii) Bengali, Karnataka, Mumbai, Kashmir
(iv) Lapidary, Lancet, Scapel, Surgeon
(v) Requiem, Dirge, Elegy, Paean


12. I bought a cycle 2days before my birthday and I broke it 3 days after my 
birthday. The day I broke it is Mar2,1956?

Directions: The following questions are to be answered on the basis of the 
above given statement 

i) When is my birthday?
Hint: Keep in mind that 1956 was a leap year.
(ii) What is my age on Mar 4th, 1980?
(iii) My nephew is born exactly 20years after me. If I turned 20 in 1960, what 
is the nephews age on Feb 28th 1988 ?


13. Monday Aug25, 96 :
Hostess: "Mr A, you forgot your umbrella during the party on last friday. I 
expected you to collect it on your visit on wednesday as I plan to leave on 
this Friday."

Directions: The following questions are to be answered on the basis of the 
above given statement 

(i) when A missed umbrella?
(ii)When A is supposed to collect it?
(iii)When K leaves?


14.What is my father's sons son to my son?

Ans. Cousin brother


15. On cutting a solid parabola what would be generated 

Ans: Cone


16. What is Eulers formula?

Ans: F+V-E =2; where
F => faces; V => vertices; E => number of edges 


17. What is Newton Raphson method used for? 

Ans: To find the root of f(x) = 0;


18. How many tangents can be drawn on three circles if they don't lie within 
each other ?


19. xy - x + 2y = 6 equation is shifted to form equation xy=c what is c ?


20.When x is real what is the least value of (x2-6x+5)/(x2+2x+1)


21.When an object like cube or sphere is seen along x, y, z axis we get the 
same.Apart from these suggest another object which has similar characteristics 
as that mentioned above?

Ans: Triangular prism


22. When an object is seen from the front side we can see two concentric 
squares and top view also without any hidden lines. Draw the side view.


23. In common parlance, A=> B means what

Ans: if A is true B has to be true


23. If A is not invertible and BA = I is not possible, what is implied by this?

Ans: Determinant is Zero.


24. What is a free body diagram used for


25. A die is thrown twice what is the probability that you get same number


26. The sum of two numbers is 55. What is the larger number?




SECTION 2-TECHNICAL SECTION


1. Convert 251 in base 10 to octal(base 8)?


2. How much information can be stored in 1 byte of a IBM pc compatible?


3.What is the language used for Artificial Intelligence 

Ans: lisp


4. Swap two variables without using temporary variable

Ans: a= a+b; b= a-b; a= a-b:


5.Which is not the operating system ?

Ans: BIOS


6. What is the optimum number of operations for 2x3 + 3x2 + 5x + 5?


7. In the fortran language which of the following is true. 
(i) fortran uses call by value
(ii) fortran is object oriented
(iii) fortran allows use of function overloading

Ans. (i)


8. When a program is compiled what does it produce?

Ans: Source code is converted to object code


9. What is the difference between function overloading and function overriding?


10. What is the character set used in JAVA 2.0 ?

Ans: Unicode

 

SECTION 3 - C TEST 

1. What is the mistake in the following program segment ?

f()
{
int a;
void c;
f2(&c,&a);}


2. a=0;
    b=(a=0)?2:3;

a) What will be the value of b and why ?
b) If in first statement a=0 is replaced by a = -1,  b= ?
c) If in second statement a=0 is replaced by a = -1, b=?


3. char *a[2];
int const *p;
int *const p;
struct new { int a;int b; *var[5] (struct new)}

Describe the statements in the above given construct ?


4. f()
   { 
      int a=2;
      f1(a++);
   }
f1(int c)
{
printf("%d", c);
}

What is the value of 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;
}

What is the value of c?


6. What is the fallacy in the following program segment ?

int *f1()
{
int a=5;
return &a;
}
f()
int *b=f1()
int c=*b;
}


7. Give the C language equivalents of the following
a)Function returning an int pointer
b)Function pointer returning an int pointer
c)Function pointer returning an array of integers
d)Array of function pointer returning an array of integers

8. Find the fallacy in the following program segment?

int a;
short b;
b=a;


9. Define function ? Explain arguments in functions ?


10. How does C pass variables to a function ?


11. Explain the following program segment.
f(){
int *b;
*b=2;
}


12. Explain binary trees and their use ?


13. Draw the diagram showing the function stack, illustrating the variables 
that were pushed on the stack at the point when function f2 has been introduced 

Infosys Placement Paper Aptitude Test


1. my sons age in weeks is same as that of my grandson's age in days. my
age in year is same as that of my grandson's age in months. sum of our
ages is 120.
what is my age ?
ans: 72years. please check the values ans is ok.

2. i have five letters and five envelopes with adresses on them. what is
the probabilty that my 4 letters are in right envelops.
ans: 0.

3. what is the time after midnight is nine times the time before midnoon
in minutes.
ans: 10:48 am.

4. a painter paints the floor of dimension 12ft*10ft in one hour. what
time it will take if the dimensions r doubled.
ans: 4hrs.

5.one question on tea, coffee and cola.............
ans: half. and twice.

6. Sally and Sue have a strong desire to date Sam. They all ion
truthfully. If I tell you that Sam's number is less than Sue's or
Sally's,
a decides to visit. When she gets there, she finds out she is wrong. This
is not surprising, considering Sam answered only the second question
truthfully. Sue, unaware of Sally's conversation, asks Sam two questions.
Sue asks "Is your house number a perfect cube?". He answers. She then
asks
"Is it greater than 25?". He answers again. Sue thinks she knows where
Sam
lives and decides to pay him a visit. She too is mistaken as Sam once
again answered only the second question truthfully. If I tell you that
Sam's number is less than Sue's or Sally's, and that the sum of their
numbers is a perfect square multiplied by two, you should be able to
figure out where all three of them live
ans:55, 64, 81.

7. an artist has seven paintings T,U,V,X,W,Y,Z. he has to put 5 paintings
in the exhibition:
- when T is choosen X is not choosen.
- when V is choosen X must be choosen.
- when U is choosen Y must be choosen.
a, which of the following is fisible combination.
ans:   UVXYZ.
b, if Z is not included then which should not be selected.
ans: T.
c, if X is choosen then which should not be selected?
ans: T.
d, don't remember.........
ans: T.

8. one question on game was given. three teams A,B,C were there. each got
two points on a win and one point on a draw. some combination was given
and we were to find the final score and goal made by each.....
later, it was asked who played and won: also goal made by each team was
asked........table was also given.



9. one question on quite tough but answer is:
ans: B, D.

10. very long question and quite tough to remember
a, compass was there in outhouse at 1pm and much more....

Wilco


Written Test 

The written test is of two parts:

Section A : Aptitude Test
Section B : C Test

The aptitude was a mixture of verbal, analytical and quantitative questions. It is based on a
pattern similar to the GRE tests and questions found in R.S Agarwal

The c section tests your knowlege in pointers and basic C concepts.

 


 

APTITUDE SECTION

Q1. Mr. Shah decided to walk down the escalator of a tube station. He found 
       that if he walks down 26 steps, he requires 30 seconds to reach the bottom.
       However, if he steps down 34 stairs he would only require 18 seconds to 
       get to the bottom. If the time is measured from the moment the top step begins 
       to descend to the time he steps off the last step at the bottom, find out 
      the height of the stair way in steps?

Ans.46 steps.

 

Q2. The average age of 10 members of a committee is the same as it was 4 
       years ago, because an old member has been replaced by a young member. Find 
       how much younger is the new member ?

Ans.40 years.

 

Q3. Three containers A, B and C have volumes a, b, and c respectively; and
       container A is full of water while the other two are empty. If from container
       A water is poured into container B which becomes 1/3 full, and into 
       container C which becomes 1/2 full, how much water is left in container A?

 

Q4. ABCE is an isosceles trapezoid and ACDE is a rectangle. AB = 10 and EC = 20.
       What is the length of AE?

Ans. AE = 10.

 

Q5. In the given figure, PA and PB are tangents to the circle at A and B respectively and
       the chord BC is parallel to tangent PA. If AC = 6 cm, and length of the tangent AP
       is 9 cm, then what is the length of the chord BC?

Ans. BC  = 4 cm.

 

Q6. Three cards are drawn at random from an ordinary pack of cards. Find 
       the probability that they will consist of a king, a queen and an ace.

Ans. 64/2210.

 

Q7. A number of cats got together and decided to kill between them 999919 
       mice. Every cat killed an equal number of mice. Each cat killed more mice 
       than there were cats. How many cats do you think there were ?

Ans. 991.

 

Q8. If Log2 x - 5 Log x + 6 = 0, then what would the value / values of x 
       be? 

Ans. x = e2 or e3.

 

Q9. The square of a two digit number is divided by half the number. After 
       36 is added to the quotient, this sum is then divided by 2. The digits of the
       resulting number are the same as those in the original number, but they 
       are in reverse order. The ten's place of the original number is equal to twice 
       the difference between its digits. What is the number?

Ans. 46

 

Q10. Can you tender a one rupee note in such a manner that there shall be 
         total 50 coins but none of them would be 2 paise coins.?

Ans. 45 one paisa coins, 2 five paise coins, 2 ten paise coins, and 1 twenty-five paise coins.

 

Q11. A monkey starts climbing up a tree 20ft. tall. Each hour, it hops 3ft. 
         and slips back 2ft. How much time would it take the monkey to reach the 
         top?

Ans.18 hours.

 

Q12. What is the missing number in this series?
          8 2 14 6 11 ? 14 6 18 12

Ans. 9

 

Q13. A certain type of mixture is prepared by mixing brand A at Rs.9 a kg. 
         with brand B at Rs.4 a kg. If the mixture is worth Rs.7 a kg., how many 
         kgs. of brand A are needed to make 40kgs. of the mixture?

Ans. Brand A needed is 24kgs.

 

Q14.  A wizard named Nepo says "I am only three times my son's age. My father 
          is 40 years more than twice my age. Together the three of us are a mere 1240 
          years old." How old is Nepo?

Ans. 360 years old.

 

Q15. One dog tells the other that there are two dogs in front of me. The 
         other one also shouts that he too had two behind him. How many are they?

Ans. Three.

 

Q16.  A man ate 100 bananas in five days, each day eating 6 more than the 
          previous day. How many bananas did he eat on the first day?

Ans.  Eight.

 

Q17. If it takes five minutes to boil one egg, how long will it take to boil 
         four eggs? 

Ans. Five minutes. 

 

Q18.  The minute hand of a clock overtakes the hour hand at intervals of 64 
          minutes of correct time. How much a day does the clock gain or lose?

Ans.32 8/11 minutes.

 

Q19.  Solve for x and y:
          1/x - 1/y = 1/3, 1/x2 + 1/y2 = 5/9.

Ans. x = 3/2 or -3 and y = 3 or -3/2.

 

Q20. Daal is now being sold at Rs. 20 a kg. During last month its rate was 
         Rs. 16 per kg. By how much percent should a family reduce its consumption so 
         as to keep the expenditure fixed? 

Ans. 20 %.

 

Q21. Find the least value of 3x + 4y if x2y3 = 6. 

Ans. 10.

 

Q23. Can you find out what day of the week was January 12, 1979?

Ans. Friday.

 

Q24. A garrison of 3300 men has provisions for 32 days, when given at a rate 
         of 850 grams per head. At the end of 7 days a reinforcement arrives and it was 
         found that now the provisions will last 8 days less, when given at the rate 
         of 825 grams per head. How, many more men can it feed?

Ans. 1700 men.

 

Q25. From 5 different green balls, four different blue balls and three 
         different red balls, how many combinations of balls can be chosen taking at least 
          one green and one blue ball?

Ans. 3720.

 

Q26. Three pipes, A, B, & C are attached to a tank. A & B can fill it in 20 
         & 30 minutes respectively while C can empty it in 15 minutes. If A, B & C 
         are kept open successively for 1 minute each, how soon will the tank be filled?

Ans.  167 minutes.

 

Q27.  A person walking 5/6 of his usual rate is 40 minutes late. What is his 
          usual time? 

Ans. 3 hours 20 minutes.

 

TECHNICAL SECTION

 

Q1. typedef struct{
                             char *;
                             nodeptr next;
                             } * nodeptr ;

    What does nodeptr stand for?

 

Q2.   What does. int *x[](); means ?

 

Q3.     struct list{
                          int x;
                          struct list *next;
                          }*head;
        the struct head.x =100
        Is the above assignment to pointer is correct or wrong ?

Ans. Wrong


Q4.What is the output of the following  ?
        int i;
        i=1;
        i=i+2*i++;
        printf(%d,i);

Ans.  4


Q5.      FILE *fp1,*fp2;
            fp1=fopen("one","w")
            fp2=fopen("one","w")
            fputc('A',fp1)
            fputc('B',fp2)
            fclose(fp1)
            fclose(fp2)}
a.error b. c. d.

Ans. no error. But It will over writes on same file.


 What are  the output(s) for the following  ?


Q6.    #include<malloc.h>
         char *f()
         {char *s=malloc(8);
         strcpy(s,"goodbye")}
         main()
                    {
                        char *f();
                        printf("%c",*f()='A');
                     }

 

Q7.     #define MAN(x,y) (x)>(y)?(x):(y)
                    {
                        int i=10;j=5;k=0;
                        k= MAX(i++,++j)
                        printf(%d %d %d %d,i,j,k)
                    }

Ans. 10 5 0

 

Q8.     a=10;b=5; c=3;d=3;
           if(a<b)&&(c=d++)
           printf(%d %d %d %d a,b,c,d)
           else printf("%d %d %d %d a,b,c,d);

 

Q9.          #include<stdarg.h>    
                show(int t,va_list ptr1)
                        {    
                            int a,x,i;
                            a=va_arg(ptr1,int)
                            printf("\n %d",a)
                        }
                display(char) 
                       { 
                            int x;
                            listptr;
                            va_star(otr,s);
                            n=va_arg(ptr,int);
                            show(x,ptr);
                        }
               main()
                       {
                            display("hello",4,12,13,14,44);
                       }

 

Q10.    main()
                   {
                    printf("hello");
                    fork();
                    }    

 

Q11.        main()
                    {
                      int i = 10;
                      printf(" %d %d %d \n", ++i, i++, ++i);
                    }

 

Q12.      #include<stdio.h>
              main()
                    {
                      int *p, *c, i;
                      i = 5;
                      p = (int*) (malloc(sizeof(i)));
                      printf("\n%d",*p);
                      *p = 10;
                      printf("\n%d %d",i,*p);
                      c = (int*) calloc(2);
                      printf("\n%d\n",*c);
                    }

 

Q13.     #define MAX(x,y) (x) >(y)?(x):(y)
            main()
                {
                    int i=10,j=5,k=0;
                    k= MAX(i++,++j); 
                    printf("%d..%d..%d",i,j,k);
                }

 

Q14.        #include <stdio.h>
                main()
                    {
                        enum _tag{ left=10, right, front=100, back};
                        printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back);
                    }

 

Q15.     main()
                {
                    int a=10,b=20;
                    a>=5?b=100:b=200;
                    printf("%d\n",b);
                } 

 

Q16.    #define PRINT(int) printf("int = %d ",int)
            main()
                {
                    int x,y,z;
                    x=03;y=02;z=01;
                    PRINT(x^x);
                    z<<=3;PRINT(x);
                    y>>=3;PRINT(y);
                }

 

Q17.    #include<stdio.h>
            main()
                {
                    char s[] = "Bouquets and Brickbats";
                    printf("\n%c, ",*(&s[2]));
                    printf("%s, ",s+5); 
                    printf("\n%s",s);
                    printf("\n%c",*(s+2));
                }

 

Q18.    main()
             {
                 struct s1
                      {
                        char *str;
                         struct s1 *ptr;
                       };
                static struct s1 arr[] = { {"Hyderabad",arr+1},
                {"Bangalore",arr+2},
                {"Delhi",arr}
                };
            struct s1 *p[3];
            int i; 
            for(i=0;i<=2;i++)
            p[i] = arr[i].ptr;

            printf("%s\n",(*p)->str);
            printf("%s\n",(++*p)->str);
            printf("%s\n",((*p)++)->str);
            }

 

Q19. .main()
            {
                char *p = "hello world!";
                p[0] = 'H'; 
                printf("%s",p);
             }

------------------------------------------------------------------
Interview 
----------

 The interview is basically a technical inteview with stress on C again.  Programs can be
given on the spot such as reversal of a string implemented using data structures (like nodes)
to test your knowledge and understanding of C concepts. Also questions on DBMS, OS and
Data Structures can be asked. For further details please take a look at our Interview section.


STM


this is STM paper......

>> i'll use ot as notation for multiple choice,
>> i m not writing the choices-
>>
>> 1. in a VCO,the capacitance is varied by  using
>__________.
>>    ans:rev biased varactor diode.(ot)
>>
>> 2. a pnp trans. in active region has  _____________.
>>   ans:b-e junction fwd biased & b-c rev biased.(ot)
>>
>> 3. in a nmos how is V-threshold affected by increasing
>>    doping conc. of substrate ?(ot)
>>    ans:increases
>>
>> 4. condition for sustained oscillations in a osc.
>is___.
>>    ans:A=1 & phase shift = n*pi.(ot)
>>
>> 5. if  A?B=C and C?A=B then what is the boolean
>operator ?
>>    ans:xor (ot)
>>
>> 6. clk is given with some period T to a logic gate.
>>    the same clk is again fed to the gate via a delay
>>    element with a delay of T/4 duration.if the gate
>>    acts as a freq.doubler then identify the gate.
>>    ans:xor (ot)
>>
>> 7. define the setup time & hold time in a f/f.
>>
>> 8. given a D f/f ,construct a T f/f from it.
>>
>> 9. the following ckt(LADDER) with each resistance
>equal
>>    to R(=10 OHMS) is given,find the value of
>resistance
>>    between A & B
>>
>>     A___________R_________R____
>>   |          |        |
>>           R          R        R
>>           |          |        |
>>     B___________R_________R____
>>
>>    ans:R<10 OHMS (ot)
>>
>> 10. in the given ckt,find the current in R1 resistor.
>>     assuming a gnd somewhere(i don't remember
>exactly!)
>>
>>     ____R=10____              _____R=10_____
>>     |           |             |            |
>>     |           |             |            |
>>    +          R=5            R=10          +
>>    V=10v        |             |           V=20v
>>    -            |             |            -
>>    |____________|_____R1=5____|____________|
>>
>>
>> 11. the BW of a communication channel is 10kbps,
>>     what does this mean ?choices--
>>     (a)the data rate can never exceed 10kbps
>>     (b)can be exceeded using level 4 modulation
>>     (c)"   "    "        "     "   2    "
>>
>> 12. given a 2:1 mux,how will u implement an AND & OR
>gate ?
>>
>> 13. a triangular wave with equal excursions in +ve &
>-ve direction
>>     & with voltages marked V1 & V2 is given as input
>to the
>>     following clipper ckt. having 2
>>     diodes ,find o/p.
>>
>>     _________R________________
>>                 |        |
>>                 +        -
>>                 D        D
>>                 -        +
>>    Vin          |        |      Vo
>>                 +        +
>>                 V1       V2
>>                 -        -
>>     ____________|________|_____
>>
>>
>> 14. find vo in the given ckt when switches r closed
>at t=0
>>     all caps r of 1 farad,cap1 initially charged to
>4v,cap2
>>     to 3v & cap3 to 2v,vo is voltage across cap3
>>
>>     _________/________/_____________
>>     |      |      |          |
>>     V     CAP1   CAP2      CAP3    vo
>>     |______|______|__________|______
>>
>>
>> 15. a trans. with Re resistor is given,hfe,hie values
>r
>>     given required to find i.p resistance . (ot)
>>     ans:200k (not sure)
>>
>> 16. a ckt with 2 d f/f is given ,both have same clk,
>>     o/p of 2nd f/f say d2 is inverted & fed back to
>it.
>>     the i/p to d1 comes by exoring d1's o/p with the
>>     complemented o/p of d2,identify the ckts
>operation.
>>     ans:the ckt is a counter with 3 states(0,1 & 3)
>>         states not sure please check out.
>>
>> 17. a trans. ckt with npn ,Re & Rc is given ,Ic or Ib
>>     is asked. (ot)
>>
>> 18. an instrumentation amplifier ckt with 2 op amps is
>>     given,vin is a sine wave,o/p of upper op amp is v1
>>     that of lower one is v2,& v3 is v1 connected to v2
>>     wrt gnd.u'll be asked to draw waveforms for v1,v2
>>     & v3 on the question paper itself.(6 marks)
>>
>> 19. an amp (block dig.) with a f/b which introduces
>>     -45db attenuation is given,gain plot is given,u r
>req.
>>     to plot the phase plot & comment on stability of
>the
>>     system.(6 marks)

Texas Instruments Paper


texas instruments paper .

in this paper there was 20 questions as follows in 60 minutes .
second part consists of 36 que. in 30 minutes all questions are
diagramatical.(figurs)..

 

1. if a 5-stage pipe-line is flushed and then we have to execute 5 and 12
instructions respectively then no. of  cycles will be
a. 5 and 12
b. 6 and 13
c. 9 and 16
d.none 


2. k-map


ab
----------
c 1   x  0  0
 1   x  0  x

solve it 

a. A.B
B. ~A
C. ~B
D. A+B


3.CHAR  A[10][15] AND INT B[10][15] IS DEFINED
WHAT'S THE ADDRESS OF A[3][4] AND B[3][4]
IF ADDRESS OD A IS OX1000 AND B IS 0X2000

A. 0X1030 AND 0X20C3
B. OX1031 AND OX20C4
AND SOME OTHERS..

4. int f(int *a)
{
 int b=5;
a=&b;
}

main()
{
int i;
printf("\n %d",i);
f(&i);
printf("\n %d",i);
}

what's the output .

1.10,5
2,10,10
c.5,5
d. none

5. main()
{
int i;
fork();
fork();
fork();
printf("----");
}

how many times the printf will be executed .
a.3 
b. 6
c.5
d. 8


6. 
void f(int i)
{
int j;
for (j=0;j<16;j++)
{
if (i & (0x8000>>j))
printf("1");
else
printf("0");
}
}
what's the purpose of the program 

a. its output is hex representation of i
b. bcd
c. binary
d. decimal

 
7.#define f(a,b) a+b
#define g(a,b) a*b


main()
{
int m;
m=2*f(3,g(4,5));
printf("\n m is %d",m);
}

what's the value of m
a.70
b.50
c.26
d. 69

8.

main()
{
char a[10];
strcpy(a,"\0");
if (a==NULL)
printf("\a is null");
else
printf("\n a is not null");}

what happens with it .
a. compile time error.
b. run-time error.
c. a is  null
d. a is not  null.

9. char a[5]="hello"

a. in array we can't do the operation .
b. size of a is too large
c. size of a is too small
d. nothing wrong with it .

10. local variables can be store by compiler
a. in register or heap
b. in register or stack
c .in stack or heap .
d. global memory.

11. average and worst time complexity in a sorted binary tree is

12. a tree is given and ask to find its meaning (parse-tree)
  (expression tree)
ans. ((a+b)-(c*d))  ( not confirmed)
13. convert 40.xxxx into binary .

14. global variable conflicts due to multiple file occurance 
is resolved during 
a. compile-time
b. run-time 
c. link-time
d. load-time

15. 
two program is given of factorial.
one  with  recursion and one without recursion .
question was which program won't run for very big no. input because of
stack overfow .
a. i only  (ans.)
b. ii only
c. i& ii both .
c. none 

16. 
struct a
{
int a;
char b;
int c;
}

union b
{
char a;
int b;
int c;
};
which is correct .
a. size of a is always diff. form size of b.(ans.)
b. size of a is always same  form size of b.
c. we can't say anything because of not-homogeneous (not in ordered)
d. size of a can be same if ...





>
>
>1.two transistors are connected Vbe is 0.7volts .this is simple ckt.one 
>transistor is diode equivalent. & asked the o/p across the 2 nd transistor.
>2.simple k map ans is Bbar.
>3.
>
>                               Emitter
>---R-------transistorbase| --
>                          | ---
>                                   collector
>             in above capacitor is connected parallel with resistance 
>r.capacitor is not shown
>             in fig.capacitor is used for in this ckt:
>
>
>             ans:a.speedupb.active bypass  c.decoupling
>   4.
>
>   -----R------I----------o/p
>           |___R____ |
>                             in above r is resistence.I is cmos inverter.
>                             then ckt is used for:
>
>
>                             a.schmitt trigger b.latch  c.inverter  
>d.amplifier
>
>
>      5.simple amplifier ckt  openloop gain of amplifier is 4.V in 
>=1v.asked for V x?
>      amplifdier + is connected to base. - is connected to i/p in between 
>5k is connected.
>      from o/p feedback connected to - of amplifier with 15k.this is ckt.
>
>
>      6.resistence inductot cap are serially connected to ac voltage 5 
>volts.voltage across
>      inductor is given.R I C values are given & asked for
>      voltages across resistence & capacitor.
>      7.
>              ___  R_____
>             |            |
>      ---R------OPAMP ----------
>             |---
>             R1        R1 is for wjhat i mean what is the purpose of R1.
>             |
>
>             ground
>
>
>     8.asked for Vo at the o/p.it is like simple cmos realization that is n 
>block is above
>     & p block is below.Vdd is 3 volts at supply.V threshold 5 volts.
>     9.2 d ffs are connected in asyncro manner .clock 10 MEGAHZ.gate delay 
>is 1 nanosec.
>     A B are the two given D FFs.asked for AB output is:
>
>
>     a.updown
>     b.up c. updown glitching like that (take care abt glitching word)
>
>     10.
>
>
>     ----------------| subtractor|---------o/p
>         |___HPF____|
>
>                     the ckt is LPF ,HPF or APF ?
>
>   11.in a queue at the no of elements removed is proportional to no of 
>elements in
>   the queue.then no of elements in the queue:
>   a.increases decreases exp or linearly(so these are the 4 options given 
>choose 1 option)
>   12.with 2 i/p AND gates u have to form a 8 i/p AND gate.which is the 
>fastest in the
>   following implementations.
>   ans we think ((AB)(CD))((EF)(GH))
>   13.with howmany 2:1 MUX u can for   8:1 MUX.answer is 7.
>   14. there are n states then ffs used are log n.
>   15.cube each side has r units resistence then the resistence across 
>diagonal of cube.
>   16.op amp connections asked for o/p
>   the answer is (1+1/n)(v2-v1).check it out.practise this type of model.
>   17.
>       _____________ supply
>   ---|__           ___|
>  Ii     >________ |___    Tranistot
>                       > _______Vo
>                        |
>                        |
>                        R       |
>                        |       |  Io
>                        ground.
>
>
>
>
>    asked for Io/Ii=? transistor gain is beta.
>
>
>    a.(1+beta)square b.1+beta  c. beta
>
>
>    18.y=kxsquare. this is transfer function of a block with i/p x & o/p 
>y.if i/p is
>    sum of a & b then o/p is :--
>
>    a. AM b.FM  c. PM
>    19.
>                 ------MULTIPLIER--- |
>                |                    |
>        _____R__|__OPAMP______________________Vo
>                 ---
>                 |
>                ground.
>                v in = -Ez then o/p Vo =?
>                answer is squareroot of -Ez.multiplier i/ps are a & b then 
>its o/p
>                is a.b;
>

TCS TALENT TEST QUESTIONS


TCS TALENT TEST QUESTIONS ALPHABET-?F? 

VERBAL REASONING: 

 1.CIRCUMSPECT 

   A. CONDITION B. INSPECT C. CAUTIOUS D. RECKLESS

 2.ABYSMAL 

   A. SLIGHT B. DEEP

 3.ILLUSTRIOUS -- FAMOUS 
 4.PROLIFIC-FEW PRODUCTIVE 
 5.DILIGENT -- HARD WORKING 
 6.VEHEMENT 

   A. PASSIONATE B. CONFESY C. NOISY D.MOQULIS

7. IMPETUS

   A. CONNECT B. CRUCIAL C. STIMULUS D.IMMEDIATE

 8.ACRONYM 

   A.ABBREVIATION B.SIMILAR

 9.DISSEMINATE 

   A. FORECAST B. SPREAD C. BRANSP

10.HARBINGER 

   A. NAVAL B. UNCOMMON C. FORE RUNNER D. GLORY

ANTONYMS: 

11.TRACTABLE 

   A. OBJECTIONABLE B. ENJOYABLE  C. ADAPTABLE  D.
OBSTINATE

12.CONVERT 

   A. MANIFEST  B. INVISIBLE   C. SCARED   D. ALTER

13.PENSIVE 

   A. REPENTENT  B. SAD   C.THOUGHTLESS  D. CARELESS

14.MITIGATE 

   A. AGGRAVATE B. RELIEVE  C. ELEMINATE  D. EXHUMAN

15.DIVERGENT 

   A. CONTRARY  B. COMING TOGETHER C.CONVERSANT

16.DOGMATIC 

   A. SCEPTICAL  B. RESILIENT  C.STUBBORN  D.
SUSPICION

17.CLUTCH 

   A. HOLD  B. GRAB  C. RELEASE  D. SPREAD

18.MOTLEY 

   A. BULKY  B. SPECKLED  C. HOMOGENEOUS D. DIFFERENT

19.RELINQUISH 

   A. PURSUE  B. VANQUISH  C. DESTROY   D.DEVASTATE

20.TRANSISENT 

   A. PERMANENT B. REMOVED

21-26

FILL IN THE APPROPRIATE SENTENCES BETWEEN THE PASSAGE

27-32

READ THE PASSAGE AND ANSWER THE QUESTION 

PART-II 

 1.WHICH IS THE NEXT NO. 

      5,6,7,8,10,11,14,?     Ans. 18

2. A 0 0 0 0 1 1 1 1

B 0 0 1 1 0 0 1 1

C  0 1 0 1 0 1 0 1

FIND THE (AUB)UC {AUB MEANS IF A=0,B=0 THE AUB=0;IF
A=0,B=1,AUB=1}

21. TIME DEGREE

2  7° 6¢ 43.15² 

 4.5° 31¢ 4.3 ² 

THEN WHAT WILL BE THE DEGREE WHEN TIME IS 3¢ o CLOCK 

   22.THREE COMPANIES WORKING INDEPENDENTLY AND GETS
SAVING 10%,20%,25%.IF THE COMPANIES
      WOEK JUST OPPOSITE THEN WHAT WILL BE THE NET
SAVING? 
   23.WHICH ONE WILL BE THE EXACT POWER OF 3? 

        A. 2768 B.2678 C. 2187

24.SOME RELATION THAT IS DEDUCED TO 

A.(POW 2) DIRECT PROPORTIONAL TO X (POW 3)

B.(POW 2) DIRECT PROPORTIONAL TO Y(POW 3)

SOME FOUR ANSWERS WERE GIVEN

ANS. ALL THE ABOVE

      25.900 M WIDE 3000 M WIDTH 

      SOMETHING I CAN?T REMEMBER SOME VALUES ARE GIVEN
BY AIR PER METRE Rs.5 THEN WHERE WILL
      YOU CUT. 

      ADD MAN OUT

      26.  A.JAVA B.SMALLTALK  C.LISP  D.EIFFEE

      27. A. SAP  B. ARP  C.WAP  D.TCP

      28. WHICH IS THE PERFECT ONE AMONG THE 4?

      A. 2x+3y=4 B. x+y=-1 C. Y=2x+3

   32.I FORGOT 

      PART III

      CRITICAL REASONING

      I FEEL VERY EASY

      Q1-Q3

      A,B,C-PROGRAMMERS  D,E,F,G,H-DATABASE HANDLING

      A AND C CANNOT GO TOGETHER

      C AND E CANNOT GO TOGETHER

      D AND F CANNOT GO TOGETHER

      Q4-Q6

      Q7-Q10

      Q11 AND Q12

      Exacting -excessive demand  invoke-all

      Arbitary-not perfect   salient-prominent

      Paradox-contradiction   retrogeade-retreat

      Transient-temporary   nascent-new

      Tender-deli    exponel-power

      Appaling-alarming   sceptical-doubtful

      Fiasco-total fair    intercept-infringe,stop

      Latent-dormant    protract-extent

      Categorial-unconditional 

      2. BFGE CODED AS CEHD THEN CODE PVHDJ  ANS.QUICK

 3.FIND THE NO. F Y FOLLOWED BY W BUT THAT IS NOT
FOLLOWED BY Z 
 4.WHAT IS THE LARGEST PRIME NO. THAT IS STORED IN 8
BIT PATTERN 

        ANS 253(NOT SURE)

 5.WHICH EQUATION THAT BESTS SUITS THIS CURVE 

        A LINE CUTS X AT -1 WHEN Y=0 AND X=0 WHEN Y=3
AND GOES UPWARD(3x-y+3=0)

 6.WHICH IS NOT A SIDE OF A RECTANGULAR 

        A. (2,3,4) B. (3,4,7) C. (3,5,9)

 7.WHICH SHAPE WILL BE OBTAINED BY USING THESE VALUES
OF X,Y? 

        X  Y

    1.0.00001 
10.1.02 
100.1.72 
1000.3.00 
9999.4.72 
 8.A MAN, WOMAN AND A BOY JOINEDLY DID A JOB IN 6
DAYS. AMAN ALONE FINISHES IN 10 DAYS ,
   AWOMAN ALONE FINISHES IN 24 DAYS.THAN HOW MANY DAYS
THE BOYS CAN TAKE TO FINISH. 40 DAYS 
 9.FOR TEMPRATURE A FUNCTION IS GIVEN ACCORDING TO
TIME: t*t/6+4t+12 

           WHAT IS TEMPRATURE RISE OR FALL BETWEEN 4
AM TO 9 AM.

10.AN AEROPLANE STARTS FROM A(SOME LATITUDE IS GIVEN
ACCORDING TO PLACE) AT 2 AM LOCAL TIME
   TO B(SOME LATITUDE).TRAVELLING TIME IS 10 HOURS
.WHAT IS THE LOCAL TIME OF B WHEN IT
   REACHES B. 
11.A FILE IS TRANSFERRED FROM A PLACE TO DESTINATION
CAPABLE OF 10 KB. THEY GIVE SOME RATE TO
   TRNSFER.U FIND A EQUATION THAT BEST SUITS THIS. 
12.IN A PLANE CUBE THE N OF VERTICES ,NO. OF EDGES AND
NO OF FACES ARE 

      A. 6,6,6 B. 4,8,12

13.VENN DIAGRAM BELOW 
      A.HOW MANY PERSON KNOW ENGLISH MORE THAN FRENCH?

      B.HOW MANY PERSONS KNOW ALL THE LANGUAGES? 
      C.HOW MUCH % OF PEOPLE THOSE WHO KNOW FRENCH AND
GERMAN ARE NOT ENGLISH? 

      14.CORRECT CHART WITH CORRECT VALUES

      X-YEAR

      Y-NO OF PERSONS

    A.AVERAGE NO OF PERSONS FROM 1995-1999 
    B.WHICH YEAR HAS LARGE DIFFERENCES IN NO OF
PERSONS? 
    C.IF 10% OF PEOPLE LEAVES THE OFFICE IN 1998
THEN,HOW MANY FRESH CANDIDATES CAN BE ADDED
      IN THE NEXT YEAR. 

14.WHAT IS THE VALUE OF 

        M(373,7)+R(6,8)-T(3,4)+R(3,4)

        M-MODULAS,R-RUNDOFF,T-TRUNKATE

15.WHAY IS THE VALUE OF 

%#%(5)+#%#(2)

WHERE %=DOUBLING #=RECIPROCAL 

15.MATCH THE FOLLOWING 

        A

        a. SENTENCE, PARAGRAPH 1.TYPE OF

        b.BASMATI,WHEAT 2.A PART OF

        c.BROTHER,SISTER 3.NOT A TYPE OF

        d.BREIGAL,DOG 4.SIBLING

ANS. 1-2,2-1,3-4,4-3

16.G(0)=1,G(1)=-1,IF G(N)=2k(G(N-1)-3G(N-2))THEN WHAT
IS THE VALUE OF G.



TRIAD


TRIAD
and mostly triad is only for mech guys only

********************
TRIAD PAPER
*******************
C - language:
1. write a program to calculate ncr
2. write a program to exchange the values of two variables
using
pointers
3. write program to open one file input some numbers and find
smallest,largest, avg. and store them in another file.
4. write a structure node using linked list
5. write a program to reverse a string
co-ordinate geometry
1. find the perpendicular distance from a point P(a,b) to a
line lx+my+n=0;
2. y=x^3+2x^2+5x+2 find the slope of this eqn when x=12;
( Hint :find dy/dx and substitute x=12)
3. circle is x^2+y^2=a^2 . if the centre is shifted to (25,16)
what
is the eqn of new cirlce.
4. pt rotation P(x,y) about origin in anticlockwise direction
by an
angle theta. find new coordinates.
before this there will be some question on puzzles(gre
barrons).
prepare co-ordinate geometry and fundamental of c.

regarding interview :
> > 1.they will ask whether u r interseted to go
> aborad,
> > ans:say no, not interested.
> > 2. tell some project works that r done and or
> going
> > to
> > be do in c , c++,
> > 3. personal interview.
> > 4. be perfect in c, they r asking that how u done
> > this
> > in test  paper.
> > 5.they ask u do be agree to the company bond. bond
> > is
> > for 3 years , breaking is at cost of 50,000.
> > 
> > apptitude ;
> >  some puzzles r given around 9, study well it is
> > easy,
> > for it they provide 20 min

Samtel


1 . a is 5 miles east of b . c is 10 miles southeast
of b . find dis between a and c . ans is root 34 .(
ans is correct , qs may be wrong )
2 dis . between a, b is 60 miles , c is 50 miles
from both . find shartest dis between c and thwe
highway connecting a b .
3 area of 2 squares r in the ratio 2:1
find the ratio of there perimeter .
4 2x+y= 2y+x
find x-y .
5 *(*9) , * means twice the no. minus 10 , ans 6
6 a tank can be filled in 6 min by a pipe supplying
5 cu ft .
length is 4 ft , breadtn is half of length . find
height .
7 x/3=y/z then 9y^2=??
8 2 no. on multiplecation gives 10 , when added
gives 7 . what is the largest of the two no.
ans 5
9 36 chairs must be arranged in atleast 3 rows , min
3 chairs in each row , all rows are parellel . find
the no, of rows .
10 there are 30 socks 60% are red . rest blue . min
no of socks to be taken out to have stleast two blue .
11. a holds 40% shares . b holds 15000 shares , c
holds 25% more than a . how many shares do b have .
12 75 % of distance is covered at average speed of v
miles /hrs in t time . remaining at an average at an
average speed of s .
ans : vt/3s
13 x=y=2z , x*y*z=256 , find x .
148 english questions are from Gmat guide(dsitto)
pg no i dont remember (something in 250s)but the
wuestions were
CPI(price index),
being a realist......
drug rehabilaiition...
if one ate in the restraunt
all r given in gmat guide


tech paper
electrical
1 velocity of em wave . given L and C
v= 1/root LC
2 f(xy)=x^2+y^2+xy+y+x


i no extremum
ii one max no min
iii no max no min
iv one max one min
3 reflection co-efficient zl+z0/zl-z0= v0 max/ v min
ans 150
effect of bounded conductor
ans c inc . L dec
4 qs. on torque

torque = NBIA

5 PROB OF HITTING A TARGET IS .25 . A PERSON FIRES 4
TIMES . WHAT IS THE PROB OF HITTING 2 TIMES
. THIS QS . IS COMMON IN ALL BRANCH PAPERS .
6 .



IT WAS A TOUGH PAPER 50 QS 1 HRS . I DONT REMEMBER
THE REST
electronics paper v tough besides above ques it had
ques. on DSBSC,
CDMA employs what tech.
1)tdm 2)fdm 3) diverse spectral 4)none
diff. amplifier--ckt. given find voltage gain
see GATEpaper 4 elec.& comm.
advantage of vsb over ssb. also ques. on vectors;
matrices;eigen values.
study linear control theory

MECH PAPER WAS VERY TOUGH .
THERE WERE QS ON STRENGTH OF MAT . MOSTLY ,
SPRINGS , BENDING MOMENT , CURVED BEAMS

Samsung


there were 2 sections 1.Technical 2.Aptitude

technical was a bit difficult than apti.

in technical there were mainly questions on Datastructures, OS and
Networks.

networks questions were mainly from datalink layer and network layer.

DS questions were on linkedlists,binary trees and hashing.

OS questions were on paging and schduling.

in apti they have asked to arrange sentences in order, questions based
on passage and some direct
apti.

some ques i have in mind are, i am giving answers after the question
itself:

1. what is the size of IPv6 ---16 bytes

2.how many possible trees are there such that both preorder and
postorder traversal are same if there
are n nodes in a binary tree ---0

3. four ques were given on error detection and control, like CRC
code,hamming code etc..

4.which protocol is used to convert the ethernet address to IP address
--- RARP

5.which is undeterminnistic network structure among 802.3,802.4,802.5
--802.4

6. some nodes were given and they are inserted into a binary search
tree, which is the root --- 8

7. which of the two codes executes fast

     for(i=0;i<100;i++)
        for(j=0;i<100;j++)
            a[i][j]=0;

    for(i=0;i<100;i++)
        for(j=0;j<100;j++)
            a[j][i]=0

  ans: first code

8. int j=3;
     int *p=&j;
    printf("%d %d", *p++,++*p);

   it will not increment j value as ++ is done first on p before *, so
address gets incremented and
garbage value will be there.

9. two questions were asked on doubly linked lists, for deleting a node
like given some piece of code
which is correct.

10. a question on interrupts in OS, what happens when a higher priority
process requests the CPU
when it is servicing a lower priority process.

11. a question on quick sort, given some   numbers what happens after
the first iteration.

SATYAM PAPER


SATYAM PAPER

25 apti+ 25 tech in 1 hour
less emphasis on tech

TECH:
1) c-question
static int a[5]={10,20,30,40,50};
int j;
for(j=0;j<=4;j++);
{
if(j<=4)
{
a[i]=a[j]*a[j];
printf("%d",a[i]);
}
}

what is the o/p
Ans) no o/p  (as semiclon is given after for loop 3rd
line of the
program).

2)bit-byte-field-record
arrange in smallest to biggest
Ans) field-bit-byte-record

3)a type similar to above question
Ans) record.

4)2-3 extremely cheap operating system and network
question.
5)2-3 extremely vague DBMS questions.
6)2-3 very very easy c++ questions.


APTI:(For apti go through rs agarwal)
1) two questions on time discount and interest and
stuff like
that.(questions from rs agarwal only)
2)two hands of watch meet every 64 min. does the watch
go slow or
fast.
3)two pipes can  fill a tank in 4&5 hrs
respectively.one can empty in
2 hrs .If the tanks are opened in order 1,2,3 .m
respectively ,when
the cistern will be empty.
options--3p.m,4p.m,5p.m,6a.m,7a.m
Ans)5p.m
4)a garrisson of 2000 men has provision for 54 days d
of 15 days a
reinforcement of men arrive and it is found that now
the provision
will last for 20 days more.Find the no. of men arrived

Ans)1900(check inrs agarwal).
5)one question from alligation and mixture(r.s
agarwal).
6) two or three questions at least had 5-7 steps given
for a
procedure ,the steps had to be arranged in alogical
oredr.There was a
simple catch in each but was easy.
e.g. to print ur name in reverse
1)print the 'i'th alphabet
2)count the no. of alphabets
3)If i=0 end
4)i--
5)goto 3
options like
a)3,2,4,5,1
b)2,1,4,5,3
c)1,4,2,3,5
d)none

-similar questions for calcuylating average,checking
greater etc.
-there was one flow chart of fibinacci series.
-loop for fibonacci.
-some simple C loops written in words to be traced
basically just
watch out for the catch.
i=j
k=(z+i)/(z+j)
l=3*i(j*3)
m=(3*(3+i)/(j*(3+j)
if i=3=j initially
a)all are same
b)one is different
c)all are different
d)none

7)Some simple computer based questions(objective)
-function of CPU
-what is ram etc.
-what is buffer.

8) some vague Data base questions (nobody understood
that)

ORACLE APTITUDE TEST| Aptitude Test For Oracle


ORACLE APTITUDE TEST


 Questions 1-3 are based on the following:


In a group there are five persons A,B,C,D and E. There
is a sitarist, a professor and a sports person in
thegroup. E is the husband of a member of the
group.This couple is the only married couple in the
group. B is the brother of C. B is neither a professor
nor a sports person. None of the women is either a
sitarist or a sports person. A and D are unmarried and
neither of them is a sitarist or a professsor or a
sports person.


1. Which of the following people is E's wife?


            1]A   2]B    3]C    4]D


2. Who is a sports person?


            1]A   2]E    3]B    4]C


3. Who is a sitarist?


            1]B    2]A    3]C    4]D


4. In a factory, 'a' men work 'b'  hours a day and
produce 'c' articles each day. If 'd' men are
released, how many hours a day will the remaining men
have to work to produce 'c'articles each day?


           1]ab/d    2]ab/b    3]a-d/b    4]ab/a-d


5. A county cricket team has won 10 matches and lost
4. If these matches represent 70% of the matches to be
played, how many more matches should the team win so
as to have a record of 75% iwns?


        1]5     2]6     3]4      4]3


For questions 6-10, read the passage and answer the
questions that follow:


      At a time when impressive breakthroughs in
technology are providing new and better products and
services, when improved communications are
transforming thw world into a global village, and when
democracies are sprouting in former communist lands,
we are simultaneously witnessing events that makie us
questioin whether so much progress is indeed
"progress".
      For example, we see reports of widespread
bribery by Italina and Japanese government officials,
exorbitant salaries for executives in North America,
extensive environmental pollution in eastern Europe,
and other instances of immoral or morally questionable
conduct in our organizations. In many otherwise
prospeous and afluent cities, we see an increase in
the numbers of homeless people. Even those who are
fortunate enough to have a job find that work is not
only not an opportunity for growth, but a source of
anxiety and insecurity.
      In the popular media as well as in academic
journals, we see great interest in the proposition
that business and other organizations leaders need to
become more responsible not just ot their stock
jolders but also to other stake holders- consumers,
employees, suppliers,government, and locla communites.
       Put simply, the quality of life and perhaps the
survivial of society depend on the moral caliber of
its members. This moral caliber, however, is largely
determined by people in leadership positions. The way
leaders function in their positions of influence
directly contributes to strengthening pr weakening the
moral fiber or society. The lives of Buddha, Mohammed,
Lao-Tzu, Gandhi and Socrates attest to their salutary
influence in their own way as well as for all time.
       A human being functions not just through the
physical body but also through the use of the
intellect and the will. The intellect penetrates those
deep levels of reality that are spiritual in nature
but that the physical senses and processes cannot
access. It does this through abstract concepts and
ideas that help to make sense of and give meaning to
the acts in the light of spiritual knowledge. It helps
us to make moral choices in living a spiritually
guided life.
      How do we describe the concept of spirituality
and its place in that domain? Spirituality is
difficult to define in a manner that is universally
acceptablke because religious beliefs and rites differ
widely age to age and from one society to another.
However, if we analyze the spiritual experience per se
and its behavioral manifestations among individuals of
different religious backgrounds, there is much accord
on the understanding and appreciation of the essence
of spirit at three levels: cognitive, affective, and
outward behavior.
      At a cognitive level,spiritual experience
represents a realization that,a t the core of human
existence, there is set of virtues and vices. Virtues
- prudence, justice, fortitude, and temperance- are
good habits that enable us to stirve toward relizng
our full potential. Ideally, the goal of human life is
to live these values and overcome the vices.
     At an affective or emotional level, the spiritual
experience represents a complete trust and dependence
on such virtues. In its most sublime, the spiritual
experience represents a complete identification with
these values,or with an individual embodying these
values, tha aim being to achieve some forme of
enduring blissful state of existence.
     How is the spiritual experience expressed in
outward behavior? What are the sources of the norms
andd principles within the spiritual domain? Response
to such questions generally come from prescriptions of
moral observance of the laws. It is not a question of
an act being legal or illegal, but whether the act is
good or evil. A morally good act is necessarily an
expression of a spirtual act.
     The ability to distinguish between morally good
and evil acts is critical to the formation of
character. Knowing ehtical principles alone is of
little value unless we make an effort to habitually
incorporate these principles in our behaviour.
     In the final analysis, the reward of the
spiritual experience is that it enables each
individual to grow and fully realize the tremendous
potential unique to that person. If a good moral
character is of the essence of every human being,
thern with much greater reason does it become so of
leaders who, in the words of Stanford management
professor Harold Leavitt, by their "vision, values,
and determination, add soul to the organization".


6. The author does not consider the progress made as
'progress' as there is


     1]widespread corruption.  2]environmental
pollution.
     3]widespread poverty.   4]all of the above.


7. The author draws the analogy of Buddha and Gandhi
to emphasize that


    1]organizational leaders need to be more
responsible.
    2]a society is known by its leader(s).
    3]the quality of a society is determined by the
quality of its leader(s).
    4]survival of the leader is determined by its
society.


8. According to the passage


    1]academic journals advocate progress in society.
    2]there is extensive environmental pollution in
Japan.
    3]affluent cities witness the greatest number of
homeless people.
    4]breakthroughs in technology have transformed the
world into a global village.


9. If a person follows certain values as principles,
then he is appreciating the essence of spirit at the


    1]cognitive level.     2]emotional level.
    3]social level.      4]both 2&amp;3.


10. The author is likely to agree with all of the
following except


   1]knowledge of ethical values will lead to the full
realization fo one's potential.
   2]spiritual acceptance of values by the individuals
of the society will lead to its progress.
   3]a morally good act is an expression of
spirituality.
   4]man functions through both body and mind.


11. Derek and Saily together have $300. After giving
Saily $40, Derek finds that he has 1/4 tha amount that
Saily has. How much money does Derek have now?


  1]$60  2]$100   3]$80   4]$40


12.Jason purchased  60 shares of Trump corporation sat
$40 and later bought 40 more at $36. At what price
should he purchase 50 additional shares so that the
average cost of the shares is $35?


  1]$26.40   2]$20.50  3]$28.20   4]$29.00


13. Mike loves hiking. He starts from point A and
walks 4 miles due east to point B. from there he walks
3 miles south to point C. From point C he walks 8
miles east to point D and from there he walks 6 miles
west to point E. What is the shortest distance between
point A and point E?


    1]8 miles 2]5 miles 3]7 miles  4]6.7 miles


Questions 14-15 are based on the following:


  The inhabitants of Kya-Kya island always answer any
question with two sentences; one of which is true and
the other is false.


14. You are looking for Venkat's house and you meet
three people- Anand, Ravi and Som. You ask them "Which
is Venkat's house?"


 Anand says:Venkat's house is No.9, I am his
neighbour.
 Ravi says:Anand is not my neighbour.Anand and Som
live in the same house.
 Som says:Venkat's house is not No.9. Anand is Ravi's
neighbour.
           There are only two houses and four people
in Kya-Kya. Two people live in each house.


  From the above you can decide that


1]Venakt stays in house No.9   
2]Venkat does not stay in house No.9
3]Venakt does not stay in Kya-Kya.
4]Ravi and Som stay together.


15. Who stays with Anand?


 1]Ravi  2]Venkat   3]Som    4]Can't say.



Questions 16-17 are based on the following:


The average life expectancy for the United States
population as a whole is 73.9 years, but children born
in Hawaii will live an average of 77 years, and those
born in Louisiana,71.7 years. If a newly wed couple
from Louisiana were to begin their family in Hawaii,
their children would live longer than if the couple
began their family to Louisiana.


16. Which of the following, if true, would most
seriously weaken the conclusion drawn in the passage?


 1]Insurance company statisticians do not believe that
moving to Hawaii will significantly lengthen the
average Louisianian's life.
 2]The governor of Louisiana has falsely alleged that
statistics of his state are inaccurate.
 3]The longevity attributed to Hawaii's current
population is attributed mostly to genetically
determined  factors.
 4]Thirty percent of all Louisianians can expect to
live longer than 77 years.


17. Which of the following, if true, would most
significantly strengthen the conclusion drawn in the
passage?


 1]As population density increases in Hawaii,life
expectancy figures for the state are likely to be
revised downward.
 2]Environmental factors tending to favor longevity
are abundant in Hawaii and less numerous in Louisiana.
 3]Over the last decade, average life expectancy has
risen at a higher rate for Louisianians than for
Hawaiians.
 4]Twnty-five percent of all Louisianians who move to
Hawaii live longer than 22 years.



For questions 18-21,read the following paragraph:
 
   Nursery "Hara Bara" plans to undertake a project of
planting 100 sunflower plants daily for the next 100
weeks.Further,15% of the remaining plants die within 4
weeks of plantations.If a plant survives till the end
of 4th week it becomes available for sale, and the
company sells it iommediately at the beginning of the
next week at a fixed price of Rs.35 per plant.


18. Total number of plants sold by the end of 10 weeks
is


 1]4760   2]2730   3]4550    4]2856


19. Total revenue generated by the nursery(in Rs.000s)
from the project is


 1]1666.0   2]1592.5   3]1246.0  4]None of these.


20. Revenue generated by the nursery by the end of
50th week is what proportion of total revenue
generated by the project?


   1]48.2%   2]46%    3]50%   4]53%


21. A pesticide available in the market reduces the
number of plants dying within 4 weeks of plantation by
25%. If each bottle of pesticide costs Rs.770 and
lasts for seven days and the nursery starts using it
only on the plants planted after the 50th week, the
net income (in Rs.'000s) from the project (net of
pesticide expenses) is:


  1]1592.5   2]1725.5    3]2106.5   4]None of these.


22. Forty percent of the members of a singles club are
men. Eighty percent of he single men and 90 percent of
the single women own automobiles. A car is found in
the parking lot. What is the probability that hte car
belongs to a woman?


 1]0.8352   2]0.6279   3]0.4869   4]0.5535


23. Three boxes, identical in appearance, each have
two drawers. The first box contains a  gold coin in
each drawer. The second contains a silver coin in each
drawer. But the third contains a gold coin in one and
a silve coin in the other. A box is chosen, one of its
drawers opened and a gold coin found. What is the
probability that the other contains a silver coin?


  1]1/2   2]1/3   3]1/6   4]1/4


Questions 24-25 are based on the following:


The fewer restricitons there are on the advertising of
legal services, the more lawyers there are who
advertise their services, and the lawyers who
advertise a specific service usually charge less for
that service than lawyers who do not advertise.
Therefroe, if the state removes any of its current
restrictions, such as the ones against advertisements
that do not specify fee arrangements, overall consumer
legal costs will be lower than if the state retains
its current restrictions.


24. If the statements are true, which of  the
following must be true?


 1]Some lawyers, who now advertise will charge more
for specific services if they do not have to specify
fee arrangements in the advertisements.
 2]More consumers will use legal services if there are
fewer restrictions on the advertising of legal
services.
 3]If the restriction against advertisements that do
not specify fee arrangements is removed more lawyers
will advertise their services.
 4]If more lawyers advertise, lawyers who do not
advertise will also charge less than they currently
charge for those services.


25. Which of the following. if true, would most
seriously weaken the argument concerning overall
consumer legal costs?
  
 1]The state has recently removed some other
restrictions that had limited the advertising of legal
services.
 2]The state is unlikely to remove all of the
restrictions that apply solely to the advertising of
legal services.
 3]Most lawyers who now specify fee arrangements in
their advertisements would continue to do so even if
the specifications were not required.
 4]Most lawyers who advertise specific services do not
lower their fee for those services when they begin to
advertise.


26.In a certain election only 2/5th of the voters
promised to vote for P and the rest for Q. However on
the day of elections, 15 voters went back on their
promise to P and voted for Q. Similarly 25 voters went
back on their promise to Q and voted for P, P lost the
election by two votes. The number of votes in the
election is 


   1]90    2]110   3]130   4]None of these. 


27. A bath has two taps and a waste pipe. One of the
taps on the ownwould fill the bath in ten minutes, the
other would take a quarter of an hour, the waste pipe
can empty a full bath in exactly seven and half
minutes. Now if we start with an empty bath with both
taps fully on, when (if ever) will the bath be full if
the waste pipe is left open?


   1]15 min   2]44 min   3]22.5 min   4] 30 min


Questions 28-30 are based on the following
  From exactly seven people- R,S,T,U,X,Y and Z- a
group of exactly four must be selected in accordance
with the following conditions:
     If R is selected, T must also be selected.
     If S is selected, U must also be selected.
     If X and Y are both selected, T cannot be
selected.


28. If X and Y are both selected together, which of
the following must also be selected?
    1]R   2]S   3]U   4]Z


29. If S and Z are both selected, each of the
following could also be selected except:
    1]R   2]T   3]U   4]X


30.If U is not selected, which of the following can
be, not does not have to be, selected?
    1]R  2]S   3]T   4]X 
          
         
for the next part


u will be asked to write the program of heap sort.
prepare for that.
do the operating system .few que. has come from that.
prepare well ur liking subject.qu. will be asked from
that.

Motorola Employment Exam


I can give guidelines to Motorola.
I did not remember total qn paper.
But one imp. thing is that it has
put test just for name sake.  They
are mainly seeing ur academic rank.
If not, they filtered all except
one person per course who is top among
the attended.  So, i also cleared test.
Test has 20 Qns and time is 45min.
Figures are correct i.e 20 Vs 45.

1) Prog. cplx. O(n^2).
    If we double the prog. size.
    what is its cplx.
2) whcin of the following is wrong
    w.r.t  JAVA CORE REFLECTION API.
    a) security policy can be overridden
    b)...
3) 'using'  in C++ is for
    a) 'using' does not exist in C++
    b) used for library functions
    c)...etc.
    (ANS : b) Note : it is also for namespaces.
4) what is worstcase and avg.case cplx.of quicksort
5) Which of the following is wrong w.r.t
    Protected Inheritance class X:protected class y
{...}
    a) Y's child pointer can be converted to *X
    b) Y's pointer can be converted to *X
    c)..etc
    (Ans: otherthan a and b) Refer : appendix of
STROUSTRUP
6) what is wrong with following program
    struct abc {
      int a,b,c;
    }
    /* Main comes here */
   main() {
    int x=10;
    return x;   
   }
   a) semicolon misssing after struct
   b) invalid initialization of x
   ...
  7) question on infix to postfix
  8)

L & T


i m sending L&T questions the pattern is like:
1) branch related ques. 50(30 min)
          2) engg. aptitude test  60(40 min.)
           3)  non verbal  ques. 36 (40 min)
  mech. ques which i can recall is ...may not be as per the language stated there in paper but it would really  help there a lot.....
       mech.
1.what is the equivalent spring constant of two srings with k1 & k2 as sring constant connected in series? ans. k1.k2/(k1+k2)
2.by which moulding we produce thermosetting plastics?
3.when air is dirty what will be the injectility of the fuel .................more ?
4.carbon deposits increase the comp. ratio.
5.carbon increases the hardness.
6.hot fluid passes thro the cylinder. by using two insulating material(k,2k)in which sequence may be more effective.......?   ( firstk, then 2k matl.)

7.wings of the plane can be made by stretching.
8.what will be the metal removal ratio if the balancings r done at 3000&1500 rpm..
    ( cent. forces to be considered......ans 1:4)
9.what is cylinder ratio? ans. arrangement of cylinders in which the centre line of crankshaft journal is per.to the plane containing the centrelines of the engine cylinders.
10. In diesel cycle the compression ratio incereases more to expension ratio.
11. In the shm of the ball inside a earth hole passing through the center ,velocity maximum at the  center.
12.viscosity of liquid increases with decrese in temprerature.
13. Piezometer measures static pressure..
14. Which iron is used for body construction of machines, gray or white iron ?( not sure)
15.what is core print ?
16. pig iron is manufacture in --------blast furness
17. what is the effect of increase arc lenght in building
18. m 62 indicates ------ 6mm outer diameter & 2 mm pitch 
19. what raputre failure.
20 . 6 cylinders in a row , n0. of crancks = 1
21. If in a steam power plant vaccum in condensor reduces what is the effect 
22. pressure in industrial pnumatic  lines -------5 to 10 bar
23. effect of low temp. ( -20 degree ) on carbon steel . 
24.method of hardening of machine guidesways
25. method of joining plastic by welding 
26. safe method of loading on a cantileaver
      a) UDL b) center point load c) triangular load having zero at center 
27. BMD for UDL in cantilever 
       Ans. parabolic
28. Beams of uniform strenght can be made by 
 a) varying width b) varying depth c) both d) none
29. which of these not fusion welding process 
 Ans: spot welding
30. function of stroboscope is 
 Ans: speed measurement of spur gear
31.if  diameter  of pully is double how will the design of key way change
32.gray cast iron used for machine parts 
33. use of worm gear
34.what will be the diameter  of  punched hole in punching opereation
 a) same as punch b) punch dia + thichkness of sheet 
35. this is figure porblem
 described as :
  there is right anguler wadge  with pully at vertex connecting 
 two equal masses by string one on the sloping side and other
 on the vertical side 
 Questin is what will happen to them
 Ans: mass will fall down


Integraph


> Paper consists of two sections : 1. analytical (20 marks)
>                                  2. C skills (20 marks)total time 45 min
> 
> Analytical:
> -------------
> 
> 1. Given a cube, with different colors on its faces, and then is cut
> into 64 pieces, and the questions relate to the colors of different 
> colored small cubes.
> 
> 2. A few ladies and gents sit around table in some given order and 4
> questions are about their seating arrangement with some restrictions.
> 
> 3. Draw a venn diagram for 3 items : white, flowers, cloth
> 
>  Ans : draw 3 circles each intersecting the other , with white kept in the
> middle.
> 
> 4. A problem related to seating arrangement of 4 people ( 2 ladies and
> 2 gents) with some restrictions
> 
> 5. problem related to milk with water added to it for three times
> 
> Ans: 20.5 litres
> 
> 6. Problem related to diagrams . Five diagrams were given and asked to
> find the sixth one.
> 
> C-Skills:
> --------
> 
> 1. Max number of nodes in a binary tree with height 3 is 20 : Ans: False
> 
> 2. 10,20,30,40,50,60 : give the order when put in a queue and in a stack
> 
> Ans : Queue : 10,20,30,40,50,60
>       stack : 60,50,40,30,20,10
> 
> 3. Debugging is the process of finding
> 
> Ans : logical and runtime errors
> 
> 4. trace the error:
> 
>    void main(){
>             int &a;
>              /* some other stuff here */
>                }
> Ans: syntax error
> 
> 5. a problem with a function named 'myValue' will be given and asked to
> find the value of main() for an argument of 150,
> 
> Ans : 150
> 
> 6. Some problems related to 'for' loops.
> 
> 7. problem on conditional inclusion.
> 
> 8. problem related to depth first and breadth first search (DSA subject)
> 
> 9. study the syntax of malloc function
> 
> 10. locate the error
> 
>     int arr (20);
>    Ans: syntax error.
> 
>    
> the above are only the guide lines, may not be the exact paper.
> 
> WISHING YOU ALL THE BEST

********************************************************************************
 There are two sections in Intergraph.
 
 1.Aptitude 20 nos
 2.'C' Programming 




1.Non-verbal questions
 
 ________________________________________________________
 | *| | | | | |    |
 | | | | | | |   |
 |_______|_______|_______|_______|_______|_______|__________|
 | | | | | | | |
 | | | | | | | |
 |_______|_______|_______|_______|_______|_______|____________|

  Like this

2.Venn diagram


 Draw venn diagram for flowers,white,clothes

 (Complete question is not there)

3.Analytical

 ABCDEF -->Boys
 PQRST  -->Girls

  AD
  ST 
  BR
  CQ
4.

 a.A will with D
 b.S will with T
 c.B will with R
 d.C and Q wants to be in the same team.

5. Matricide:Mother::Homicide:?
   a)Human b)Children c)Father d)None

8.Rs.3 costs 5 oranges.Then sold each orange at 1 rupee each.Then sold each
  orange at 1 rupee each.For Rs.36 profit what is the no. of oranges 
  required?

 Ans.90

9.The wages of the worker was increased from Rs.18 to Rs.21 per week.The 
average working hours is 7 hrs/day instead of 8 hrs/day.How much fast wokers
should do work?

10.A sales person visits M,N,P,Q,R and S

 S can be varied according to the question.

Ans. S MNPQR 


13.A cube is colored on the opposite faces blue,black and yellow.It is 
then cut into 36 cubes.Out of which 32 were small cubes and 4 where big 
cubes.

 a)How many cubes were there,colored on the face
 b)How many cubes were colored on three faces.

16.A cask contain 40 liters milk.8 liters we taken out and filled with 
water.The same process is contained second&third time.How much amount of 
milk will be there?


 'C' language
 ------------


1).   main()
  {
   int a[100];
   int i;
   x=    0
   y=    100
                      ---------
                      -----------
   for(i=1;i<=4;i++)

   }


   return;

2). union(one questions) Ans:a

3).         Debugging 

 Ans: Logical&routine error

Intera


> > Paper consists of two sections : 1. analytical (20
> marks)
> >                                  2. C skills (20
> marks)total time 45 min
> >
> > Analytical:
> > -------------
> >
> > 1. Given a cube, with different colors on its
> faces, and then is cut
> > into 64 pieces, and the questions relate to the
> colors of different
> > colored small cubes.
> >
> > 2. A few ladies and gents sit around table in some
> given order and 4
> > questions are about their seating arrangement with
> some restrictions.
> >
> > 3. Draw a venn diagram for 3 items : white,
> flowers, cloth
> >
> >  Ans : draw 3 circles each intersecting the other
> , with white kept in the
> > middle.
> >
> > 4. A problem related to seating arrangement of 4
> people ( 2 ladies and
> > 2 gents) with some restrictions
> >
> > 5. problem related to milk with water added to it
> for three times
> >
> > Ans: 20.5 litres
> >
> > 6. Problem related to diagrams . Five diagrams
> were given and asked to
> > find the sixth one.
> >
> > C-Skills:
> > --------
> >
> > 1. Max number of nodes in a binary tree with
> height 3 is 20 : Ans: False
> >
> > 2. 10,20,30,40,50,60 : give the order when put in
> a queue and in a stack
> >
> > Ans : Queue : 10,20,30,40,50,60
> >       stack : 60,50,40,30,20,10
> >
> > 3. Debugging is the process of finding
> >
> > Ans : logical and runtime errors
> >
> > 4. trace the error:
> >
> >    void main(){
> >             int &a;
> >              /* some other stuff here */
> >                }
> > Ans: syntax error
> >
> > 5. a problem with a function named 'myValue' will
> be given and asked to
> > find the value of main() for an argument of 150,
> >
> > Ans : 150
> >
> > 6. Some problems related to 'for' loops.
> >
> > 7. problem on conditional inclusion.
> >
> > 8. problem related to depth first and breadth
> first search (DSA subject)
> >
> > 9. study the syntax of malloc function
> >
> > 10. locate the error
> >
> >     int arr (20);
> >    Ans: syntax error.
> >
> >   
> >
>   IITD.
>  05 -09-1997.
>
> Model paper of Inetrgraph
>
> NO.of questions 40.     Time  45minutes
> out of 40 questions 20 from 'c' and 20 from
> analytical ability,quantitative ability .
> also 1 question ___ to draw venn diagram
>    1 question__  on analogy
>   1 "    _______non verbal reasoning
> ALL THESE ARE NOT TOUGH .AVERAGE LEVEL.
> THEY HAVE GIVEN TWO TYPES OF PAPERS.HERE I AM GIVING
> THE PAPER WHICH
> WAS WRITTEN BY MY FRIEND.
>
>
> 1.there are 6 (p,q,r,s...)people.each one play one
> game
> ---tennis,football,hockey,cricket etc
> clues given like:shortest one plays  hokey
>           largest person plays ..tennis
>            P,Q ARE NEITHER LARGEST NOR SHORTEST
>           R PLAYS FOOTBALL
>    s is between t &r  in height
> question: who plays which game
>           who is taaller than whom
> 2.a cube has colors blue,red ,yellow each on two
> opposite sides.cube is
> divided into "32 small cubes and 4 large cubes".
>  question:how many cubes (on 36 cubes) have blue at
> leat one side.
>         how many cubes have colors on two sides.
> 3.anlogy: cell: tissue::atom:?
>
> 4.aa person sold two articles for 80 /- each.with
> 20% profit on one
> article and 20% loss on another article, what is the
> loss / prifit he
> will gain on both.
>
> 5.five cities. city1 is west to city3.city4 is east
> to city 5._____etc.
> which is   farthest on west side.
>
> 6.one question on: -=+,*=-,/=* etc
>   then 10/5*45=?
>
> 7.on ,C, paper is easy.mostly on pointers,3 question
> on structures,5 on
> fundamentals,
> 8.ex:define max 10
>
> main()
> {int a,b;
> int *p,*q;
> a=10;b=19;
> p=&(a+b);
> q=&max;
> } Q a)error in p=&(a+b) b)error in p=&max c)error in
> both d) no error
>
>
> important suggestions:
>    1. average  preparation is enough to qualify foe
> interview.time is
> enough.
> 2.they are particular about academic background .
> 3.interview is only on personal details.no question
> on technical subjects
> 4.they may change paper sets also.
> 5.in outside recruitment they are asking more
> questions on CAD.
>  but not in campus.
>    in iitd they interviewed  5students out of 21
> .selected 1,waiting list 1.
> 6.cut off cgpa:7.5
>
>
>
> Optimize the below 1,2,3,4 questions for time:
>
> 1)
> int i;
> if i=0 then i:=1;
> if i=1 then i:=0;
>
> 2)
> int i;
> if i=0 then i:=1;
> if i=1 then i:=0;
> (given that i can take only two values (1,0))
>
> 3)
> int i;
> if i=0 then i:=1;
> else if i=1 then i:=0;
> (given that i can take only two values (1,0))
>
> 4)
> int m,j,i,n;
> for i:=1 to n do
> m:=m+j*n
>
> 5) Expand the following
>  a) ISDN
>  b) CASE
>  c) CSMA/CD
>  d) OOPS
>  e) MIMD
>
> 6) In the following questions, answer A,B,C,D
> depending on when
> the errors are  detected?
>   A if no error is detected
>   B if semantic and syntactic checking
>   C if during Code genration & Symbol allocation
>   D run time
>
> a) Array overbound
> b) Undeclared identifier
> c) stack underflow
> d) Accessing an illegal memory location
>
> 7) How many page faults will occur for below
> sequence of pages when LRU
> page replacement algorithm is used ( The memory can
> only have 3pages):
>
> 1,2,3,4,2,1,5,2,4 (something like that)
>
>
>
> 8) If a CPU has 20 address lines but MMU does'nt use
> two of them.
>    OS occupies 20K. No virtual memory is supported.
> What is the
>    maximum memory available for a user program?
>
> 9) For a binary tree with n nodes, How many nodes
> are there which
>   has got both a parent and a child?
>
> 10) Understand the funda of incrementing a variable
> using
>     val++   and ++val . Some programs are given for
> error correction.
>
> 11) Learn datagram . (Computer networks)
>
> 12) Which of the following can be zero? (only one)
>     a)  swap space
>     b)  physical memory
>     c)  virtual memory
>
>
> 13) What is a must for multitasking?
>     a) Process preemption
>     b) Paging
>     c) Virtual memory
>     d) None of the above
>
> 14) A question on call by value,
>               call by name,
>               call by reference.
>
> f(x,y,z)
> {
> y := y+1;
> z := z+x;
> }
> main()
> {
> int a,b;
> a := 2
> b := 2;
> f(a+b,a,a);
> print a;
> }
>
> what is the value of a printed for three different
> calls in main.
>
> 15) Using the following instructions and two
> registers , A&B.
>    find out A XOR B and put the result in A
>    PUSH <reg>
>    POP  <reg>
>    NOR    These instructions operates with A & B and
> puts the result in
>    AND     A
>
> (question basically to get XOR in terms of NOR and
> AND)
>
> 16) True/False questions:
>    1) The page size should be the power of 2.
>    2)
>
>
> 
> 17)
> int i=0;
> int j=0;
>
> loop:
>   if(i = 0)
>      i++;
>   i++;
>   j++;
>   if(j<= 25)
>     goto loop
> xxx:  
>
>
> question1 : how many times is the loop entered
> A few questions of that sort. some count fundaes.
> Easy one )
>
> 18)  Who handles page faults?
>   a) OS
>   b) MMU
>   c) Hardware logic
>   d) etc etc....
>
> 19)  For which of following is it not possible to
> write an algorithm.
>
> a) To find out 1026th prime number
> b) To write program for NP-complete problem
> c) To write program which generates true Random
> numbers.
> etc...
>
> 20) what is the essential requirement for an
> real-time systems
> 
> a) pre-emption
> b) virtual memory
> c) paging  etc...
> > Optimize the below 1,2,3,4 questions for time:
>
> 1)
> int i;
> if i=0 then i:=1;
> if i=1 then i:=0;
>
> 2)
> int i;
> if i=0 then i:=1;
> if i=1 then i:=0;
> (given that i can take only two values (1,0))
>
> 3)
> int i;
> if i=0 then i:=1;
> else if i=1 then i:=0;
> (given that i can take only two values (1,0))
>
> 4)
> int m,j,i,n;
> for i:=1 to n do
> m:=m+j*n
>
> 5) Expand the following
>  a) ISDN
>  b) CASE
>  c) CSMA/CD
>  d) OOPS
>  e) MIMD
>
> 6) In the following questions, answer A,B,C,D
> depending on when
> the errors are  detected?
>   A if no error is detected
>   B if semantic and syntactic checking
>   C if during Code genration & Symbol allocation
>   D run time
>
> a) Array overbound
> b) Undeclared identifier
> c) stack underflow
> d) Accessing an illegal memory location
>
> 7) How many page faults will occur for below
> sequence of pages when LRU
> page replacement algorithm is used ( The memory can
> only have 3pages):
>
> 1,2,3,4,2,1,5,2,4 (something like that)
>
>
>
> 8) If a CPU has 20 address lines but MMU does'nt use
> two of them.
>    OS occupies 20K. No virtual memory is supported.
> What is the
>    maximum memory available for a user program?
>
> 9) For a binary tree with n nodes, How many nodes
> are there which
>   has got both a parent and a child?
>
> 10) Understand the funda of incrementing a variable
> using
>     val++   and ++val . Some programs are given for
> error correction.
>
> 11) Learn datagram . (Computer networks)
>
> 12) Which of the following can be zero? (only one)
>     a)  swap space
>     b)  physical memory
>     c)  virtual memory
>
>
> 13) What is a must for multitasking?
>     a) Process preemption
>     b) Paging
>     c) Virtual memory
>     d) None of the above
>
> 14) A question on call by value,
>               call by name,
>               call by reference.
>
> f(x,y,z)
> {
> y := y+1;
> z := z+x;
> }
> main()
> {
> int a,b;
> a := 2
> b := 2;
> f(a+b,a,a);
> print a;
> }
>
> what is the value of a printed for three different
> calls in main.
>
> 15) Using the following instructions and two
> registers , A&B.
>    find out A XOR B and put the result in A
>    PUSH <reg>
>    POP  <reg>
>    NOR    These instructions operates with A & B and
> puts the result in
>    AND     A
>
> (question basically to get XOR in terms of NOR and
> AND)
>
> 16) True/False questions:
>    1) The page size should be the power of 2.
>    2)
>
>
> 
> 17)
> int i=0;
> int j=0;
>
> loop:
>   if(i = 0)
>      i++;
>   i++;
>   j++;
>   if(j<= 25)
>     goto loop
> xxx:  
>
>
> question1 : how many times is the loop entered
> A few questions of that sort. some count fundaes.
> Easy one )
>
> 18)  Who handles page faults?
>   a) OS
>   b) MMU
>   c) Hardware logic
>   d) etc etc....
>
> 19)  For which of following is it not possible to
> write an algorithm.
>
> a) To find out 1026th prime number
> b) To write program for NP-complete problem
> c) To write program which generates true Random
> numbers.
> etc...
>
> 20) what is the essential requirement for an
> real-time systems
> 
> a) pre-emption
> b) virtual memory
> c) paging  etc...

I-Flex


I-Flex


qn will be in three parts
 1st part- 40 qns
 2nd part- 30 qns
 3rd part - 20 qns
 there are 5 choices in each qn- 1 2 3 4 5

here is the qn of arithmetic which are not in order.

 1. square root(x)/3 = 243/x        value of x ????   ans. 81

 2. qn from loss and gain  what is the net profit ?????   ans. 25 percent

 3.if + sign is represented as /, - as *(into,not power do not confuse) , 
    * as - and / as + then what will be the value of (480+20*20)-16 /12 ???
         ans. 76

 4. which of the following will come next in the series
            IAR, GET , EIV , COX                  ans. AUZ

 5. B is in DOUBT in the same way H is in
     choices.... HOPE , HOUSE , HONEST , INHIBIT    ans. HOUSE(confirm it i am not sure)

 6. if P+Q represents P is the sister of Q, P-Q represents P is the father of Q and P*Q represents P is the brother 
     of Q then which will represent K is the aunt of N

             ans.  K+Q-M*N

 7.In a class puspa ranks 8th from top and 28th from bottom.how many students are there in the class?????
           ans.    35

 8. 23 percent of a no is 230, 4/23rd of the number is ?????? ans.none of these

 9. sum of a number and its one third = 60, 4/5th of the number is ????? ans. 36

 10.if A to Z is written in the reverse order which is the 5th letter to the right of the 11th letter from the left????
      ans . K

 11.In a rectangle length = twice that of breadth , cost of grounding is 60 rupees per meter,total cost is 3600/- 
      what is the length in meter????????  ans. 20

 12.qn on sequences

      which will come next??

             11  13   17  23  31  ?  53  67         ans. 41
 13.       18  27  64    125   ?   343    512       ans. 216
 14.        2   3  10   15  26 ?  50  63    ans.please find out
 15.        0    2 10  30  68   ?   -     -   (cannot recall)  please find out
 
 16.if simon is taller than A, A is shorter then gayatri, sharat is taller then............     ans. gayatri

 17. If a 100m train crosses a platform of 75m in 7.5 secs,another train of 120m coming opposite,
      how much time it takes the first train to cross the second one  ..   ans. none of these

 18. Telegram system, 1st 15 words in x rupees,next per letter in y rupees, if z > 15 what
       is the total cost of c???????     ans.  x+(z-15)*y

  19. 
            --------------------------------
          another st line cuts this in two angles, one is 4x+36 degs and another is y degs , what is the value of x?????
          ans. (144-y)/4

  20. If 6 is preceded by 8 but not followed by 9 immediately,how many.....................     ans. 2

  21.in the letter  PREDILECTION ,1st and 3rd is swapped,so is 2nd and 4th,5th and 7th,6th and 8th what 
        will be 8th letter from left???????     ans. L

  22.If rup ho la represents  anand is fat
          cup wir ho represents mina is tall
          la dup mil represents boys are fat
       and wir lar nap represents tall and fat

       what reprens mina     ??????         ans. cup

 23.If SINDHU is written as VIEOJT,SURESH is written as??????      ans.none of these

 24.if hit-----> one rupee gain and miss--------> one rupee loss,one can try 100 times,he got total 30/-,
     how many hit??????????        ans. 65

 25.In a circle,   G is to the left of M , V is to the right of M,R is to the right of V ,A is to the right of R ,G is to the 
       right of A and M is to the right of G, swap the position of G and R,V and A then who will be to the left of M

       ans. R       

26.there was a histogram qn. given the capitals of 5 companies for the academic year 1995-2000,find out

        a> which company will increase its capital consistently???
       b> Average capital in the yr 1998?????
       c> average of company 2nd?????  
       d> which company increases its capital by 10% at 1998 from that of 1995  
               data were 42.0 in 1995 and 46.20 in 1998 this company is the correct answer.....
       e> what is the max. o/p in a yr,ans.. try to sum all the cols and find the max.  
  this were easy,i can not remeber u have to do it fast.

 27. there was a qn on flowchart,which was easy, i can not recall exactly.

 28. in english u have to find out errors in 5 fragments of a sentence ( GRE pattrn) which were easy,
       4 qns , and fill in the blanks which were extremely difficult(4 qns) read Barron's guide

 also there was a long passage which attempt at last,this was in qn no from 16-20,if it is answer of 18 is choice 2,
     19 is 2 and that of 20 is 3

********  i am sending the answer of some of the qns,the qn will be in order,do not fear
test- 1
         1- 5, 2- 1, 3-5, 4- 4 ,  5 - 3 , 6 - 1 , 8 - 5 , 9 - 5 , 10 - 4 , 11 - 2 , 12 - 1 , 15 - 5 , 16 - 1 , 18 - 3 , 19 - 3 , 20 - 5 
        26- 1 , 17 - 4 , 28 - 5 , 29 - 3 , 30 - 3  ( qn no - choice)

 test -3
        1 - 3 , 2  - 4 , 3 - 2 , 4 - 2 , 5 -  2 , 6 - 1 , 7 - 2 , 8 -1 , 18 - 2 , 19 - 2 , 20 - 3


            that's all folks!!!!!!! that's all i memorise..... u have to do faster......   qns were easy..........
            all the very best for ur campus........... mail bout ur result .........be in touch.........

          

HELLOSOFT


HELLOSOFT-.   
           
                            SECTION-A            
(14*1=14)
1.The impulse responce of a system is
h(n)={0,1,0.5,0,125,---}.then the response of the
system for the unit step i/p is _________ .
2.The impulse responce of the discrete time
systemdescribed by y(n)=1/2
x(n)
  +2 x(n) + x(n-2) + 2 x(n-3) + 1/2
x(n-4)is___________ .
3.helbert transform of a unit impulse function
is________ .
4.The convolution of the sinc function itself is
_________ .
5.If a signal is real & odd in the time domain,
theFourier Transform is

   _____ .6.Given y(n)=x(2-n)+1,checkwhether the
function is
linear, causual, time invariance, memory.
7.the frequency range of FM radio broadcast is in
b/w___ & ______ .
8.If a signal having 6.5khz is sampled at a rate of
8khz frequency then the aliasing frequency is
   1) 1.5khz  2)6.5khz     3)2.5khz  4)
9.If a 1khz signal has an attenuation of 5db, then
theattenuation of
32khz is
    a)-40db    b) -70db   c) ---- d) non of these
10.which one of the system has stable.
    a) u(n)/n   b) [1/n]**2  c)e**(-3n) d) sin(3n/n)
11.match the following sentences.
    a) bilinear transformation      --- IIR filter
    b) increase in FIR filter     ----- a tan(w/2)
    c)poles in the transfor function  --- poles in
thes- plane eclipse.
    d) frequency, sampling method --- transition
widthreduced
    e) chebyshev responce   -------    ---------- .
12.name the 2 signals which have the same shape
infrequency & time
domain.
    ans: gaussian & impulse responce13.For sin(nwt) to
be periodic, 'n'
must be
    a)rational b) any number c) irrational14. given
H(s) =s/(s+a).It
represents
     a) LPF   b) HPF   C) BPF   D)  ---- .
                      SECTION-B            (12*1=12)
1.-32768  can be represented in 16 bit binary as
__________ .
2.0x80c is right shifted by 2 . then the number
formedis_______ 
3.if interrupt is enabled while the processor is
working.then the course of    actions that took
placeare
    ans:it completes the current instruction &
controlof the processor
jumps
         to the  starting address of the
interruptservice routine.
4.why we r selecting DSP processor over
microprocessor.    a)multiple
processing
    b)pipeline processing    c)high clk rate  
d)-----
5.short int *y ,*(*y) represents ________ .      
ans:0x755.
6.find the value of s+= x+(y>>2) . given
s=0x100,x=0x50,y=0x20.   then
s=?
7. advantage of pipelining ?8.the transfer function of
a system is
invertable if
   a)both poles & 0's outside the unit circle
   b) if both poles & 0's inside the unit circle.
   c)poles inside , 0's ouside of the unit circle.
   d)poles outside, o's inside of the unit circle.
9)OSI reference model consists of _____ layers.
10.FAX/EMAIL/---  can be sent through PSDN modem.
     state whether it is true or false.11.the 2's
complete range is
________
    ans:-128 to +12712.arithmatic left shift of ox200F
results  ______
. 
       * bits on Random process.                
INTERVIEW QUESTIONS:
1.what is adaptive filter? where we can use
thesefilters.
2.what is the F.T of rectangle?3.what is the
convolution of 2
rectangles?
4.if we replace a flipflop with a latch.what
willhappen?     ans:racing
problem
5.design a irregular counter.6.F.T or Z transform of
sin(o.2*pi*n)
7.questions on randaom process
8.compare PLC(programmable logic counter) with micro
processor in economic point of view.
9. realize filter for {1,1,2}. and realize it?
10.0.8+j0.2 is one of the roots of FIR filter. what
rthe other roots?
11.  a)y(n)=x(n) + x(n-1) + 10**36 x(n-2)+ ---     b)
y(n)=2y(n-1)+x(n-3)+-----.
   In the above which one is stable?    ans:a
12.for designing IIR filter, which method is best?
13.what is aliasing? & sampling?
14.where the fourier series(F.S)  & F.T  were used?
15.write equations for F.S & F.T.16.where the laplace
transform is
used?
17.in F.T why e**(-jwnt) is used?    this question was
asked in bel crl
also.
18.properties of butterworth , chebyshev &
ellipticfilters?
19.in which filter the transition width is lower?
20.why linear phase condition will be assumed in DSP?
21.if all poles & 0's in the left half of the s-plane,
it is called
____ .
22.FFT ,DFT formulae.23. what is the difference b/w
bilinear
transformation
& impulse invariant transformation? which is
mostlyused? & why?
         *they mainly concentrated on filters.   
                    BEST OF LUCK