Amdocs technical questions papers
Amdocs Placement Papers 2011:-
1. float a=.7
if(a=.7)
printf("this");
else
printf("that");
2. switch(n)
case 1: printf("case 1");
case (2) : printf("default");
break;
what will be output??
ans: it will be error since case(2) is not allowed
3. You have to store data on the system which command is used .....
4. what is data dictionary
5. what is view.......
6. what is output of cal j 2005
7. In which message passing is fast .....options are
8. Question on nice command that is how to change the priority
ans: change the priority of the process
9. context switching takes place....
a) kernel to user mode
b)user to user mode
c)kernel to kernel mode
d)one process to another process
10. what is the difference between dbms and rdbms options were given
11. You have a xwindow and u have to display clock on it then which command will be used??
12. What is fork..... and: to create a new process
13. which algorithm is used to generate a key.....
14. To choose which two are similar in the given pattern....this type of four questions
I) i) 123456.876543 ii)123456.876943 iii) 123456.876543
(a)i & ii (b) i & iii (c) ii & iii (d)all are similar
15 main ()
{
int x=5;
x=x----1;
printf ("%d", x);
}
Output?
// D. 5,-2,2
Ans: D
16 Find (7x + 4y ) / (x-2y) if x/2y = 3/2 ?
(a) 6 }
(b) 8
(c) 7
(d) data insufficient
(Ans . C)
17 Number of times multiplication is required:
int computeXn(int x int n)
{
if(n%2=0)
{
return x*x;
}
else if(n%2=0)
{
int y computeXn(x n/2);
return y*y;
}
else if(n%2=1)
{
int y computeXn(x n/2);
return y*y*x;
}
}
Calculating power of a tree for 5^12.