Você está na página 1de 4

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
b) 25
c) 30
d) 50

5) A man walked diagonally across a square lot. Approximately, what was the percent saved by not walking
along the edges?
a) 20
b) 24
c) 30
d) 33


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

7) How many of the following numbers are divisible by 132?
264, 396, 462, 792, 968, 2178, 5184, 6336
a) 4
b) 5
c) 6
d) 7

8) If 144/0.144=14.4/x, then the value of x is?
a) 0.0144
b) 1.44
c) 14.4
d) .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 passage
Directions: 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) True
b) False
c) Cant Say
10) Hacking is the only vulnerability of the computers for the usage of the data?
a) True
b) False
c) Cant Say
11) Hacking is done mostly due to the lack of computer knowledge ?
a) True
b) False
c) Cant Say



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) Finished
b) Exception
c) Compilation Fails
d) 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) 2
b) 3
c) 4
d) 2.5
14) A constructor that accepts __________ parameters is called the default constructor.
a) One
b) Two
c) Three
d) No
15) Can a class have virtual destructor?
a) Yes
b) No
16) Which of the following type of class allows only one object of it to be created?
a) Virtual Class
b) Abstract Class
c) Singleton Class
d) Friend Class


17) The keyword used to transfer control from a function back to the calling function is___.
a) Switch
b) Goto
c) Goback
d) Return
18) 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
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 pointer
b) Representation of void pointer
c) Error
d) None of above




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

Você também pode gostar