A train 125 m long passes a man, running at 5 km/hr in the same

advertisement
 A train 125 m long passes a man, running at 5 km/hr in the same direction in which the train is
going, in 10 seconds. The speed of the train is:
Choose one:
45 km/hr
50 km/hr
54 km/hr
55 km/hr
 A game of football with 11 players lasts for exactly 90 minutes. There are four substitutes that
alternate equally. If each player plays for the same length of time, what is the duration?
Choose one:
22.5 mins
18 mins
66 mins
None of above.
 If the wages of 6 men for 15 days be Rs. 1400, then the wages of 9 men for 12 days will be
Choose one:
Rs. 1680
Rs.1840
Rs. 1050
Rs. 1600
 Here are some words translated from an artificial language.
hapllesh means cloudburst
srenchoch means pinball
resbosrench means ninepin
Which word could mean "cloud nine"?
Choose one:
leshsrench
ochhapl
haploch
haplresbo
 Out of 13 applicants for a job, there are 5 women and 8 men. It is desired to select 2 persons
for the job. The probability that at least one of the selected persons will be a woman is
Choose one:
25/39
14/39
5/13
10/3
 30% of the people read newspaper X, 50% read newspaper Y, and 20% read both the papers.
What percentage of the people read neither newspaper?
Choose one:
5%
15%
20%
40%
 25 workers working 6 hours a day can finish the work in 20 days. If the workers went to work
for 5 hours a day, how many more are required to complete the work in same 20 days?
Choose one:
5
6
7
9
 If two bikes are bought for same price and they sold over at 8% loss and the other sold at 6%
gain. Then find the ratio of their selling price?
Choose one:
43:53
44:51
46:53
47:54
 The average weight of 16 students is 24 kgs. If the weight of the class teacher includes, the
average weight increases by 2 kgs. Then find the weight of the teacher?
Choose one:
55 kgs
62 kgs
60 kgs
58 kgs
 Find the least number which when increased by 4 is divisible by 21, 25, 27 and 35
Choose one:
4721
4725
4758
2418
 Pointing to a photograph of a boy Rajesh said, "He is the son of the only son of my mother."
How is Rajesh related to that boy?
Choose one:
Brother
Uncle
Cousin
Father
 Convert the expression ((A + B) * C - (D - E) ^ (F + G)) to equivalent Prefix and Postfix
notations.
Choose one:
^ - * +ABC - DE + FG
AB + C * DE - - FG + ^
AB + C * DE - -^ FG +
None of these
 For each of the following syllogisms, decide whether it is valid. If not, determine which rule it
violates.
The three rules are:
1. If the conclusion is a negative claim, so must be one of the premises; if the conclusion is not a
negative claim, neither of the premises can be negative.
2. If a term is distributed in the conclusion, it must be distributed in a premise.
3. The middle term must be distributed in at least one of the premises.
Not all concerts are fun, but movies aren't concerts. So some movies are fun.
Choose one:
Valid
Invalid: violation of the first rule.
Invalid: violation of the second rule.
Invalid: violation of the third rule.
 Some comedians are funny, and some women are not comedians, so some funny people are
men.
Choose one:
Valid.
Invalid: violation of the first rule.
Invalid: violation of the second rule.
Invalid: violation of the third rule.
 Find the statement that must be true according to the given information.
The Pacific yew is an evergreen tree that grows in the Pacific Northwest. The Pacific yew has a
fleshy, poisonous fruit. Recently, taxol, a substance found in the bark of the Pacific yew, was
discovered to be a promising new anticancer drug.
Choose one:
Taxol is poisonous when taken by healthy people.
Taxol has cured people from various diseases.
People should not eat the fruit of the Pacific yew.
The Pacific yew was considered worthless until taxol was discovered.
 Answer the following questions based on the passage below.
