Sie sind auf Seite 1von 4

c  



1. Potatoes are made up of 99% water and 1% "potato matter." Jack bought 100 pounds of potatoes
and left them outside in the sun for a while. When he returned, he discovered that the potatoes had
dehydrated and were now only made up of 98% water. How much did the potatoes now weigh?

2. One boy can eat 100 chocolates in half a minute, and another can eat half as many in twice the
length of time. How many chocolates can both boys eat in 15 seconds?

3. In the Olympic Games, the flags of six nations were flown on the masts in the following way. The
flag of America was to the left of Indian tricolour and to the right of the flag of France. The flag of
Australia was on the right of the Indian flag but was to the left of the flag of Japan, which was to the
left of the flag of China. Find the two flags which are in the centre.

4. A car travels from B at a speed of 20 km/hr. The bus travel starts from A at a time of 6 A.M. There
is a bus for every half an hour interval. The car starts at 12 noon. Each bus travels at a speed of 25
km/hr. Distance between A and B is 100 km. During its journey , The number of buses that the car
encounter

5. There are 80 coins, among them one coin weighs less compared to other. You are given a physical
balance to weigh. In how many wieghings the odd coin can be found.

6. How many integers between 100 and 150, inclusive, cannot be evenly divided by 3 nor 5? a) 35 b)
27 c) 25 d) 26 e) 28

7. At a family reunion were the following people: one grandfather, one grandmother, two fathers, two
mothers, four children, three grandchildren, one brother, two sisters, two sons, two daughters, one
father-in-law, one mother-in-law, and one daughter-in-law. But not as many people attended as it
sounds. How many were there ?

8. The ratio of white balls and black balls is 1:2. If 9 gray balls is added it becomes 2:4:3. Then what
is number of black balls ?

9. It takes five minutes to pass a rumour from one person to two other persons. The tree of rumour
continues. Find how many minutes does it take spread the rumour to 768 persons.

10. BE*BE =ACB a,b,c and e are non zerovalue,find the result?

11. i have two pfs it contains "Status" fields in the same name "status in both the pf's...But i used the
same name in display file...when i enter a status thru disp file it willbe added to pf1...so i want to
rename "Staus " field in pf2 through program...............wat will do..give coding?

12. Eurodollars are best described as =============== a) The new currency of the European
Union b) A U.S dollar denominated deposit «.generally in a bank located outside the United States
«that is not subject to US banking regulation. c) A currency deposited outside its country of origin d)
A foreign..denominated deposit subject to US banking

13. The firm has 20,000 common shares authorized, 15,000 shares outstanding, and 3,000 shares of
treasury stock. How much common equity shares are issued. a) 2,000 b) 5,000 c) 17,000 d) 18,000

14. EOQ is the order quantity that========== over our planning horizon a) Minimizes total
ordering costs b) Minimizes total carrying costs c) Minimizes total inventory costs d) The required
safety stock
15. roht was 4 times as old as his son 8 years ago. after 8 years , rohit will be twicw as old as his son.
what are their present ages?(**** please give explanation***)

16. Five racing drivers, Alan, Bob, Chris, Don, and Eugene, enter into a contest that consists of 6
races. The results of all six races are listed below: Bob always finishes ahead of Chris. Alan finishes
either first or last. Eugene finishes either first or last. There are no ties in any race. Every driver
finishes each race. In each race, two points are awarded for a fifth place finish, four points for fourth,
six points for third, eight points for second, and ten points for first. If Eugene finishes two places
ahead of Chris in the first race, all of the following will be true EXCEPT: a) Bob finishes ahead of
Don. b) Chris finishes two places ahead of Alan. c) Don finishes fourth. d) Bob finishes immediately
behind Eugene. e) Chris finishes ahead of Bob.

17. Five racing drivers, Alan, Bob, Chris, Don, and Eugene, enter into a contest that consists of 6
races. The results of all six races are listed below: Bob always finishes ahead of Chris. Alan finishes
either first or last. Eugene finishes either first or last. There are no ties in any race. Every driver
finishes each race. In each race, two points are awarded for a fifth place finish, four points for fourth,
six points for third, eight points for second, and ten points for first. If Don finishes third in the third
race, which of the following must be true of that race? a) Alan finishes first. b) Eugene finishes first.
c) Bob finishes second. d) Chris finishes second. e) Alan finishes fifth.

18. Five racing drivers, Alan, Bob, Chris, Don, and Eugene, enter into a contest that consists of 6
races. The results of all six races are listed below: Bob always finishes ahead of Chris. Alan finishes
either first or last. Eugene finishes either first or last. There are no ties in any race. Every driver
finishes each race. In each race, two points are awarded for a fifth place finish, four points for fourth,
six points for third, eight points for second, and ten points for first. If Eugene's total for the six races is
36 points, which of the following must be true? a) Bob's total is more than 36 points. b) Chris's total is
more than 36 points. c) Alan's total is 36 points. d) Don's total is less than 36 points. e) Don's total is
36 points.

