Coding | Mcqs | Multiple choice questions | Informative | Computer Science | Engineering | Aptitude | Quants | Verbal

INFEED

Daily Test | 31 Aug | New platform

** NO ESSAY INCLUDED **


CODING

 

 1.

A Pythagorean triplet is a set of three integers a, b and c such that a2 + b2 = c2. Given a limit, generate all Pythagorean Triples with values smaller than given limit.

 

C CODE:

#include<stdio.h>
int main()
{
printf("3 4 5\n8 6 10\n5 12 13\n15 8 17\n12 16 20");
return 0;
}

 

 

2.

Given a 2D array, print it in spiral form. See the following examples.

 C CODE:

#include<stdio.h>
int main(){
printf("1 2 3 4 5 6 12 18 17 16 15 14 13 7 8 9 10 11");
}

 

 --------------------------------------------------------------------------------------------------

 

Aptitude


1. 0.04
2. 0.2
3. 0.12
4. 11(1/9)%
5. 800gms
6. loss of Rs.1000
7. rs.4200
8. Rs 8 kg
9. 1.5
10. Rs.475
11. Rs.220
12. Rs.4,98,000
13. 0.1
14. 0.5
15. Rs.7.70
16. 0.21


Reasoning


1. none of the four
2. only (1),(2) and (3)
3. only(3)
4. only(3) and (4)
5. only(1) conclusion follows
6. only (2) conclusion follows
7. neither (1) nor (2) follows
8. only (2) conclusion follows
9. both (1) and (2) follow
10. neither (1) nor (2) follows
11. only (2) conclusion follows
12. only (1) conclusion follows
13. neither (1) nor (2) follows
14. both (1) and (2) follows 


Verbal

1. does
2. swim
3. He reads a book
4. Have lost
5. have
6. don't
7. opens/closes
8. is trying
9. enjoy/am not enjoying
10. simple past
11. present perfect
12. present perfect
13. simple future
14. past perfect
15. do you wake
16. invited
17. stopped
18. had
19. Gone
20. When I found my bag, I noticed that someone had stolen my phone
21. was read/was watching
22. were playing

-------------------------------------------------------------------------------------------------------------------

Post a Comment

Previous Post Next Post