A group of three or four has to be selected from seven persons. Among the seven are two
women, Fiza and Kavita, and five men: Ram, Shyam, David, Peter and Rahim. Ram would not
like to be in the group if Shyam is also selected. Shyam and Rahim want to be selected together
in the group. Kavita would like to be in the group only if David is also there. David, if selected,
would not like Peter in the group. Ram would like to be in the group only if Peter is also there.
David insists that Fiza be selected in case he is there in the group.
Which of the following statements is true?
Choose one:
Kavita and Ram can be part of a group of four.
A group of four can have two women.
A group of four can have all four men.
None of the above
 Which of the following is a feasible group of three?
Choose one:
David, Ram, Rahim
Peter, Shyam, Rahim
Kavita, David, Shyam
Fiza, David, Ram
 Which of the following is a feasible group of four?
Choose one:
Ram, Peter, Fiza, Rahim
Shyam, Rahim, Kavita, David
Shyam, Rahim, Kavita, David
Fiza, David, Ram, Peter
 SAUNTER is to AMBLE as _______ is to _______.
Choose one:
BLANCH : CHARBROIL
NIBBLE : SCARF
PRATE : BLATHER
GLIMPSE : SCRUTINIZE
 An OBLAST is to RUSSIA as a _______ is to _______.
Choose one:
CANTON : SWITZERLAND
TAOISEACH : IRELAND
DIET : JAPAN
MANDARIN : CHINA
 Find the synonym of STRINGENT ?
Choose one:
Tense
Stringly
Strict
Causing to Shrink
 Find the synonym of INSOMANIA ?
Choose one:
Lethargy
Sleeplessness
Drunkenness
Unconsciousness
 Find the antonym of HONORARY ?
Choose one:
Dishonorable
Reputed
Paid
Official
 Find the antonym of METICULOUS ?
Choose one:
Mutual
Shaggy
Meretricious
Slovenly
 Fill in the blanks with the appropriate word.
Thinker and poet, ___________ the Brinker prize for his poem 'Alexander' in 1976.
Choose one:
Claude Pinocchio was awarded
was awarded Claude Pinocchio
was awarded to Claude Pinocchio
None of these
 In the 1990s, _________ its premium position in the world economy.
Choose one:
the USA returned
the USA returned to
the USA returning
None of these
 __________, I would have returned it immediately.
Choose one:
If I knew that you wanted to read it
I had known that you wanted to read it
Had I known that you wanted to read it
None of these
 It was ______ Johnny finally gave up.
Choose one:
such difficult that
so difficult that
so a difficult test that
None of these
 Select the one underlined word or phrase that is incorrect.
I had a enjoyable time at the party last night.
Choose one:
a
time
at
last
 Yvette and Rinaldo send e-mail messages to other often.
Choose one:
and
send
other
often
 In RDBMS, what is the efficient data structure used in the internal storage representation?
Choose one:
Bitmap index
Dense index
Sparse index
Reverse index
 What are the methods used in Open addressing ?
Choose one:
Overflow block.
Linked list
Binary tree
None of these
 What is the type of the algorithm used in solving the 8 Queens problem?
Choose one:
closed hashing
open hashing
Backtracking
None of these
 In tree construction which is the suitable efficient data structure?
Choose one:
Array
Linked list
Stack
Queue
 What is the data structures used to perform recursion?
Choose one:
Stack
Queue
Linked List
None of these
 __________ act as a central transmitter and receiver in wireless local area network
Choose one:
Access Nodes
Access Points
Access Hubs
None of the above
 What is the output of the following code?
union u
{
struct st
{
int i : 4;
int j : 4;
int k : 4;
int l;
}
st;
int i;
}
u;
main()
{
u.i = 100;
printf("%d, %d, %d",u.i, u.st.i, u.st.l);
}
Choose one:
4, 4, 0
0, 0, 0
100, 4, 0
40, 4, 0
 Which is the simplest file structure?
Choose one:
Sequential
Indexed
Random
None of these
 Whether Linked List is linear or Non-linear data structure?
Choose one:
linear one.
Non-linear one
Both (1) and (2)
Cannot be determined
 Information can be transmitted via one of_______siganlling method(s).
