Aptitude Test IT

5
Aptitude Test Name: ______________ Class: __________________ Roll no______________ Year of Passing: _____________ ____________________________________________________________________________ _______________ Time: 30 Min. M.M-40 1) Sum of digits of a 5 digit number is 51.Find the probability that such a number divisible by 11. a) 2/5 b) 11/36 c) 3/36 d) 6/35 2) Two dice are thrown simultaneously. What is the probability of getting two numbers whose product is even? a) 1/2 b) 3/4 c) 3/8 d) 5/16 3) In a mixture 60 litres, the ratio of milk and water 2 : 1. If the this ratio is to be 1 : 2, then the quanity of water to be further added is: a) 20 liters b) 30 liters c) 40 liters d) 60 liters 4) Look at this series: 80, 10, 70, 15, 60... What number should come next? a) 20

Transcript of Aptitude Test IT

Page 1: Aptitude Test IT

Aptitude Test

Name: ______________ Class: __________________

Roll no______________ Year of Passing: _____________

___________________________________________________________________________________________

Time: 30 Min. M.M-40

1) Sum of digits of a 5 digit number is 51.Find the probability that such a number divisible by 11.a) 2/5b) 11/36c) 3/36d) 6/35

2) Two dice are thrown simultaneously. What is the probability of getting two numbers whose product is even?a) 1/2b) 3/4c) 3/8d) 5/16

3) In a mixture 60 litres, the ratio of milk and water 2 : 1. If the this ratio is to be 1 : 2, then the quanity of water to be further added is:

a) 20 litersb) 30 litersc) 40 litersd) 60 liters

4) Look at this series: 80, 10, 70, 15, 60... What number should come next?a) 20b) 25c) 30d) 50

5) A man walked diagonally across a square lot. Approximately, what was the percent saved by not walking along the edges?

a) 20b) 24c) 30d) 33

Page 2: Aptitude Test IT

6) (112 x 54) = ?a) 67000b) 70000c) 76500d) 77200

7) How many of the following numbers are divisible by 132?264, 396, 462, 792, 968, 2178, 5184, 6336

a) 4b) 5c) 6d) 7

8) If 144/0.144=14.4/x, then the value of x is?a) 0.0144b) 1.44c) 14.4d) .144.

PASSAGE: Hacking is illegal entry into another computer. This happens mostly because of lack of knowledge of computer networking. With networks one machine can access to another machine. Hacking go about without knowing that each network is accredited to use network facility. Answer questions 9-11 based on passageDirections: Answer the questions given below the passage or statement as true, false or can't say

9) Hackers never break the code of the company which they work for?a) Trueb) Falsec) Can’t Say

10) Hacking is the only vulnerability of the computers for the usage of the data?

a) Trueb) Falsec) Can’t Say

11) Hacking is done mostly due to the lack of computer knowledge ?

a) Trueb) Falsec) Can’t Say

Page 3: Aptitude Test IT

12) What will be the output of the program?

try{int x = 0;int y = 5 / x;}catch (Exception e){System.out.println("Exception");}catch (ArithmeticException ae){System.out.println(" Arithmetic Exception");}

System.out.println("finished");

a) Finishedb) Exceptionc) Compilation Failsd) Arithmetic Exception

13) What is the value of "d" after this line of code has been executed?

double d = Math.round ( 2.5 + Math.random( ));

a) 2b) 3c) 4d) 2.5

14) A constructor that accepts __________ parameters is called the default constructor.

a) Oneb) Twoc) Threed) No

15) Can a class have virtual destructor?

a) Yesb) No

16) Which of the following type of class allows only one object of it to be created?

a) Virtual Classb) Abstract Classc) Singleton Classd) Friend Class

Page 4: Aptitude Test IT

17) The keyword used to transfer control from a function back to the calling function is___.

a) Switchb) Gotoc) Gobackd) Return

18) What does the following declaration mean?

int (*ptr)[10];

a) ptr is array of pointers to 10 integersb) ptr is a pointer to an array of 10 integersc) ptr is an array of 10 integersd) ptr is an pointer to array

19) Can you combine the following two statements into one?

char *p;

p = (char*) malloc(100);

a) char p = *malloc(100);b) char *p = (char) malloc(100);c) char *p = (char*)malloc(100);d) char *p = (char *)(malloc*)(100);

20) What is (void*)0?

a) Representation of NULL pointerb) Representation of void pointerc) Errord) None of above

-----------IT-----------