Saturday, November 28, 2015

Wipro Freshers Placement Paper



1)APTITUDE TEST:
Questions = 50 ; time limit = 50 minutes. no negative marking. Offline (paper & pen) test 
There was individual cut off for all the sections
Section1- English, 15 questions
Direction 1-5 : In each of the following questions, find out which part of the sentence has an error. if there is no mistake  the answer is 'no error'
1. Twice twelve / makes / twenty four / No error
            A               B             C               D
    Ans: B
2. The flight purser took control / of the plane after / the pilot had had /  a heart attack / No error
                        A                                  B                        C                          D                 E
    Ans: C
3. My friend did not see me / for many years / when I met him last week / No error    
                    A                                B                           C                            D
     Ans : A
4. We grieve our loss and cry helplessly / while we should be fighting for our rights / and die a noble death / No error
                               A                                                            B                                           C                        D
    Ans : B
5.  Work hard / lest you will / fail / No error
            A                  B          C         D              
                     
    Ans : D
Directions 6-10: The following questions, consist of two words each that have a certain relationship to each other, followed by four lettered pairs of words. Select the lettered pair that has the same relationship as the original pair of words.   
6. Kangaroo : Australia
    A) Whale : River    B) Elephant : Russia    C) Penguin : Antarctica    D) India : Peacock
    Ans: C
7. Coronation : Reign
    A) Vaccination : Immunity    B) Sculptor : Statue    C) Degree : Graduate    D) Summer : Rain
    Ans: D
8. Grain : Salt
    A) Chip : Glass    B) Blades : Grass    C) Shred : Wood    D) Shard : Pottery
    Ans : A
9. Scythe ; Reaping
    A) Light ; Shining    B) Shears : Cutting    C) Saws : Gluing    D) Screws : Turning
    Ans : B
10. Dislike : Repulsion
    A) Dream : Sleep    B) Steal : Crime    C) Reputation : Behaviour    D) Intelligence : Wit
    Ans: D
Directions 11-12 : In each of the following questions, a sentence has been given in Active (or passive) voice.  Out of the four alternatives suggested select the one which best express the same sentence in Passive (or Active) Voice.
11. His pocket has been picked.
    A) They have his pocket picked
    B) Picking has been done to his pocket
    C) Picked has been his pocket
    D) Someone has picked his pocket.
    Ans : D
12. Someone gave her a bull dog.
    A) She was given a bull dog.
    B) a bull dog was given to her
    C) She has been given a bull dog
    D) She is being given a bull dog by someone
    Ans : B
Directions 13-15 : Pick out the most effective word from the given words  to fill in the blank to make the sentence meaningfully complete
13. He succeeded in getting possession..............his land after a long court case
     A) for    B) to    C) of    D) with    E) against
    Ans: C
14. Now a days Rajani is .............busy to take care of her health.
     A) very    B) too    C) so    D) extremely
     Ans: B
15. Had the police not reached there in time the bandits...............him
     A) did have killed    B) will have killed    C) would kill    D) would have killed
    Ans: D
Section2- apptitude 15 questions
The questions 1-5 are based on the following data

Six knights - P, Q, R, S, T and U - assemble for a long journey in two traveling parties. For security, each traveling party consists
of at least two knights. The two parties travel by separate routes, northern and 
southern. After one month, the routes of the northern and southern groups converge for a brief time and at that point the knights can, if they wish, rearrange their traveling
parties before continuing, again in two parties along separate northern and southern routes. Throughout the entire trip, the composition of traveling parties must be in accord with the following conditions
P and R are deadly enemies and, although they may meet briefly, can never travel together.    
P must travel in the same party with S
Q can't travel by the southern route
U can't change routes
1.  If one of the two parties of knights consists of P and U and two other knights and travels by the southern route, the other
     members of this party besides P and U must be
a) Q and S
b) Q and T
c) R and S
d) R and T
e) S and T
     Ans: e

2) If each of the two parties of knights consists of exactly three members, which of the following is not a possible
traveling party and route?
a) P,S,U by the northern route
b) P,S,T by the northern route
c) P,S,T by the southern route
d) P,S,U by the southern route
e) Q,R,T by the southern route

Ans: a
3) If one of the two parties of knights consists of U and two other knights and travels by the northern route, the other
members 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

Ans: c
4) If each of the two parties of knights consists of exactly three members of different parties, and R travels by the
      northern route, then T must travel by the
      a) southern route with P and S
      b) southern route with Q and R
      c) southern route with R and U
      d) northern route with Q and R
      e) northern route with R and U

        Ans: a
