Home Company Questions Agile Interview Questions Agile Interview Questions - 1

Login Form




Agile Interview Questions - 1 Print E-mail

 

1. Write code for accessing array length without assigning it to another variable

 

2. Virtual destructors are used for _____________

 

3. The branch of a tree which has no childs is called ______________

 

4. Find the o/p of the program


void main()
{
int a=10;b;
if(a<=10)
b=4;
if(a>10)
b=5;
cout<
}


(a) it don,t be compiled                         (b) it compiles and o/ps 10 4

 

5. ++i+++j is equivalent to

(a) i+j+1                 (b) i+j+2                (c) i+j                      (d) can,t be compiled

 

6. Which are not keywords

(a) NULL                  (b) synchronize

 

7. Find legal statements

(a) int a=30;                   (b) float f=1.4;                 (c) double d=34.5;                      (d) byte b=128;

 

8. The sorting method which don,t generally use recursion

(a) heap sort                  (b) bubble sort                   (c) quick sort                      (d) bubble sort

 

9. Difference b/w pure virtual function & virtual function

 

10. When a node c is inserted b/w nodes a and b how many pointer will be modified?

 

11. Early or static binding means

(a) at runtime                 (b) at compiletime

 

12. Find legal statement

(a) cout>>"name">>endl;                         (b) cout<<"name<                         (c) cout<<"name"<

 

13. Find out the keywords

(a) synchronized                 (b) implement                   (c) throws

 

14. To find the length of array

(a) arr.length-1                  (b) arr.length                   (c) arr.length()

 

15. Find illegal statements

(a) int i=,2,;                      (b) char a=12;