0% found this document useful (0 votes)
975 views5 pages

Final Question

This document contains 35 multiple choice questions related to programming, mathematics, and logical reasoning. The questions cover topics like time calculation, averages, remainders, divisibility, series, and programming concepts in C like loops, functions, operators, and output.

Uploaded by

satish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
975 views5 pages

Final Question

This document contains 35 multiple choice questions related to programming, mathematics, and logical reasoning. The questions cover topics like time calculation, averages, remainders, divisibility, series, and programming concepts in C like loops, functions, operators, and output.

Uploaded by

satish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

OptiCodes Technologies Pvt. Ltd.

Note: All question are mandatory and carry equal marks

1. Two goods train each 500 m long, are running in opposite directions on parallel tracks. Their speeds are 45
km/hr and 30 km/hr respectively. Find the time taken by the slower train to pass the driver of the faster one.
A. 12 sec B.24 sec C. 48 sec D. 60 sec

2. Pipes A and B can fill a tank in 5 and 6 hours respectively. Pipe C can empty it in 12 hours. If all the three pipes
are opened together, then the tank will be filled in:
A. 1 13 / 17 hours B. 2 8 / 11 hours
C. 3 9 / 17 hours D. 4 1 / 2 hours

3. The average weight of A, B and C is 45 kg. If the average weight of A and B be 40 kg and that of B and C be 43
kg, then the weight of B is:
A. 17 kg B. 20 kg C. 26 kg D.31 kg

4. Which one of the following numbers is exactly divisible by 11?


A. 235641 B. 245642 C. 315624 D. 415624

5. The sum of first 45 natural numbers is:


A. 1035 B. 1280 C. 2070 D. 2140

6. A number when divided by 296 leaves 75 as remainder. When the same number is divided by 37, the remainder
will be:
A. 1 B.2 C. 8 D.11

7. The unit digit in the product (784 x 618 x 917 x 463) is:

A. 2 B. 3 C.4 D.5

8. Find the greatest number that will divide 43, 91 and 183 so as to leave the same remainder in each case.
A. 4 B. 7 C. 9 D.13

9. The average weight of 8 person's increases by 2.5 kg when a new person comes in place of one of them
weighing 65 kg. What might be the weight of the new person?
A. 76 kg B.76.5 kg C.85 kg D. Data inadequate E. None of these

10. The greatest number of four digits which is divisible by 15, 25, 40 and 75 is: A. 9000 B. 9400 C. 9600 D. 9800

11. The H.C.F. of two numbers is 11 and their L.C.M. is 7700. If one of the numbers is 275, then the other is:
A. 279 B. 283 C. 308 D.318

12. A can do a work in 15 days and B in 20 days. If they work on it together for 4 days, then the fraction of the work
that is left is :
A. 1/4
B. 1 / 10
C. 7 / 15

D. 8 / 15
OptiCodes Technologies Pvt. Ltd.

13. On dividing a number by 357, we get 39 as remainder. On dividing the same number 17, what will be the
remainder ?
A. 0 B. 3 C.5 D.11

14. If one-third of one-fourth of a number is 15, then three-tenth of that number is:
A. 35 B. 36 C. 45 D. 54

15. find out odd man out from the series 10, 25, 45, 54, 60, 75, 80
A. 10 B. 45 C. 54 D. 75

16. A can lay railway track between two given stations in 16 days and B can do the same job in 12 days.
With help of C, they did the job in days
4 only. Then, C alone can do the job in:
A. 9 1 / 5 days
B. 9 2 / 5 days
C. 9 3 / 5 days
D. 10

17. Select a figure from amongst the Answer Figures which will continue the same series as established by the
five Problem Figures.
Problem Figures: Answer Figures:

(A) (B) (C) (D) (E) (1) (2) (3) (4) (5)

A. 1 B. 2 C. 3 D. 4 E. 5
18. Look at this series: 7, 10, 8, 11 , 9, 12, ... What number should come next?

A. 7 B. 10 C. 12 D. 13

19. A,B,C,D are part of one sentence find out which part have Error .
A. If I had known B. this yesterday
C. I will have helped him. D. No error.

20. A,B,C,D are part of one sentence find out which part have Error .
A. May I B. know who you want
C. to see please D. No error.

21. She spoke to the official on duty . what will be passive voices of this
A. The official on duty was spoken to by her B. The official was spoken to by her on duty.
C. She was spoken to by the official on duty. D. She was the official to be spoken to on duty.

22. Select the correct replacement for the bold words. The man to who I sold my house was a cheat.

A. to whom I sell B. to who I sell


C. who was sold to D. to whom I sold E. No correction required
OptiCodes Technologies Pvt. Ltd.

23. Select the correct replacement for the bold words. They are not beware of all the facts

A. are not aware for B. are not aware of


C. are not to be aware D. must not to be aware for E. No correction required

24. What will be the output of the program? #include<stdio.h>

int main()
{
inti=-3, j=2, k=0, m;
m = ++I && ++j && ++k; printf("%d, %d, %d, %d\n", i, j, k, m); return0;

}
A. -2,3,1,1 B. 2,3,1,2 C. 1,2,3,1 D. 3,3,1,2

25. What does the following declaration mean? int (*ptr)[10];


A. ptr is array of pointers to 10 integers
B. ptr is a pointer to an array of 10 integers
C. ptr is an array of 10 integers
D. ptr is an pointer to array

26. Which operator performs pattern matching?


A. BETWEEN operator B. LIKE operator C. EXISTS operator D. None of these

27. In SQL, which command is used to SELECT only one copy of each set of duplicable rows
A. SELECT DISTINCT B. SELECT UNIQUE C. SELECT DIFFERENT D. All of the above

28. Which of the following SQL commands is used to retrieve data?


A. DELETE B. INSERT C. SELECT D. JOIN

29. Which SQL keyword is used to sort the result-set?


A. SORT BY B. ORDER C. ORDER BY D.SORT

30. The output of the code below is

void main()
{
int x =5;
if(x <1)
printf("hello"); if(x ==5)

printf("hi");
else
printf("no");
}
OptiCodes Technologies Pvt. Ltd.

a) hi
b) hello
c) no
d) None of the mentioned
31.. What is the output of this C code?

int main()
{
do{
printf("In while loop ");
} while(0); printf("After loop\n");}

a) In while loop b) In while loop after loop


c) After loop d) Infinite loop

32.What is the output of this C code? #include <stdio.h>

void main()

{ int i=2;

do{
printf("Hi");
} while(i<2);
}
a) Compile time error b) Hi Hi c) Hi d) None of these

33. #define maxvalue 10

void main(){

int a=60; if(a/maxvalue==6) printf("equal"); else

printf("not equal");
}
What will be output if you compile and execute the above code?
(a) equal (b) not equal (c) Run time error (d) Compiler error
OptiCodes Technologies Pvt. Ltd.

34.What’s the output of the following code ?


int doSomething(int a, int b) { if (b==1)
return a; else
return a + doSomething(a,b-1);
}
main(){
printf(“%d”, doSomething(2,3));
}
a) 4 b) 2 c) 3 d) 6

35.int func(int a, int b){ if(b==0)


return 0; if(b==1)
return a;
return a + func(a,b-1);
}
what will be the output of func(3,8) .
a) 11 b) 24 c) 22

You might also like