Choose one:
One
Two
Four
Five
 What is the narrowest valid returnType for methodA ?
public class ReturnIt
{
returnType methodA(byte x, double y)
{
return (long)x / y * 2;
}
}
Choose one:
int
byte
long
double
 What will be the output of the program?
int i = l, j = -1;
switch (i)
{
case 0, 1: j = 1;
case 2: j = 2;
default: j = 0;
}
System.out.println("j
= " + j);
Choose one:
i = -1
i=0
i=1
Compilation fails.
 In which line of the following, an error would be reported?
1. #define CIRCUM(R) (3.14*R*R);
2. main()
3. {
4. float r=1.0,c;
5. c= CIRCUM(r);
6. printf("\n%f",c);
7. if(CIRCUM(r))==6.28)
8. printf("\nGobbledygook");
9. }
Choose one:
Line 1
Line 5
Line 6
Line 7
 What would be the output of the following program?
main()
{
char near * near *ptr1;
char near * far *ptr2;
char near * huge *ptr3;
printf("%d %d %d",sizeof(ptr1),sizeof(ptr2),sizeof(ptr3));
}
Choose one:
111
124
244
444
 What is the output of the following code?
union u
{
union u
{
int i;
int j;
}a[10];
int b[10];
}u;
main()
{
printf("\n%d", sizeof(u));
printf(" %d", sizeof(u.a));
// printf("%d", sizeof(u.a[4].i));
}
Choose one:
4, 4, 4
40, 4, 4
1, 100, 1
None of the Above
 Which cause a compiler error?
Choose one:
int[ ] scores = {3, 5, 7};
int [ ][ ] scores = {2,7,6}, {9,3,45};
String cats[ ] = {"Fluffy", "Spot", "Zeus"};
boolean results[ ] = new boolean [] {true, false, true};
Integer results[ ] = {new Integer(3), new Integer(5), new Integer(8)};
 class Foo
{
class Bar{ }
}
class Test
{
public static void main (String [] args)
{
Foo f = new Foo();
/* Line 10: Missing statement ? */
}
}
Missing statement can be replaced by ?
Choose one:
Foo.Bar b = new Foo.Bar();
Foo.Bar b = f.new Bar();
Bar b = new f.Bar();
Bar b = f.new Bar();
 What will be the output of the program?
