Download as:
Rating : ⭐⭐⭐⭐⭐
Price: $10.99
Language:EN
Pages: 1
Words: 1872

Union tag int flaot char general computer concepts

Go thro’ all the previous papers. The questions usually get repeated.

There are 4 sections.

There’s negative marking. So be careful.

The only constraint is Time.

3. In a murder case there are four suspects P,Q,R,S. Each of them makes a statement. They are p:
     "I had gone to the theatre with S at the time of the murder".q: "I was playing cards with P at the time 
      of the murder".r: "Q didn't commit the murder".s: "R is not the murderer".Assuming the only one of the
      above statement is false and that  one of them is the murderer, who is the murderer?
             a) P
             b) Q
             c) R
             d) Cann't be concluded                                                                                   
              e) S
            

4.    Q is not equal to zero and k = (Q x n - s)/2.What is n?
            (a) (2 x k + s)/Q
            (b) (2 x s x k)/Q
            (c) (2 x k - s)/Q
            (d) (2 x k + s x Q)/Q
            (e) (k + s)/Q

7.    If B occurs which must occur
          (a) D
          (b) D and G
          (c) G and H
          (d) F and G
          (e) J

8.    If J occurs which must have occurred
         (a) E
         (b) either B or C
         (c) both E & F
         (d) B
         (e) both B & C

12.  HCL prototyping machine can make 10 copies every 4 seconds. At this rate, How many copies
       can the machine make in 6 min.?
        a) 900
        b) 600
        c) 360
        d) 240
        e) 150

13. 10^2(10^8+10^8) =-------------- 10^4
             a) 2(10)^4
             b) 2(10)^6
             c) 10^8
             d) 2(10)^8                                                                                                

18)  If one of the two parties of knights consists of U and two other knights and travels by the northern route, the other memnbers of this party besides U must be
          a) P and S
          b) P and T
          c) Q and R
          d) Q and T                                                                                                

          e) R and T

  1. Which of the following about the following two declaration is true
       i ) int *F()
       ii) int (*F)()
       Choice :
      a) Both are identical
      b) The first is a correct declaration and the second is wrong
      c) The first declaraion is a function returning a pointer to an integer and the second is a pointer to function returning int
      d) Both are different ways of declarin pointer to a function    

2. What are the values printed by the following program?                                            

7. What is the output of the following program?
            main()
                   {
                    int x=20;
                    int y=10;
                    swap(x,y);
                    printf("%d %d",y,x+2);
                  }
                     swap(int x,int y)
                             {
                               int temp;
                               temp =x;
                               x=y;
                                y=temp;
                             }
                     a)10,20 b) 20,12 c) 22,10 d)10,22 e)none
                  

8. What is the size of the following union. Assume that the size of int =2, size of float =4 and size of
       char =1.
       Union Tag{
         int a;
         flaot b;
        char c;
           };
        a)2 b)4 c)1 d) 7          

3. For 1 MB memory, the number of address lines required,
       (a)11
       (b)20
       (c)22
       (d) 24

4. Semaphore is used for
      (a) synchronization
      (b) dead-lock avoidence                                                                                   
      (c) box
      (d) none

This is all that I can recollect.

Technical Interview:

  • Be prepared with at least one software language ( They almost cover all the topics in the subj chosen)

I told them that I was more comfortable with JAVA. They covered all the topics. Be clr with all the basic concepts. If u don’t know the answer 2 any question then just admit it.

  • I was asked abt my parents

  • My project

Copyright © 2009-2023 UrgentHomework.com, All right reserved.