Company: Future Software

1. main( )
{
unsigned int i=3;
while( i >=0)
printf( “%d”, i–);
}
how many times will the printf statement be executed?

a)0     b)3    c)4    d) infinite

2. main( )
{
int x,y, z;
x=2;
y=5;
z= x+++y;
printf(“%d %d %d”, x, y z);
}
a)3 5 7 b)option 2 c)option 3 d)option 4

Ans: a

3. # define swap(a,b) temp=a; a=b; b=temp;
main( )
{
int i, j, temp;
i=5;
j=10;
temp=0;
if( i > j)
swap( i, j );
printf( “%d %d %d”, i, j, temp);
}

4. Java section: questions on java related stuff.

1) Java was initially code named as:

a)Oak b)green c)miller d)option4

Ans: Oak

5. What is not true about the following statements about java.

a) it is compiled using javac compiler
b) the compiled files have .class extension.
c) such files cannot be transfered from one comp to another.
d) they use the java interpreter

Ans: c

6. Why is the synchronize used?

a) to initialize multiple objects b)to lock an object c)option3 d)option 4

Ans: b (probably)

7.Which of these is not search engine
a)hotbot        b)parametric                 c)Altavista                 d) google

8.In 2002 IBM acquired which company

a) Rational
b) oracle
c) netscape

9. which action Java platform restricts on applets

a. Image viewing
b. Accept user i/p
c. write to system files
d. initialise date in browser

10.  what is not true about the following statements about java.

a) it is compiled using javac compiler
b) the compiled files have .class extension.
c) such files cannot be transfered from one comp to another.
d) they use the java interpreter

11. HP acquired this company in 2002. Which is the company

a) Compaq b) Dell c) option 3 d) Option4

Ans: a

Directions (Q. 12-16): In each of the following questions, a question is asked followed by three statements. You have to study the question and all the three statements given and decide whether any information provided in the statement(s) is/are redundant and can be dispensed with while answering the questions.

12. The average salary of the entire staff in an office is Rs 120 per month.
Find the number of non-officers in the office.
A. The average salary of officers is Rs 460.
B. The average salary of non-officers is Rs 110.
C. The number of officers is 15.
1) Only A
2) Only B
3) Only C
4) Only A & C
5) None

13. What is the quantity sold at 10% profit and that at 5% loss? A. A business has 100 kg of quantity a part of which he sells at 5% loss and on the whole his loss is 2%. B. He sells rest of the quantity of statement A at 10% profit. CThe quantity sold at 10% profit is one-fourth of the quantity sold at 5% loss.

1) Only A
2) Only B
3) Either C alone or A and B together
4) Only B & C
5) None

14. How many minutes per hour does a person stop?

A. Without any stoppage a person travels a certain distance at an average speed of 80 km/hr.
B. With stoppage he covers the same distance at of average speed of without stoppage.
C.The speeds of without stoppage and with stoppage are in ratio of 4:3.

1) Only A
2) Only B
3) Only C
4) Either B or C
5) None

15. The average of temperatures of Sunday, Monday and Tuesday is 30?C. Find the temperature of Wednesday.

A. The sum of temperatures of Monday and Tuesday is 61?C.
BThe sum of temperatures of Sunday, Monday, Tuesday and Wednesday is 122?C.
C. The temperature of Wednesday is 3?C more than that of Sunday.

1) A only
2) B only
3) A and C only
4) Either B alone or A and C together
5) None of these

16. A train crosses another train coming from the opposite direction in 18 sec. If the length of the train is 100 m then what is the speed of the train?

A. The train passes a platform in 14 sec.
B. The speed of the other train in 60km/hr.
C. The other train passes a telegraph pole in 6 sec.

1) Only A
2) Only B
3) Only C
4) Either A & B or B & C
5) None of these

17. What is the difference between CMM and CMMI

18. What is Open System and Closed System in Computer terminology

19.How do you implement TREE in Java ? How do you implement the same using C or C++ ?

20.What will happen if we give GOBACK instead of STOPRUN in a cobol program which is not called by some other program?