# Citicorp Written Test 10th October 2014

Posted on :13-04-2016

APTITUDE:

Q1. In an organization, 3/5th of the people drink tea, 1/4th of the people drink coffee and 1/5th drink both of them. What fraction of people does not drink either tea or coffee?

Q2. Out of 60 pens, 40 pens are sold out. Calculate the total percentage of pens left.

a) 30%
b) 33.33%
c) 25%
d) 35%

Q3. If it takes a time of 1/8th second to complete 12 revolutions, calculate the number of revolutions covered in 20 seconds.

Q4. A man sells 2100 bikes of Rs 500 each. Calculate the number of bikes of Rs 14000 each, he can purchase with the total amount he received.

Q5. Two third of 15 miles distance was traveled with a speed of 40mph while remaining distance was covered with a speed of 60mph. calculate the total time taken to complete the distance.

Q6. A starts walking at a speed of 6mph at 9 am and B starts walking at 8mph at 9:30 am in the same direction. Find the time at which they are going to meet.

Q7. Calculate the time required to evaluate 100 registers of 50 pages each such that it takes 1 hour to evaluate 1000 pages.

Q8. A man takes a walk from Monday to Friday from 9 am to 5 pm and from 9 am to 12 noon on Saturday. Everyday he takes a break of 45min. Calculate the total time for which the man walks in a week.

Q9. How many bricks of size 2*1*1 inch may be stored in a box of 5*3*2 inches?

Q10. Five people A, B, C, D, E are travelling in a car. There are two ladies in the group, and among those, only one knows driving. A is the brother of D and B is the wife of D. D arrives in the beginning while E drives at the end.

a) Name the pair of brothers.
b) Name the other lady in the group.
c) What is the relation between E and A.
d) In the case of which of the pairs, no relationship can be established with the other person in the group

Q11. In a group of five people A, B, C, D and E,

a) A and C know Mathematics and English
b) B and C know English and General Knowledge
c) E and D know Algebra and IQ
d) E knows IQ, Mathematics and Algebra
e) B and D know Algebra and General Knowledge.

1) Who knows English, Algebra and General Knowledge?

2) Who knows English and Mathematics but not General Knowledge?

3) Who knows Algebra, General Knowledge and IQ?

4) Who knows English, General Knowledge and Mathematics?

5) Who knows Algebra, Mathematics and IQ?

TECHNICAL:

Q12. Find the output of the following code:

{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d ",x, y);
}

Q13. Find the output of the following code

#include
main()
{
char s1[] = "International";
char s2[] = "School";
s1=s2;
printf ("%s", s1);
}

Q14. Find the output of the following code:

main()
{
float x = 1.1;
double y = 1.1;
if(x==y)
else
printf ("I hate books");
}

Q15. What error does the following code shows?

main()
{
char string[] = "Welcome";
display (string);
}
void display (char *string)
{
printf ("%s", string);
}

Q16. Find the output of the following code

#define swap1(a, b) a = a+b; b = a-b; a = a-b;
main()
{
int x=5, y=10;
swap1(x, y);
printf ("%d %d", x, y);
swap2 (x, y);
printf ("%d %d", x, y);
}

int swap2 (int a, int b)
{
int temp;
temp=a;
b= a;
a=temp;
return;
}

Q17. Find the output of the following code:

main()
{
int i=- -5;
printf("c=%d", i);
}

Q18. Explain while loop with a C language program.

Q19. Find the output of the following code

main()
{
char *ptr = “Energy Limited”;
(*ptr)++;
printf(“%s”, ptr);
ptr++;
printf(“%s”, ptr);
}

Q20. Find the output of the following code

main()
{
Int x=10,y=15;
x=x++;
y=++y;
printf(“%d %d”, x, y);
}

Q21. Find the output of the following code:

main()
{
char *p1="Data";
char *p2;
p2=(char *) malloc(20);
while(*p2++ = *p1 ++);
printf ("%s ", p2);
}

Q22. Find the output of the following code

#include
main()
{
char *p1;
char *p2;
p1=(char *) malloc(25);
p2=(char *) malloc(25);
strcpy(p1, "Power");
strcpy(p2, "Systems and Designs");
strcat(p1, p2);
printf("%s", p1);
}

Q23. Find the output of the following code:

main()
{
int x=6;
printf("%d %d %d ", x, x<<2, x>>2);
}

Q24. Find the output of the following code

int x;
main()
{
int x= 0;
{
int x= 10;
x++;
change_value(x);
x++;
Modify_value ();
printf("First output: %d ",x);
}
x++;
change_value (x);
printf("Second Output : %d ",x);
Modify_value ();
printf("Third Output : %d ",x);
}
Modify_value ()
{
return (x+=10);
}
change_value ()
{
return (x+=1);
}

Q25. What error does the following code shows?

void main()
{
int const * p= 10;
printf("%d", ++(*p));
}

Q26. What error does the following code shows?

main()
{
extern int i;
i=10;
printf("%d", i);
}

Q27. Find the output of the following code:

main()
{
char s[ ]= "India";
int i;
for(i=0; s[ i ]; i++)
printf(" %c%c%c%c", s[ i ], *(s+i), *(i+s), i[s]);
}

Q28. Find the output of the following code:

main()
{
int a=-1, b=-1, c=0, d=2,e;
e=a++&&b++&&c++|| d++;
printf("%d %d %d %d %d", a, b, c, d, e);
}

Q29. Find the output of the following code

main()
{
int a=3;
switch(a)
{
default:printf ("zero");
case 1: printf ("one");
break;
case 2:printf ("two");
break;
case 3: printf ("three");
break;

}

Q30. Find the output of the following code

main()
{
int x=5, y=10;
x= x++;
y= ++y;
printf("%d %d", x, y);
}

## Placement Papers for All Companies

• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »
• »

FreshersLive - No.1 Job site in India. Here you can find latest 2023 government as well as private job recruitment notifications for different posts vacancies in India. Get top company jobs for both fresher and experienced. Job Seekers can get useful interview tips, resume services & interview Question and answer. Practice online test free which is helpful for interview preparation. Register with us to get latest employment news/rojgar samachar notifications. Also get latest free govt and other sarkari naukri job alerts daily through E-mail...