1. A person is climbing of 60 mts . For every minute he is climbing 6 mts and slipping 4 mts . After how

many minutes he may reach the top?

Ans:...........................

2. A can do work in 2 hours. B can do a work in 3 hours. What is the shortest time they can finish the

work?

Ans:...........................

3. The least no. which is when divided by 4,6,7 leaves a remainder of 2 ?

Ans:...........................

4. The integers from 1 to n are stored in an array in a random fashion. But one integer is missing. Write a

program to find the missing integer. (Logic only)

5. void main()

{ char a =0xAA ;

int b ;

b = (int) a ;

b = b >> 4 ;

printf("%x",b);

}

Output/Error: ...............................

6. Each character is represented by 7 bits, 1 bit is used to represent error bit and another bit for parity. If

total number of bits transmitted is 1200 bits, then what is the number of symbols that can be

transmitted ?

Ans:...........................

7.

8.

void main()

{ int i,j=1;

for(i=0;i<10;i++)

{ j=j+1;

}

printf("%d %d",i,j);

}

Output/Error: ...............................

In the following figure:

A

D

B G E

C

F

Each of the seven digits from 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 is:

a)Represented by a different letter in the figure above.

b)Positioned in the figure above so that A*B*C,B*G*E, and D*E*F are equal.

Which digit does G represent?

Ans:...........................

9.

What is the maximum number of half-pint bottles of cream that can be filled with a 4-gallon can of

cream(2 pt.=1 qt. and 4 qt.=1 gal)

A.16

B.24

C.32

D.64

Ans:...........................

10. Piggy backing is a technique for

a) Flow control b) sequence c) Acknowledgement d) retransmission

Ans:...........................

11. If the operation ^ is defined by the equation x ^ y = 2x + y, what is the value of a in 2 ^ a = a ^ 3

A.0

B.1

C.-1

D.4

Ans:...........................

12. There are 200 questions on a 3 hr examination. Among these questions are 50 mathematics

problems. It is suggested that twice as much time be spent on each maths problem as for each other

question. How many minutes should be spent on mathematics problems

A.36

B.72

C.60

D.100

Ans:...........................

2

13. If 13 = 13w/(1-w) ,then (2w) =

A.1/4

B.1/2

Ans:...........................

C.1

D.2

14. A worker is paid Rs.20/- for a full days work. He works 1,1/3,2/3,1/8,3/4 days in a week. What is the

total amount paid for that worker ?

Ans:...........................

15. If the value of x lies between 0 & 1 which of the following is the largest?

2

(a) x

(b) x

(c) –x

(d) 1/x

Ans:...........................

16. If the total distance of a journey is 120 km .If one goes by 60 kmph and comes back at 40kmph what is

the average speed during the journey?

Ans:...........................

17. A school has 30% students from Maharashtra .Out of these 20% are Bombay students. Find the total

percentage of Bombay?

Ans:...........................

18. An equilateral triangle of sides 3 inch each is given. How many equilateral triangles of side 1 inch can

be formed from it?

Ans:...........................

19. If A/B = 3/5,then 15A = ?

Ans:...........................

20. Each side of a rectangle is increased by 100% .By what percentage does the area increase?

Ans:...........................

21. Perimeter of the back wheel = 9 feet, front wheel = 7 feet on a certain distance, the front wheel gets

10 revolutions more than the back wheel .What is the distance?

Ans:...........................

22. 20% of a 6 litre solution and 60% of 4 litre solution are mixed. What is percentage of the mixture of

solution?

Ans:...........................

23. There are two circles, one circle is inscribed and another circle is circumscribed over a square. What is

the ratio of area of inner to outer circle?

Ans:...........................

24. Three types of tea the a,b,c costs Rs. 95/kg,100/kg and70/kg respectively. How many kgs of each

should be blended to produce 100 kg of mixture worth Rs.90/kg, given that the quantities of b and c

are equal.

a)70,15,15

b)50,25,25

c)60,20,20

d)40,30,30

Ans:...........................

25. In a class, except 18 all are above 50 years. 15 are below 50 years of age. How many people are

there?

(a) 30

(b) 33

(c) 36

(d) none of these.

Ans:...........................

26. If a boat is moving in upstream with velocity of 14 km/hr and goes downstream with a velocity of 40

km/hr, then what is the speed of the stream ?

(a) 13 km/hr

(b) 26 km/hr

(c) 34 km/hr

(d) none of these

Ans:...........................

27. Instead of multiplying a number by 7, the number is divided by 7. What is the percentage of error

obtained ?

Ans:...........................

28. Find (7x + 4y ) / (x-2y) if x/2y = 3/2 ?

(a) 6

(b) 8

(c) 7

Ans:...........................

29. Write the output/error:

void main(void)

{

int y,z;

int x=y=z=10;

int f=x;

float ans=0.0;

f *=x*y;

ans=x/3.0+y/3;

printf("%d %.2f",f,ans);

}

Output/Error: ...............................

30. static int i=5;

void main(void)

{

int sum=0;

do

{

sum+=(1/i);

}while(0<i--);

}

Output/Error: ...............................

31. #include<stdio.h>

void main(void)

{

int i=100,j=20;

i++=j;

i*=j;

printf("%d\t%d\n",i,j);

}

Output/Error: ...............................

(d) data insufficient

32. #include<stdio.h>

void main(void)

{

int var1,var2,var3,minmax;

var1=5;

var2=5;

var3=6;

minmax=(var1>var2)?(var1>var3)?var1:var3:(var2>var3)?var2:var3;

printf("%d\n",minmax);

}

Output/Error: ...............................

33. #include<stdio.h>

void main(void);

void main(void)

{

void pa(int *a,int n);

int arr[5]={5,4,3,2,1};

pa(arr,5);

}

void pa(int *a,int n)

{

int i;

for(i=0;i<n;i++)

printf("%d",*(a++)+i);

}

Output/Error: ...............................

34. #include<stdio.h>

void main(void);

int printf(const char*,...);

void main(void)

{

int i=100,j=10,k=20;

int sum;

float ave;

char myformat[]="ave=%.2f";

sum=i+j+k;

ave=sum/3.0;

printf(myformat,ave);

}

Output/Error: ...............................

35. func() {

static int i = 10;

printf("%d",i);

i++;

}

what is the value of i if the function is called twice ?

Output: ...............................

## 0 comments:

## Post a Comment