Showing posts with label Accenture. Show all posts
Showing posts with label Accenture. Show all posts

Tuesday, 4 September 2012

Accenture Placement Paper 2011 - II, Mumbai



1. #include
void main()
{
char s1[]="abcd";
char s2[10];
char s3[]="efgh";
int i;
clrscr();
i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd"));
printf("%d",i);
}

What will be the output?
A)No output B) A Non Integer C)0 D) Garbage

2. Look at the Code:
main()
{
int a[]={1,2,3},i;
for(i=0;i<3;i++)
{
printf("%d",*a);
a++;
}
}

3. Which Statement is/are True w.r.t the above code?
I.Executes Successfully & Prints the contents of the array
II.Gives the Error:Lvalue Required
III.The address of the array should not be changed
IV.None of the Above.

A)Only I B)Only II C)II & III D)IV

4. study the code:
#include
void main()
{
const int a=100;
int *p;
p=&a;
(*p)++;
printf("a=%dn(*p)=%dn",a,*p);
}
What is printed?

A)100,101 B)100,100 C)101,101 D)None of the above

5. Which of the following are valid “include” formats?
A)#include and #include[file.h]
B)#include (file.h) and #include
C)#include [file.h] and #include “file.h”
D)#include and #include “file.h”

6. work can be done by 8 men and 10 women in 25 days, the same work can be done by 10 children and 5 women . in how many days 2 children and 3 men (similar to this) 

7. one man or two women or three boys can do a work in 44 days then one man, one women and one boy together can fininsh the same work in ---- dyas

8.  (998-1) (998-2) (998-3)????.. (998-n)=------- when n>1000 ans is zero

9.Study the Following Points:
a.One Cannot Take the address of a Bit Field
b.bit fields cannot be arrayed
c.Bit-Fields are machine Dependant
d.Bit-fields cannot be declared as static
Which of the Following Statements are true w.r.t Bit-Fields

A)a,b&c B)Only a & b C)Only c D)All

10. What is the function of ceil(X) defined in math.h do?
A)It returns the value rounded down to the next lower integer
B)it returns the value rounded up to the next higher integer
C)the Next Higher Value
D)the next lower value

11.The ratio between the radius and height of a cone is 3:4. What is the curved surface area of the cone?

1) 15p m2
2) 12p m2
3) 9p m2
4) Data inadequate
5) None of these

12. A man stands on the top of a pole and makes an angle of 60° on the surface of a ground. He slides 20 m down and makes an angle of 30°at the same point. If he takes 10 seconds to reach the ground from here, find his speed.

1) 6 km/hr
2) 5 km/hr
3) 10 km/hr
4) 8 km/hr
5) 10.80 km/hr

13. Which of the following values of 'n' satisfies the in-equality n2 - 24n + 143 < 0?

1) n < 11
2) n > 13
3) 11 < n < 13
4) 11 > n > 13
5) None of these

14. If 2x+y = 11, 2y+z = 12 and z+2x = 8, find the value of 2x + 3y +4z.

1) 29
2) 33
3) 25
4) 39
5) None of these

15. What is not true about the following statements about java.
a) it is compiled using javac compiler
b) the compiled files have .class extension.
c) such files cannot be transfered from one comp to another.
d) they use the java interpreter

Ans: c

16. Which of the Following is not defined in string.h?

A)strspn()
B)strerror()
C)memchr()
D)strod()

17.Identify the correct argument for the function call fflush() in ANSI C:

A)stdout
B)stdin
C)stderr
D)All the above

18. Which of the Following will define a type NODE that is a node in a Linked list?
A)struct node {NODE*next;int x;};type def struct node NODE;
B)typedef struct NODE {struct NODE *next;int x;};
C)typedef struct NODE {NODE *next;int x;};
D)typedef struct {NODE *next;int x;}NODE;


19. How many columns are retrived from this query:
SELECT address1 || ',' ||address2 ||','
||address2 "Address" FROM =
employee;

A. 3
B. 2
C. 1
D. 0

20. What is the is the result of the fallowing Code
Piece=20
Insert into table A value(a1):
CREATE TABLE B AS SELECT * FROM A;
ROLLBACK ;

A. Table B gets created with the row inserted in the first statement.
B. Table B is not created
C. Table B gets created , but no row gets inserted into Table A
D. Rollback throws up an exception .

About Accenture:-

Accenture is a global management consulting, technology services and outsourcing company. Combining unparalleled experience, comprehensive capabilities across all industries and business functions, and extensive research on the world’s most successful companies, Accenture collaborates with its clients to help them become high-performance businesses and governments. At Accenture you can join ranks with approximately 204,000 people in more than 120 countries and work with clients in nearly every major industry worldwide, including 96 of the Fortune Global 100, more than three-quarters of the Fortune Global 500 and government agencies around the world. Find out more about Accenture’s different areas of business, specifically in Consulting, Technology and Outsourcing, as well as how they get involved in communities around the world.

Working at Accenture - Why Should i Join Accenture?:-

Variety, teamwork and growth keep people here as they build their careers. A career in Accenture translates into continual opportunities to expand on what you can do as we help clients become high-performance businesses and governments. This is your starting point for learning more about whether Accenture might be the right place for you.

Accenture employees offer a wide range of skills and backgrounds—a vital ingredient in our recipe for high performance. Choose the skills that you are interested in to learn more about career path options.
Contact DetailsAddress of Accenture:-

Accenture
A1- Godrej Industries Complex
Off Eastern Express Highway
Vikhroli (East)
Mumbai – 400079
Tel: +91 22 67380300
Fax: +91 22 67380301

