Dell Placement-Paper on 6 Sep 2013

Discussion in 'Latest Placement papers' started by krishna, Sep 22, 2013.

  1. krishna

    krishna Banned

    Dell Written test-software Engineer Trainee



    Note : Answer all Questions in Section I, I and III maximum correct attempts in this section will be qualified



    Section I : Programming



    Answer any 5 of the following

    1. Write a program that ask for user input from 5 to 9 then calculate the average



    2. Implement strcat {} function with out using string function and optimize the function for speed and space



    3. Write a function to reverse a linked list



    4. Write a recursive function to get the factorial of a given number only if it is prime



    5 Write a C++ programme without using any loop {if,for,while etc}to print number form 1 to 1-- and 100 to 1



    6. Write a programme to Exchange two number without using a temporary variable



    7 Write a function to find if the given number is a power of 2



    8. Write a function in 2 different ways that will return f{7} = 4 and f (4) = 7



    9. Write a function to remove duplicates in array



    10. convert integer number in binary without loops



    Section II -Oops

    1. What are the main features of OOPS ? Explain them briefly



    2. What is a virtual function ? Explain with an example?



    3. What is the difference between overloading and overriding?



    4. In inheritance explain the public private protected modifiers behaviors on data members.



    5 What is a factory method, give reference to any example class



    Section III : analytical

    1..If you have a 5 liter and a 3 liter measuring can, how would you measure exactly 4 liters of liquid?



    2 Suppose you had 8 billiard balls, and one of them was slightly heavier, but the only way to tell was by putting it on a scale against another. What's the fewest number of times you'd have to use the scale to find the heavier ball?



    3 a magical pond has one lotus flower in it begin with. At the end of every day the number of flowers doubles. It takes 30 days to fill the complete pond.. How many days will it take to fill half the pond with lotus flowers?



    4 In an analog clock how many days each day do both the hour hand and minute hands overlap?



    5.. There is a room with a door {closed} and three light bulbs. Outside the room there are three switches connected to the bulbs. You may manipulate the switches as you wish, but once you open the door you cant change them. Identify each switch with its bulb



    Section IV Fundamentals

    1. What is composition and aggregation?



    2 What is the difference between pointers and references? why?



    3. What is the order of calling of constructors and destructors in class hierarchy? Explain



    4. What is RITI?



    5. difference between array, vector,list and dequeue?



    6. Explain "Passing by value","passing by pointer" and "passing by reference"?



    7. what is the difference between thread ad a processing are the used?



    8. What is the difference between heap and stack memory? when are they used?



    9. Implement a algorithm to sort an array?



    10. Explain pre-order,post-order and in-order binary tree traversal?



    11 What is the difference between char a [] ="string";and char .p ="star";?



    12 What is the difference between union and struct?



    13 Explain compling and linking in brief?



    14 What is a DLL? Explain a few advantages of using DLL's.



    15 What is an interrupt?



    16. What is the difference between UDP and TCP protocols?



    17. Explain in brief Client Server technology?



    18 How will you get the no. of instances created for a class from within the class?



    19 What are RAM and ROM also explain difference between them?



    20 What is the difference between HTTP GET and HTTP Post?Explain



    8. What is the difference between heap and stack memeory ? Wh
  2. krishna

    krishna Banned

    Date: 19 July 2013

    DELL sample placement papers for practice


    1. Jayant gets 3 marks for each right sum and loses 2 marks for each wrong sum. He attempts 30 sums and obtains 40 marks. The number of sums attempted correctly is
    (1) 25
    (2) 20
    (3) 26
    (4) 27

    2. Complete the following number series:
    7. 1, 1, 3, 9, 5, 25, 7, 49 _, 81
    (1)7
    (2) 9
    (3) 8
    (4) 10

    3. 8. 5, 11, 23, 41, 64, _
    (1)89
    (2) 95
    (3) 101
    (4) 105

    Directions (4-6): Study the information given below to answer these questions.
    Mark your answer as:
    (i) If both A and R are correct but R does not explain A.
    (ii) If both A and R are correct and R explains A.
    (iii) If A is correct but R is wrong.
    (iv) If A wrong but R is correct.

    4. Assertion (A): A saltwater fish drinks sea water where a fresh water fish never drinks water.
    Reason (R): A saltwater fish is hyper tonic to its environment while a freshwater fish is hypotonic to its environment.

    5. Assertion (A): The territory of India is larger than the territories of the States taken together.
    Reason (R): India is a Union of States.

    6. Assertion (A): Alcohol rather than mercury is used in a thermometer to measure a temperature of 60o C.
    Reason (R): Alcohol has a lower freezing point then mercury.

    Directions (7-11): In the following questions, the first and the last parts of the sentence are numbered 1 and 6. The rest of the sentence is split into four parts named P, Q, R and S. These four parts are not given in their proper order. Read the parts, arrange them properly and find out which of the five combinations given below is appropriate, and mark it as your answer.

    7.
    1. The latest move
    P. women is being opposed
    Q. to reserve one-third of
    R. tooth and nail by
    S. the electoral seats for
    6. some political parties.
    1) SPQR
    2) QSPR
    3) SRPQ
    4) PRQS
    5) SPRQ

    8.
    1. One of the most pernicious
    P. ancient scriptures is that
    Q. of the system of caste hierarchy,
    R. and reactionary feudal survivals
    S. sanctified by some
    6. exploitation and oppression.
    1) PQRS
    2) SRQP
    3) PRQS
    4) QSPR
    5) RSPQ

    9.
    1. Experience as well as
    P. tells us that any attempt
    Q. at a forced equalisation of income
    R. modern economic theory
    S. and wealth destroys the incentives
    6. that encourage efficiency.
    1) RPQS
    2) SPRQ
    3) PSQR
    4) QRPS
    5) PQRS

    10.
    1. The chances of electoral success
    P. for liberals would certainly improve
    Q. under the banner of
    R. a liberal party with its
    S. if they could fight
    6. own electoral symbol.
    1) SQRP
    2) RPSQ
    3) PSQR
    4) RQPS
    5) QRSP

    11.
    1. The author has pointed an
    P. of the community who
    Q. accusing finger at the Muslim intelligentsia
    R. maintain a stoic silence over the
    S. and the dominant members
    6. bizarre happenings in Kashmir.
    1) QSPR
    2) RPSQ
    3) SQRP
    4) PQRS
    5) SRQP


    12. Malnourishment of Indian children is mostly due to traditional taboos __________ with certain vital foods, and not due to their _____________.
    1) containing, unavailability
    2) embraced, locality
    3) associated, scarcity
    4) raised, nutrition
    5) inserted, quality

    12. During his mandate, the secretary-general will face the _________ challenge of ________ a global agreement on climate change.
    1) grave, drawing
    2) pressing, forging
    3) massive, framing
    4) umpteen, sentencing
    5) detrimental, inking

    13. The key for today's UN is not to _______ more goals, but to ________ those that have been set before.
    1) bargain, offload
    2) address, justify
    3) superseded, avail
    4) amen, respond
    5) create, implement

    14. The price of sugar increases by 20%, by what % should a housewife reduce the consumption of sugar so that expenditure on sugar can be same as before ?
    (A) 15%
    (B) 16.66%
    (C) 12%
    (D) 9%

    15. A man spends half of his salary on household expenses, 1/4th for rent, 1/5th for travel expenses, the man deposits the rest in a bank. If his monthly deposits in the bank amount 50, what is his monthly salary ?
    (A) Rs.500
    (B) Rs.1500
    (C) Rs.1000
    (D) Rs. 900


    16.What is the output of the program
    void main()
    {
    int i,j,k,n=5;
    clrscr();
    for(i=5;i>0;i--)
    {
    j=1
    k=n&j;
    k==0?printf("0"):printf("1");
    }
    getch();
    }
    A. 00011
    B. 11110
    c. 11001
    D. 11100

    Ans: B. 11110


    17.What is the output of the program

    void main()

    {

    struct a

    {

    int i;

    char *st1;

    };

    typedef struct a ST;

    ST *str1;

    str1=(ST*)malloc(100);

    str1->i=100;

    strcpy(str1->st1,"Welcome to Oracle");

    printf(" %d%s\n",str1->i,str1->st1);

    getch();

    }

    A. core dump

    B. will not compile

    c. 100,Welcome to Oracle

    D. None of these

    Ans: C

    18.Find the approximate value of the following equation. 6.23% of 258.43 - ? + 3.11% of 127 = 13.87
    1) 2
    2) 4
    3) 8
    4) 6
    5) 10

    19. A train overtakes 2 persons walking at 3 km/hr and 5 km/hr respectively in the same direction and completely passes them in 8 seconds and 10 seconds respectively. Find the speed of the train.
    1) 15 km/hr
    2) 13 km/hr
    3) 10 km/hr
    4) 10 km/hr
    5) None of these

    20.The ratio between the radius and height of a cone is 3:4. What is the curved surface area of the cone?
    1) 15p m2
    2) 12p m2
    3) 9p m2
    4) Data inadequate
    5) None of these
  3. krishna

    krishna Banned

    Date: 18 June 2013

    1. Three bells rings at the intervals of 36 seconds, 40 seconds and 48 seconds respectively. They start ringing together at a particular time. When they will start ringing together again?
    (1)After 6 minutes
    (2) After 12 minutes
    (3)After 18 minutes
    (4) After 24 minutes


    2. The sum of one-half, one-third and one-fourth of a number exceeds the number by 12. The number is
    (1)144
    (2) 154
    (3) 90
    (4) 174


    3. A farmer divides his herd of x cows among his 4 sons so that one son gets one half of the herd, the second gets one-fourth, the third gets one-fifth and the fourth gets 7 cows. Then x is equal to
    (1) 100
    (2) 140
    (3)180
    (4) 160


    4. If the list price of a book is reduced by Rs. 5, then a person can buy 5 more books for Rs. 300. The original cost of the book is
    (1) Rs. 15
    (2) Rs. 20
    (3) Rs. 25
    (4) Rs. 30


    5. A man has only 20-paise and 25-paise coins in a bag. If he has 50 coins in all totaling to Rs.11.25, then the number of 20-paise coins is
    (1) 28
    (2) 27 1
    (3)26
    (4) 25


    6. Jayant gets 3 marks for each right sum and loses 2 marks for each wrong sum. He attempts 30 sums and obtains 40 marks. The number of sums attempted correctly is
    (1) 25
    (2) 20
    (3) 26
    (4) 27


    Complete the following number series:
    7. 1, 1, 3, 9, 5, 25, 7, 49 _, 81
    (1)7
    (2) 9
    (3) 8
    (4) 10


    8. 5, 11, 23, 41, 64, _
    (1)89
    (2) 95
    (3) 101
    (4) 105


    Directions (9-11): Study the information given below to answer these questions.
    Mark your answer as:
    (i) If both A and R are correct but R does not explain A.
    (ii) If both A and R are correct and R explains A.
    (iii) If A is correct but R is wrong.
    (iv) If A wrong but R is correct.


    9. Assertion (A): A saltwater fish drinks sea water where a fresh water fish never drinks water.
    Reason (R): A saltwater fish is hyper tonic to its environment while a freshwater fish is hypotonic to its environment.
    10. Assertion (A): The territory of India is larger than the territories of the States taken together.
    Reason (R): India is a Union of States.
    11. Assertion (A): Alcohol rather than mercury is used in a thermometer to measure a temperature of 60o C.
    Reason (R): Alcohol has a lower freezing point then mercury.
    Directions (12-13): On the basis of given statements answer the following questions: All good athletes want win and all athletes who want to win, eat a well-balanced diet. Therefore, all athletes who do not eat a well-balanced diet are bad athletes.


    12. If assumptions of the argument above are true, then which of the following statements must be true?
    1) No athlete who does not eat a well-balanced diet is a good athlete.
    2) No bad athlete wants to win.
    3) Every athlete who eats a well-balanced diet is a good athlete.
    4) All athletes who want to win are good athletes.


    13. Which of the following if true, would refute the assumptions of argument above?
    1) Bob, the accountant, eats a well-balanced diet, but he is not a good athlete.
    2) Ann wants to win, but she is not a good athlete.
    3) All the players on the Burros baseball team eat a well-balanced diet.
    4) Cindy, the basketball star, does not eat a well-balanced diet, but she is a good athlete.


    Directions (Q.14-18): In the following questions, the first and the last parts of the sentence are numbered 1 and 6. The rest of the sentence is split into four parts named P, Q, R and S. These four parts are not given in their proper order. Read the parts, arrange them properly and find out which of the five combinations given below is appropriate, and mark it as your answer.
    14.
    1. The latest move
    P. women is being opposed
    Q. to reserve one-third of
    R. tooth and nail by
    S. the electoral seats for
    6. some political parties.
    1) SPQR
    2) QSPR
    3) SRPQ
    4) PRQS
    5) SPRQ


    15.
    1. One of the most pernicious
    P. ancient scriptures is that
    Q. of the system of caste hierarchy,
    R. and reactionary feudal survivals
    S. sanctified by some
    6. exploitation and oppression.
    1) PQRS
    2) SRQP
    3) PRQS
    4) QSPR
    5) RSPQ


    16.
    1. Experience as well as
    P. tells us that any attempt
    Q. at a forced equalisation of income
    R. modern economic theory
    S. and wealth destroys the incentives
    6. that encourage efficiency.
    1) RPQS
    2) SPRQ
    3) PSQR
    4) QRPS
    5) PQRS


    17.
    1. The chances of electoral success
    P. for liberals would certainly improve
    Q. under the banner of
    R. a liberal party with its
    S. if they could fight
    6. own electoral symbol.
    1) SQRP
    2) RPSQ
    3) PSQR
    4) RQPS
    5) QRSP


    18.
    1. The author has pointed an
    P. of the community who
    Q. accusing finger at the Muslim intelligentsia
    R. maintain a stoic silence over the
    S. and the dominant members
    6. bizarre happenings in Kashmir .
    1) QSPR
    2) RPSQ
    3) SQRP
    4) PQRS
    5) SRQP


    Passage :
    Efforts are on to generate favourable public opinion for allowing our government to sign the Comprehensive Test Ban Treaty (CTBT). It appears the government has been trying to sell to opposition parties and the public the following point:
    Our nuclear scientists are sure that with the Pokhran –II tests, conducted in May 1998, they have “enough data, expertise and skills to conduct sub-critical test and maintain our deterrence for the next 25 years or so,” and therefore, we can go ahead sign the CTBT. India does not need any further nuclear test for weaponisation and for acquiring a minimum deterrent. If we sign the CTBT now, there will be every possibility of the American Government supporting India to get a permanent seat in the United Nations Security Council. There will be favourable world opinion and it will result in many advantages to India .
    <!--[if !supportLineBreakNewLine]-->
    <!--[endif]-->
    19. What do you make out of the expression that the Pokhran – II tests are enough to maintain our deterrence for the next 25 years or so?
    1)It will make our enemy cautions enough to attack us in the coming years.
    2)We can confront our enemies with its help in the near future.
    3)We will have a greater say in the international context by going nuclear.
    4)It is enough to maintain our superiority in the region for the next two and a half decades or so.
    5)None of these
    20.Our government feels that if we sign the CTBT now, then America will certainly 1stand in the way of India to get a permanent seat in the United Nations Security Council.
    1)back India in getting a permanent seat in United Nations Security Council.
    2)have no power to obstruct India ’s chance in getting a permanent seat in the United Nations Security Council.
    3)feel pressurized to not allow India acquire a permanent seat in the United Nations Security Council.
    4)None of these
    21.The passage mainly presents the answer to which of the following questions?
    1)What are the benefits of signing the CTBT?
    2)What are the advantages of our Pokhran – II tests?
    3)Why should we oblige the US ?
    4)Where do we stand in the world today?
    5)None of these
    22.Give the synonym of the word expertise as given in bold in the passage.
    1)equipment
    2)materials
    3)process
    4)proficiency
    5)technique
    23.Give the antonym of the word favourble as given in bold in the passage.
    1)hesitant
    2)confusing
    3)bewildering
    4)fluctuating
    5)hostile
    <!--[if !supportLineBreakNewLine]-->
    <!--[endif]-->
    Directions (24-25): In each of the number series given in these questions, the two terms have been put within brackets. Mark your answer as :
    (1) If the first bracketed term is right and second is wrong.
    (2) If both the bracketed terms are right.
    (3) If the first bracketed term is wrong and the second is right.
    (4) If both the bracketed terms are wrong.
    24. 4, 6, 10, (12), 16, (14), 22
    25. 3, 10, 29, (66), (127), 218
    ANSWERS : 1.(2) 2.(1) 3.(2) 4.(2) 5.(4) 6.(2) 7.(2) 8.(2) 9. (1) 10. (2) 11. (2) 12. (1) 13. (4) 14. (2) 15. (5)
    16. (1) 17. (3) 18. (1) 19. (1) 20. (2) 21. (1) 22. (4) 23. (5) 24. (1) 25. (2)

Share This Page