GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Adobe  >  Placement Papers
Go To First  |  Previous Question  |  Next Question 
 Placement Papers  |  Question 9 of 10    Print  
Test on 27-Sep-2008
Test has been made simple than before.

Few easy questions on output of programs.
1.
int arr[10]; //in file1.c
extern int *arr; //in file2.c
main()
{
arr[0]=1;
}
//Find Error? how and why
2.
Hash key function was given and some numbers. Have to find numbers which are mapped to same hash key.
3.
To Reverse doubly link list
4.
Given Assemply program. To find what it does.
My given program was calculation ===> n! / (n-r)!
5.
to find value of expression *+A/AB/-ABB when vaules of A and B was given
6.
To find o/p of crazy function.
crazy(int n, int a, int b)
{
if(n==0) return;
crazy(n-1,b+n,a);
printf("%d%d%d",n,a,b);
crazy(n-1,b,a+n);
}
find crazy(3,4,5);

7.
question on macro
#define SUM(A,B) (A * B)
#define MUL(A,B) (A) + (B)
a=2;b=3;
value = SUM( SUM(a-b , b) + MUL (a,b) ) - SUM( MUL (b,a) + SUM(a, b-a) )

8.
To find smallest common Ancestor of two given nodes of BST. ?? Really tough one.

9.
To print 2's compliment of binary no. given in string. output should also be in string only.

10.
To find middle of link list.

11.
to find missing no. from unsorted array without using another array.

12.
To make a BST from given values. // Simplest one




  
Total Answers and Comments: 0 Last Update: September 27, 2008     Asked by: pardeepg 
  
 Sponsored Links

 

No answers are posted for this question yet.
Be the first to answer it!


 Related Questions

HI Everybody, I attended Adobe test on 16-07-2006. it was cool test. The test was 3 hours. I am sending u Questions Asked on Engineering and C. Merit-Trac conducted the test. The test was for both Developmnt & testing Domain. I attended for Dev posn. ADOBE Written Test1) Wap to reverse a linked list and sort the same.2) Given two integers A & B. Determine how many bits required to convert A to B. Write a function int BitSwapReqd(int A, int B);3) Write an algorithm to insert a node into
Read Answers (11) | Asked by : Guru Pradeep

Hi appeared for adobe test on 13th August.I m yet to get any response from adobe...has anybody appearing on that day got a call.pls mention my cell 9818249394
Read Answers (1) | Asked by : Coder

Test has been made simple than before.Few easy questions on output of programs.1. int arr[10]; //in file1.cextern int *arr; //in file2.cmain(){ arr[0]=1;}//Find Error? how and why2.Hash 
View Question | Asked by : pardeepg

There were 4 sectionsDS 10 ds quesionsJava/J2EE 15 java questions+ 5 j2eeAnalyticalQuantaSome of the questions I remember1) a bst was give and asked the forth smallest element (easy one)2)an inorder of 
View Question | Asked by : richakharya


 Sponsored Links

 
Related Articles

Leaning SQL Server 2008 Reporting Services

Leaning SQL Server 2008 Reporting Services This book is written by Jayaram Krishnaswamy studied at the Indian Institute of Science in Bangalore and Madras University India and also taught at the Indian Institute of Technology in Madras.  The book is structured in such a way that you start
 

Learning SQL Server 2008 Reporting Services Book Review

The reporting service of SQL Server is one of the most explored features of the database server. As a web based feature developers could create custom reports according to their needs which enables them to access the data they need from the server without clutter caused by unnecessary data. Although
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape