Yash Technologies Placement Paper December 2011Pune

  • CategoryIT
  • Sub CategoryPlacement Papers
  • LocationPune
  • CompanyYash Technologies
  • Posted date on our Website23 April 2012

User Ratings

0
Here are the details of Yash Technologies Placement Paper December 2011 job in Yash Technologies. This job or placement paper has been sourced from either company website or newspaper or other media and from students who appeared for this job. User is requested to verify the data before applying for the job.

Welcome to Yash Technologies Placement Paper 2012. Here you will find Yash Technologies Placement Paper Pattern and Download questions of Yash Technologies Placement Paper December 2011 with Answers & Solutions.

Yash Technologies Placement Paper December 2011:-


1. What is the output of the program
#include<stdio.h>
#include<conio.h>
void main()
{
char *st1[3]= {"Hello","World","Oracle"};
*st1=st1[2];
st1[1]=*st1;
free(st1[0]);
free(st1[1]);
clrscr();
printf("%s %s %s",st1,st1[1],st1[2]);
getch();
}
// A. Garbage Garbage Oracle
// B. oracle oracle oracle
// C. Hello World Oracle
// D. Core Dump:cannot Print after freeing the memory
Ans: D

2.Consider the following structure
Struct {
int data;
struct node *prev;
struct node *next;
}NODE;
NULL <-- 5 --> 8 --> 10 --> NULL
p <-- q <-- r=20
WHAT WILL BE THE VALUE OF r-->prev-->-->next-->data
?
A. 8
B. Null
C. 5
D. 10
Ans: 10


3. Give the output for the following program.

#define STYLE1 char
main()
{
typedef char STYLE2;
STYLE1 x;
STYLE2 y;
clrscr();
x=255;
y=255;
printf("%d %d\n",x,y);
}

4. Give the output for the following program segment.

#ifdef TRUE
int I=0;
#endif

main()
{
int j=0;
printf("%d %d\n",i,j);
}


5. In the following program

#include
main()
{
char *pDestn,*pSource="I Love You Daddy";
pDestn=malloc(strlen(pSource));
strcpy(pDestn,pSource);
printf("%s",pDestn);
free(pDestn);
}

(a)Free() fails
(b)Strcpy() fails
(c)prints I love You Daddy
(d)error

6. In a Knockout tournament 51 teams are participated, every team thrown out of the tournament if they lost twice. How many matches to be held to choose the winner?

Ans: 101 matches

7. A man sold 2 pens. Initial cost of each pen was Rs. 12. If he sell it together one at 25% profit and another 20% loss. Find the amount of loss or gain, if he sells them seperately.

Ans: 60 Paise gain

8. Find the 3 digit no. whose last digit is the squareroot of the first digit and second digit is the sum of the other two digits.

Ans: 462

9. One guy has Rs. 100/- in hand. He has to buy 100 balls. One football costs Rs. 15/, One Cricket ball costs Re. 1/- and one table tennis ball costs Rs. 0.25 He spend the whole Rs. 100/- to buy the balls. How many of each balls he bought?

Ans:F=3,T=56,C=41

10 A 31" x 31" square metal plate needs to be fixed by a carpenter on to a wooden board. The carpenter uses nails all along the edges of the square such that there are 32 nails on each side of the square. Each nail is at the same distance from the neighboring nails. How many nails does the carpenter use?

Ans:124

About Yash Technologies:-

Yash Technologies provide leading solutions, innovation, and distributed delivery models that empower customers to run their businesses efficiently, enhance and improve their operations and dynamically shift directions as their business needs change.

Yash Technologies offers various services like Strategic Consulting Services, Application Management Services, IT Services and Strategic Outsourcing.

Why Yash Technologies - Why shoud i join Yash Technologies:-


YASH offers a variety of benefits tailored to meet your individual needs. At YASH you'll become part of a fast-paced team, that will keep you challenged and excited about what you do.

YASH is made up of highly talented, knowledgeable, and professional individuals whose collective strengths make YASH a global leader in the IT services space.
 

Contact Details:

Indore

201-205 Bansi Trade Center
581/5 M. G. Road
Indore - MP 452001
Tel : 91-731-4261100, 200
Fax: 91-731-4261234

Pune

Wing-A Level - 6 Tower X
Cybercity Magarpatta City
Hadapsar
Pune MH-411028
Phone: 91-20-66088000/ 01

Mumbai

Raheja Plaza
Unit No. 701/A
L.B.S.Road
Ghatkopar - West
Mumbai MH - 400086

Hyderabad

5th, 6th & 7th floor
Block-3 My Home Hub
Madhapur Hyderabad AP
Tel : 91-40-40403456
Fax: 91-40-40403555

Bangalore

7th Floor Campus C
RMZ Centennial Survey No. 74 & 77
Kundanhalli Main Road
Opp. Graphite India White Field
Bangalore- 560048 KA.
Tel: 91-80-49043456

(Disclaimer : This Job or placement paper has been sourced from various sources like print media, Job consultants, past candidates, our users and/ or Company website. The posted date above means the date on which the Job was posted on our site and not on the company site. Users are advised to check with the company for latest requirements before applying for the job. Our website will not be responsible for any loss to the company or the candidate. We have no relation with the company and are not responsible for the validity of this Job. We donot charge the company or candidate or any student anything. If the respective company has any issue with the data provided or they want this particular job or placement paper to be removed they can write into us at infinitecourses@gmail.com)

Comments / Reviews / Queries On

Click to See more Comments