.
 Vyom World.com  . Let's Touch the Sky Together!  
.
. . . . . . .

Home
VyomWorld.com Home
Free Magazines!
VyomLinks.com Home
JobsAssist.com Home
Vyom Network
Contact Us
Jobs & Careers
Resume Submitter
Placement Papers
IT Companies Directory
Computer Jobs
Interview Questions
Online Exams
Vyom Career eMag.
Fun
Send FREE SMS!
SMS Jokes
Source Codes Library
Source Codes Home
ASP Source Codes
C Source Codes
C++ Source Codes
COBOL Source Codes
Java Source Codes
Pascal Source Codes
Submit Source Codes
GATE
GATE an Overview
GATE Preparation
Study Materal
GRE
GRE an Overview
GRE Questions
GRE Preparation
GRE Universities
TOEFL Preparation
TOEFL Resources
GMAT Preparation
GMAT Resources
MBA Preparation
MBA Resources
Networking Concepts
Networking Concepts
Testing Preparation
Testing Resources
Webmasters
Free Traffic Builder
Webmaster Articles
Web Hosting
Tutorials
Hardware Tutorial
1500 Free eBooks New!
FREE Publications
Vyom Career eMag.
.
Get 9,000+ Interview Questions & Answers in an eBook.


  • 9,000+ Interview Questions
  • All Questions Answered
  • 5 FREE Bonuses
  • Free Upgrades

    Get it now!

  • Get 9,000+ Interview Questions with Answers in an eBook


    Home » Placement Papers » De Shaw Placement Papers » De Shaw Placement Paper

    New Click here to Download 2012 Latest placement papers of this company New


    De Shaw Placement Paper





    Section-A

    Write the programs for the following problems in C.

    1. Swap two variables x,y without using a temporary variable.


    2. Write algorithm for finding the GCD of a number.


    3.Write a program for reversing the given string.


    4. The integers from 1 to n are stored in an array in a random
        fashion. but one integer is missing. Write a program to find the
        missing integer.

    Ans): Hint : The sum of n natural numbers is = n(n+1)/2.
             if we subtract the above sum from the sum of all the
             numbers in the array , the result is nothing but the
             missing number.


    5. Some bit type of questions has been given on pointers asking to
        to find whether it is correct from syntax point of view. and if
        it is correct explain what it will do. (around 15 bits).

     
    Section-B


    6. For the following C program

    #define AND &&
    #define ARRANGE (a>25 AND a<50)
    main()
    {int a = 30;
    if (ARRANGE)
    printf("within range");
    else
    printf("out of range");
    }

    What is the output?


    7. For the following C program

    #define AREA(x)(3.14*x*x)
    main()
    {float r1=6.25,r2=2.5,a;
    a=AREA(r1);
    printf("\n Area of the circle is %f", a);
    a=AREA(r2);
    printf("\n Area of the circle is %f", a);
    }

    What is the output?

    Ans. Area of the circle is 122.656250
    Area of the circle is  19.625000


    8. What do the following statements indicate. Explain.

    • int(*p)[10]

    • int*f()

    • int(*pf)()

    • int*p[10]

    Refer to:
    -- Kernighan & Ritchie page no. 122
    -- Schaum series page no. 323

    9. Write a C program to find whether a stack is progressing in forward
        or reverse direction.


    10. Write a C program that reverses the linked list.

     

    New Click here to Download 2012 Latest placement papers of this company New




    Looking for Job? Upload your resume here for MAXIMUM Exposure!

    Get 15 Freshers Jobs everyday!

    We work hard to collect each & every job for you. From all possible sources, the most exhaustive and authentic Freshers Jobs Information.

    You don't need anything else!
    Get Freshers Jobs in your mail:


    .

    Recently Updated: New Placement Papers added.
    Vyom Network : Web Hosting | Dedicated Server | Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Programming & Source Codes | GRE Preparation | Jobs, Discussions | Software Listing | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | International Business Information | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | FAQs | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Excellent Mobiles | Software Testing | Interview Questions | Freshers Jobs | Server Insiders | File Extension Directory

    Copyright ©2003-2012 Vyom Technosoft Pvt. Ltd., All Rights Reserved. Read our Privacy Policy
    Page URL: http://www.vyomworld.com/placementpapers/deshaw-placement-paper-1.asp