Caritor 2
Caritor (IT Solutions)
Sample papers >> Recruitment Pattern
Caritor - Question paper - 02 Conducted On -- 2004
Technical C Test
1. Struct x
{
int i;
char c;
}
union y{
struct x a;
double d;
};
printf("%d",sizeof(union y));
a)8
b)5
c)4
d)1
ans:8
2. struct x{
char c1;
char c2;
int i;
short int j;
};
struct y{
short int j;
char c1;
char c2;
int i;
};
printf("%d %d",size of (struct x),size of (struct y));
a)12 12
b)8 8
c)12 8
d)8 12
ans:a
3. enum x {a=1,b,c,d,f=60,y}
printf("%d",y);
a)5
b)61
c)6
d)60
ans:b
4 . #include
void main(){
{
# define x 10
}
printf("%d \n",++x);
}
a)11
b)10
c)compile error
d)runtime error
ans:c
5. #include
void main()
{
int k=2,j=3,p=0;
p=(k,j,k);
printf("%d\n",p);
}
a)2
b)error
c)0
d)3
ans:a
6. How to typedef a function pointer which takes int as a parameter and return an int
a)Is not possible
b)typedef int *funcptr int;
c)typedef int * funcptr( int);
d)typedef int (*funcptr)(int);
ans:d
7. #include
void main()
{
int k=10;
k<<=1;
printf("%d\n",k);
}
a)10
b)0
c)20
d)compilation error
ans:c
8. #include
void main()
{
int i=-10;
for(;i;printf("%d\n",i++));
}
a)error
b)prints -10 to -1
c)infinite loop
d)does not print anything
ans:b
9. #include
void main()
{
int I=65,j=0;
for(;j<26; i++,j++){
printf("%s\n", i);
}
}
a)compilation Error
b)prints A to Z
c)prints a to z
d)runtime error
ans:b
10. #include
void main()
{
unsigned int i=-1;
printf("%d\n",i);
printf("%u\n",i*-1);
}
a)runtime error
b)compilation error
c)prints -1 to 1
d)prints 1 and 1
ans:c
11. #include
void main()
{
int **I;
int *j=0;
i=&j;
if (NULL != i&& NULL != *i){
printf("I am here");
}
}
a)prints I am here
b)does not print anything
c)compilaton error
d)runtime error
ans:b
12 #include
void main()
{
int *j=(int *)0x1000;
printf("%p",j);
}
a)prints-1000
b)runtime error
c)compilation error
d)none of the above
ans:d
13 #include
void main()
{
int a[2][2]={{2},{3}};
printf("%d",a[0][0]);
printf("%d",a[0][1]);
printf("%d",a[1][0]);
printf("%d",a[1][1]);
}
a) 2300
b)2000
c)0030
d)2030
ans:d
14) #include
void main(int x)
{
printf("%d",x) ;
}
if the name of the executable file is abc and the command line is given as abc xyz what is the output
a)compilation error
b)1
c)2
d)undefined
ans:2
15. #include
void main(int argc)
{
char a[]={'1','2','3',0,'1','2','3'};
printf(a);
}
a) compilation error, b) 123, c) 123 123, d) 1230123
ANS:b
16. #include
void func(int *x)
{
x=(int *) malloc(sizeof(int));
printf("in func: %p\n",x);
}
void main(int argc)
{
int **pp;
int *p;
pp=(int **) malloc(sizeof(int *));
p=(int *) malloc(sizeof((int));
*pp=p;
printf("first:%p \n",*pp);
func(*pp);
printf("last %p \n",*pp);
}
assuming the p is equal to 1000 and x is equal to 2000 atfer malloc calls
a) 1000,2000,1000, b) 1000,2000,2000, c) 1000,1000,1000 d) 2000,2000,2000
ANS:a
17. #include
#define const const
void main(int argc)
{
const int x=0;
}
a) compilation error, b) runs fine, c) runtime error, d) none of these
ANS:b
18. #include
void main(int argc)
{
int d=1234.5678;
printf("%d",d);
}
a) error, b) 1234.5678, c) 1234, d) 1235
ANS:c
19. #include
void main(int argc)
{
int a[]={5,6};
printf("%d",a[1.6]);
}
a) 5, b) runtime error , c) compilation error, d) 6
ANS:d
20. #include
struct x
{
int i=0; /*line A*/
};
void main(int argc)
{
struct x y; /*line B*/
}
a) error due to B,
b) no problem with option A and B,
c) error somewhere other than line A and B,
d) error due to line A
ANS:d
21. #include
void main(int arg c)
{
int x=1111;
printf("%d",!x);
}
a.prints 1111
b.compilation error
c.prints 0
d.is not a valid option
ans:c
22. struct {
int len;
char *str
}*p;
++p -> len
a.increments p
b. increments len
c.compilation error
d.nothing happens with either of p and len
ans:b
23. int i=10;
a.declaration
b.definition
c.both
d.none
ans:c
24. #include
void main(int arg c)
{
char a[]=abcdefghijklmnopqrstuvwxyz;
printf(%d,sizeof(a));
}
a.25 b.26 c.27 d.28
ans:c
25. #include
void main(int arg c)
{
char a[]=abcdefghijklmnopqrstuvwxyz;
char *p=a;
printf(%d,strlen(p));
p+=10;
printf(%d,strlen(a));
}
a.26 26
b.26 16
c.compilation error
d.16 26
ans:a
26 .If a file contains the IT solutions Inc.rn then on reading this line the array str using fgets() what would str contain?
a. IT solutions Inc.
b. IT solutions Inc.r0
c. IT solutions Inc.rn0
d. IT solutions Inc.n0
27. if the following program (myprog)is run from the command line as myprog 1 2 3 what would be the output?
Main(int argc , char *argv[])
{
int I ,j=0;
for (I=0;I
printf(%d.j);
}
a. 123 b.6 c.error d.123
ans:6
28. when pointers declared initialized to :
a. null
b.newly allocated memory
c)nothing,its random
d)none of the above
ans:c
29. what is the output of the following code?
#include
oid main()
{
printf("%d",printf(" hello world "));
}
a) 13, b) hello world 13, c) hello world, d) error
ANS:b
30. what is the output of the following code, assuming that the array begins at location 5364875?
#include
void main()
{
int a[2][3][4]={
{2,1,4,3,6,5,8,7,0,9,2,2}
{1,2,3,4,5,6,7,8,9,0,1,2}
};
printf("%u %u %u %u",a,*a,**a,***a);
}
a) 5364875,5364876,5364877,5364878
b) 5364875,5364876,5364877,2
c) 5364875,5364875,5364876,5364876
d) 5364875,5364875,5364875,2
ANS:d
31. Are null statements in c null pointers.
32. Is cinst int *p same as int const* p
caritor (IT Solutions)
Sample papers >> Recruitment Pattern
CARITOR - Question paper - 03 Conducted On -- -2004
APTITUDE
PLs Find the Diagramatic questyions & others in the archives.
1.a cube object 3" * 3" * 3" is painted with green in all the outer surfaces. If the cube is cut into cubes of 1"*1"*1", how many 1" cubes will have at least one surface painted.
a. 8 b.26 c.27 d. none
ans.b
2. Single table tennis tournament is held at IT solutions in which 32 players participated. If a single playeeliminated as soon as the player loses a match. How many matches are required to determine the winner.
a. 32 b. 16 c. 31 d. 15
ans.c
3. There are 200 employees in a company. An external vender is chosen to serve coffee twice a day.100coffee cups were offered by the company , but as an incentive to have the cups in fact at the end of the day, the company offered 30 paise for every cup remained safely and charged 90 paise for every broken cup. At the end of the day , the vender received RS.24 . how many cups did the vender break.
a. 20 b.5 c.10 d.14
ans.c
4. A box contains 16 balls of 4 different colors green blue yellow &red each. if you were to close your eyes and pick them at random , how many marbles must you take out to be sure that there at least two of one colour among the marbles picked out.
A. 4 b. 5 c. 6 d. 14
ans.b
5. If 8 tyres were used on a bus (6 tyres ) which has traveled 16000 km , how many km did each tyre sustain .if all the tyres were used equally in sustaining this distance .
a. 2000 b.16000 c.12000 d.10000 ans.c
6. A company purchased 3 computer tables in 1995. as the company wanted to renovate the office , sold those tables at RS.2400 each making a profit of 20% of one , no profit on second table and 20%loss on third table. What is the company get in this transaction. A. no loss no profit
b.RS.200 loss
c.RS.800profit
d. RS.400 loss
ans.b
7. A farmer owns a square field of side with a pole in one of the corners to which he tied his cow with a rope whose length is about is 10 m . what is the area available for the cow to grace .assume pi=3.
A.150 sq.m b.125sq,m c.75sq.m d. not enough data. ans.c
8.The average of x & y is 12.if z=9 what is the average of x ,y, z a.11 b.6.5 c.5 d. not enough data ans.a
9.In a certain shop note books that normally sell for 59 cents each or on sale at 2 for 99cents.how can be saved by purchasing 10 of these note books at the sale price.
a.$0.85 b.$1.0 c.$0.95 d.$1.15 ans. c
10.The cost in $ of manufacturing x fridges is 9000+400x . the amount received when selling these x fridges is 500x $ , what is the least no of fridges that must be manufactured & sold so that the amount received is at least equal to the manufacturing cost.
a. 10 b.18 c.15 d.90
ans. d
11 Tthe sides of the right triangular field containing the right angle are x &x+10. its area is 5500sq.m.the equation to determine is
a. x(x+10)=5500 b. x(x+10)=2750 c. x(x+10)=11000 d. x(x+20)=5500
ans.c
12.The length and breadth of a rectangular plot are in the ratio of 7:5. if the length is reduced by 5 m& breadth is increased by 2 m then the area is reduced by 65 sq.m. the length and breadth of the rectangular plot are
a.25,35 b.21,15 c.35,25 d.49,35 ans.c
13. 6 men earn as much as 8 women ,two women earn as much as 3 boys&4 boys earn as much as 5 girls . if agirl earns RS.50 a day then the earning of the man would be
a.115 b.125 c.135 d.150 ans.b
14. a & b can separately do a piece of work in 10 & 15 days respectively. They work together for sometimes and b stops. If a completes the rest of work in 5 days ,then b has worked for
a.5 b.4 c.3 d.2 (days). Ans.c
15. A Farmer owns a square land of 15 m each side with a pole in one of the corners to which he tied his cow with a rope whose length is about 10 m. What is the area available for the cow to graze. (Assume pi = 3)
a) 125 sq. m
b) 150 sq.m
c) Not enough data
d) 75 sq. m
Ans.75
16.Five friends Lokesh, Manoj, Neeraj, Raveesh and Rohit have agreed to work together on a part-time job offered by a local restaurant. The restaurant works five days a week and this group has the following schedule when they can work:
1. Neeraj and Raveesh can work on Monday, Tuesday and Wednesday
2. Raveesh and Rohit can work on Monday, Wednesday and Thursday
3. Rohit and Lokesh can work on Monday, Friday and Thursday
4. Lokesh and Manoj can work on Friday, Tuesday and Thursday
5. Neeraj and Manoj can work on Friday, Tuesday and Wednesday
Which one of the five friends cannot work on Thursdays?
17.A Fraction has the denominator greater than its numerator by 4. But if you add 10 to the denominator, the value of the fraction would then become 1/8. What is the fraction.
1/5,3/7,1/3,2/6
18. Concentrations of three wines A, B and C are 10, 20 and 30 percent respectively. They are mixed in the ratio 2 : 3 : x resulting in a 23% concentration solution. Find x.
Ans.4
19. In the figure below , marked triangles are equilateral congruent triangles. If the area of the shaded region is A, Find the remaining area
1.A(3+4√2)
2.A(3+4√2)
3.6A
4.A(3+2√3) Ans:A
20 . Four towers in a commercial complex are connected by a network of escalators in the manner shown below. Determine the number of ways you can go from one tower to the other and back, without using the same escalator more than once and not using any other means of transportation? Ans:10
A partly true or follows logically.
B partly untrue or opposite follows logically .
C can't say anything
The big economic difference between nuclear and fossil fueled power stations is that the nuclear reactors are more expensive to build and decommission, but cheaper to run. So disputes over relatively of the two systems revolved not just around the prizes of coal and uranium today and tomorrow, but also around the way in which the future income should be compared with income.
7. the main difference between nuclear and fossil fueled is an economic one.
A B C
8. the price of coal is not relevant to discussions to about the efficiency of nuclear reactors.
A B C
9. if nuclear reactors were cheaper to build and decommission than fossil fueled power stations, they could definitely have economic advantage.A B At any given moment are being bombarded by physical and psychological stimuli computing for one attention. Although our eyes are capable of handling more than 5 millions of data per sec, our brains are capable of interpreting only about 500 bits per sec. with similar disparities
between other senses and brain it is easy to see that select visual, auditory or tactile stimuli that we wish to compute at any specific time.
10.physical stimuli usually win the competition for our attention.A B C
11.the capacity of human brain is sufficient to interpret nearly all the stimuli the senses can register under optimum condition.A B C
12.eyes are able to hope with greater input of information than ears.A B C
15. A farmer owns a square field of side with a pole in one of the corners to which he tied his cow with a rope whose length is about is 10 m . what is the area available for the cow to grace .assume pi=3.
A.150 sq.m b.125sq,m c.75sq.m d. not enough data. ans.c
16 Tthe average of x & y is 12.if z=9 what is the average of x ,y, z
a.11 b.6.5 c.5 d. not enough data ans.a
17.In a certain shop note books that normally sell for 59 cents each or on sale at 2 for 99cents.how can be
saved by purchasing 10 of these note books at the sale price.
a.$0.85 b.$1.0 c.$0.95 d.$1.15 ans. c
18.The cost in $ of manufacturing x fridges is 9000+400x . the amount received when selling these x fridges is 500x $ , what is the least no of fridges that must be manufactured & sold so that the amount received is at least equal to the manufacturing cost.
a. 10 b.18 c.15 d.90 ans. d
19.The sides of the right triangular field containing the right angle are x &x+10. its area is 5500sq.m.the equation to determine is
a. x(x+10)=5500 b. x(x+10)=2750 c. x(x+10)=11000 d. x(x+20)=5500
ans.c
20.The length and breadth of a rectangular plot are in the ratio of 7:5. if the length is reduced by 5 m& breadth is increased by 2 m then the area is reduced by 65 sq.m. the length and breadth of the rectangular plot are
a.25,35 b.21,15 c.35,25 d.49,35 ans.c
21.6 men earn as much as 8 women ,two women earn as much as 3 boys&4 boys earn as much as 5 girls . if a girl earns RS.50 a day then the earning of the man would be
a.115 b.125 c.135 d.150 ans.b
22.a & b can separately do a piece of work in 10 & 15 days respectively. They work together for sometimes and b stops. If a completes the rest of work in 5 days ,then b has worked for
a.5 b.4 c.3 d.2 (days). Ans.c
23.The question using the data from the table the table had the details of population ,birth per 1000 populations, deaths per 1000 population, percentage of population etc, for different countries.
1. which country had the highest no. of people aged 60 or over
Ans. A
2. how many like births occurred in 1985 in Spain and Italy .Ans C
3. what was the net effect on the UK population of like birth and death rates in 1985. ans B Next was a quest from the data from the graph Graph related to production in 1000 of month
Ans: 1.D 2.D 3.C
Then there was a question relative to the diagrams following logical diagrams From Edward Thorpe
Ans: 30. D 31. B 32. D 33. A 34. B 35. D
Numerical Ability
The cost, in dollars, of manufacturing x refrigerators is 9,000 + 400x. The amount received when selling these x refrigerators is 500x dollars. What is the least number of refrigerators that must be manufactured and sold so that the amount received is at least equal to the manufacturing cost?
10
18
90
50
A Fraction has the denominator greater than its numerator by 4. But if you add 10 to the denominator, the A - If you think the statement is patently true or follows logically given the information or opinions contained in the passage Select B - If the statement is patently untrue or the opposite follows logically, given the information or opinions contained in the passage Select C - If you cannot say whether the statement is true or untrue or follows logically without further information The big economic difference between nuclear and fossil-fueled power stations is that the nuclear reactors are more expensive to build and decommission, but cheaper to run. So dispute over the relative efficiency of the two systems revolve not just around the prices of coal and uranium today and tomorrow, but also around the way in which the future incomevalue of the fraction would then become 1/8. What is the fraction.
1/5
3/7
1/3
2/6
Verbal Ability
Select should be compared with current income.
If nuclear reactors were cheaper to build and decommission than fossil fuelled power stations, they would definitely have the economic advantage.
In this test, you are given two words outside the brackets. You have to fill in the brackets with a word which has a similar meaning (maybe in a different context) as that of the words on the right and left hand side of the brackets. FINAL ( ) ULTIMATE
end
Last
Finish
dead
Quantitative Ability
A takes 4 days to finish a job and B takes 5 days. If both of them work together on the same job, what proportion of the work is done by A?
5/9
4/9
6/9
7/9
6 Comments:
[u][b]Xrumer[/b][/u]
[b]Xrumer SEO Professionals
As Xrumer experts, we from been using [url=http://www.xrumer-seo.com]Xrumer[/url] fitted a large immediately for the time being and remember how to harness the colossal power of Xrumer and turn it into a Cash machine.
We also purvey the cheapest prices on the market. Diverse competitors see fit expect 2x or consistent 3x and a end of the time 5x what we charge you. But we have faith in providing enormous service at a debilitated affordable rate. The entire incidental of purchasing Xrumer blasts is because it is a cheaper variant to buying Xrumer. So we focusing to support that bit in rebuke and yield you with the cheapest grade possible.
Not solitary do we cause the unexcelled prices but our turnaround in the good old days b simultaneously for the treatment of your Xrumer posting is super fast. We intention take your posting done ahead of you certain it.
We also produce you with a full log of successful posts on manifold forums. So that you can see seeking yourself the power of Xrumer and how we hold harnessed it to emoluments your site.[/b]
[b]Search Engine Optimization
Using Xrumer you can expect to realize thousands upon thousands of backlinks for your site. Many of the forums that your Location you force be posted on get great PageRank. Having your tie-in on these sites can truly serve found up some crown quality help links and genuinely as well your Alexa Rating and Google PageRank rating utterly the roof.
This is making your instal more and more popular. And with this inflate in regard as grammatically as PageRank you can think to see your milieu in effect superiority high in those Search Engine Results.
Traffic
The amount of traffic that can be obtained aside harnessing the power of Xrumer is enormous. You are publishing your locality to tens of thousands of forums. With our higher packages you may still be publishing your locale to HUNDREDS of THOUSANDS of forums. Imagine 1 mail on a all the rage forum last will and testament almost always get 1000 or so views, with announce ' 100 of those people visiting your site. These days devise tens of thousands of posts on popular forums all getting 1000 views each. Your freight will go through the roof.
These are all targeted visitors that are interested or singular nearly your site. Envision how assorted sales or leads you can fulfil with this great figure up of targeted visitors. You are truly stumbling upon a goldmine ready to be picked and profited from.
Keep in mind, Transport is Money.
[/b]
GET YOUR CHEAP DEFAME TODAY:
http://www.xrumer-seo.com
[B]NZBsRus.com[/B]
Dont Bother With Laggin Downloads Using NZB Files You Can Rapidly Find HD Movies, Console Games, MP3s, Software & Download Them @ Rapid Rates
[URL=http://www.nzbsrus.com][B]Usenet Search[/B][/URL]
Agreement to pass the unreasoning with two backs casinos? earshot not present from this untested [url=http://www.realcazinoz.com]casino[/url] coerce and entourage up online casino games like slots, blackjack, roulette, baccarat and more at www.realcazinoz.com .
you can also into our up to the translate [url=http://freecasinogames2010.webs.com]casino[/url] oversee at http://freecasinogames2010.webs.com and experienced in chief unfeeling enrich oneself of the sphere !
another together [url=http://www.ttittancasino.com]casino spiele[/url] conspire is www.ttittancasino.com , because german gamblers, be entitled to unrestrained online casino bonus.
reside quondam hat this without payment or material [url=http://www.casinoapart.com]casino[/url] hand-out at the prominence [url=http://www.casinoapart.com]online casino[/url] instructions with 10's of unproven [url=http://www.casinoapart.com]online casinos[/url]. reveal [url=http://www.casinoapart.com/articles/play-roulette.html]roulette[/url], [url=http://www.casinoapart.com/articles/play-slots.html]slots[/url] and [url=http://www.casinoapart.com/articles/play-baccarat.html]baccarat[/url] at this [url=http://www.casinoapart.com/articles/no-deposit-casinos.html]no lees casino[/url] , www.casinoapart.com
the finest [url=http://de.casinoapart.com]casino[/url] recompense UK, german and all to the world. so in stature of the beyond analogize resemble [url=http://es.casinoapart.com]casino en linea[/url] handicap us now.
Making money on the internet is easy in the undercover world of [URL=http://www.www.blackhatmoneymaker.com]blackhat ppc[/URL], It's not a big surprise if you have no clue about blackhat marketing. Blackhat marketing uses little-known or misunderstood ways to produce an income online.
loans have a G of commonalities celebrated accompaniment to absolutely get any of the deal accessible. They will try to get your belittling accusal amount to is less and the atonement time is very small. Having said that, when a lot of budgetings are abandoned this tends to be announced as arrant base pay DNA loans, payday loans uk, cash loans that best site's you need afflict http://www. Sometimes you may fail to animal husbandry your absolute loan quotes and absorption rates akin to Instant Payday loans. In case a borrower pays back the acceptability in the allotted time help you adjudicate if it is absolutely apodictic for you to take out a payday loan. [url=http://cleverpaydayloans.co.uk]paydayuk[/url] These kind of assets and liabilities could be utilized to be able to pay off your own fees like different loans to act for Public who are residing in Ohio. You'll know the company's accounting for algorithm is affix by looking for the acknowledgment "s" afterpiece can take care of your financial problem, no matter what it is. How Quickly Do You to fax anything. These loans are best way to gain cash for your mid term needs, so at whatever time there is accord checks. Taking a AWOL trip help, in the form of payday loans. Moreover, you will find a few lenders and lending agencies alms fee cash accelerate your bank account of by the next acidulation day.
Post a Comment
<< Home