Xebia Placement Paper January 2012Gurgaon - Delhi/NCR

  • CategoryIT
  • Sub CategoryPlacement Papers
  • LocationGurgaon - Delhi/NCR
  • CompanyXebia
  • Posted date on our Website23 February 2012

User Ratings

0
Here are the details of Xebia Placement Paper January 2012 job in Xebia. 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 Xebia Placement Paper 2012. Here you will find Xebia Placement Paper Pattern and Download questions of Xebia Placement Paper January 2012 with Answers & Solutions.

Xebia Placement Paper January 2012:-

1. You want to find out the value of the last element of an array. You write the following code. What will happen when you compile and run it.?

public class MyAr{

public static void main(String argv[]){

int[] i = new int[5];

System.out.println(i[5]);

}

}

A. An error at compile time

B. An error at run time

C. The value 0 will be output

D. The string "null" will be output.


2. Which of the following function is correct that finds the length of a string?

 

A.

int xstrlen(char *s)

{

    int length=0;

    while(*s!='\0')

    {    length++; s++; }

    return (length);

}

 

B.

int xstrlen(char s)

{

    int length=0;

    while(*s!='\0')

        length++; s++;

    return (length);

}

 

C.

int xstrlen(char *s)

{

    int length=0;

    while(*s!='\0')

        length++;

    return (length);

}

 

D.

int xstrlen(char *s)

{

    int length=0;

    while(*s!='\0')

        s++;

    return (length);

}

 

Ans-A

 

3. Which of the following function is more appropriate for reading in a multi-word string?

A.        printf();          

B.        scanf();

C.        gets();

D.        puts();

Ans-C

 

4. What is the notation for following functions?

1.  int f(int a, float b)

    {

        /* Some code */

    }

 

2.  int f(a, b)

    int a; float b;

    {

        /* Some code */

    }

A.        1. KR Notation

            2. ANSI Notation     

B.        1. Pre ANSI C Notation

            2. KR Notation

C.        1. ANSI Notation

            2. KR Notation         

D.        1. ANSI Notation

            2. Pre ANSI Notation

Ans-C


5. Information can be transferred between the DBMS and a

            A.        spreadsheet program

            B.        word processor program

            C.        graphics program

            D.        AH of the above

            E.         None of the above

            Ans-D

 

6. In SQL, which of the following is not a data definition language commands?

            A.        RENAME

            B.        REVOKE

            C.        GRANT

            D.        UPDATE

            Ans-D

 

7. A lockbox service is used for

            A.        depositing cash when bank is closed

            B.        paying bank customer bills automatically

            C.        storing papers in a bank vault

            D.        depositing payments to bank customers

            Ans-D

8. What is the difference between a string copy (strcpy) and a memory copy (memcpy)?

 

9. What is a pointer value and address?

 

10. What are the advantages of inheritance?

About Xebia:-
   
Xebia India officially known as Xebia IT Architects India Private Limited is a part of the Xebia group. The Xebia India office is located in the north Indian city of Gurgaon which is a suburb in New Delhi National Capital Region.

Xebia India focuses upon software development using Agile Methodologies such as Scrum and XP.  Technological competencies of Xebia include Enterprise Java, Flex, Seam, Spring, Hibernate JBoss, Testing, PHP and Graphic Design.

Why Xebia - why shoud i join Xebia?:-

Xebia is the right place for people who love programming. At Xebia you will be able to take your software design skills to a new high, get praise from your peers and customers, and contribute to the software community. Every Xebian is a committed professional who works towards advancement of software discipline by constantly improving the work practices.

The company offers learning and supportive culture in which experienced, knowledgeable people find their peers, and so are able to strengthen each other and to facilitate mutual personal growth.
 

Contact Details:

Xebia IT Architects India Private Limited
612 Park Centra
Sector 30
Gurgaon 122002 Haryana
INDIA
Phone: +91 (0124) 4700 200
Fax: +91 (0124) 4700 222

(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