5) If, when the two parties of knights encounter one another after a month, exactly one knight changes from one travelling         
    party   to the other travelling party, that knight must be
a) P        b) Q            c) R            d) S            e) T

Ans: e
6. X varies inversely as square of y.  Given that y = 2 for x = 1. The value of x for y = 6 will be equal to
    A) 3    B) 9    C) 1/3    D) 1/9
    Ans : D
7. If 10% of x = 20% of y, then x : y is equal to
    A) 1 : 2    B) 2 : 1    C) 5 : 1    D) 10 : 1
    Ans : B
8. A starts business with Rs.3500 and after 5 months, B joins with A as his partner.  After a year, the profit is divided in the         
    ratio 2 : 3. What is B's contribution in the Capital ?
    A) Rs. 7500    B) Rs. 8000    C) Rs. 8500    D) Rs. 9000
    Ans : D
9. Ronald and Elan are working on an assignment. Ronald takes 6 hours to type 32 pages on a computer, while Elan takes 5
    hours to type 40 pages. How much time will they take, working together on two different computers to type an assignment     
    of 110 pages ?
    A) 7 hours 30 minutes    B) 8 hours    C) 8 hours 15 minutes    D) 8 hours 25 minutes
    Ans : C
10. A and B can do a piece of work in 72 days; B and C can do it in 120 days; A dn C can do it in 4 days. Who among these
      will take the least time if put to do it alone?
    A) 80 days    B) 100 days    C) 120 days    D) 150 days
    Ans : C
11. A cistern can be filled by a tap in 4 hours while it can be emptied by another tap in 9 hours. If both taps are opened
      simultaneously, then after how much time will the cistern get filled  ?
    A) 4.5 hours    B)5 hours    C) 6.5 hours    D) 7.2 hours
    Ans : D
12. Pipe a can fill a tank in 5 hours, pipe B in 10 hours and pipe C in 30 hours.  If all the pipes are open, in how many hours will
      the tank completely ?
    A) 6 min. to empty    B) 6 min to fill    C) 9 min. to empty    D) 9 min. to fill
    Ans  : C
13. A thief steals a car at 2.30 p.m and drives it at 60 kmph. The theft is discovered at 3 p.m and the owner sets off in another 
      car at 75 kmph. When will be overtake the thief.
      A) 4.30 p.m    B) 4.45 p.m    C) 5 p.m    D) 5.15 p.m
      Ans : E
14. Two trains starting at the same time from two stations 200 km apart, and going in opposite directions cross each other at a
      distance of 110 km from one of the stations. What is the ratio of their speeds
     A) 9 : 20    B) 11 : 9    C) 11 : 20    D) None of these
     Ans : B
15. Two trains each 100 m long, moving in opposite directions, cross each other in 8 seconds. If one is moving twice as fast    
      the other, then the speed of the faster train is
     A) 30 km /hr    B) 45 km / hr    C) 60 km/hr    D) 75 km/hr
     Ans : C      

Section3-technical , 20 questions
Predict the output or error(s) for the following:
1. main()
    {
            char string[]="Hello World";
            display (string);
    }
    void display (char *string)
    {
            printf("%s",string);
    }
         Ans: Compiler Error : Type mismatch in redeclaration of function display

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

    #define dprint(expr) printf(#expr "=%d\n",expr)

    main()
    {
    int x=7;
    int y=3;
    dprintf(x/y);
    }
 
    a) #2 = 2         b) expr=2         c) x/y=2         d) none

    Ans: c
2)  Parameterization generally involves
a.       Data table
b.      Random number
c.       Environment
d.      Both A & B  
e.       Both A, B & C  

Ans: e

3)  The file which is used for recovering from the run time errors known as

                                                                A.  QRS   
                                                                    B.      TSR 
                                                                     C.      PNG
                                                                      D.      DAT
                          Ans: A
4)  Among the following recording modes, which method uses both the objects and mouse coordinates
                        a.       Normal
b.      Low level
c.       Analog
d.      All of the above  
Ans: b
5)  Where do you set the action iterations for a specified action?

a.       Action Settings
b.      Action Properties
c.       Action Run Properties  
d.      Action Call Properties   
Ans: d

6)  Where do you mark an action as reusable?

a.       Action Settings  
b.      Action Properties
c.       Action Run Properties
d.      Action Call Properties
             Ans: b
7)  After running a test that contains both input and output parameters, where can the results of an output parameter be found?

a.       Local Data Sheet
b.      Global Data Sheet  
c.       Run-time Data Table
d.      Design-time Data Table  
Ans: c

