2011 Deshaw Placement Paper - IHyderabad

  • CategoryIT
  • Sub CategoryPlacement Papers
  • LocationHyderabad
  • CompanyDeshaw
  • Posted date on our Website15 April 2011

User Ratings

Here are the details of 2011 Deshaw Placement Paper - I job in Deshaw. This job or placement paper has been sourced from either company website or newspaper or other media and from students who appeared for this job. User is requested to verify the data before applying for the job.

2011 Deshaw Placement Paper - I with Answers and Solutions:-

1. typedef struct{
char *;
nodeptr next;
} * nodeptr;
what does nodeptr stand for?

2. supposing thaty each integer occupies 4 bytes and each character 1 byte , what is the output of the following programme?

int a ={ 1,2,3,4,5,6,7};
char c = {' a','x','h','o','k'};
printf("%dt %d ", (&a[3]-&a[0]),(&c[3]-&c[0]));

Ans : 3 3

3. what is the output of the program?

struct s1 {int i; };
struct s2 {int i; };
struct s1 st1;
struct s2 st2;
st1.i =5;
st2 = st1;
printf(" %d " , st2.i);

Ans: nothing (error) expl: diff struct variables should not assigned using "=" operator.

4.what is the output of the program?

int i,j;
int mat[3][3] ={1,2,3,4,5,6,7,8,9};
for (i=2;i>=0;i--)
for ( j=2;j>=0;j--)
printf("%d" , *(*(mat+j)+i));

Ans : 9 6 3 8 5 2 7 4 1

int fun( int n)
int i;
printf(" well done");

how many times is the printf statement executed for n=10?

Ans: zero

6.what is the output of the program?
struct emp{
char emp;
int empno;
float sal;
struct emp member = { "TIGER"};
printf(" %d %f", member.empno,member.sal);

Ans: error. In struct variable emp, we have to give array size.
If array size given

Ans is 0, 0.00

7. output of the program?

# define infiniteloop while(1)

Ans: none
expl: infiniteloop in main ends with ";" . so loop will not reach end;
and the DONE also will not print.

8. output of the program?
int a=2, b=3;
printf(" %d ", a+++b);

expl: here it evaluates as a++ + b.

9. output of the program?

#define prn(a) printf("%d",a)
#define print(a,b,c) prn(a), prn(b), prn(c)
#define max(a,b) (a

int x=1, y=2;

Ans: 3 4 2

10. which of the following is the correct declaration for the function main() ?

Ans: main( int , char *)

11. if ptr is defined as

int *ptr[100];
which of the following correctly allocates memory for ptr?

Ans: ptr = (int *)(malloc(100* sizeof(int));

15) a=10;b=5; c=3;d=3;


printf("%d %d %d %d" a,b,c,d)

else printf("%d %d %d %d" a,b,c,d); ans 10 5 3 3

16. what is o/p


show(int t,va_list ptr1)


int a,x,i;


printf("\n %d",a)



{int x;










a) 13 b) 12 c) 44 d) 14

17. if the following program (my prog)

main(int size of ,char *arg[])

{ while(size of arg) printf("%s",arg[--size of arg)


is run from the command line as myprog jan feb mar apr

what would be the o/p

a)myprog jan,feb,mar,apr



d)error ans:b

18.what is o/p


{int i=3;



int i=100





a) infinite loop

b) error

c) 99..99..99..99

d) 3..22..1.. ans :c

20) what is the o/p of the program

#define rows 3

#define colums 4


int a[rows][colums]={1,2,3,4,5,6,7,8,9,10,11,12};




if(a[k][j]<k) k=a[i][j];

printf("%d\n",k); ans:1

About Deshaw:-

D. E. Shaw India Software Private Limited - DESIS is an entity in the D. E. Shaw group, a global investment and technology development firm with more than 1,300 employees; approximately $19 billion in investment capital as of January 1, 2011; and offices in North America, Europe, the Middle East, and Asia. Since its organisation in 1988, the D. E. Shaw group has earned an international reputation for financial innovation, technological leadership, and an extraordinarily distinguished staff.

Working at Deshaw - Why should i join Deshaw?:-

D. E. Shaw India Software Private Limited - DESIS employees are involved in a wide range of projects, depending on our current activities and on the interests and capabilities of the individual in question. The firm is extremely selective in its hiring, and can give serious consideration only to individuals having extraordinary intellectual capabilities, communication skills, and general "real world" competence.

Contact Details:

Address of Deshaw:-


D. E. Shaw India
Software Private Limited
Sanali Infopark
8-2-120/113, Road No. 2
Banjara Hills, Hyderabad 500 034
Andhra Pradesh, India
+91 40 6639 0000
FAX +91 40 4016 4284


D. E. Shaw India
Advisory Services Private Limited
Vatika Towers, Tower B, 15th Floor
Sector 54
Golf Course Road
Gurgaon 122 002, Haryana, India
+91 124 451 8300
FAX +91 124 451 8400


D. E. Shaw India
Advisory Services Private Limited
305, Ceejay House, Third Floor
Shiv Sagar Estate
Dr. Annie Besant Road
Worli, Mumbai 400 018
Maharashtra, India
+91 22 4341 2000
FAX +91 22 6747 0990

(Disclaimer : This Job or placement paper has been sourced from various sources like print media, Job consultants, past candidates, our users and/ or Company website. The posted date above means the date on which the Job was posted on our site and not on the company site. Users are advised to check with the company for latest requirements before applying for the job. Our website will not be responsible for any loss to the company or the candidate. We have no relation with the company and are not responsible for the validity of this Job. We donot charge the company or candidate or any student anything. If the respective company has any issue with the data provided or they want this particular job or placement paper to be removed they can write into us at infinitecourses@gmail.com)

Comments / Reviews / Queries On

Click to See more Comments