[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Placement Questions & Answers :: Wipro

41. 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);}

Answer: x/y=2

Explanation:

Here is no explanation for this answer

Workspace

Tags:

Wipro 

42. int zap (int n)
{
if (n<=1) then
zap=1;
else
zap=zap(n-3)+zap(n-1);
}
then the call zap(6) gives the values of zap

Answer: 9

Explanation:

Here is no explanation for this answer

Workspace

Tags:

Wipro 

43. void main()
{
char string[]=Hello World;
display (string);
}

void display(char *string){
printf(%s,string);
}

Answer: Compiler Error

Explanation:

Here is no explanation for this answer

Workspace

Tags:

Wipro 

44. In a processor these are 120 instructions . Bits needed to implement this instructions

Answer: 7

Explanation:

Here is no explanation for this answer

Workspace

Tags:

Wipro 

45. Which of the following memories has the shortest access time?

Answer: Cache memory

Explanation:

Here is no explanation for this answer

Workspace

Tags:

Wipro 

46. Banker's algorithm for resource allocation deals with

Answer: Deadlock avoidance

Explanation:

Here is no explanation for this answer

Workspace

Tags:

Wipro 

47. The format specifier "-%d" is used for which purpose in C

Answer: Left justifying a string

Explanation:

Here is no explanation for this answer

Workspace

Tags:

Wipro 

48. If the time quantum is too large, Round Robin scheduling degenerates to

Answer: FCFS

Explanation:

Here is no explanation for this answer

Workspace

Tags:

Wipro 

49. When the fn. is called where the return address is stored?

Answer: Stack

Explanation:

Here is no explanation for this answer

Workspace

Tags:

Wipro 

50. What data structures you should use for dictionary searching and it should be capable of doing spell check also?

Answer: Hashing

Explanation:

Here is no explanation for this answer

Workspace

Tags:

Wipro