http://careers3.accenture.com/
Apply Nowhttp://careers3.accenture.com/careers/global/

Accenture Placement Paper 2011 - I, Mumbai



1. What is the output of the program
void main()
{
char s[]="oracle is the best";
char t[40];
char *ss,*tt;
while(*tt++=*ss++);
printf("%s",t);
getch();
}
// A. oracle is the best
// B. Core dump
// c. Error Message
// D. Goes into infinite loop
Ans: B. core dump (Garbage value)

2. .//What is the output of the program
void main()
{
fork();
printf(" Hello World");
getch();
}
// A. Hello World
// B. Hello World Hello World
// c. Error Message
// D. None of these
Ans: B

3.  What is the output of the program
void main()
{
int i,j,k;
i=2;
j=4;
k=i++>j&2;
printf("%d\n",k);
if(++k && ++i<--j|| i++)
{
j=++k;
}
printf(" %d %d %d",i,-j--,k);
getch();
}
// A. 4,-3,2
// B. 5,-3,2
// c. 4,-2,2
// D. 5,-2,2
Ans: D

4. public void static main(String []args)
{
String s1=new String("test");
String s2=new String("test");
if(s1==s2)
System.out.println("Both are equal");
Boolean b1=new Boolean("true");
Boolean b2=new Boolean("false");
if(b1.equals(b2))
System.out.println("some message");
}
output=?

9.
x=7;
y=0;
if(x=y)y=7;
else
y=5;
what is the value of y

5.The ratio between the radius and height of a cone is 3:4. What is the curved surface area of the cone?
1) 15p m2
2) 12p m2
3) 9p m2
4) Data inadequate
5) None of these

6. A man stands on the top of a pole and makes an angle of 60° on the surface of a ground. He slides 20 m down and makes an angle of 30°at the same point. If he takes 10 seconds to reach the ground from here, find his speed.
1) 6 km/hr
2) 5 km/hr
3) 10 km/hr
4) 8 km/hr
5) 10.80 km/hr

7.The compound interest for first and second years is 200 and 220 on a certain amount. Find the sum.

8. Marked price of a commodity is 35% above the cost price. If he gives a discount of 15%, how much he gains on the deal.

9. 5 mangoes + 4 oranges = 7 mangoes + 1 orange. Find the ratio of mango to orange.

10.
 Length of a rectangle is increased by 50% and breadth is decreased by 25% what is the difference in the area

11. Mr X position in a class is 13th from first and 17th from last, and 8th from the first and 13th from last in passed candidates list, then how many candidates failed in the exam

12. Two successive discounts of 20% and 15% is equal to a net discount of .....

13. A two digit number is 4 times to its sum of digits , when 9 is added to the number, the digits will get reversed. Then what is that number?

Ans: 12

14. When do you say that a digraph is acyclic
A)if and only if its first search does not have back arcs
B)a digraph is acyclic if and only if its first search does not have back vertices
C)if and only if its first search does not have same dfnumber
D)None of these

15.A function ‘q’ that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as:
A)int (*q(char*)) []
B)int *q(char*) []
C)int(*q)(char*) []
D)None of the Above


16.study the code:
#include
void main()
{
const int a=100;
int *p;
p=&a;
(*p)++;
printf("a=%dn(*p)=%dn",a,*p);
}
What is printed?

A)100,101 B)100,100 C)101,101 D)None of the above

17. in how many ways can a lock be opened if that lock has three digit number lock if
i) the last digit is 9
ii) and sum of the first two digits is less than or equal to the last digit. numbers are from 0-9

18. A person sold an item at a profit of 12% .If he sold it at a loss of 12% then he would get Rs.6/- less. What is the cost price?

19. (1 ½ /((3/4-2/5 )/(2/3+4/5))) * ((2 ¾/((4/3-2/5 )/(5/3+6/5))) (Numbers different)

20. Avg age of X number of adults in a class is 30yrs. If 12 new adults with avg age of 32 joined with them then the avg age increases by one. Find X?


About Accenture:-

Accenture is a global management consulting, technology services and outsourcing company. Combining unparalleled experience, comprehensive capabilities across all industries and business functions, and extensive research on the world’s most successful companies, Accenture collaborates with its clients to help them become high-performance businesses and governments. At Accenture you can join ranks with approximately 204,000 people in more than 120 countries and work with clients in nearly every major industry worldwide, including 96 of the Fortune Global 100, more than three-quarters of the Fortune Global 500 and government agencies around the world. Find out more about Accenture’s different areas of business, specifically in Consulting, Technology and Outsourcing, as well as how they get involved in communities around the world.

Working at Accenture - Why Should i Join Accenture?:-

Variety, teamwork and growth keep people here as they build their careers. A career in Accenture translates into continual opportunities to expand on what you can do as we help clients become high-performance businesses and governments. This is your starting point for learning more about whether Accenture might be the right place for you.

Accenture employees offer a wide range of skills and backgrounds—a vital ingredient in our recipe for high performance. Choose the skills that you are interested in to learn more about career path options.
Contact DetailsAddress of Accenture:-

Accenture
A1- Godrej Industries Complex
Off Eastern Express Highway
Vikhroli (East)
Mumbai – 400079
Tel: +91 22 67380300
Fax: +91 22 67380301

http://careers3.accenture.com/
Apply Nowhttp://careers3.accenture.com/careers/global/
What Are These? | Blog Translate Gadget

Cookies

Animated Social Gadget - Blogger And Wordpress Tips