8)  If you have a Virtual Object Collection stored on your machine, and you don’t want to use it what you must do?

a.       Disable Virtual Objects in Test Settings
b.      Remove the Collection from your machine  
c.       Disable Virtual Objects in General Options
d.      Remove the Collections from the Resources list
                     Ans: c    
9. For a 25MHz processor , what is the time taken by the instruction which needs 3 clock cycles,
    (a)120 nano secs               (b)120 micro secs
    (c)75 nano secs                 (d)75 micro secs
        Ans: a


10. For 1 MB memory, the number of address lines required,

    ( a)11 (b)16 (c)20(d) 24

    Ans. (c)

11. Semaphore is used for

    (a) synchronization (b) dead-lock avoidance (c) box (d) none

    Ans. (a)
12. OLE is used in
    a) inter connection in unix
    b) interconnection in WINDOWS
    c) interconnection in WINDOWS NT
 d)None                                                                                                                                           
    Ans.  c
13. Preprocessor does not do which one of the following
    (a) macro                    (b) conditional compliclation
    (c) in type checking     (d) including load file
    Ans. (c)
14. Piggy backing is a technique for
    a) Flow control         b) Sequence         c) Acknowledgement         d) retransmission  

        Ans. (c)
15. In signed magnitude notation what is the minimum value that can be represented with 8 bits

        (a) -128         (b) -255         (c) -127         (d) 0
        Ans: a
17.  When an array is passed as parameter to a function, which of the following statement is correct

        a) The function can change values in the original array
        b) In C parameters are passed by value. The function cannot change the original value in the array
        c) It results in compilation error when the function tries to access the elements in the array
        d) Results in a run time error when the function tries to access the elements in the array

        Ans: a
18. The type of the controlling statement of a switch statement cannot be of the type

        a) int b) char c) short d)float e) none

        Ans : d
19. What is the value of the statement (3^6) + (a^a)?

        a) 3         b) 5         c) 6         d) a+18         e) None

        Ans : b
20. Consider the following program:

# include <stream.h>
class x {
public:
int a;
x();
};
x::x() { a=10; cout<<a; }
class b:public x {
public:
b();
};
b::b() { a=20; cout<<a; }
main ()
{ b temp;
}
what will be the output of this program?


a) 10        b) 20        c) 2010        d) 1020
Ans: b

Thursday, November 26, 2015

Cisco Placement Paper


Aptitude Questions :
1. Find perimeter of a trapezium with 3 sides given and distance between parallel sides given.

2. A triangle ABC is given, a line DE is paralel to base side and that cuts the triangle. The ratio of area of triangle to the area of trapezium .given DE/BC=3/5.

3. Four concentric circles are given. The radius of 1st circle is x.next is 2x,then 3x and 4x. given that area b/w 2nd and 1st is A and 4th and 3rd circles being B.find ratio of A to B

4. What is the Difference between the perimeteres of two concentric circles is 66. Find the difference between radius ?

5. 3/p=6,3/q=15. Find p-q

CISCO Technical Questions :