public class Switch2
{
final static short x = 2;
public static void main(String [] args)
{
for (int z=0; z < 3; z++)
{
switch (z)
{
case x: System.out.print("0 ");
case x-1: System.out.print("1 ");
case x-2: System.out.print("2 "
Choose one:
012
012122
210100
212012
 What will be the output of the program?
int i = 0, j = 5;
tp: for (;;)
{
i++;
for (;;)
{
if(i > --j)
{
break tp;
}
}
cout<<"i ="<< i<< ", j = " << j;
Choose one:
i = 1, j = 0
i = 1, j = 4
i = 3, j = 4
Compilation fails.
 What will be the output of the program?
for(int i = 0; i < 3; i++)
{ switch(i)
{
case 0: break;
case 1: cout<<"one ";
case 2: cout<<"two ";
case 3: cout<<"three ";
}
}
cout<< "done" ;
Choose one:
done
one two done
one two three done
one two three two three done
 public class Test { }
What is the prototype of the default constructor?
Choose one:
Test( )
Test(void)
public Test( )
public Test(void)
 What will be the output of the program?
int i = O;
while(1)
{
if(i == 4)
{
break;
}
++i;
}
System.out.println("i = " + i);
Choose one:
i=0
i=3
i=4
Compilation fails.
 What will be the output of the program?
void main ( )
{
int result = 4 | 3 ;
cout << result ;
}
Choose one:
3
4
7
Compilation fails.
 What will be the output of the program?
int x = 3;
int y = 1;
if (x = y)
{
cout<<"x =" << x;
}
Choose one:
x=1
x=3
Compilation fails.
The code runs with no output.
 What will be the output of the program?
int x = l, y = 6;
while (y--)
{
x++;
}
System.out.println("x = " + x +" y = " + y);
Choose one:
x=6y=0
x=7y=0
x = 6 y = -1
Compilation fails.
 class Boo
{
Boo(String s) { }
Boo(){
}
}
class Bar extends Boo
{
Bar() { }
Bar(String s) {super(s);
}
void zoo()
{
// insert code here
}
}
which one create an anonymous inner class from within class Bar?
Choose one:
Boo f = new Boo(24) { };
Boo f = new Bar() { };
Bar f = new Boo(String s) { };
Boo f = new Boo.Bar(String s) { };
 An Enterprise Resource Planning application is an example of a(n) ________ .
Choose one:
single-user database application
multiuser database application
e-commerce database application
data mining database application
 You have run an SQL statement that asked the DBMS to display data in a table named
USER_TABLES. The results include columns of data labeled "TableName,"
"NumberOfColumns" and "PrimaryKey." You are looking at ________ .
Choose one:
user data.
metadata
A report
indexes
 What is the result of the following code?
main()
{
int i;
float *pf;
pf = (float *)&i;
*pf = 100.00;
printf("\n %d", i);
}
Choose one:
Runtime error.
100
Some Integer not 100
None of the above
 If the following program (myprog) is run from the command line as myprog monday tuesday
wednesday thursday
What would be the output?
main(int argc, char *argv[])
{
while(--argc >0)
printf("%s",*++argv);
}
Choose one:
myprog monday tuesday wednesday thursday
monday tuesday wednesday thursday
mondaytuesdaywednesdaythursday
myprog tuesday thursday
 What would be the output of the following program?
main()
{
const int x=5;
int *ptrx;
ptrx=&x;
*ptrx=10;
printf("%d",x);
}
Choose one:
5
10
Error
Garbage Value
 What is the result of the following code?
main()
{
int i = 100;
clrscr();
printf("%d", sizeof(sizeof(i)));
}
Choose one:
2
100
4
None of these
 What is the result of the following code?
main()
{
int x=5;
for(;x!=0;x--) {
printf("x=%d\n", x--);
}
}
Choose one:
5, 4, 3, 2,1
4, 3, 2, 1, 0
5, 3, 1
none of the above
 What would be the output of the following program?
main()
{
int i=4;
switch(i)
{
default:
printf("\n A mouse is an elephant built by the Japanese");
case 1:
printf(" Breeding rabbits is a hair raising experience");
break;
case 2:
printf("\n Friction is a drag");
break;
case 3:
printf("\n If practice make perfect, then nobody's perfect");
}
}
Choose one:
A mouse is an elephant built by the Japanese
Breeding rabbits is a hare raising experienceBreeding rabbits is a hare raising experience
A mouse is an elephant built by the Japanese Breeding rabbits is a hare raising experience
None of the above
 Any electronic device on a network is called a:
Choose one:
Node
Hub
Router
Cable
 What layer of OSI does the encryption/decryption?
Choose one:
Network layer
Presentaion layer
Application layer
Data Link layer
 A network of computers and other devices that is confined to a relatively small space.
Choose one:
Global network
Local area network
Peer-to-Peer network
Metropolitan network
 Which device act as a traffic cop?
Choose one:
Router
Hub
Switch
Modem
 IEEE designates Thicknet as_______Ethernet.
Choose one:
10Base5
10BaseT
10Base10
10Base2
 void foo( boolean a, boolean b)
{
if( a )
{
cout<< "A";
}
else if(a && b)
{
cout << "A && B";
}
else
{
if ( !b )
{
cout << "notB" ;
}
else
{
cout << "ELSE" ;
}
}
}
What will be the output of the program?
Choose one:
If a is true and b is true then the output is "A && B"
If a is true and b is false then the output is "notB"
If a is false and b is true then the output is "ELSE"
If a is false and b is false then the output is "ELSE"
Download