1. #include
    #include
    int main()
    {
    int p,q;
    clrscr();
    p=5
    -
    -
    -
    -
    3*
    6;
    printf("%d \n",p);
    }
    #include
    #include
    int main()
    {
    int p,q;
    clrscr();
    p=5
    +
    +
    +
    +
    3*
    6;
    printf("%d \n",p);
    }


    ans : 23 23
  2. postfix expression was given
    622+-382/*+2^3+
    solve it

    ans : 199
  3. A tree was given , find the postorder
  4. what do you mean by operator overloading
    ans : assigning user defined meaning to an existing operator
    by an operator function
  5.      ___________________________________________________
    ___|___ ___|___ ___|___ |
    | | | | | | |
    | |__ | |___ | |___ |
    |_______| | |_______| |______ |_______| | |
    not | | |
    |_____________________|_____________|____and_|___

    ans : modulo 6 counter
  6. 1001000  is the initial state of ring counter after how many clock
    pulses initial state is again achieved.

    ans. 7
  7. minm. no. of flip flop required for mod 33
    ans. 6
  8. a no. is given in base 21 which is the extension of hex. i.e.
    10,11,12......20
    A, B, C,......K
    WHAT IS the value of KA in octal
  9. DMA IS:
    ans. i/o to memory without intereferene of cpu
  10. no. of 0's in 15*1024+7*32+3
    ans. 5
  11. A man while going dowm in a escalator(which is moving down) takes
    50
    steps to reach down and while going up takes 125 steps. If he goes 5
    times
    faster upwards than downwards. What will be the total no of steps if
    the
    escalator werent moving.
  12. 2/3 of corckery(plates) are broken, 1/2 have someother thing
    (handle)
    broken , 1/4 are both broken and handle broken. Ultimately only 2
    pieces
    of corckery were without any defect. How many crockery were there in
    total.
  13. odd one out
    a) person
    b) time
    c) object
    d) reason ans : d) reason
  14. a) owc
    b)hepes
    c)roseh
    d)gunenip

    ans : d)penguin
  15. insert three letter words so that it makes 2 words
    ring(_ _ _)ter
  16. Insert 4 letter word that has exact meaning as given outside the
    bracket
    WILLING (_ _ _ _)SPORT