6. #define clrscr() 100
main()
{
clrscr();
printf(?%d?,clrscr());


7. which of the followin is used for avoiding network congestion
a. bufferin 
b. cachin 
c. sourcequench
d. all of de above

8. main()
{
int a;
printf(?%d?,scanf(%d,&a));
}
wats o/p of this pgm. What will b printed
ans :0

9. main()
{
printf(?as?); 
printf(?\bhi?); 
printf(?is\n?);
} wat will b printed.

10. main()
{
unsigned short a=-1;
unsigned char b=a;
printf(?%d %d ?,a,b);
}
wat is o/p of the program
a. 65535 -1
b. 65535 65535
c. -1 -1 

11. arrays base address is 1000?.array is a[5][4]..then what is the correct address of a[4][3]?
ans:1056

12. one packet is 64bytes..no of pkts send is 16000..then total no of bytes send is 
ans 1024000


13. main()
{
int *i;
int s=(int *)malloc(10*sizeof(int));
for (i=0;i<10;i++)
{
printf(?%d?,i*i)
}
whats the output?
14. #define a 3+3
#define b 11-3
main()
{
printf(?%d?,a*b);
}
wat is o/p?????

15. A question in which segment address is given. logical address is 800. Base addresses also given. You have 2 find physical address

16. There was a question on processor speed in nanocycles. Then it performs a instruction in x cycles. like this..

17. #define maxval 5 (programming / computer science engineering technical questions)
int main (void)
{
int i=1;
if(i-maxval)
{
printf(?inside?);
}
else
{
printf(?out?); 
}
find o/p???



If you would like to contribute, mail us your interview experience at "q4interview@gmail.com"We will like to publish it on "q4interview.blogspot.in" and let's help other job seekers.

Wednesday, November 25, 2015

Ericsson Interview Questions


There were all total 5 rounds of interviews conducted out which I will express all of the questions that I remember.
Including technical questions there were some out of topic problem solving questions asked. In my opinion it was really an interesting interview I had ever attended :D .

Round #1
The first round was basic C questions.

    Q1: How comfortable are you in C?
    Q2: How to know if a system is little endian or big endian?
    Q3: Can you write a program to convert big-endian to little-endian?
    Q4: What are different storage classes in C?
    Q5: What is the default scope of a function?
    Q6: What is the role of a static variable?
    Q7: Why volatile keyword is used?
    Q8: When you do malloc() you need to pass the number of bytes that you require. But when you call free() you only pass the pointer. So, how the free() call detects how many bytes to free?
    Q9: What is structure padding and why is it used?
Round #2
This was a short round and contain some generic and some specific questions to topics I have worked on my career.

    Q1: Explain PCI bus.
    Q2: How PCI enumeration is done?
    Q3: Do we need a stack to work with?
    Q4: How the stack works?
    Q5: Tell me what are the following declarations:
      void (*func) (int)
      int *(*func)[10] (int)
      int *(*func[10]) (int *)
       
       
       

Xilinx Interview Questions


Xilinx Interview Questions for an embedded system in software development domain.
The interview that I attended for Xilinx India Technology Services Pvt Ltd. for a Senior Engineer post and the requirement was for Linux Device Driver Developer.
There were a total 5 rounds of technical and 1 HR round. All technical rounds were full of technical questions only and there were no such problem solving questions I encountered.
In my opinion it was not that tough to crack this interview, and it was an average experience.


Round #1
The first round was basic C questions and some of the Linux kernel questions.

    Q1: How comfortable are you in C and data structures?
    Q2: What is structure padding?
    Q3: Write a program to detect if a system is little-endian or big-endian?
    Q4: Can you write a program to convert big-endian to little-endian?
    Q5: Why do we use copy_to_user() in kernel programs?
    Q6: Why volatile keyword is used?

Round #2
This was a short round and contain some generic and some specific questions to topics I have worked on my career.

    Q1: Why do you want to change your job?
    Q2: Have you notified your manager about your problems?
    Q3: How a particular driver is called or loaded for a device?
    Q4: Explain basic driver architecture.
    Q5: How did you design your driver?
    Q6: What is static and dynamic module linking in Linux kernel?
    Q7: How an interrupt from your device propagates to the IRQ handler that you registered?

Round #3
The interviewer was keep on questioning me on my understanding of complete system hierarchy and where do my driver sits in the system.
This was really an interesting round.

    Q1: In which domain you worked?
    Q2: What is SCSI?
    Q3: How do data transfer happen in between the system and your controller?
    Q4: Who initiates the data transfer?
    Q5: How your driver is invoked by the system?
    Q6: Can you explain the complete I/O propagation path?
    Q7: What is PCI SR-IOV?
    Q8: How did you implement SR-IOV in your driver?
    Q9: How did you detect from your driver that you are dealing with a physical function or a virtual function?
    Q10: What is Scatter/Gather?
    Q11: Why do you need a Scatter/Gather?
    Q12: Can you write a C program to remove a node from a single linked list?
    Q13: What is little-endian and big-endian and how do you detect if your system is little-endian or big-endian? [Repeated question from Round #1]

Round #4
This was again a short round. The interviewer just introduced himself and explained where I will be working if I will be selected.
As he was a Director of Hardware IP cores, so he just asked some of the basic questions from Linux device driver concepts.

    Q1: How a an I/O propagates from an application to your driver? [Repeated question from Round #3]
    Q2: How your driver is probed?

Round #5
This was again a technical round with some of the questions repeated from other rounds.

    Q1: Big-endian and little-endian? [Repeated question from Round #1 & #3]
    Q2: How to convert a Big-endian DWORD to little-endian? [Repeated question from Round #1]
    Q3: Have you worked in a multi-threaded environment?
    Q4: What is synchronization in kernel?
    Q5: What is sysfs in Linux?
    Q6: Have you ever worked with kernel crash dumps?
    Q7: What is NULL pointer de-referencing?

After this there was a final HR round. There were typical HR questions and nothing extra on this part.
I hope this information will be helpful to some of you people.


If you would like to contribute, mail us your interview experience at "q4interview@gmail.com"We will like to publish it on "q4interview.blogspot.in" and let's help other job seekers.