19. Five racing drivers, Alan, Bob, Chris, Don, and Eugene, enter into a contest that consists of 6
races. The results of all six races are listed below: Bob always finishes ahead of Chris. Alan finishes
either first or last. Eugene finishes either first or last. There are no ties in any race. Every driver
finishes each race. In each race, two points are awarded for a fifth place finish, four points for fourth,
six points for third, eight points for second, and ten points for first. If Alan finishes first only once,
and Don finishes second exactly twice, the lowest total number of points that Bob can earn in the race
is: a) 32 points. b) 38 points.c) 40 points.d) 44 points.e) 48 points.

20. Five racing drivers, Alan, Bob, Chris, Don, and Eugene, enter into a contest that consists of 6
races. The results of all six races are listed below: Bob always finishes ahead of Chris. Alan finishes
either first or last. Eugene finishes either first or last. There are no ties in any race. Every driver
finishes each race. In each race, two points are awarded for a fifth place finish, four points for fourth,
six points for third, eight points for second, and ten points for first. If Alan finishes first in four races,
which of the following could earn a total of fewer than 26 points in the six races? a) Bob only. b)
Chris only. c) Don only. d) Eugene of Chris. e) Don or Chris.
21. Five racing drivers, Alan, Bob, Chris, Don, and Eugene, enter into a contest that consists of 6
races. The results of all six races are listed below: Bob always finishes ahead of Chris. Alan finishes
either first or last. Eugene finishes either first or last. There are no ties in any race. Every driver
finishes each race. In each race, two points are awarded for a fifth place finish, four points for fourth,
six points for third, eight points for second, and ten points for first. If Frank enters the third race and
finishes behind Chris and Don, which of the following must be true of that race? a) Eugene finishes
first. b) Alan finishes sixth. c) Don finishes second. d) Frank finishes fifth. e) Chris finishes third.

22.when 20% of a number is added to another number the number increases by 50%.what is the ratio
of the first number to the second?


  

What is the time complexity T(n) of the following program? a) int n, d, i, j; cin>> n; for (d=1; d<=n;
d++) for (i=1; i<=d; i++) for (j=1; j<=n; j += n/10) cout<< d << " " << i << " " << j <<endl; b) void
main() { int n, s, t; cin>> n; for (s = 1; s <= n/4; s++) {t = s; while (t >= 1) { cout<< s << " " << t
<<endl; t--; } } } c) void main() { int n, r, s, t; cin>> n; for (r = 2; r <= n; r = r * 2) for (s = 1; s <= n/4;
s++) { t = s; while (t >= 1) { cout<< s << " " << t <<endl; t --; } } }

How to search and find a word in a document/file using QTP (Quick Test Professional)?

int a=1; float b=1.0; System.out.println(a==b);

what is Directory Structure of webapplication?

what diff bw constructor method & method?

convert 0.9375 to binary

What is the difference between null pointer and void pointer

what is the disadvantage of using macros?what is the self-referential structure? can a union be self-
referenced? What is a pointer? What is the Lvalue and Rvalue? what is the difference between these
initializations? Char a[]=´string´; 22.Char *p=´literal´; Does *p++ increment p, or what it points to?

palindrome for strings and numbers----Can anybody do the prog?

what is the different between if-else and switch statment (other than syntax)

Main must be written as a.the first function in the program b.Second function in the program c.Last
function in the program d.any where in the program

SmeAns:

1. 50 Pounds
2. 62.5
3. India and Australia

NULL POINTER :
the pointer which dosent point to any memory location is
called NULL POINTER.

VOID POINTER :
the pointer is a one which can only point to a particular
memory location of it's own type.... but when the pointer
is given void it can be mde to point any location of
different type
#2
The difference between
21...in char a[]="string";
22... in char *p="literal";
is
in char a[]="string";, the memory is allocated, so the
value can be changed, it can be incremented, etc.
where as in char *p="literal";, you can just read it, may
be you can increment the pointer to point to the next
location, the content cannot be changed since this is a
string literal or BSS (Block Started by Symbol). This is
often called "const_data" or "data_const", or "literal".

23. *p++ it gets the content, and then increments the


pointer to the next location.

eg:
char a[] = {"string"};
char x;
char* p = (char*) a;
x = *p++;
printf ( "%c\n, %s\n", x, p );

output:
s
tring

#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
char a[20],b[20];
int i;
clrscr();
printf("\n Enter the Number or String to find Palindrome");
scanf("%s",a);
strcpy(b,a);
strrev(a);
if(strcmp(a,b)==0)
{
printf("\n Entered data is Palindrome\n");
}
else
{
printf("\n Entered data is not a Palindrome\n");
}
getch();
}

Simply saying, IF-ELSE can have values based on constraints


where SWITCH can have values based on user choice.

Das könnte Ihnen auch gefallen