Saturday, July 21, 2007

Level 1

Right answers are hilighted in green colour...

Section A :- Mathematical


Q. 1) There are 5 red shoes, 4 green shoes. If one draws randomly a shoe what is the probability of getting a red shoe.

(a) 5c1/4c1 (b) 5c1/9c1 (c) 4c1/9c1 (d) 4c1/5c1


Q. 2) There are two candles of equal lengths and of different thickness. The thicker one lasts of six hours. The thinner 2 hours less than the thicker one. Ramesh lights the two candles at the same time. When he went to bed he saw the thicker one is twice the length of the thinner one. How long ago did Ramesh light the two candles .

(a) 3 hours (b) 2 hours (c) 3 hours 30 min (d) 2 hours 30 min


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

(a) x (b) x2 (c) –x (d) 1/x


Q. 4) Find x+2y

(a) x+y=10 (b) 2x+4y=20 (c) 3x+2y=10 (d) x+y=5


Q. 5) 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?

(a) 80kmph (b) 48kmph (c) 84kmph (d) 20kmph


Q. 6) Which of the following fractions is less than 1/3

(a) 22/62 (b) 15/46 (c) 2/3 (d) 1


Q. 7) If 9x-3y=12 and 3x-5y=7 then 6x-2y = ?

(a) -5 (b) 4 (c) 2 (d) 8


Q. 8) Which of the following fractions is less than 1/3

(a) 22/62 (b) 15/46 (c) 2/3 (d) 1


Q.9) Find the value of ( 0.75 * 0.75 * 0.75 - 0.001 ) / ( 0.75 * 0.75 - 0.075 + 0.01)

(a) 0.845 (b) 1.908 (c) 2.312 (d) 0.001


Q. 10) If 2x-y=4 then 6x-3y=?

(a)15 (b)12 (c)18 (d)10


Q. 11) Convert 0.9375 to binary

(a) 0.0111 (b) 0.1011 (c) 0.1111 (d) none


Q. 12) ( 1a00 * 10b )/ 1010 = 100
(a) a=0, b=0 (b)a=0, b=1 (c) none (d) a=1, b=1


Q.13) A man collects cigarette stubs and makes one full cigarette with every 8 stubs.
If he gets 64 stubs how many full cigarettes can he smoke.

(a) 8 (b) 9 (c) 64 (d) 4



Q.14) Light glows for every 13 seconds . How many times did it glow between 1:57:58 and 3:20:47 am.

(a) 383 (b) 380 (c) 384 (d) 300


Q. 15) Find the value of ( 0.75 * 0.75 * 0.75 - 0.001 ) / ( 0.75 * 0.75 - 0.075 + 0.01)

(a) 0.845 (b) 1.908 (c) 2.312 (d) 0.001


Section B :- C/C++ Lang.


Q. 16) What would be the output of fallowing program?
main ()
{
extern int a;
Printf (“\n%d’, a);
}
int a=20;

(a) 20 (b) 0 (c) Garbage value (d) Error


Q. 17) What would be the output of fallowing program?
main ()
{
int a [5] ={2,3};
printf (“\n%d %d %d”, a[2], a[3], a[4]);
}

(a) Garbage value (b) 2 3 3 (c) 3 2 2 (d) 0 0 0


Q. 18) Point out the error, if any, in the for loop.
Main()
{
int i=1;
for( ;; )
{
printf(“%d”,i++);
if(i>10)
break;
}
}
(a) The condition in for loop is must. (b) The two semicolon should be dropped.
(c) The for loop should be replaced by while loop. (d) No error.


Q. 19) What would be the output of fallowing program?
Main()
{
int i=2;
printf(“\n%d %d”, ++i, ++i);
}
(a) 3 4 (b) 2 2 (c) 4 4 (d) Output may vary from compiler to compiler.


Q. 20) In the fallowing code in which order the function would be called.

A=f1(23, 14) * f2(12/4) + f3();

(a)f1, f2, f3 (b)f3, f2, f1 (c)The answer may vary from compiler to compiler.
(d)None of the above.


Q. 21) What would be the output of fallowing program?
Main()
{
int i =(-3), j=2, k=0, m;
m=++i&&++j&&++k;
printf(“\n%d %d %d %d“, I, j, k, m);
}
(a)-2 3 1 0 (b)1 1 3 -2 (c)-2 3 1 1 (d)-3 3 1 2


Q. 22) By default any real number is treated as.
(a) a float (b)a double (c)a long double (d) Depends upon the memory model that you r using.



Q. 23) What error would the fallowing function give on compilation?
f (int a, int b)
{
int a;
A=20;
Return a;
}
(a)Missing parentheses in return statement (b)The function should be defined as int f (int a, int b)



Q. 24) Which class is called as abstract base class?
(a) A class with an abstract function (b) A class with a pure virtual function
(c) a class with friend function (d) None of the above


Q. 25) Would the fallowing code compile successfully?
main ()
{
Printf (“%c’, 7[“Sundaram”]);
}
(a)Yes (b)No (c)Can’t tell (d)Error


Q. 26) Would the fallowing code compile successfully?
main ()
{
int a=10,*j;
Void *k;
j=k=&a;
J++;
K++;
Printf(“\n%u %u”,j ,k);
}
(a) Yes (b) No


Q. 27) Which of the following about the following two declaration is true
i) int *F()
ii) int (*F)() Choice :
(a) Both are identical (b) The first is a correct declaration and the second is wrong
(c) The first declaration is a function returning a pointer to an integer and the second is a pointer to function returning int (d) Both are different ways of declaring pointer to a function


Q.28) When an array is passed as parameter to a function, which of the following statement is correct choice:
(a) The function can change values in the original array
(b) In C parameters are passed by value. The funciton cannot change the original value in the array
(c) It results in compilation error when the function tries to access the elements in the array
(d) Results in a run time error when the funtion tries to access the elements in the array


Q. 29) The type of the controlling expression of a switch statement cannot be of the type
(a) int (b) char (c) short (d) float
Q. 30) What is the output of the following program
main()
{
int a=10;
int b=6;
if(a=3)
b++;
printf("%d %d\n",a,b++);
}
(a) 10,6 b)10,7 (c) 3,6 (d) 3,7



Section C: - Computer Skills


Q.31) LINUX was developed by

(a) Licolon Max (b) Dennis Ritchie (c) Chris Warth (d) Linus Torvalds


Q.32) MRAM stands for

(a) Magnetoresistive RAM (b) Mapping RAM
(c) Medium RAM (d) None of the above


Q.33) ARPANET is
(a) earlier name of the Internet (b) a software that controls the memory usage
(c) a device used in conjunction with (d) All the above
the embedded system


Q34) ISP stands for
(a) Internet Station Process (b) Internet Simulation Policy
(c) Internet Service Provider (d) Only A


Q.35) PPU is
(a) Physics Processing Unit (b) Physical Progress Unit
(c) Pixel Processing Unit (d) All the above


Q.36) AJAX is
(a) Asynchronous JavaScript and XML (b) Asynchronous JavaScript and X window System (c) used for CAD software (d) None of the above


Q.37) What is VGA
(a) Video Graphic Array (b) Video Graphics Adapter
(c) Both A & B (d) None of the above


Q.38) ISA stands for
(a) Industry Standard Architecture (b) Industry Specific Agent
(c) Both A & B (d) Either A or B


Q.39) GSM stands for
(a) Global System For Mobile Communication (b) Global System Management
(c) Gigabyte Series Mobile (d) All the above


Q.40) QDOS is
(a) Quick and Durable Operating System (b) Quick and Dirty Operating System
(c) Both A & B (d) Only A